github.com/aavshr/aws-sdk-go@v1.41.3/service/chime/api.go (about)

     1  // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
     2  
     3  package chime
     4  
     5  import (
     6  	"fmt"
     7  	"time"
     8  
     9  	"github.com/aavshr/aws-sdk-go/aws"
    10  	"github.com/aavshr/aws-sdk-go/aws/awsutil"
    11  	"github.com/aavshr/aws-sdk-go/aws/request"
    12  	"github.com/aavshr/aws-sdk-go/private/protocol"
    13  	"github.com/aavshr/aws-sdk-go/private/protocol/restjson"
    14  )
    15  
    16  const 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
    42  func (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
    96  func (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.
   110  func (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  
   117  const 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
   143  func (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
   196  func (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.
   210  func (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  
   217  const 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
   243  func (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
   297  func (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.
   311  func (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  
   318  const 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
   344  func (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
   396  func (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.
   410  func (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  
   417  const 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
   443  func (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
   499  func (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.
   513  func (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  
   520  const 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
   546  func (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
   595  func (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.
   609  func (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  
   616  const 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
   642  func (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
   694  func (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.
   708  func (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  
   715  const 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
   741  func (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
   795  func (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.
   809  func (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  
   816  const 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
   842  func (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
   906  func (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.
   920  func (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  
   927  const 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
   953  func (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
  1010  func (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.
  1024  func (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  
  1031  const 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
  1057  func (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
  1117  func (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.
  1131  func (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  
  1138  const 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
  1164  func (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
  1216  func (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.
  1230  func (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  
  1237  const 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
  1263  func (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
  1316  func (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.
  1330  func (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  
  1337  const 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
  1363  func (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
  1421  func (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.
  1435  func (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  
  1442  const 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
  1468  func (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
  1531  func (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.
  1545  func (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  
  1552  const 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
  1578  func (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
  1635  func (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.
  1649  func (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  
  1656  const 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
  1682  func (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
  1737  func (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.
  1751  func (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  
  1758  const 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
  1784  func (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
  1837  func (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.
  1851  func (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  
  1858  const 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
  1884  func (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
  1945  func (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.
  1959  func (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  
  1966  const 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
  1992  func (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
  2056  func (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.
  2070  func (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  
  2077  const 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
  2103  func (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
  2180  func (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.
  2194  func (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  
  2201  const 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
  2227  func (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
  2296  func (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.
  2310  func (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  
  2317  const opCreateMediaCapturePipeline = "CreateMediaCapturePipeline"
  2318  
  2319  // CreateMediaCapturePipelineRequest generates a "aws/request.Request" representing the
  2320  // client's request for the CreateMediaCapturePipeline 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 CreateMediaCapturePipeline for more information on using the CreateMediaCapturePipeline
  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 CreateMediaCapturePipelineRequest method.
  2335  //    req, resp := client.CreateMediaCapturePipelineRequest(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/CreateMediaCapturePipeline
  2343  func (c *Chime) CreateMediaCapturePipelineRequest(input *CreateMediaCapturePipelineInput) (req *request.Request, output *CreateMediaCapturePipelineOutput) {
  2344  	op := &request.Operation{
  2345  		Name:       opCreateMediaCapturePipeline,
  2346  		HTTPMethod: "POST",
  2347  		HTTPPath:   "/media-capture-pipelines",
  2348  	}
  2349  
  2350  	if input == nil {
  2351  		input = &CreateMediaCapturePipelineInput{}
  2352  	}
  2353  
  2354  	output = &CreateMediaCapturePipelineOutput{}
  2355  	req = c.newRequest(op, input, output)
  2356  	return
  2357  }
  2358  
  2359  // CreateMediaCapturePipeline API operation for Amazon Chime.
  2360  //
  2361  // Creates a media capture pipeline.
  2362  //
  2363  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2364  // with awserr.Error's Code and Message methods to get detailed information about
  2365  // the error.
  2366  //
  2367  // See the AWS API reference guide for Amazon Chime's
  2368  // API operation CreateMediaCapturePipeline for usage and error information.
  2369  //
  2370  // Returned Error Types:
  2371  //   * ResourceLimitExceededException
  2372  //   The request exceeds the resource limit.
  2373  //
  2374  //   * ForbiddenException
  2375  //   The client is permanently forbidden from making the request.
  2376  //
  2377  //   * BadRequestException
  2378  //   The input parameters don't match the service's restrictions.
  2379  //
  2380  //   * UnauthorizedClientException
  2381  //   The client is not currently authorized to make the request.
  2382  //
  2383  //   * ThrottledClientException
  2384  //   The client exceeded its request rate limit.
  2385  //
  2386  //   * ServiceUnavailableException
  2387  //   The service is currently unavailable.
  2388  //
  2389  //   * ServiceFailureException
  2390  //   The service encountered an unexpected error.
  2391  //
  2392  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMediaCapturePipeline
  2393  func (c *Chime) CreateMediaCapturePipeline(input *CreateMediaCapturePipelineInput) (*CreateMediaCapturePipelineOutput, error) {
  2394  	req, out := c.CreateMediaCapturePipelineRequest(input)
  2395  	return out, req.Send()
  2396  }
  2397  
  2398  // CreateMediaCapturePipelineWithContext is the same as CreateMediaCapturePipeline with the addition of
  2399  // the ability to pass a context and additional request options.
  2400  //
  2401  // See CreateMediaCapturePipeline for details on how to use this API operation.
  2402  //
  2403  // The context must be non-nil and will be used for request cancellation. If
  2404  // the context is nil a panic will occur. In the future the SDK may create
  2405  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2406  // for more information on using Contexts.
  2407  func (c *Chime) CreateMediaCapturePipelineWithContext(ctx aws.Context, input *CreateMediaCapturePipelineInput, opts ...request.Option) (*CreateMediaCapturePipelineOutput, error) {
  2408  	req, out := c.CreateMediaCapturePipelineRequest(input)
  2409  	req.SetContext(ctx)
  2410  	req.ApplyOptions(opts...)
  2411  	return out, req.Send()
  2412  }
  2413  
  2414  const opCreateMeeting = "CreateMeeting"
  2415  
  2416  // CreateMeetingRequest generates a "aws/request.Request" representing the
  2417  // client's request for the CreateMeeting operation. The "output" return
  2418  // value will be populated with the request's response once the request completes
  2419  // successfully.
  2420  //
  2421  // Use "Send" method on the returned Request to send the API call to the service.
  2422  // the "output" return value is not valid until after Send returns without error.
  2423  //
  2424  // See CreateMeeting for more information on using the CreateMeeting
  2425  // API call, and error handling.
  2426  //
  2427  // This method is useful when you want to inject custom logic or configuration
  2428  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2429  //
  2430  //
  2431  //    // Example sending a request using the CreateMeetingRequest method.
  2432  //    req, resp := client.CreateMeetingRequest(params)
  2433  //
  2434  //    err := req.Send()
  2435  //    if err == nil { // resp is now filled
  2436  //        fmt.Println(resp)
  2437  //    }
  2438  //
  2439  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeeting
  2440  func (c *Chime) CreateMeetingRequest(input *CreateMeetingInput) (req *request.Request, output *CreateMeetingOutput) {
  2441  	op := &request.Operation{
  2442  		Name:       opCreateMeeting,
  2443  		HTTPMethod: "POST",
  2444  		HTTPPath:   "/meetings",
  2445  	}
  2446  
  2447  	if input == nil {
  2448  		input = &CreateMeetingInput{}
  2449  	}
  2450  
  2451  	output = &CreateMeetingOutput{}
  2452  	req = c.newRequest(op, input, output)
  2453  	return
  2454  }
  2455  
  2456  // CreateMeeting API operation for Amazon Chime.
  2457  //
  2458  // Creates a new Amazon Chime SDK meeting in the specified media Region with
  2459  // no initial attendees. For more information about specifying media Regions,
  2460  // see Amazon Chime SDK Media Regions (https://docs.aws.amazon.com/chime/latest/dg/chime-sdk-meetings-regions.html)
  2461  // in the Amazon Chime Developer Guide . For more information about the Amazon
  2462  // Chime SDK, see Using the Amazon Chime SDK (https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html)
  2463  // in the Amazon Chime Developer Guide .
  2464  //
  2465  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2466  // with awserr.Error's Code and Message methods to get detailed information about
  2467  // the error.
  2468  //
  2469  // See the AWS API reference guide for Amazon Chime's
  2470  // API operation CreateMeeting for usage and error information.
  2471  //
  2472  // Returned Error Types:
  2473  //   * BadRequestException
  2474  //   The input parameters don't match the service's restrictions.
  2475  //
  2476  //   * ForbiddenException
  2477  //   The client is permanently forbidden from making the request.
  2478  //
  2479  //   * ResourceLimitExceededException
  2480  //   The request exceeds the resource limit.
  2481  //
  2482  //   * ThrottledClientException
  2483  //   The client exceeded its request rate limit.
  2484  //
  2485  //   * UnauthorizedClientException
  2486  //   The client is not currently authorized to make the request.
  2487  //
  2488  //   * ServiceUnavailableException
  2489  //   The service is currently unavailable.
  2490  //
  2491  //   * ServiceFailureException
  2492  //   The service encountered an unexpected error.
  2493  //
  2494  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeeting
  2495  func (c *Chime) CreateMeeting(input *CreateMeetingInput) (*CreateMeetingOutput, error) {
  2496  	req, out := c.CreateMeetingRequest(input)
  2497  	return out, req.Send()
  2498  }
  2499  
  2500  // CreateMeetingWithContext is the same as CreateMeeting with the addition of
  2501  // the ability to pass a context and additional request options.
  2502  //
  2503  // See CreateMeeting for details on how to use this API operation.
  2504  //
  2505  // The context must be non-nil and will be used for request cancellation. If
  2506  // the context is nil a panic will occur. In the future the SDK may create
  2507  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2508  // for more information on using Contexts.
  2509  func (c *Chime) CreateMeetingWithContext(ctx aws.Context, input *CreateMeetingInput, opts ...request.Option) (*CreateMeetingOutput, error) {
  2510  	req, out := c.CreateMeetingRequest(input)
  2511  	req.SetContext(ctx)
  2512  	req.ApplyOptions(opts...)
  2513  	return out, req.Send()
  2514  }
  2515  
  2516  const opCreateMeetingDialOut = "CreateMeetingDialOut"
  2517  
  2518  // CreateMeetingDialOutRequest generates a "aws/request.Request" representing the
  2519  // client's request for the CreateMeetingDialOut operation. The "output" return
  2520  // value will be populated with the request's response once the request completes
  2521  // successfully.
  2522  //
  2523  // Use "Send" method on the returned Request to send the API call to the service.
  2524  // the "output" return value is not valid until after Send returns without error.
  2525  //
  2526  // See CreateMeetingDialOut for more information on using the CreateMeetingDialOut
  2527  // API call, and error handling.
  2528  //
  2529  // This method is useful when you want to inject custom logic or configuration
  2530  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2531  //
  2532  //
  2533  //    // Example sending a request using the CreateMeetingDialOutRequest method.
  2534  //    req, resp := client.CreateMeetingDialOutRequest(params)
  2535  //
  2536  //    err := req.Send()
  2537  //    if err == nil { // resp is now filled
  2538  //        fmt.Println(resp)
  2539  //    }
  2540  //
  2541  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingDialOut
  2542  func (c *Chime) CreateMeetingDialOutRequest(input *CreateMeetingDialOutInput) (req *request.Request, output *CreateMeetingDialOutOutput) {
  2543  	op := &request.Operation{
  2544  		Name:       opCreateMeetingDialOut,
  2545  		HTTPMethod: "POST",
  2546  		HTTPPath:   "/meetings/{meetingId}/dial-outs",
  2547  	}
  2548  
  2549  	if input == nil {
  2550  		input = &CreateMeetingDialOutInput{}
  2551  	}
  2552  
  2553  	output = &CreateMeetingDialOutOutput{}
  2554  	req = c.newRequest(op, input, output)
  2555  	return
  2556  }
  2557  
  2558  // CreateMeetingDialOut API operation for Amazon Chime.
  2559  //
  2560  // Uses the join token and call metadata in a meeting request (From number,
  2561  // To number, and so forth) to initiate an outbound call to a public switched
  2562  // telephone network (PSTN) and join them into a Chime meeting. Also ensures
  2563  // that the From number belongs to the customer.
  2564  //
  2565  // To play welcome audio or implement an interactive voice response (IVR), use
  2566  // the CreateSipMediaApplicationCall action with the corresponding SIP media
  2567  // application ID.
  2568  //
  2569  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2570  // with awserr.Error's Code and Message methods to get detailed information about
  2571  // the error.
  2572  //
  2573  // See the AWS API reference guide for Amazon Chime's
  2574  // API operation CreateMeetingDialOut for usage and error information.
  2575  //
  2576  // Returned Error Types:
  2577  //   * BadRequestException
  2578  //   The input parameters don't match the service's restrictions.
  2579  //
  2580  //   * ForbiddenException
  2581  //   The client is permanently forbidden from making the request.
  2582  //
  2583  //   * ResourceLimitExceededException
  2584  //   The request exceeds the resource limit.
  2585  //
  2586  //   * ThrottledClientException
  2587  //   The client exceeded its request rate limit.
  2588  //
  2589  //   * UnauthorizedClientException
  2590  //   The client is not currently authorized to make the request.
  2591  //
  2592  //   * ServiceUnavailableException
  2593  //   The service is currently unavailable.
  2594  //
  2595  //   * ServiceFailureException
  2596  //   The service encountered an unexpected error.
  2597  //
  2598  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingDialOut
  2599  func (c *Chime) CreateMeetingDialOut(input *CreateMeetingDialOutInput) (*CreateMeetingDialOutOutput, error) {
  2600  	req, out := c.CreateMeetingDialOutRequest(input)
  2601  	return out, req.Send()
  2602  }
  2603  
  2604  // CreateMeetingDialOutWithContext is the same as CreateMeetingDialOut with the addition of
  2605  // the ability to pass a context and additional request options.
  2606  //
  2607  // See CreateMeetingDialOut for details on how to use this API operation.
  2608  //
  2609  // The context must be non-nil and will be used for request cancellation. If
  2610  // the context is nil a panic will occur. In the future the SDK may create
  2611  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2612  // for more information on using Contexts.
  2613  func (c *Chime) CreateMeetingDialOutWithContext(ctx aws.Context, input *CreateMeetingDialOutInput, opts ...request.Option) (*CreateMeetingDialOutOutput, error) {
  2614  	req, out := c.CreateMeetingDialOutRequest(input)
  2615  	req.SetContext(ctx)
  2616  	req.ApplyOptions(opts...)
  2617  	return out, req.Send()
  2618  }
  2619  
  2620  const opCreateMeetingWithAttendees = "CreateMeetingWithAttendees"
  2621  
  2622  // CreateMeetingWithAttendeesRequest generates a "aws/request.Request" representing the
  2623  // client's request for the CreateMeetingWithAttendees operation. The "output" return
  2624  // value will be populated with the request's response once the request completes
  2625  // successfully.
  2626  //
  2627  // Use "Send" method on the returned Request to send the API call to the service.
  2628  // the "output" return value is not valid until after Send returns without error.
  2629  //
  2630  // See CreateMeetingWithAttendees for more information on using the CreateMeetingWithAttendees
  2631  // API call, and error handling.
  2632  //
  2633  // This method is useful when you want to inject custom logic or configuration
  2634  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2635  //
  2636  //
  2637  //    // Example sending a request using the CreateMeetingWithAttendeesRequest method.
  2638  //    req, resp := client.CreateMeetingWithAttendeesRequest(params)
  2639  //
  2640  //    err := req.Send()
  2641  //    if err == nil { // resp is now filled
  2642  //        fmt.Println(resp)
  2643  //    }
  2644  //
  2645  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingWithAttendees
  2646  func (c *Chime) CreateMeetingWithAttendeesRequest(input *CreateMeetingWithAttendeesInput) (req *request.Request, output *CreateMeetingWithAttendeesOutput) {
  2647  	op := &request.Operation{
  2648  		Name:       opCreateMeetingWithAttendees,
  2649  		HTTPMethod: "POST",
  2650  		HTTPPath:   "/meetings?operation=create-attendees",
  2651  	}
  2652  
  2653  	if input == nil {
  2654  		input = &CreateMeetingWithAttendeesInput{}
  2655  	}
  2656  
  2657  	output = &CreateMeetingWithAttendeesOutput{}
  2658  	req = c.newRequest(op, input, output)
  2659  	return
  2660  }
  2661  
  2662  // CreateMeetingWithAttendees API operation for Amazon Chime.
  2663  //
  2664  // Creates a new Amazon Chime SDK meeting in the specified media Region, with
  2665  // attendees. For more information about specifying media Regions, see Amazon
  2666  // Chime SDK Media Regions (https://docs.aws.amazon.com/chime/latest/dg/chime-sdk-meetings-regions.html)
  2667  // in the Amazon Chime Developer Guide . For more information about the Amazon
  2668  // Chime SDK, see Using the Amazon Chime SDK (https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html)
  2669  // in the Amazon Chime Developer Guide .
  2670  //
  2671  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2672  // with awserr.Error's Code and Message methods to get detailed information about
  2673  // the error.
  2674  //
  2675  // See the AWS API reference guide for Amazon Chime's
  2676  // API operation CreateMeetingWithAttendees for usage and error information.
  2677  //
  2678  // Returned Error Types:
  2679  //   * BadRequestException
  2680  //   The input parameters don't match the service's restrictions.
  2681  //
  2682  //   * ForbiddenException
  2683  //   The client is permanently forbidden from making the request.
  2684  //
  2685  //   * ResourceLimitExceededException
  2686  //   The request exceeds the resource limit.
  2687  //
  2688  //   * ThrottledClientException
  2689  //   The client exceeded its request rate limit.
  2690  //
  2691  //   * UnauthorizedClientException
  2692  //   The client is not currently authorized to make the request.
  2693  //
  2694  //   * ServiceUnavailableException
  2695  //   The service is currently unavailable.
  2696  //
  2697  //   * ServiceFailureException
  2698  //   The service encountered an unexpected error.
  2699  //
  2700  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingWithAttendees
  2701  func (c *Chime) CreateMeetingWithAttendees(input *CreateMeetingWithAttendeesInput) (*CreateMeetingWithAttendeesOutput, error) {
  2702  	req, out := c.CreateMeetingWithAttendeesRequest(input)
  2703  	return out, req.Send()
  2704  }
  2705  
  2706  // CreateMeetingWithAttendeesWithContext is the same as CreateMeetingWithAttendees with the addition of
  2707  // the ability to pass a context and additional request options.
  2708  //
  2709  // See CreateMeetingWithAttendees for details on how to use this API operation.
  2710  //
  2711  // The context must be non-nil and will be used for request cancellation. If
  2712  // the context is nil a panic will occur. In the future the SDK may create
  2713  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2714  // for more information on using Contexts.
  2715  func (c *Chime) CreateMeetingWithAttendeesWithContext(ctx aws.Context, input *CreateMeetingWithAttendeesInput, opts ...request.Option) (*CreateMeetingWithAttendeesOutput, error) {
  2716  	req, out := c.CreateMeetingWithAttendeesRequest(input)
  2717  	req.SetContext(ctx)
  2718  	req.ApplyOptions(opts...)
  2719  	return out, req.Send()
  2720  }
  2721  
  2722  const opCreatePhoneNumberOrder = "CreatePhoneNumberOrder"
  2723  
  2724  // CreatePhoneNumberOrderRequest generates a "aws/request.Request" representing the
  2725  // client's request for the CreatePhoneNumberOrder operation. The "output" return
  2726  // value will be populated with the request's response once the request completes
  2727  // successfully.
  2728  //
  2729  // Use "Send" method on the returned Request to send the API call to the service.
  2730  // the "output" return value is not valid until after Send returns without error.
  2731  //
  2732  // See CreatePhoneNumberOrder for more information on using the CreatePhoneNumberOrder
  2733  // API call, and error handling.
  2734  //
  2735  // This method is useful when you want to inject custom logic or configuration
  2736  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2737  //
  2738  //
  2739  //    // Example sending a request using the CreatePhoneNumberOrderRequest method.
  2740  //    req, resp := client.CreatePhoneNumberOrderRequest(params)
  2741  //
  2742  //    err := req.Send()
  2743  //    if err == nil { // resp is now filled
  2744  //        fmt.Println(resp)
  2745  //    }
  2746  //
  2747  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreatePhoneNumberOrder
  2748  func (c *Chime) CreatePhoneNumberOrderRequest(input *CreatePhoneNumberOrderInput) (req *request.Request, output *CreatePhoneNumberOrderOutput) {
  2749  	op := &request.Operation{
  2750  		Name:       opCreatePhoneNumberOrder,
  2751  		HTTPMethod: "POST",
  2752  		HTTPPath:   "/phone-number-orders",
  2753  	}
  2754  
  2755  	if input == nil {
  2756  		input = &CreatePhoneNumberOrderInput{}
  2757  	}
  2758  
  2759  	output = &CreatePhoneNumberOrderOutput{}
  2760  	req = c.newRequest(op, input, output)
  2761  	return
  2762  }
  2763  
  2764  // CreatePhoneNumberOrder API operation for Amazon Chime.
  2765  //
  2766  // Creates an order for phone numbers to be provisioned. For toll-free numbers,
  2767  // you cannot use the Amazon Chime Business Calling product type. For numbers
  2768  // outside the U.S., you must use the Amazon Chime SIP Media Application Dial-In
  2769  // product type.
  2770  //
  2771  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2772  // with awserr.Error's Code and Message methods to get detailed information about
  2773  // the error.
  2774  //
  2775  // See the AWS API reference guide for Amazon Chime's
  2776  // API operation CreatePhoneNumberOrder for usage and error information.
  2777  //
  2778  // Returned Error Types:
  2779  //   * BadRequestException
  2780  //   The input parameters don't match the service's restrictions.
  2781  //
  2782  //   * ForbiddenException
  2783  //   The client is permanently forbidden from making the request.
  2784  //
  2785  //   * AccessDeniedException
  2786  //   You don't have permissions to perform the requested operation.
  2787  //
  2788  //   * UnauthorizedClientException
  2789  //   The client is not currently authorized to make the request.
  2790  //
  2791  //   * ThrottledClientException
  2792  //   The client exceeded its request rate limit.
  2793  //
  2794  //   * ResourceLimitExceededException
  2795  //   The request exceeds the resource limit.
  2796  //
  2797  //   * ServiceUnavailableException
  2798  //   The service is currently unavailable.
  2799  //
  2800  //   * ServiceFailureException
  2801  //   The service encountered an unexpected error.
  2802  //
  2803  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreatePhoneNumberOrder
  2804  func (c *Chime) CreatePhoneNumberOrder(input *CreatePhoneNumberOrderInput) (*CreatePhoneNumberOrderOutput, error) {
  2805  	req, out := c.CreatePhoneNumberOrderRequest(input)
  2806  	return out, req.Send()
  2807  }
  2808  
  2809  // CreatePhoneNumberOrderWithContext is the same as CreatePhoneNumberOrder with the addition of
  2810  // the ability to pass a context and additional request options.
  2811  //
  2812  // See CreatePhoneNumberOrder for details on how to use this API operation.
  2813  //
  2814  // The context must be non-nil and will be used for request cancellation. If
  2815  // the context is nil a panic will occur. In the future the SDK may create
  2816  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2817  // for more information on using Contexts.
  2818  func (c *Chime) CreatePhoneNumberOrderWithContext(ctx aws.Context, input *CreatePhoneNumberOrderInput, opts ...request.Option) (*CreatePhoneNumberOrderOutput, error) {
  2819  	req, out := c.CreatePhoneNumberOrderRequest(input)
  2820  	req.SetContext(ctx)
  2821  	req.ApplyOptions(opts...)
  2822  	return out, req.Send()
  2823  }
  2824  
  2825  const opCreateProxySession = "CreateProxySession"
  2826  
  2827  // CreateProxySessionRequest generates a "aws/request.Request" representing the
  2828  // client's request for the CreateProxySession operation. The "output" return
  2829  // value will be populated with the request's response once the request completes
  2830  // successfully.
  2831  //
  2832  // Use "Send" method on the returned Request to send the API call to the service.
  2833  // the "output" return value is not valid until after Send returns without error.
  2834  //
  2835  // See CreateProxySession for more information on using the CreateProxySession
  2836  // API call, and error handling.
  2837  //
  2838  // This method is useful when you want to inject custom logic or configuration
  2839  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2840  //
  2841  //
  2842  //    // Example sending a request using the CreateProxySessionRequest method.
  2843  //    req, resp := client.CreateProxySessionRequest(params)
  2844  //
  2845  //    err := req.Send()
  2846  //    if err == nil { // resp is now filled
  2847  //        fmt.Println(resp)
  2848  //    }
  2849  //
  2850  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateProxySession
  2851  func (c *Chime) CreateProxySessionRequest(input *CreateProxySessionInput) (req *request.Request, output *CreateProxySessionOutput) {
  2852  	op := &request.Operation{
  2853  		Name:       opCreateProxySession,
  2854  		HTTPMethod: "POST",
  2855  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/proxy-sessions",
  2856  	}
  2857  
  2858  	if input == nil {
  2859  		input = &CreateProxySessionInput{}
  2860  	}
  2861  
  2862  	output = &CreateProxySessionOutput{}
  2863  	req = c.newRequest(op, input, output)
  2864  	return
  2865  }
  2866  
  2867  // CreateProxySession API operation for Amazon Chime.
  2868  //
  2869  // Creates a proxy session on the specified Amazon Chime Voice Connector for
  2870  // the specified participant phone numbers.
  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 CreateProxySession for usage and error information.
  2878  //
  2879  // Returned Error Types:
  2880  //   * UnauthorizedClientException
  2881  //   The client is not currently authorized to make the request.
  2882  //
  2883  //   * NotFoundException
  2884  //   One or more of the resources in the request does not exist in the system.
  2885  //
  2886  //   * ForbiddenException
  2887  //   The client is permanently forbidden from making the request.
  2888  //
  2889  //   * BadRequestException
  2890  //   The input parameters don't match the service's restrictions.
  2891  //
  2892  //   * ThrottledClientException
  2893  //   The client exceeded its request rate limit.
  2894  //
  2895  //   * ServiceUnavailableException
  2896  //   The service is currently unavailable.
  2897  //
  2898  //   * ServiceFailureException
  2899  //   The service encountered an unexpected error.
  2900  //
  2901  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateProxySession
  2902  func (c *Chime) CreateProxySession(input *CreateProxySessionInput) (*CreateProxySessionOutput, error) {
  2903  	req, out := c.CreateProxySessionRequest(input)
  2904  	return out, req.Send()
  2905  }
  2906  
  2907  // CreateProxySessionWithContext is the same as CreateProxySession with the addition of
  2908  // the ability to pass a context and additional request options.
  2909  //
  2910  // See CreateProxySession for details on how to use this API operation.
  2911  //
  2912  // The context must be non-nil and will be used for request cancellation. If
  2913  // the context is nil a panic will occur. In the future the SDK may create
  2914  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2915  // for more information on using Contexts.
  2916  func (c *Chime) CreateProxySessionWithContext(ctx aws.Context, input *CreateProxySessionInput, opts ...request.Option) (*CreateProxySessionOutput, error) {
  2917  	req, out := c.CreateProxySessionRequest(input)
  2918  	req.SetContext(ctx)
  2919  	req.ApplyOptions(opts...)
  2920  	return out, req.Send()
  2921  }
  2922  
  2923  const opCreateRoom = "CreateRoom"
  2924  
  2925  // CreateRoomRequest generates a "aws/request.Request" representing the
  2926  // client's request for the CreateRoom operation. The "output" return
  2927  // value will be populated with the request's response once the request completes
  2928  // successfully.
  2929  //
  2930  // Use "Send" method on the returned Request to send the API call to the service.
  2931  // the "output" return value is not valid until after Send returns without error.
  2932  //
  2933  // See CreateRoom for more information on using the CreateRoom
  2934  // API call, and error handling.
  2935  //
  2936  // This method is useful when you want to inject custom logic or configuration
  2937  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2938  //
  2939  //
  2940  //    // Example sending a request using the CreateRoomRequest method.
  2941  //    req, resp := client.CreateRoomRequest(params)
  2942  //
  2943  //    err := req.Send()
  2944  //    if err == nil { // resp is now filled
  2945  //        fmt.Println(resp)
  2946  //    }
  2947  //
  2948  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateRoom
  2949  func (c *Chime) CreateRoomRequest(input *CreateRoomInput) (req *request.Request, output *CreateRoomOutput) {
  2950  	op := &request.Operation{
  2951  		Name:       opCreateRoom,
  2952  		HTTPMethod: "POST",
  2953  		HTTPPath:   "/accounts/{accountId}/rooms",
  2954  	}
  2955  
  2956  	if input == nil {
  2957  		input = &CreateRoomInput{}
  2958  	}
  2959  
  2960  	output = &CreateRoomOutput{}
  2961  	req = c.newRequest(op, input, output)
  2962  	return
  2963  }
  2964  
  2965  // CreateRoom API operation for Amazon Chime.
  2966  //
  2967  // Creates a chat room for the specified Amazon Chime Enterprise account.
  2968  //
  2969  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2970  // with awserr.Error's Code and Message methods to get detailed information about
  2971  // the error.
  2972  //
  2973  // See the AWS API reference guide for Amazon Chime's
  2974  // API operation CreateRoom for usage and error information.
  2975  //
  2976  // Returned Error Types:
  2977  //   * NotFoundException
  2978  //   One or more of the resources in the request does not exist in the system.
  2979  //
  2980  //   * BadRequestException
  2981  //   The input parameters don't match the service's restrictions.
  2982  //
  2983  //   * ForbiddenException
  2984  //   The client is permanently forbidden from making the request.
  2985  //
  2986  //   * UnauthorizedClientException
  2987  //   The client is not currently authorized to make the request.
  2988  //
  2989  //   * ResourceLimitExceededException
  2990  //   The request exceeds the resource limit.
  2991  //
  2992  //   * ThrottledClientException
  2993  //   The client exceeded its request rate limit.
  2994  //
  2995  //   * ServiceUnavailableException
  2996  //   The service is currently unavailable.
  2997  //
  2998  //   * ServiceFailureException
  2999  //   The service encountered an unexpected error.
  3000  //
  3001  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateRoom
  3002  func (c *Chime) CreateRoom(input *CreateRoomInput) (*CreateRoomOutput, error) {
  3003  	req, out := c.CreateRoomRequest(input)
  3004  	return out, req.Send()
  3005  }
  3006  
  3007  // CreateRoomWithContext is the same as CreateRoom with the addition of
  3008  // the ability to pass a context and additional request options.
  3009  //
  3010  // See CreateRoom for details on how to use this API operation.
  3011  //
  3012  // The context must be non-nil and will be used for request cancellation. If
  3013  // the context is nil a panic will occur. In the future the SDK may create
  3014  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3015  // for more information on using Contexts.
  3016  func (c *Chime) CreateRoomWithContext(ctx aws.Context, input *CreateRoomInput, opts ...request.Option) (*CreateRoomOutput, error) {
  3017  	req, out := c.CreateRoomRequest(input)
  3018  	req.SetContext(ctx)
  3019  	req.ApplyOptions(opts...)
  3020  	return out, req.Send()
  3021  }
  3022  
  3023  const opCreateRoomMembership = "CreateRoomMembership"
  3024  
  3025  // CreateRoomMembershipRequest generates a "aws/request.Request" representing the
  3026  // client's request for the CreateRoomMembership operation. The "output" return
  3027  // value will be populated with the request's response once the request completes
  3028  // successfully.
  3029  //
  3030  // Use "Send" method on the returned Request to send the API call to the service.
  3031  // the "output" return value is not valid until after Send returns without error.
  3032  //
  3033  // See CreateRoomMembership for more information on using the CreateRoomMembership
  3034  // API call, and error handling.
  3035  //
  3036  // This method is useful when you want to inject custom logic or configuration
  3037  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3038  //
  3039  //
  3040  //    // Example sending a request using the CreateRoomMembershipRequest method.
  3041  //    req, resp := client.CreateRoomMembershipRequest(params)
  3042  //
  3043  //    err := req.Send()
  3044  //    if err == nil { // resp is now filled
  3045  //        fmt.Println(resp)
  3046  //    }
  3047  //
  3048  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateRoomMembership
  3049  func (c *Chime) CreateRoomMembershipRequest(input *CreateRoomMembershipInput) (req *request.Request, output *CreateRoomMembershipOutput) {
  3050  	op := &request.Operation{
  3051  		Name:       opCreateRoomMembership,
  3052  		HTTPMethod: "POST",
  3053  		HTTPPath:   "/accounts/{accountId}/rooms/{roomId}/memberships",
  3054  	}
  3055  
  3056  	if input == nil {
  3057  		input = &CreateRoomMembershipInput{}
  3058  	}
  3059  
  3060  	output = &CreateRoomMembershipOutput{}
  3061  	req = c.newRequest(op, input, output)
  3062  	return
  3063  }
  3064  
  3065  // CreateRoomMembership API operation for Amazon Chime.
  3066  //
  3067  // Adds a member to a chat room in an Amazon Chime Enterprise account. A member
  3068  // can be either a user or a bot. The member role designates whether the member
  3069  // is a chat room administrator or a general chat room member.
  3070  //
  3071  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3072  // with awserr.Error's Code and Message methods to get detailed information about
  3073  // the error.
  3074  //
  3075  // See the AWS API reference guide for Amazon Chime's
  3076  // API operation CreateRoomMembership for usage and error information.
  3077  //
  3078  // Returned Error Types:
  3079  //   * ConflictException
  3080  //   The request could not be processed because of conflict in the current state
  3081  //   of the resource.
  3082  //
  3083  //   * UnauthorizedClientException
  3084  //   The client is not currently authorized to make the request.
  3085  //
  3086  //   * NotFoundException
  3087  //   One or more of the resources in the request does not exist in the system.
  3088  //
  3089  //   * BadRequestException
  3090  //   The input parameters don't match the service's restrictions.
  3091  //
  3092  //   * ForbiddenException
  3093  //   The client is permanently forbidden from making the request.
  3094  //
  3095  //   * ResourceLimitExceededException
  3096  //   The request exceeds the resource limit.
  3097  //
  3098  //   * ThrottledClientException
  3099  //   The client exceeded its request rate limit.
  3100  //
  3101  //   * ServiceUnavailableException
  3102  //   The service is currently unavailable.
  3103  //
  3104  //   * ServiceFailureException
  3105  //   The service encountered an unexpected error.
  3106  //
  3107  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateRoomMembership
  3108  func (c *Chime) CreateRoomMembership(input *CreateRoomMembershipInput) (*CreateRoomMembershipOutput, error) {
  3109  	req, out := c.CreateRoomMembershipRequest(input)
  3110  	return out, req.Send()
  3111  }
  3112  
  3113  // CreateRoomMembershipWithContext is the same as CreateRoomMembership with the addition of
  3114  // the ability to pass a context and additional request options.
  3115  //
  3116  // See CreateRoomMembership for details on how to use this API operation.
  3117  //
  3118  // The context must be non-nil and will be used for request cancellation. If
  3119  // the context is nil a panic will occur. In the future the SDK may create
  3120  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3121  // for more information on using Contexts.
  3122  func (c *Chime) CreateRoomMembershipWithContext(ctx aws.Context, input *CreateRoomMembershipInput, opts ...request.Option) (*CreateRoomMembershipOutput, error) {
  3123  	req, out := c.CreateRoomMembershipRequest(input)
  3124  	req.SetContext(ctx)
  3125  	req.ApplyOptions(opts...)
  3126  	return out, req.Send()
  3127  }
  3128  
  3129  const opCreateSipMediaApplication = "CreateSipMediaApplication"
  3130  
  3131  // CreateSipMediaApplicationRequest generates a "aws/request.Request" representing the
  3132  // client's request for the CreateSipMediaApplication operation. The "output" return
  3133  // value will be populated with the request's response once the request completes
  3134  // successfully.
  3135  //
  3136  // Use "Send" method on the returned Request to send the API call to the service.
  3137  // the "output" return value is not valid until after Send returns without error.
  3138  //
  3139  // See CreateSipMediaApplication for more information on using the CreateSipMediaApplication
  3140  // API call, and error handling.
  3141  //
  3142  // This method is useful when you want to inject custom logic or configuration
  3143  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3144  //
  3145  //
  3146  //    // Example sending a request using the CreateSipMediaApplicationRequest method.
  3147  //    req, resp := client.CreateSipMediaApplicationRequest(params)
  3148  //
  3149  //    err := req.Send()
  3150  //    if err == nil { // resp is now filled
  3151  //        fmt.Println(resp)
  3152  //    }
  3153  //
  3154  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipMediaApplication
  3155  func (c *Chime) CreateSipMediaApplicationRequest(input *CreateSipMediaApplicationInput) (req *request.Request, output *CreateSipMediaApplicationOutput) {
  3156  	op := &request.Operation{
  3157  		Name:       opCreateSipMediaApplication,
  3158  		HTTPMethod: "POST",
  3159  		HTTPPath:   "/sip-media-applications",
  3160  	}
  3161  
  3162  	if input == nil {
  3163  		input = &CreateSipMediaApplicationInput{}
  3164  	}
  3165  
  3166  	output = &CreateSipMediaApplicationOutput{}
  3167  	req = c.newRequest(op, input, output)
  3168  	return
  3169  }
  3170  
  3171  // CreateSipMediaApplication API operation for Amazon Chime.
  3172  //
  3173  // Creates a SIP media application.
  3174  //
  3175  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3176  // with awserr.Error's Code and Message methods to get detailed information about
  3177  // the error.
  3178  //
  3179  // See the AWS API reference guide for Amazon Chime's
  3180  // API operation CreateSipMediaApplication for usage and error information.
  3181  //
  3182  // Returned Error Types:
  3183  //   * BadRequestException
  3184  //   The input parameters don't match the service's restrictions.
  3185  //
  3186  //   * ForbiddenException
  3187  //   The client is permanently forbidden from making the request.
  3188  //
  3189  //   * AccessDeniedException
  3190  //   You don't have permissions to perform the requested operation.
  3191  //
  3192  //   * UnauthorizedClientException
  3193  //   The client is not currently authorized to make the request.
  3194  //
  3195  //   * ThrottledClientException
  3196  //   The client exceeded its request rate limit.
  3197  //
  3198  //   * ResourceLimitExceededException
  3199  //   The request exceeds the resource limit.
  3200  //
  3201  //   * ConflictException
  3202  //   The request could not be processed because of conflict in the current state
  3203  //   of the resource.
  3204  //
  3205  //   * ServiceUnavailableException
  3206  //   The service is currently unavailable.
  3207  //
  3208  //   * ServiceFailureException
  3209  //   The service encountered an unexpected error.
  3210  //
  3211  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipMediaApplication
  3212  func (c *Chime) CreateSipMediaApplication(input *CreateSipMediaApplicationInput) (*CreateSipMediaApplicationOutput, error) {
  3213  	req, out := c.CreateSipMediaApplicationRequest(input)
  3214  	return out, req.Send()
  3215  }
  3216  
  3217  // CreateSipMediaApplicationWithContext is the same as CreateSipMediaApplication with the addition of
  3218  // the ability to pass a context and additional request options.
  3219  //
  3220  // See CreateSipMediaApplication for details on how to use this API operation.
  3221  //
  3222  // The context must be non-nil and will be used for request cancellation. If
  3223  // the context is nil a panic will occur. In the future the SDK may create
  3224  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3225  // for more information on using Contexts.
  3226  func (c *Chime) CreateSipMediaApplicationWithContext(ctx aws.Context, input *CreateSipMediaApplicationInput, opts ...request.Option) (*CreateSipMediaApplicationOutput, error) {
  3227  	req, out := c.CreateSipMediaApplicationRequest(input)
  3228  	req.SetContext(ctx)
  3229  	req.ApplyOptions(opts...)
  3230  	return out, req.Send()
  3231  }
  3232  
  3233  const opCreateSipMediaApplicationCall = "CreateSipMediaApplicationCall"
  3234  
  3235  // CreateSipMediaApplicationCallRequest generates a "aws/request.Request" representing the
  3236  // client's request for the CreateSipMediaApplicationCall operation. The "output" return
  3237  // value will be populated with the request's response once the request completes
  3238  // successfully.
  3239  //
  3240  // Use "Send" method on the returned Request to send the API call to the service.
  3241  // the "output" return value is not valid until after Send returns without error.
  3242  //
  3243  // See CreateSipMediaApplicationCall for more information on using the CreateSipMediaApplicationCall
  3244  // API call, and error handling.
  3245  //
  3246  // This method is useful when you want to inject custom logic or configuration
  3247  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3248  //
  3249  //
  3250  //    // Example sending a request using the CreateSipMediaApplicationCallRequest method.
  3251  //    req, resp := client.CreateSipMediaApplicationCallRequest(params)
  3252  //
  3253  //    err := req.Send()
  3254  //    if err == nil { // resp is now filled
  3255  //        fmt.Println(resp)
  3256  //    }
  3257  //
  3258  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipMediaApplicationCall
  3259  func (c *Chime) CreateSipMediaApplicationCallRequest(input *CreateSipMediaApplicationCallInput) (req *request.Request, output *CreateSipMediaApplicationCallOutput) {
  3260  	op := &request.Operation{
  3261  		Name:       opCreateSipMediaApplicationCall,
  3262  		HTTPMethod: "POST",
  3263  		HTTPPath:   "/sip-media-applications/{sipMediaApplicationId}/calls",
  3264  	}
  3265  
  3266  	if input == nil {
  3267  		input = &CreateSipMediaApplicationCallInput{}
  3268  	}
  3269  
  3270  	output = &CreateSipMediaApplicationCallOutput{}
  3271  	req = c.newRequest(op, input, output)
  3272  	return
  3273  }
  3274  
  3275  // CreateSipMediaApplicationCall API operation for Amazon Chime.
  3276  //
  3277  // Creates an outbound call to a phone number from the phone number specified
  3278  // in the request, and it invokes the endpoint of the specified sipMediaApplicationId.
  3279  //
  3280  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3281  // with awserr.Error's Code and Message methods to get detailed information about
  3282  // the error.
  3283  //
  3284  // See the AWS API reference guide for Amazon Chime's
  3285  // API operation CreateSipMediaApplicationCall for usage and error information.
  3286  //
  3287  // Returned Error Types:
  3288  //   * BadRequestException
  3289  //   The input parameters don't match the service's restrictions.
  3290  //
  3291  //   * ForbiddenException
  3292  //   The client is permanently forbidden from making the request.
  3293  //
  3294  //   * ResourceLimitExceededException
  3295  //   The request exceeds the resource limit.
  3296  //
  3297  //   * ThrottledClientException
  3298  //   The client exceeded its request rate limit.
  3299  //
  3300  //   * UnauthorizedClientException
  3301  //   The client is not currently authorized to make the request.
  3302  //
  3303  //   * AccessDeniedException
  3304  //   You don't have permissions to perform the requested operation.
  3305  //
  3306  //   * ServiceUnavailableException
  3307  //   The service is currently unavailable.
  3308  //
  3309  //   * ServiceFailureException
  3310  //   The service encountered an unexpected error.
  3311  //
  3312  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipMediaApplicationCall
  3313  func (c *Chime) CreateSipMediaApplicationCall(input *CreateSipMediaApplicationCallInput) (*CreateSipMediaApplicationCallOutput, error) {
  3314  	req, out := c.CreateSipMediaApplicationCallRequest(input)
  3315  	return out, req.Send()
  3316  }
  3317  
  3318  // CreateSipMediaApplicationCallWithContext is the same as CreateSipMediaApplicationCall with the addition of
  3319  // the ability to pass a context and additional request options.
  3320  //
  3321  // See CreateSipMediaApplicationCall for details on how to use this API operation.
  3322  //
  3323  // The context must be non-nil and will be used for request cancellation. If
  3324  // the context is nil a panic will occur. In the future the SDK may create
  3325  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3326  // for more information on using Contexts.
  3327  func (c *Chime) CreateSipMediaApplicationCallWithContext(ctx aws.Context, input *CreateSipMediaApplicationCallInput, opts ...request.Option) (*CreateSipMediaApplicationCallOutput, error) {
  3328  	req, out := c.CreateSipMediaApplicationCallRequest(input)
  3329  	req.SetContext(ctx)
  3330  	req.ApplyOptions(opts...)
  3331  	return out, req.Send()
  3332  }
  3333  
  3334  const opCreateSipRule = "CreateSipRule"
  3335  
  3336  // CreateSipRuleRequest generates a "aws/request.Request" representing the
  3337  // client's request for the CreateSipRule operation. The "output" return
  3338  // value will be populated with the request's response once the request completes
  3339  // successfully.
  3340  //
  3341  // Use "Send" method on the returned Request to send the API call to the service.
  3342  // the "output" return value is not valid until after Send returns without error.
  3343  //
  3344  // See CreateSipRule for more information on using the CreateSipRule
  3345  // API call, and error handling.
  3346  //
  3347  // This method is useful when you want to inject custom logic or configuration
  3348  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3349  //
  3350  //
  3351  //    // Example sending a request using the CreateSipRuleRequest method.
  3352  //    req, resp := client.CreateSipRuleRequest(params)
  3353  //
  3354  //    err := req.Send()
  3355  //    if err == nil { // resp is now filled
  3356  //        fmt.Println(resp)
  3357  //    }
  3358  //
  3359  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipRule
  3360  func (c *Chime) CreateSipRuleRequest(input *CreateSipRuleInput) (req *request.Request, output *CreateSipRuleOutput) {
  3361  	op := &request.Operation{
  3362  		Name:       opCreateSipRule,
  3363  		HTTPMethod: "POST",
  3364  		HTTPPath:   "/sip-rules",
  3365  	}
  3366  
  3367  	if input == nil {
  3368  		input = &CreateSipRuleInput{}
  3369  	}
  3370  
  3371  	output = &CreateSipRuleOutput{}
  3372  	req = c.newRequest(op, input, output)
  3373  	return
  3374  }
  3375  
  3376  // CreateSipRule API operation for Amazon Chime.
  3377  //
  3378  // Creates a SIP rule which can be used to run a SIP media application as a
  3379  // target for a specific trigger type.
  3380  //
  3381  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3382  // with awserr.Error's Code and Message methods to get detailed information about
  3383  // the error.
  3384  //
  3385  // See the AWS API reference guide for Amazon Chime's
  3386  // API operation CreateSipRule for usage and error information.
  3387  //
  3388  // Returned Error Types:
  3389  //   * BadRequestException
  3390  //   The input parameters don't match the service's restrictions.
  3391  //
  3392  //   * ForbiddenException
  3393  //   The client is permanently forbidden from making the request.
  3394  //
  3395  //   * AccessDeniedException
  3396  //   You don't have permissions to perform the requested operation.
  3397  //
  3398  //   * UnauthorizedClientException
  3399  //   The client is not currently authorized to make the request.
  3400  //
  3401  //   * ThrottledClientException
  3402  //   The client exceeded its request rate limit.
  3403  //
  3404  //   * ResourceLimitExceededException
  3405  //   The request exceeds the resource limit.
  3406  //
  3407  //   * ConflictException
  3408  //   The request could not be processed because of conflict in the current state
  3409  //   of the resource.
  3410  //
  3411  //   * ServiceUnavailableException
  3412  //   The service is currently unavailable.
  3413  //
  3414  //   * ServiceFailureException
  3415  //   The service encountered an unexpected error.
  3416  //
  3417  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipRule
  3418  func (c *Chime) CreateSipRule(input *CreateSipRuleInput) (*CreateSipRuleOutput, error) {
  3419  	req, out := c.CreateSipRuleRequest(input)
  3420  	return out, req.Send()
  3421  }
  3422  
  3423  // CreateSipRuleWithContext is the same as CreateSipRule with the addition of
  3424  // the ability to pass a context and additional request options.
  3425  //
  3426  // See CreateSipRule for details on how to use this API operation.
  3427  //
  3428  // The context must be non-nil and will be used for request cancellation. If
  3429  // the context is nil a panic will occur. In the future the SDK may create
  3430  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3431  // for more information on using Contexts.
  3432  func (c *Chime) CreateSipRuleWithContext(ctx aws.Context, input *CreateSipRuleInput, opts ...request.Option) (*CreateSipRuleOutput, error) {
  3433  	req, out := c.CreateSipRuleRequest(input)
  3434  	req.SetContext(ctx)
  3435  	req.ApplyOptions(opts...)
  3436  	return out, req.Send()
  3437  }
  3438  
  3439  const opCreateUser = "CreateUser"
  3440  
  3441  // CreateUserRequest generates a "aws/request.Request" representing the
  3442  // client's request for the CreateUser operation. The "output" return
  3443  // value will be populated with the request's response once the request completes
  3444  // successfully.
  3445  //
  3446  // Use "Send" method on the returned Request to send the API call to the service.
  3447  // the "output" return value is not valid until after Send returns without error.
  3448  //
  3449  // See CreateUser for more information on using the CreateUser
  3450  // API call, and error handling.
  3451  //
  3452  // This method is useful when you want to inject custom logic or configuration
  3453  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3454  //
  3455  //
  3456  //    // Example sending a request using the CreateUserRequest method.
  3457  //    req, resp := client.CreateUserRequest(params)
  3458  //
  3459  //    err := req.Send()
  3460  //    if err == nil { // resp is now filled
  3461  //        fmt.Println(resp)
  3462  //    }
  3463  //
  3464  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateUser
  3465  func (c *Chime) CreateUserRequest(input *CreateUserInput) (req *request.Request, output *CreateUserOutput) {
  3466  	op := &request.Operation{
  3467  		Name:       opCreateUser,
  3468  		HTTPMethod: "POST",
  3469  		HTTPPath:   "/accounts/{accountId}/users?operation=create",
  3470  	}
  3471  
  3472  	if input == nil {
  3473  		input = &CreateUserInput{}
  3474  	}
  3475  
  3476  	output = &CreateUserOutput{}
  3477  	req = c.newRequest(op, input, output)
  3478  	return
  3479  }
  3480  
  3481  // CreateUser API operation for Amazon Chime.
  3482  //
  3483  // Creates a user under the specified Amazon Chime account.
  3484  //
  3485  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3486  // with awserr.Error's Code and Message methods to get detailed information about
  3487  // the error.
  3488  //
  3489  // See the AWS API reference guide for Amazon Chime's
  3490  // API operation CreateUser for usage and error information.
  3491  //
  3492  // Returned Error Types:
  3493  //   * UnauthorizedClientException
  3494  //   The client is not currently authorized to make the request.
  3495  //
  3496  //   * NotFoundException
  3497  //   One or more of the resources in the request does not exist in the system.
  3498  //
  3499  //   * ConflictException
  3500  //   The request could not be processed because of conflict in the current state
  3501  //   of the resource.
  3502  //
  3503  //   * ForbiddenException
  3504  //   The client is permanently forbidden from making the request.
  3505  //
  3506  //   * BadRequestException
  3507  //   The input parameters don't match the service's restrictions.
  3508  //
  3509  //   * ThrottledClientException
  3510  //   The client exceeded its request rate limit.
  3511  //
  3512  //   * ServiceUnavailableException
  3513  //   The service is currently unavailable.
  3514  //
  3515  //   * ServiceFailureException
  3516  //   The service encountered an unexpected error.
  3517  //
  3518  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateUser
  3519  func (c *Chime) CreateUser(input *CreateUserInput) (*CreateUserOutput, error) {
  3520  	req, out := c.CreateUserRequest(input)
  3521  	return out, req.Send()
  3522  }
  3523  
  3524  // CreateUserWithContext is the same as CreateUser with the addition of
  3525  // the ability to pass a context and additional request options.
  3526  //
  3527  // See CreateUser for details on how to use this API operation.
  3528  //
  3529  // The context must be non-nil and will be used for request cancellation. If
  3530  // the context is nil a panic will occur. In the future the SDK may create
  3531  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3532  // for more information on using Contexts.
  3533  func (c *Chime) CreateUserWithContext(ctx aws.Context, input *CreateUserInput, opts ...request.Option) (*CreateUserOutput, error) {
  3534  	req, out := c.CreateUserRequest(input)
  3535  	req.SetContext(ctx)
  3536  	req.ApplyOptions(opts...)
  3537  	return out, req.Send()
  3538  }
  3539  
  3540  const opCreateVoiceConnector = "CreateVoiceConnector"
  3541  
  3542  // CreateVoiceConnectorRequest generates a "aws/request.Request" representing the
  3543  // client's request for the CreateVoiceConnector operation. The "output" return
  3544  // value will be populated with the request's response once the request completes
  3545  // successfully.
  3546  //
  3547  // Use "Send" method on the returned Request to send the API call to the service.
  3548  // the "output" return value is not valid until after Send returns without error.
  3549  //
  3550  // See CreateVoiceConnector for more information on using the CreateVoiceConnector
  3551  // API call, and error handling.
  3552  //
  3553  // This method is useful when you want to inject custom logic or configuration
  3554  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3555  //
  3556  //
  3557  //    // Example sending a request using the CreateVoiceConnectorRequest method.
  3558  //    req, resp := client.CreateVoiceConnectorRequest(params)
  3559  //
  3560  //    err := req.Send()
  3561  //    if err == nil { // resp is now filled
  3562  //        fmt.Println(resp)
  3563  //    }
  3564  //
  3565  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateVoiceConnector
  3566  func (c *Chime) CreateVoiceConnectorRequest(input *CreateVoiceConnectorInput) (req *request.Request, output *CreateVoiceConnectorOutput) {
  3567  	op := &request.Operation{
  3568  		Name:       opCreateVoiceConnector,
  3569  		HTTPMethod: "POST",
  3570  		HTTPPath:   "/voice-connectors",
  3571  	}
  3572  
  3573  	if input == nil {
  3574  		input = &CreateVoiceConnectorInput{}
  3575  	}
  3576  
  3577  	output = &CreateVoiceConnectorOutput{}
  3578  	req = c.newRequest(op, input, output)
  3579  	return
  3580  }
  3581  
  3582  // CreateVoiceConnector API operation for Amazon Chime.
  3583  //
  3584  // Creates an Amazon Chime Voice Connector under the administrator's AWS account.
  3585  // You can choose to create an Amazon Chime Voice Connector in a specific AWS
  3586  // Region.
  3587  //
  3588  // Enabling CreateVoiceConnectorRequest$RequireEncryption configures your Amazon
  3589  // Chime Voice Connector to use TLS transport for SIP signaling and Secure RTP
  3590  // (SRTP) for media. Inbound calls use TLS transport, and unencrypted outbound
  3591  // calls are blocked.
  3592  //
  3593  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3594  // with awserr.Error's Code and Message methods to get detailed information about
  3595  // the error.
  3596  //
  3597  // See the AWS API reference guide for Amazon Chime's
  3598  // API operation CreateVoiceConnector for usage and error information.
  3599  //
  3600  // Returned Error Types:
  3601  //   * BadRequestException
  3602  //   The input parameters don't match the service's restrictions.
  3603  //
  3604  //   * ForbiddenException
  3605  //   The client is permanently forbidden from making the request.
  3606  //
  3607  //   * AccessDeniedException
  3608  //   You don't have permissions to perform the requested operation.
  3609  //
  3610  //   * UnauthorizedClientException
  3611  //   The client is not currently authorized to make the request.
  3612  //
  3613  //   * ThrottledClientException
  3614  //   The client exceeded its request rate limit.
  3615  //
  3616  //   * ResourceLimitExceededException
  3617  //   The request exceeds the resource limit.
  3618  //
  3619  //   * ServiceUnavailableException
  3620  //   The service is currently unavailable.
  3621  //
  3622  //   * ServiceFailureException
  3623  //   The service encountered an unexpected error.
  3624  //
  3625  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateVoiceConnector
  3626  func (c *Chime) CreateVoiceConnector(input *CreateVoiceConnectorInput) (*CreateVoiceConnectorOutput, error) {
  3627  	req, out := c.CreateVoiceConnectorRequest(input)
  3628  	return out, req.Send()
  3629  }
  3630  
  3631  // CreateVoiceConnectorWithContext is the same as CreateVoiceConnector with the addition of
  3632  // the ability to pass a context and additional request options.
  3633  //
  3634  // See CreateVoiceConnector for details on how to use this API operation.
  3635  //
  3636  // The context must be non-nil and will be used for request cancellation. If
  3637  // the context is nil a panic will occur. In the future the SDK may create
  3638  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3639  // for more information on using Contexts.
  3640  func (c *Chime) CreateVoiceConnectorWithContext(ctx aws.Context, input *CreateVoiceConnectorInput, opts ...request.Option) (*CreateVoiceConnectorOutput, error) {
  3641  	req, out := c.CreateVoiceConnectorRequest(input)
  3642  	req.SetContext(ctx)
  3643  	req.ApplyOptions(opts...)
  3644  	return out, req.Send()
  3645  }
  3646  
  3647  const opCreateVoiceConnectorGroup = "CreateVoiceConnectorGroup"
  3648  
  3649  // CreateVoiceConnectorGroupRequest generates a "aws/request.Request" representing the
  3650  // client's request for the CreateVoiceConnectorGroup operation. The "output" return
  3651  // value will be populated with the request's response once the request completes
  3652  // successfully.
  3653  //
  3654  // Use "Send" method on the returned Request to send the API call to the service.
  3655  // the "output" return value is not valid until after Send returns without error.
  3656  //
  3657  // See CreateVoiceConnectorGroup for more information on using the CreateVoiceConnectorGroup
  3658  // API call, and error handling.
  3659  //
  3660  // This method is useful when you want to inject custom logic or configuration
  3661  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3662  //
  3663  //
  3664  //    // Example sending a request using the CreateVoiceConnectorGroupRequest method.
  3665  //    req, resp := client.CreateVoiceConnectorGroupRequest(params)
  3666  //
  3667  //    err := req.Send()
  3668  //    if err == nil { // resp is now filled
  3669  //        fmt.Println(resp)
  3670  //    }
  3671  //
  3672  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateVoiceConnectorGroup
  3673  func (c *Chime) CreateVoiceConnectorGroupRequest(input *CreateVoiceConnectorGroupInput) (req *request.Request, output *CreateVoiceConnectorGroupOutput) {
  3674  	op := &request.Operation{
  3675  		Name:       opCreateVoiceConnectorGroup,
  3676  		HTTPMethod: "POST",
  3677  		HTTPPath:   "/voice-connector-groups",
  3678  	}
  3679  
  3680  	if input == nil {
  3681  		input = &CreateVoiceConnectorGroupInput{}
  3682  	}
  3683  
  3684  	output = &CreateVoiceConnectorGroupOutput{}
  3685  	req = c.newRequest(op, input, output)
  3686  	return
  3687  }
  3688  
  3689  // CreateVoiceConnectorGroup API operation for Amazon Chime.
  3690  //
  3691  // Creates an Amazon Chime Voice Connector group under the administrator's AWS
  3692  // account. You can associate Amazon Chime Voice Connectors with the Amazon
  3693  // Chime Voice Connector group by including VoiceConnectorItems in the request.
  3694  //
  3695  // You can include Amazon Chime Voice Connectors from different AWS Regions
  3696  // in your group. This creates a fault tolerant mechanism for fallback in case
  3697  // of availability events.
  3698  //
  3699  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3700  // with awserr.Error's Code and Message methods to get detailed information about
  3701  // the error.
  3702  //
  3703  // See the AWS API reference guide for Amazon Chime's
  3704  // API operation CreateVoiceConnectorGroup for usage and error information.
  3705  //
  3706  // Returned Error Types:
  3707  //   * BadRequestException
  3708  //   The input parameters don't match the service's restrictions.
  3709  //
  3710  //   * ForbiddenException
  3711  //   The client is permanently forbidden from making the request.
  3712  //
  3713  //   * AccessDeniedException
  3714  //   You don't have permissions to perform the requested operation.
  3715  //
  3716  //   * UnauthorizedClientException
  3717  //   The client is not currently authorized to make the request.
  3718  //
  3719  //   * ThrottledClientException
  3720  //   The client exceeded its request rate limit.
  3721  //
  3722  //   * ResourceLimitExceededException
  3723  //   The request exceeds the resource limit.
  3724  //
  3725  //   * ServiceUnavailableException
  3726  //   The service is currently unavailable.
  3727  //
  3728  //   * ServiceFailureException
  3729  //   The service encountered an unexpected error.
  3730  //
  3731  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateVoiceConnectorGroup
  3732  func (c *Chime) CreateVoiceConnectorGroup(input *CreateVoiceConnectorGroupInput) (*CreateVoiceConnectorGroupOutput, error) {
  3733  	req, out := c.CreateVoiceConnectorGroupRequest(input)
  3734  	return out, req.Send()
  3735  }
  3736  
  3737  // CreateVoiceConnectorGroupWithContext is the same as CreateVoiceConnectorGroup with the addition of
  3738  // the ability to pass a context and additional request options.
  3739  //
  3740  // See CreateVoiceConnectorGroup for details on how to use this API operation.
  3741  //
  3742  // The context must be non-nil and will be used for request cancellation. If
  3743  // the context is nil a panic will occur. In the future the SDK may create
  3744  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3745  // for more information on using Contexts.
  3746  func (c *Chime) CreateVoiceConnectorGroupWithContext(ctx aws.Context, input *CreateVoiceConnectorGroupInput, opts ...request.Option) (*CreateVoiceConnectorGroupOutput, error) {
  3747  	req, out := c.CreateVoiceConnectorGroupRequest(input)
  3748  	req.SetContext(ctx)
  3749  	req.ApplyOptions(opts...)
  3750  	return out, req.Send()
  3751  }
  3752  
  3753  const opDeleteAccount = "DeleteAccount"
  3754  
  3755  // DeleteAccountRequest generates a "aws/request.Request" representing the
  3756  // client's request for the DeleteAccount operation. The "output" return
  3757  // value will be populated with the request's response once the request completes
  3758  // successfully.
  3759  //
  3760  // Use "Send" method on the returned Request to send the API call to the service.
  3761  // the "output" return value is not valid until after Send returns without error.
  3762  //
  3763  // See DeleteAccount for more information on using the DeleteAccount
  3764  // API call, and error handling.
  3765  //
  3766  // This method is useful when you want to inject custom logic or configuration
  3767  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3768  //
  3769  //
  3770  //    // Example sending a request using the DeleteAccountRequest method.
  3771  //    req, resp := client.DeleteAccountRequest(params)
  3772  //
  3773  //    err := req.Send()
  3774  //    if err == nil { // resp is now filled
  3775  //        fmt.Println(resp)
  3776  //    }
  3777  //
  3778  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAccount
  3779  func (c *Chime) DeleteAccountRequest(input *DeleteAccountInput) (req *request.Request, output *DeleteAccountOutput) {
  3780  	op := &request.Operation{
  3781  		Name:       opDeleteAccount,
  3782  		HTTPMethod: "DELETE",
  3783  		HTTPPath:   "/accounts/{accountId}",
  3784  	}
  3785  
  3786  	if input == nil {
  3787  		input = &DeleteAccountInput{}
  3788  	}
  3789  
  3790  	output = &DeleteAccountOutput{}
  3791  	req = c.newRequest(op, input, output)
  3792  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  3793  	return
  3794  }
  3795  
  3796  // DeleteAccount API operation for Amazon Chime.
  3797  //
  3798  // Deletes the specified Amazon Chime account. You must suspend all users before
  3799  // deleting Team account. You can use the BatchSuspendUser action to dodo.
  3800  //
  3801  // For EnterpriseLWA and EnterpriseAD accounts, you must release the claimed
  3802  // domains for your Amazon Chime account before deletion. As soon as you release
  3803  // the domain, all users under that account are suspended.
  3804  //
  3805  // Deleted accounts appear in your Disabled accounts list for 90 days. To restore
  3806  // deleted account from your Disabled accounts list, you must contact AWS Support.
  3807  //
  3808  // After 90 days, deleted accounts are permanently removed from your Disabled
  3809  // accounts list.
  3810  //
  3811  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3812  // with awserr.Error's Code and Message methods to get detailed information about
  3813  // the error.
  3814  //
  3815  // See the AWS API reference guide for Amazon Chime's
  3816  // API operation DeleteAccount for usage and error information.
  3817  //
  3818  // Returned Error Types:
  3819  //   * UnauthorizedClientException
  3820  //   The client is not currently authorized to make the request.
  3821  //
  3822  //   * NotFoundException
  3823  //   One or more of the resources in the request does not exist in the system.
  3824  //
  3825  //   * ForbiddenException
  3826  //   The client is permanently forbidden from making the request.
  3827  //
  3828  //   * BadRequestException
  3829  //   The input parameters don't match the service's restrictions.
  3830  //
  3831  //   * ThrottledClientException
  3832  //   The client exceeded its request rate limit.
  3833  //
  3834  //   * UnprocessableEntityException
  3835  //   The request was well-formed but was unable to be followed due to semantic
  3836  //   errors.
  3837  //
  3838  //   * ServiceUnavailableException
  3839  //   The service is currently unavailable.
  3840  //
  3841  //   * ServiceFailureException
  3842  //   The service encountered an unexpected error.
  3843  //
  3844  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAccount
  3845  func (c *Chime) DeleteAccount(input *DeleteAccountInput) (*DeleteAccountOutput, error) {
  3846  	req, out := c.DeleteAccountRequest(input)
  3847  	return out, req.Send()
  3848  }
  3849  
  3850  // DeleteAccountWithContext is the same as DeleteAccount with the addition of
  3851  // the ability to pass a context and additional request options.
  3852  //
  3853  // See DeleteAccount for details on how to use this API operation.
  3854  //
  3855  // The context must be non-nil and will be used for request cancellation. If
  3856  // the context is nil a panic will occur. In the future the SDK may create
  3857  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3858  // for more information on using Contexts.
  3859  func (c *Chime) DeleteAccountWithContext(ctx aws.Context, input *DeleteAccountInput, opts ...request.Option) (*DeleteAccountOutput, error) {
  3860  	req, out := c.DeleteAccountRequest(input)
  3861  	req.SetContext(ctx)
  3862  	req.ApplyOptions(opts...)
  3863  	return out, req.Send()
  3864  }
  3865  
  3866  const opDeleteAppInstance = "DeleteAppInstance"
  3867  
  3868  // DeleteAppInstanceRequest generates a "aws/request.Request" representing the
  3869  // client's request for the DeleteAppInstance operation. The "output" return
  3870  // value will be populated with the request's response once the request completes
  3871  // successfully.
  3872  //
  3873  // Use "Send" method on the returned Request to send the API call to the service.
  3874  // the "output" return value is not valid until after Send returns without error.
  3875  //
  3876  // See DeleteAppInstance for more information on using the DeleteAppInstance
  3877  // API call, and error handling.
  3878  //
  3879  // This method is useful when you want to inject custom logic or configuration
  3880  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3881  //
  3882  //
  3883  //    // Example sending a request using the DeleteAppInstanceRequest method.
  3884  //    req, resp := client.DeleteAppInstanceRequest(params)
  3885  //
  3886  //    err := req.Send()
  3887  //    if err == nil { // resp is now filled
  3888  //        fmt.Println(resp)
  3889  //    }
  3890  //
  3891  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstance
  3892  func (c *Chime) DeleteAppInstanceRequest(input *DeleteAppInstanceInput) (req *request.Request, output *DeleteAppInstanceOutput) {
  3893  	op := &request.Operation{
  3894  		Name:       opDeleteAppInstance,
  3895  		HTTPMethod: "DELETE",
  3896  		HTTPPath:   "/app-instances/{appInstanceArn}",
  3897  	}
  3898  
  3899  	if input == nil {
  3900  		input = &DeleteAppInstanceInput{}
  3901  	}
  3902  
  3903  	output = &DeleteAppInstanceOutput{}
  3904  	req = c.newRequest(op, input, output)
  3905  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  3906  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
  3907  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  3908  	return
  3909  }
  3910  
  3911  // DeleteAppInstance API operation for Amazon Chime.
  3912  //
  3913  // Deletes an AppInstance and all associated data asynchronously.
  3914  //
  3915  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3916  // with awserr.Error's Code and Message methods to get detailed information about
  3917  // the error.
  3918  //
  3919  // See the AWS API reference guide for Amazon Chime's
  3920  // API operation DeleteAppInstance for usage and error information.
  3921  //
  3922  // Returned Error Types:
  3923  //   * BadRequestException
  3924  //   The input parameters don't match the service's restrictions.
  3925  //
  3926  //   * ForbiddenException
  3927  //   The client is permanently forbidden from making the request.
  3928  //
  3929  //   * ThrottledClientException
  3930  //   The client exceeded its request rate limit.
  3931  //
  3932  //   * UnauthorizedClientException
  3933  //   The client is not currently authorized to make the request.
  3934  //
  3935  //   * ServiceUnavailableException
  3936  //   The service is currently unavailable.
  3937  //
  3938  //   * ServiceFailureException
  3939  //   The service encountered an unexpected error.
  3940  //
  3941  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstance
  3942  func (c *Chime) DeleteAppInstance(input *DeleteAppInstanceInput) (*DeleteAppInstanceOutput, error) {
  3943  	req, out := c.DeleteAppInstanceRequest(input)
  3944  	return out, req.Send()
  3945  }
  3946  
  3947  // DeleteAppInstanceWithContext is the same as DeleteAppInstance with the addition of
  3948  // the ability to pass a context and additional request options.
  3949  //
  3950  // See DeleteAppInstance for details on how to use this API operation.
  3951  //
  3952  // The context must be non-nil and will be used for request cancellation. If
  3953  // the context is nil a panic will occur. In the future the SDK may create
  3954  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3955  // for more information on using Contexts.
  3956  func (c *Chime) DeleteAppInstanceWithContext(ctx aws.Context, input *DeleteAppInstanceInput, opts ...request.Option) (*DeleteAppInstanceOutput, error) {
  3957  	req, out := c.DeleteAppInstanceRequest(input)
  3958  	req.SetContext(ctx)
  3959  	req.ApplyOptions(opts...)
  3960  	return out, req.Send()
  3961  }
  3962  
  3963  const opDeleteAppInstanceAdmin = "DeleteAppInstanceAdmin"
  3964  
  3965  // DeleteAppInstanceAdminRequest generates a "aws/request.Request" representing the
  3966  // client's request for the DeleteAppInstanceAdmin operation. The "output" return
  3967  // value will be populated with the request's response once the request completes
  3968  // successfully.
  3969  //
  3970  // Use "Send" method on the returned Request to send the API call to the service.
  3971  // the "output" return value is not valid until after Send returns without error.
  3972  //
  3973  // See DeleteAppInstanceAdmin for more information on using the DeleteAppInstanceAdmin
  3974  // API call, and error handling.
  3975  //
  3976  // This method is useful when you want to inject custom logic or configuration
  3977  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3978  //
  3979  //
  3980  //    // Example sending a request using the DeleteAppInstanceAdminRequest method.
  3981  //    req, resp := client.DeleteAppInstanceAdminRequest(params)
  3982  //
  3983  //    err := req.Send()
  3984  //    if err == nil { // resp is now filled
  3985  //        fmt.Println(resp)
  3986  //    }
  3987  //
  3988  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstanceAdmin
  3989  func (c *Chime) DeleteAppInstanceAdminRequest(input *DeleteAppInstanceAdminInput) (req *request.Request, output *DeleteAppInstanceAdminOutput) {
  3990  	op := &request.Operation{
  3991  		Name:       opDeleteAppInstanceAdmin,
  3992  		HTTPMethod: "DELETE",
  3993  		HTTPPath:   "/app-instances/{appInstanceArn}/admins/{appInstanceAdminArn}",
  3994  	}
  3995  
  3996  	if input == nil {
  3997  		input = &DeleteAppInstanceAdminInput{}
  3998  	}
  3999  
  4000  	output = &DeleteAppInstanceAdminOutput{}
  4001  	req = c.newRequest(op, input, output)
  4002  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  4003  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
  4004  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  4005  	return
  4006  }
  4007  
  4008  // DeleteAppInstanceAdmin API operation for Amazon Chime.
  4009  //
  4010  // Demotes an AppInstanceAdmin to an AppInstanceUser. This action does not delete
  4011  // the user.
  4012  //
  4013  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4014  // with awserr.Error's Code and Message methods to get detailed information about
  4015  // the error.
  4016  //
  4017  // See the AWS API reference guide for Amazon Chime's
  4018  // API operation DeleteAppInstanceAdmin for usage and error information.
  4019  //
  4020  // Returned Error Types:
  4021  //   * BadRequestException
  4022  //   The input parameters don't match the service's restrictions.
  4023  //
  4024  //   * ConflictException
  4025  //   The request could not be processed because of conflict in the current state
  4026  //   of the resource.
  4027  //
  4028  //   * ForbiddenException
  4029  //   The client is permanently forbidden from making the request.
  4030  //
  4031  //   * ThrottledClientException
  4032  //   The client exceeded its request rate limit.
  4033  //
  4034  //   * UnauthorizedClientException
  4035  //   The client is not currently authorized to make the request.
  4036  //
  4037  //   * ServiceUnavailableException
  4038  //   The service is currently unavailable.
  4039  //
  4040  //   * ServiceFailureException
  4041  //   The service encountered an unexpected error.
  4042  //
  4043  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstanceAdmin
  4044  func (c *Chime) DeleteAppInstanceAdmin(input *DeleteAppInstanceAdminInput) (*DeleteAppInstanceAdminOutput, error) {
  4045  	req, out := c.DeleteAppInstanceAdminRequest(input)
  4046  	return out, req.Send()
  4047  }
  4048  
  4049  // DeleteAppInstanceAdminWithContext is the same as DeleteAppInstanceAdmin with the addition of
  4050  // the ability to pass a context and additional request options.
  4051  //
  4052  // See DeleteAppInstanceAdmin for details on how to use this API operation.
  4053  //
  4054  // The context must be non-nil and will be used for request cancellation. If
  4055  // the context is nil a panic will occur. In the future the SDK may create
  4056  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4057  // for more information on using Contexts.
  4058  func (c *Chime) DeleteAppInstanceAdminWithContext(ctx aws.Context, input *DeleteAppInstanceAdminInput, opts ...request.Option) (*DeleteAppInstanceAdminOutput, error) {
  4059  	req, out := c.DeleteAppInstanceAdminRequest(input)
  4060  	req.SetContext(ctx)
  4061  	req.ApplyOptions(opts...)
  4062  	return out, req.Send()
  4063  }
  4064  
  4065  const opDeleteAppInstanceStreamingConfigurations = "DeleteAppInstanceStreamingConfigurations"
  4066  
  4067  // DeleteAppInstanceStreamingConfigurationsRequest generates a "aws/request.Request" representing the
  4068  // client's request for the DeleteAppInstanceStreamingConfigurations operation. The "output" return
  4069  // value will be populated with the request's response once the request completes
  4070  // successfully.
  4071  //
  4072  // Use "Send" method on the returned Request to send the API call to the service.
  4073  // the "output" return value is not valid until after Send returns without error.
  4074  //
  4075  // See DeleteAppInstanceStreamingConfigurations for more information on using the DeleteAppInstanceStreamingConfigurations
  4076  // API call, and error handling.
  4077  //
  4078  // This method is useful when you want to inject custom logic or configuration
  4079  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4080  //
  4081  //
  4082  //    // Example sending a request using the DeleteAppInstanceStreamingConfigurationsRequest method.
  4083  //    req, resp := client.DeleteAppInstanceStreamingConfigurationsRequest(params)
  4084  //
  4085  //    err := req.Send()
  4086  //    if err == nil { // resp is now filled
  4087  //        fmt.Println(resp)
  4088  //    }
  4089  //
  4090  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstanceStreamingConfigurations
  4091  func (c *Chime) DeleteAppInstanceStreamingConfigurationsRequest(input *DeleteAppInstanceStreamingConfigurationsInput) (req *request.Request, output *DeleteAppInstanceStreamingConfigurationsOutput) {
  4092  	op := &request.Operation{
  4093  		Name:       opDeleteAppInstanceStreamingConfigurations,
  4094  		HTTPMethod: "DELETE",
  4095  		HTTPPath:   "/app-instances/{appInstanceArn}/streaming-configurations",
  4096  	}
  4097  
  4098  	if input == nil {
  4099  		input = &DeleteAppInstanceStreamingConfigurationsInput{}
  4100  	}
  4101  
  4102  	output = &DeleteAppInstanceStreamingConfigurationsOutput{}
  4103  	req = c.newRequest(op, input, output)
  4104  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  4105  	return
  4106  }
  4107  
  4108  // DeleteAppInstanceStreamingConfigurations API operation for Amazon Chime.
  4109  //
  4110  // Deletes the streaming configurations of an AppInstance.
  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 DeleteAppInstanceStreamingConfigurations 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  //   * NotFoundException
  4127  //   One or more of the resources in the request does not exist in the system.
  4128  //
  4129  //   * UnauthorizedClientException
  4130  //   The client is not currently authorized to make the request.
  4131  //
  4132  //   * ThrottledClientException
  4133  //   The client exceeded its request rate limit.
  4134  //
  4135  //   * ServiceUnavailableException
  4136  //   The service is currently unavailable.
  4137  //
  4138  //   * ServiceFailureException
  4139  //   The service encountered an unexpected error.
  4140  //
  4141  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstanceStreamingConfigurations
  4142  func (c *Chime) DeleteAppInstanceStreamingConfigurations(input *DeleteAppInstanceStreamingConfigurationsInput) (*DeleteAppInstanceStreamingConfigurationsOutput, error) {
  4143  	req, out := c.DeleteAppInstanceStreamingConfigurationsRequest(input)
  4144  	return out, req.Send()
  4145  }
  4146  
  4147  // DeleteAppInstanceStreamingConfigurationsWithContext is the same as DeleteAppInstanceStreamingConfigurations with the addition of
  4148  // the ability to pass a context and additional request options.
  4149  //
  4150  // See DeleteAppInstanceStreamingConfigurations for details on how to use this API operation.
  4151  //
  4152  // The context must be non-nil and will be used for request cancellation. If
  4153  // the context is nil a panic will occur. In the future the SDK may create
  4154  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4155  // for more information on using Contexts.
  4156  func (c *Chime) DeleteAppInstanceStreamingConfigurationsWithContext(ctx aws.Context, input *DeleteAppInstanceStreamingConfigurationsInput, opts ...request.Option) (*DeleteAppInstanceStreamingConfigurationsOutput, error) {
  4157  	req, out := c.DeleteAppInstanceStreamingConfigurationsRequest(input)
  4158  	req.SetContext(ctx)
  4159  	req.ApplyOptions(opts...)
  4160  	return out, req.Send()
  4161  }
  4162  
  4163  const opDeleteAppInstanceUser = "DeleteAppInstanceUser"
  4164  
  4165  // DeleteAppInstanceUserRequest generates a "aws/request.Request" representing the
  4166  // client's request for the DeleteAppInstanceUser operation. The "output" return
  4167  // value will be populated with the request's response once the request completes
  4168  // successfully.
  4169  //
  4170  // Use "Send" method on the returned Request to send the API call to the service.
  4171  // the "output" return value is not valid until after Send returns without error.
  4172  //
  4173  // See DeleteAppInstanceUser for more information on using the DeleteAppInstanceUser
  4174  // API call, and error handling.
  4175  //
  4176  // This method is useful when you want to inject custom logic or configuration
  4177  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4178  //
  4179  //
  4180  //    // Example sending a request using the DeleteAppInstanceUserRequest method.
  4181  //    req, resp := client.DeleteAppInstanceUserRequest(params)
  4182  //
  4183  //    err := req.Send()
  4184  //    if err == nil { // resp is now filled
  4185  //        fmt.Println(resp)
  4186  //    }
  4187  //
  4188  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstanceUser
  4189  func (c *Chime) DeleteAppInstanceUserRequest(input *DeleteAppInstanceUserInput) (req *request.Request, output *DeleteAppInstanceUserOutput) {
  4190  	op := &request.Operation{
  4191  		Name:       opDeleteAppInstanceUser,
  4192  		HTTPMethod: "DELETE",
  4193  		HTTPPath:   "/app-instance-users/{appInstanceUserArn}",
  4194  	}
  4195  
  4196  	if input == nil {
  4197  		input = &DeleteAppInstanceUserInput{}
  4198  	}
  4199  
  4200  	output = &DeleteAppInstanceUserOutput{}
  4201  	req = c.newRequest(op, input, output)
  4202  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  4203  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
  4204  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  4205  	return
  4206  }
  4207  
  4208  // DeleteAppInstanceUser API operation for Amazon Chime.
  4209  //
  4210  // Deletes an AppInstanceUser.
  4211  //
  4212  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4213  // with awserr.Error's Code and Message methods to get detailed information about
  4214  // the error.
  4215  //
  4216  // See the AWS API reference guide for Amazon Chime's
  4217  // API operation DeleteAppInstanceUser for usage and error information.
  4218  //
  4219  // Returned Error Types:
  4220  //   * BadRequestException
  4221  //   The input parameters don't match the service's restrictions.
  4222  //
  4223  //   * ForbiddenException
  4224  //   The client is permanently forbidden from making the request.
  4225  //
  4226  //   * ThrottledClientException
  4227  //   The client exceeded its request rate limit.
  4228  //
  4229  //   * UnauthorizedClientException
  4230  //   The client is not currently authorized to make the request.
  4231  //
  4232  //   * ServiceUnavailableException
  4233  //   The service is currently unavailable.
  4234  //
  4235  //   * ServiceFailureException
  4236  //   The service encountered an unexpected error.
  4237  //
  4238  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstanceUser
  4239  func (c *Chime) DeleteAppInstanceUser(input *DeleteAppInstanceUserInput) (*DeleteAppInstanceUserOutput, error) {
  4240  	req, out := c.DeleteAppInstanceUserRequest(input)
  4241  	return out, req.Send()
  4242  }
  4243  
  4244  // DeleteAppInstanceUserWithContext is the same as DeleteAppInstanceUser with the addition of
  4245  // the ability to pass a context and additional request options.
  4246  //
  4247  // See DeleteAppInstanceUser for details on how to use this API operation.
  4248  //
  4249  // The context must be non-nil and will be used for request cancellation. If
  4250  // the context is nil a panic will occur. In the future the SDK may create
  4251  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4252  // for more information on using Contexts.
  4253  func (c *Chime) DeleteAppInstanceUserWithContext(ctx aws.Context, input *DeleteAppInstanceUserInput, opts ...request.Option) (*DeleteAppInstanceUserOutput, error) {
  4254  	req, out := c.DeleteAppInstanceUserRequest(input)
  4255  	req.SetContext(ctx)
  4256  	req.ApplyOptions(opts...)
  4257  	return out, req.Send()
  4258  }
  4259  
  4260  const opDeleteAttendee = "DeleteAttendee"
  4261  
  4262  // DeleteAttendeeRequest generates a "aws/request.Request" representing the
  4263  // client's request for the DeleteAttendee operation. The "output" return
  4264  // value will be populated with the request's response once the request completes
  4265  // successfully.
  4266  //
  4267  // Use "Send" method on the returned Request to send the API call to the service.
  4268  // the "output" return value is not valid until after Send returns without error.
  4269  //
  4270  // See DeleteAttendee for more information on using the DeleteAttendee
  4271  // API call, and error handling.
  4272  //
  4273  // This method is useful when you want to inject custom logic or configuration
  4274  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4275  //
  4276  //
  4277  //    // Example sending a request using the DeleteAttendeeRequest method.
  4278  //    req, resp := client.DeleteAttendeeRequest(params)
  4279  //
  4280  //    err := req.Send()
  4281  //    if err == nil { // resp is now filled
  4282  //        fmt.Println(resp)
  4283  //    }
  4284  //
  4285  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAttendee
  4286  func (c *Chime) DeleteAttendeeRequest(input *DeleteAttendeeInput) (req *request.Request, output *DeleteAttendeeOutput) {
  4287  	op := &request.Operation{
  4288  		Name:       opDeleteAttendee,
  4289  		HTTPMethod: "DELETE",
  4290  		HTTPPath:   "/meetings/{meetingId}/attendees/{attendeeId}",
  4291  	}
  4292  
  4293  	if input == nil {
  4294  		input = &DeleteAttendeeInput{}
  4295  	}
  4296  
  4297  	output = &DeleteAttendeeOutput{}
  4298  	req = c.newRequest(op, input, output)
  4299  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  4300  	return
  4301  }
  4302  
  4303  // DeleteAttendee API operation for Amazon Chime.
  4304  //
  4305  // Deletes an attendee from the specified Amazon Chime SDK meeting and deletes
  4306  // their JoinToken. Attendees are automatically deleted when a Amazon Chime
  4307  // SDK meeting is deleted. For more information about the Amazon Chime SDK,
  4308  // see Using the Amazon Chime SDK (https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html)
  4309  // in the Amazon Chime Developer Guide.
  4310  //
  4311  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4312  // with awserr.Error's Code and Message methods to get detailed information about
  4313  // the error.
  4314  //
  4315  // See the AWS API reference guide for Amazon Chime's
  4316  // API operation DeleteAttendee for usage and error information.
  4317  //
  4318  // Returned Error Types:
  4319  //   * BadRequestException
  4320  //   The input parameters don't match the service's restrictions.
  4321  //
  4322  //   * ForbiddenException
  4323  //   The client is permanently forbidden from making the request.
  4324  //
  4325  //   * ThrottledClientException
  4326  //   The client exceeded its request rate limit.
  4327  //
  4328  //   * NotFoundException
  4329  //   One or more of the resources in the request does not exist in the system.
  4330  //
  4331  //   * UnauthorizedClientException
  4332  //   The client is not currently authorized to make the request.
  4333  //
  4334  //   * ServiceUnavailableException
  4335  //   The service is currently unavailable.
  4336  //
  4337  //   * ServiceFailureException
  4338  //   The service encountered an unexpected error.
  4339  //
  4340  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAttendee
  4341  func (c *Chime) DeleteAttendee(input *DeleteAttendeeInput) (*DeleteAttendeeOutput, error) {
  4342  	req, out := c.DeleteAttendeeRequest(input)
  4343  	return out, req.Send()
  4344  }
  4345  
  4346  // DeleteAttendeeWithContext is the same as DeleteAttendee with the addition of
  4347  // the ability to pass a context and additional request options.
  4348  //
  4349  // See DeleteAttendee for details on how to use this API operation.
  4350  //
  4351  // The context must be non-nil and will be used for request cancellation. If
  4352  // the context is nil a panic will occur. In the future the SDK may create
  4353  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4354  // for more information on using Contexts.
  4355  func (c *Chime) DeleteAttendeeWithContext(ctx aws.Context, input *DeleteAttendeeInput, opts ...request.Option) (*DeleteAttendeeOutput, error) {
  4356  	req, out := c.DeleteAttendeeRequest(input)
  4357  	req.SetContext(ctx)
  4358  	req.ApplyOptions(opts...)
  4359  	return out, req.Send()
  4360  }
  4361  
  4362  const opDeleteChannel = "DeleteChannel"
  4363  
  4364  // DeleteChannelRequest generates a "aws/request.Request" representing the
  4365  // client's request for the DeleteChannel operation. The "output" return
  4366  // value will be populated with the request's response once the request completes
  4367  // successfully.
  4368  //
  4369  // Use "Send" method on the returned Request to send the API call to the service.
  4370  // the "output" return value is not valid until after Send returns without error.
  4371  //
  4372  // See DeleteChannel for more information on using the DeleteChannel
  4373  // API call, and error handling.
  4374  //
  4375  // This method is useful when you want to inject custom logic or configuration
  4376  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4377  //
  4378  //
  4379  //    // Example sending a request using the DeleteChannelRequest method.
  4380  //    req, resp := client.DeleteChannelRequest(params)
  4381  //
  4382  //    err := req.Send()
  4383  //    if err == nil { // resp is now filled
  4384  //        fmt.Println(resp)
  4385  //    }
  4386  //
  4387  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannel
  4388  func (c *Chime) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput) {
  4389  	op := &request.Operation{
  4390  		Name:       opDeleteChannel,
  4391  		HTTPMethod: "DELETE",
  4392  		HTTPPath:   "/channels/{channelArn}",
  4393  	}
  4394  
  4395  	if input == nil {
  4396  		input = &DeleteChannelInput{}
  4397  	}
  4398  
  4399  	output = &DeleteChannelOutput{}
  4400  	req = c.newRequest(op, input, output)
  4401  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  4402  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
  4403  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  4404  	return
  4405  }
  4406  
  4407  // DeleteChannel API operation for Amazon Chime.
  4408  //
  4409  // Immediately makes a channel and its memberships inaccessible and marks them
  4410  // for deletion. This is an irreversible process.
  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 DeleteChannel 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/DeleteChannel
  4442  func (c *Chime) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error) {
  4443  	req, out := c.DeleteChannelRequest(input)
  4444  	return out, req.Send()
  4445  }
  4446  
  4447  // DeleteChannelWithContext is the same as DeleteChannel with the addition of
  4448  // the ability to pass a context and additional request options.
  4449  //
  4450  // See DeleteChannel 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.
  4456  func (c *Chime) DeleteChannelWithContext(ctx aws.Context, input *DeleteChannelInput, opts ...request.Option) (*DeleteChannelOutput, error) {
  4457  	req, out := c.DeleteChannelRequest(input)
  4458  	req.SetContext(ctx)
  4459  	req.ApplyOptions(opts...)
  4460  	return out, req.Send()
  4461  }
  4462  
  4463  const opDeleteChannelBan = "DeleteChannelBan"
  4464  
  4465  // DeleteChannelBanRequest generates a "aws/request.Request" representing the
  4466  // client's request for the DeleteChannelBan 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 DeleteChannelBan for more information on using the DeleteChannelBan
  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 DeleteChannelBanRequest method.
  4481  //    req, resp := client.DeleteChannelBanRequest(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/DeleteChannelBan
  4489  func (c *Chime) DeleteChannelBanRequest(input *DeleteChannelBanInput) (req *request.Request, output *DeleteChannelBanOutput) {
  4490  	op := &request.Operation{
  4491  		Name:       opDeleteChannelBan,
  4492  		HTTPMethod: "DELETE",
  4493  		HTTPPath:   "/channels/{channelArn}/bans/{memberArn}",
  4494  	}
  4495  
  4496  	if input == nil {
  4497  		input = &DeleteChannelBanInput{}
  4498  	}
  4499  
  4500  	output = &DeleteChannelBanOutput{}
  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  // DeleteChannelBan API operation for Amazon Chime.
  4509  //
  4510  // Removes a user from a channel's ban list.
  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 DeleteChannelBan 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  //   * ThrottledClientException
  4533  //   The client exceeded its request rate limit.
  4534  //
  4535  //   * ServiceUnavailableException
  4536  //   The service is currently unavailable.
  4537  //
  4538  //   * ServiceFailureException
  4539  //   The service encountered an unexpected error.
  4540  //
  4541  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelBan
  4542  func (c *Chime) DeleteChannelBan(input *DeleteChannelBanInput) (*DeleteChannelBanOutput, error) {
  4543  	req, out := c.DeleteChannelBanRequest(input)
  4544  	return out, req.Send()
  4545  }
  4546  
  4547  // DeleteChannelBanWithContext is the same as DeleteChannelBan with the addition of
  4548  // the ability to pass a context and additional request options.
  4549  //
  4550  // See DeleteChannelBan for details on how to use this API operation.
  4551  //
  4552  // The context must be non-nil and will be used for request cancellation. If
  4553  // the context is nil a panic will occur. In the future the SDK may create
  4554  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4555  // for more information on using Contexts.
  4556  func (c *Chime) DeleteChannelBanWithContext(ctx aws.Context, input *DeleteChannelBanInput, opts ...request.Option) (*DeleteChannelBanOutput, error) {
  4557  	req, out := c.DeleteChannelBanRequest(input)
  4558  	req.SetContext(ctx)
  4559  	req.ApplyOptions(opts...)
  4560  	return out, req.Send()
  4561  }
  4562  
  4563  const opDeleteChannelMembership = "DeleteChannelMembership"
  4564  
  4565  // DeleteChannelMembershipRequest generates a "aws/request.Request" representing the
  4566  // client's request for the DeleteChannelMembership operation. The "output" return
  4567  // value will be populated with the request's response once the request completes
  4568  // successfully.
  4569  //
  4570  // Use "Send" method on the returned Request to send the API call to the service.
  4571  // the "output" return value is not valid until after Send returns without error.
  4572  //
  4573  // See DeleteChannelMembership for more information on using the DeleteChannelMembership
  4574  // API call, and error handling.
  4575  //
  4576  // This method is useful when you want to inject custom logic or configuration
  4577  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4578  //
  4579  //
  4580  //    // Example sending a request using the DeleteChannelMembershipRequest method.
  4581  //    req, resp := client.DeleteChannelMembershipRequest(params)
  4582  //
  4583  //    err := req.Send()
  4584  //    if err == nil { // resp is now filled
  4585  //        fmt.Println(resp)
  4586  //    }
  4587  //
  4588  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelMembership
  4589  func (c *Chime) DeleteChannelMembershipRequest(input *DeleteChannelMembershipInput) (req *request.Request, output *DeleteChannelMembershipOutput) {
  4590  	op := &request.Operation{
  4591  		Name:       opDeleteChannelMembership,
  4592  		HTTPMethod: "DELETE",
  4593  		HTTPPath:   "/channels/{channelArn}/memberships/{memberArn}",
  4594  	}
  4595  
  4596  	if input == nil {
  4597  		input = &DeleteChannelMembershipInput{}
  4598  	}
  4599  
  4600  	output = &DeleteChannelMembershipOutput{}
  4601  	req = c.newRequest(op, input, output)
  4602  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  4603  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
  4604  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  4605  	return
  4606  }
  4607  
  4608  // DeleteChannelMembership API operation for Amazon Chime.
  4609  //
  4610  // Removes a member from a channel.
  4611  //
  4612  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
  4613  // of the user that makes the API call as the value in the header.
  4614  //
  4615  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4616  // with awserr.Error's Code and Message methods to get detailed information about
  4617  // the error.
  4618  //
  4619  // See the AWS API reference guide for Amazon Chime's
  4620  // API operation DeleteChannelMembership for usage and error information.
  4621  //
  4622  // Returned Error Types:
  4623  //   * BadRequestException
  4624  //   The input parameters don't match the service's restrictions.
  4625  //
  4626  //   * ForbiddenException
  4627  //   The client is permanently forbidden from making the request.
  4628  //
  4629  //   * UnauthorizedClientException
  4630  //   The client is not currently authorized to make the request.
  4631  //
  4632  //   * ConflictException
  4633  //   The request could not be processed because of conflict in the current state
  4634  //   of the resource.
  4635  //
  4636  //   * ThrottledClientException
  4637  //   The client exceeded its request rate limit.
  4638  //
  4639  //   * ServiceUnavailableException
  4640  //   The service is currently unavailable.
  4641  //
  4642  //   * ServiceFailureException
  4643  //   The service encountered an unexpected error.
  4644  //
  4645  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelMembership
  4646  func (c *Chime) DeleteChannelMembership(input *DeleteChannelMembershipInput) (*DeleteChannelMembershipOutput, error) {
  4647  	req, out := c.DeleteChannelMembershipRequest(input)
  4648  	return out, req.Send()
  4649  }
  4650  
  4651  // DeleteChannelMembershipWithContext is the same as DeleteChannelMembership with the addition of
  4652  // the ability to pass a context and additional request options.
  4653  //
  4654  // See DeleteChannelMembership for details on how to use this API operation.
  4655  //
  4656  // The context must be non-nil and will be used for request cancellation. If
  4657  // the context is nil a panic will occur. In the future the SDK may create
  4658  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4659  // for more information on using Contexts.
  4660  func (c *Chime) DeleteChannelMembershipWithContext(ctx aws.Context, input *DeleteChannelMembershipInput, opts ...request.Option) (*DeleteChannelMembershipOutput, error) {
  4661  	req, out := c.DeleteChannelMembershipRequest(input)
  4662  	req.SetContext(ctx)
  4663  	req.ApplyOptions(opts...)
  4664  	return out, req.Send()
  4665  }
  4666  
  4667  const opDeleteChannelMessage = "DeleteChannelMessage"
  4668  
  4669  // DeleteChannelMessageRequest generates a "aws/request.Request" representing the
  4670  // client's request for the DeleteChannelMessage operation. The "output" return
  4671  // value will be populated with the request's response once the request completes
  4672  // successfully.
  4673  //
  4674  // Use "Send" method on the returned Request to send the API call to the service.
  4675  // the "output" return value is not valid until after Send returns without error.
  4676  //
  4677  // See DeleteChannelMessage for more information on using the DeleteChannelMessage
  4678  // API call, and error handling.
  4679  //
  4680  // This method is useful when you want to inject custom logic or configuration
  4681  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4682  //
  4683  //
  4684  //    // Example sending a request using the DeleteChannelMessageRequest method.
  4685  //    req, resp := client.DeleteChannelMessageRequest(params)
  4686  //
  4687  //    err := req.Send()
  4688  //    if err == nil { // resp is now filled
  4689  //        fmt.Println(resp)
  4690  //    }
  4691  //
  4692  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelMessage
  4693  func (c *Chime) DeleteChannelMessageRequest(input *DeleteChannelMessageInput) (req *request.Request, output *DeleteChannelMessageOutput) {
  4694  	op := &request.Operation{
  4695  		Name:       opDeleteChannelMessage,
  4696  		HTTPMethod: "DELETE",
  4697  		HTTPPath:   "/channels/{channelArn}/messages/{messageId}",
  4698  	}
  4699  
  4700  	if input == nil {
  4701  		input = &DeleteChannelMessageInput{}
  4702  	}
  4703  
  4704  	output = &DeleteChannelMessageOutput{}
  4705  	req = c.newRequest(op, input, output)
  4706  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  4707  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
  4708  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  4709  	return
  4710  }
  4711  
  4712  // DeleteChannelMessage API operation for Amazon Chime.
  4713  //
  4714  // Deletes a channel message. Only admins can perform this action. Deletion
  4715  // makes messages inaccessible immediately. A background process deletes any
  4716  // revisions created by UpdateChannelMessage.
  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 DeleteChannelMessage 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/DeleteChannelMessage
  4748  func (c *Chime) DeleteChannelMessage(input *DeleteChannelMessageInput) (*DeleteChannelMessageOutput, error) {
  4749  	req, out := c.DeleteChannelMessageRequest(input)
  4750  	return out, req.Send()
  4751  }
  4752  
  4753  // DeleteChannelMessageWithContext is the same as DeleteChannelMessage with the addition of
  4754  // the ability to pass a context and additional request options.
  4755  //
  4756  // See DeleteChannelMessage 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.
  4762  func (c *Chime) DeleteChannelMessageWithContext(ctx aws.Context, input *DeleteChannelMessageInput, opts ...request.Option) (*DeleteChannelMessageOutput, error) {
  4763  	req, out := c.DeleteChannelMessageRequest(input)
  4764  	req.SetContext(ctx)
  4765  	req.ApplyOptions(opts...)
  4766  	return out, req.Send()
  4767  }
  4768  
  4769  const opDeleteChannelModerator = "DeleteChannelModerator"
  4770  
  4771  // DeleteChannelModeratorRequest generates a "aws/request.Request" representing the
  4772  // client's request for the DeleteChannelModerator 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 DeleteChannelModerator for more information on using the DeleteChannelModerator
  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 DeleteChannelModeratorRequest method.
  4787  //    req, resp := client.DeleteChannelModeratorRequest(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/DeleteChannelModerator
  4795  func (c *Chime) DeleteChannelModeratorRequest(input *DeleteChannelModeratorInput) (req *request.Request, output *DeleteChannelModeratorOutput) {
  4796  	op := &request.Operation{
  4797  		Name:       opDeleteChannelModerator,
  4798  		HTTPMethod: "DELETE",
  4799  		HTTPPath:   "/channels/{channelArn}/moderators/{channelModeratorArn}",
  4800  	}
  4801  
  4802  	if input == nil {
  4803  		input = &DeleteChannelModeratorInput{}
  4804  	}
  4805  
  4806  	output = &DeleteChannelModeratorOutput{}
  4807  	req = c.newRequest(op, input, output)
  4808  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  4809  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
  4810  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  4811  	return
  4812  }
  4813  
  4814  // DeleteChannelModerator API operation for Amazon Chime.
  4815  //
  4816  // Deletes a channel moderator.
  4817  //
  4818  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
  4819  // of the user that makes the API call as the value in the header.
  4820  //
  4821  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4822  // with awserr.Error's Code and Message methods to get detailed information about
  4823  // the error.
  4824  //
  4825  // See the AWS API reference guide for Amazon Chime's
  4826  // API operation DeleteChannelModerator for usage and error information.
  4827  //
  4828  // Returned Error Types:
  4829  //   * BadRequestException
  4830  //   The input parameters don't match the service's restrictions.
  4831  //
  4832  //   * ForbiddenException
  4833  //   The client is permanently forbidden from making the request.
  4834  //
  4835  //   * UnauthorizedClientException
  4836  //   The client is not currently authorized to make the request.
  4837  //
  4838  //   * ThrottledClientException
  4839  //   The client exceeded its request rate limit.
  4840  //
  4841  //   * ServiceUnavailableException
  4842  //   The service is currently unavailable.
  4843  //
  4844  //   * ServiceFailureException
  4845  //   The service encountered an unexpected error.
  4846  //
  4847  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelModerator
  4848  func (c *Chime) DeleteChannelModerator(input *DeleteChannelModeratorInput) (*DeleteChannelModeratorOutput, error) {
  4849  	req, out := c.DeleteChannelModeratorRequest(input)
  4850  	return out, req.Send()
  4851  }
  4852  
  4853  // DeleteChannelModeratorWithContext is the same as DeleteChannelModerator with the addition of
  4854  // the ability to pass a context and additional request options.
  4855  //
  4856  // See DeleteChannelModerator for details on how to use this API operation.
  4857  //
  4858  // The context must be non-nil and will be used for request cancellation. If
  4859  // the context is nil a panic will occur. In the future the SDK may create
  4860  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4861  // for more information on using Contexts.
  4862  func (c *Chime) DeleteChannelModeratorWithContext(ctx aws.Context, input *DeleteChannelModeratorInput, opts ...request.Option) (*DeleteChannelModeratorOutput, error) {
  4863  	req, out := c.DeleteChannelModeratorRequest(input)
  4864  	req.SetContext(ctx)
  4865  	req.ApplyOptions(opts...)
  4866  	return out, req.Send()
  4867  }
  4868  
  4869  const opDeleteEventsConfiguration = "DeleteEventsConfiguration"
  4870  
  4871  // DeleteEventsConfigurationRequest generates a "aws/request.Request" representing the
  4872  // client's request for the DeleteEventsConfiguration operation. The "output" return
  4873  // value will be populated with the request's response once the request completes
  4874  // successfully.
  4875  //
  4876  // Use "Send" method on the returned Request to send the API call to the service.
  4877  // the "output" return value is not valid until after Send returns without error.
  4878  //
  4879  // See DeleteEventsConfiguration for more information on using the DeleteEventsConfiguration
  4880  // API call, and error handling.
  4881  //
  4882  // This method is useful when you want to inject custom logic or configuration
  4883  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4884  //
  4885  //
  4886  //    // Example sending a request using the DeleteEventsConfigurationRequest method.
  4887  //    req, resp := client.DeleteEventsConfigurationRequest(params)
  4888  //
  4889  //    err := req.Send()
  4890  //    if err == nil { // resp is now filled
  4891  //        fmt.Println(resp)
  4892  //    }
  4893  //
  4894  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteEventsConfiguration
  4895  func (c *Chime) DeleteEventsConfigurationRequest(input *DeleteEventsConfigurationInput) (req *request.Request, output *DeleteEventsConfigurationOutput) {
  4896  	op := &request.Operation{
  4897  		Name:       opDeleteEventsConfiguration,
  4898  		HTTPMethod: "DELETE",
  4899  		HTTPPath:   "/accounts/{accountId}/bots/{botId}/events-configuration",
  4900  	}
  4901  
  4902  	if input == nil {
  4903  		input = &DeleteEventsConfigurationInput{}
  4904  	}
  4905  
  4906  	output = &DeleteEventsConfigurationOutput{}
  4907  	req = c.newRequest(op, input, output)
  4908  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  4909  	return
  4910  }
  4911  
  4912  // DeleteEventsConfiguration API operation for Amazon Chime.
  4913  //
  4914  // Deletes the events configuration that allows a bot to receive outgoing events.
  4915  //
  4916  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4917  // with awserr.Error's Code and Message methods to get detailed information about
  4918  // the error.
  4919  //
  4920  // See the AWS API reference guide for Amazon Chime's
  4921  // API operation DeleteEventsConfiguration for usage and error information.
  4922  //
  4923  // Returned Error Types:
  4924  //   * ServiceUnavailableException
  4925  //   The service is currently unavailable.
  4926  //
  4927  //   * ServiceFailureException
  4928  //   The service encountered an unexpected error.
  4929  //
  4930  //   * ForbiddenException
  4931  //   The client is permanently forbidden from making the request.
  4932  //
  4933  //   * BadRequestException
  4934  //   The input parameters don't match the service's restrictions.
  4935  //
  4936  //   * UnauthorizedClientException
  4937  //   The client is not currently authorized to make the request.
  4938  //
  4939  //   * ResourceLimitExceededException
  4940  //   The request exceeds the resource limit.
  4941  //
  4942  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteEventsConfiguration
  4943  func (c *Chime) DeleteEventsConfiguration(input *DeleteEventsConfigurationInput) (*DeleteEventsConfigurationOutput, error) {
  4944  	req, out := c.DeleteEventsConfigurationRequest(input)
  4945  	return out, req.Send()
  4946  }
  4947  
  4948  // DeleteEventsConfigurationWithContext is the same as DeleteEventsConfiguration with the addition of
  4949  // the ability to pass a context and additional request options.
  4950  //
  4951  // See DeleteEventsConfiguration for details on how to use this API operation.
  4952  //
  4953  // The context must be non-nil and will be used for request cancellation. If
  4954  // the context is nil a panic will occur. In the future the SDK may create
  4955  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4956  // for more information on using Contexts.
  4957  func (c *Chime) DeleteEventsConfigurationWithContext(ctx aws.Context, input *DeleteEventsConfigurationInput, opts ...request.Option) (*DeleteEventsConfigurationOutput, error) {
  4958  	req, out := c.DeleteEventsConfigurationRequest(input)
  4959  	req.SetContext(ctx)
  4960  	req.ApplyOptions(opts...)
  4961  	return out, req.Send()
  4962  }
  4963  
  4964  const opDeleteMediaCapturePipeline = "DeleteMediaCapturePipeline"
  4965  
  4966  // DeleteMediaCapturePipelineRequest generates a "aws/request.Request" representing the
  4967  // client's request for the DeleteMediaCapturePipeline operation. The "output" return
  4968  // value will be populated with the request's response once the request completes
  4969  // successfully.
  4970  //
  4971  // Use "Send" method on the returned Request to send the API call to the service.
  4972  // the "output" return value is not valid until after Send returns without error.
  4973  //
  4974  // See DeleteMediaCapturePipeline for more information on using the DeleteMediaCapturePipeline
  4975  // API call, and error handling.
  4976  //
  4977  // This method is useful when you want to inject custom logic or configuration
  4978  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4979  //
  4980  //
  4981  //    // Example sending a request using the DeleteMediaCapturePipelineRequest method.
  4982  //    req, resp := client.DeleteMediaCapturePipelineRequest(params)
  4983  //
  4984  //    err := req.Send()
  4985  //    if err == nil { // resp is now filled
  4986  //        fmt.Println(resp)
  4987  //    }
  4988  //
  4989  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteMediaCapturePipeline
  4990  func (c *Chime) DeleteMediaCapturePipelineRequest(input *DeleteMediaCapturePipelineInput) (req *request.Request, output *DeleteMediaCapturePipelineOutput) {
  4991  	op := &request.Operation{
  4992  		Name:       opDeleteMediaCapturePipeline,
  4993  		HTTPMethod: "DELETE",
  4994  		HTTPPath:   "/media-capture-pipelines/{mediaPipelineId}",
  4995  	}
  4996  
  4997  	if input == nil {
  4998  		input = &DeleteMediaCapturePipelineInput{}
  4999  	}
  5000  
  5001  	output = &DeleteMediaCapturePipelineOutput{}
  5002  	req = c.newRequest(op, input, output)
  5003  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  5004  	return
  5005  }
  5006  
  5007  // DeleteMediaCapturePipeline API operation for Amazon Chime.
  5008  //
  5009  // Deletes the media capture pipeline.
  5010  //
  5011  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5012  // with awserr.Error's Code and Message methods to get detailed information about
  5013  // the error.
  5014  //
  5015  // See the AWS API reference guide for Amazon Chime's
  5016  // API operation DeleteMediaCapturePipeline for usage and error information.
  5017  //
  5018  // Returned Error Types:
  5019  //   * ForbiddenException
  5020  //   The client is permanently forbidden from making the request.
  5021  //
  5022  //   * NotFoundException
  5023  //   One or more of the resources in the request does not exist in the system.
  5024  //
  5025  //   * BadRequestException
  5026  //   The input parameters don't match the service's restrictions.
  5027  //
  5028  //   * ThrottledClientException
  5029  //   The client exceeded its request rate limit.
  5030  //
  5031  //   * UnauthorizedClientException
  5032  //   The client is not currently authorized to make the request.
  5033  //
  5034  //   * ServiceUnavailableException
  5035  //   The service is currently unavailable.
  5036  //
  5037  //   * ServiceFailureException
  5038  //   The service encountered an unexpected error.
  5039  //
  5040  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteMediaCapturePipeline
  5041  func (c *Chime) DeleteMediaCapturePipeline(input *DeleteMediaCapturePipelineInput) (*DeleteMediaCapturePipelineOutput, error) {
  5042  	req, out := c.DeleteMediaCapturePipelineRequest(input)
  5043  	return out, req.Send()
  5044  }
  5045  
  5046  // DeleteMediaCapturePipelineWithContext is the same as DeleteMediaCapturePipeline with the addition of
  5047  // the ability to pass a context and additional request options.
  5048  //
  5049  // See DeleteMediaCapturePipeline for details on how to use this API operation.
  5050  //
  5051  // The context must be non-nil and will be used for request cancellation. If
  5052  // the context is nil a panic will occur. In the future the SDK may create
  5053  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5054  // for more information on using Contexts.
  5055  func (c *Chime) DeleteMediaCapturePipelineWithContext(ctx aws.Context, input *DeleteMediaCapturePipelineInput, opts ...request.Option) (*DeleteMediaCapturePipelineOutput, error) {
  5056  	req, out := c.DeleteMediaCapturePipelineRequest(input)
  5057  	req.SetContext(ctx)
  5058  	req.ApplyOptions(opts...)
  5059  	return out, req.Send()
  5060  }
  5061  
  5062  const opDeleteMeeting = "DeleteMeeting"
  5063  
  5064  // DeleteMeetingRequest generates a "aws/request.Request" representing the
  5065  // client's request for the DeleteMeeting operation. The "output" return
  5066  // value will be populated with the request's response once the request completes
  5067  // successfully.
  5068  //
  5069  // Use "Send" method on the returned Request to send the API call to the service.
  5070  // the "output" return value is not valid until after Send returns without error.
  5071  //
  5072  // See DeleteMeeting for more information on using the DeleteMeeting
  5073  // API call, and error handling.
  5074  //
  5075  // This method is useful when you want to inject custom logic or configuration
  5076  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5077  //
  5078  //
  5079  //    // Example sending a request using the DeleteMeetingRequest method.
  5080  //    req, resp := client.DeleteMeetingRequest(params)
  5081  //
  5082  //    err := req.Send()
  5083  //    if err == nil { // resp is now filled
  5084  //        fmt.Println(resp)
  5085  //    }
  5086  //
  5087  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteMeeting
  5088  func (c *Chime) DeleteMeetingRequest(input *DeleteMeetingInput) (req *request.Request, output *DeleteMeetingOutput) {
  5089  	op := &request.Operation{
  5090  		Name:       opDeleteMeeting,
  5091  		HTTPMethod: "DELETE",
  5092  		HTTPPath:   "/meetings/{meetingId}",
  5093  	}
  5094  
  5095  	if input == nil {
  5096  		input = &DeleteMeetingInput{}
  5097  	}
  5098  
  5099  	output = &DeleteMeetingOutput{}
  5100  	req = c.newRequest(op, input, output)
  5101  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  5102  	return
  5103  }
  5104  
  5105  // DeleteMeeting API operation for Amazon Chime.
  5106  //
  5107  // Deletes the specified Amazon Chime SDK meeting. The operation deletes all
  5108  // attendees, disconnects all clients, and prevents new clients from joining
  5109  // the meeting. For more information about the Amazon Chime SDK, see Using the
  5110  // Amazon Chime SDK (https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html)
  5111  // in the Amazon Chime Developer Guide.
  5112  //
  5113  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5114  // with awserr.Error's Code and Message methods to get detailed information about
  5115  // the error.
  5116  //
  5117  // See the AWS API reference guide for Amazon Chime's
  5118  // API operation DeleteMeeting for usage and error information.
  5119  //
  5120  // Returned Error Types:
  5121  //   * BadRequestException
  5122  //   The input parameters don't match the service's restrictions.
  5123  //
  5124  //   * ForbiddenException
  5125  //   The client is permanently forbidden from making the request.
  5126  //
  5127  //   * ThrottledClientException
  5128  //   The client exceeded its request rate limit.
  5129  //
  5130  //   * NotFoundException
  5131  //   One or more of the resources in the request does not exist in the system.
  5132  //
  5133  //   * UnauthorizedClientException
  5134  //   The client is not currently authorized to make the request.
  5135  //
  5136  //   * ServiceUnavailableException
  5137  //   The service is currently unavailable.
  5138  //
  5139  //   * ServiceFailureException
  5140  //   The service encountered an unexpected error.
  5141  //
  5142  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteMeeting
  5143  func (c *Chime) DeleteMeeting(input *DeleteMeetingInput) (*DeleteMeetingOutput, error) {
  5144  	req, out := c.DeleteMeetingRequest(input)
  5145  	return out, req.Send()
  5146  }
  5147  
  5148  // DeleteMeetingWithContext is the same as DeleteMeeting with the addition of
  5149  // the ability to pass a context and additional request options.
  5150  //
  5151  // See DeleteMeeting for details on how to use this API operation.
  5152  //
  5153  // The context must be non-nil and will be used for request cancellation. If
  5154  // the context is nil a panic will occur. In the future the SDK may create
  5155  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5156  // for more information on using Contexts.
  5157  func (c *Chime) DeleteMeetingWithContext(ctx aws.Context, input *DeleteMeetingInput, opts ...request.Option) (*DeleteMeetingOutput, error) {
  5158  	req, out := c.DeleteMeetingRequest(input)
  5159  	req.SetContext(ctx)
  5160  	req.ApplyOptions(opts...)
  5161  	return out, req.Send()
  5162  }
  5163  
  5164  const opDeletePhoneNumber = "DeletePhoneNumber"
  5165  
  5166  // DeletePhoneNumberRequest generates a "aws/request.Request" representing the
  5167  // client's request for the DeletePhoneNumber operation. The "output" return
  5168  // value will be populated with the request's response once the request completes
  5169  // successfully.
  5170  //
  5171  // Use "Send" method on the returned Request to send the API call to the service.
  5172  // the "output" return value is not valid until after Send returns without error.
  5173  //
  5174  // See DeletePhoneNumber for more information on using the DeletePhoneNumber
  5175  // API call, and error handling.
  5176  //
  5177  // This method is useful when you want to inject custom logic or configuration
  5178  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5179  //
  5180  //
  5181  //    // Example sending a request using the DeletePhoneNumberRequest method.
  5182  //    req, resp := client.DeletePhoneNumberRequest(params)
  5183  //
  5184  //    err := req.Send()
  5185  //    if err == nil { // resp is now filled
  5186  //        fmt.Println(resp)
  5187  //    }
  5188  //
  5189  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeletePhoneNumber
  5190  func (c *Chime) DeletePhoneNumberRequest(input *DeletePhoneNumberInput) (req *request.Request, output *DeletePhoneNumberOutput) {
  5191  	op := &request.Operation{
  5192  		Name:       opDeletePhoneNumber,
  5193  		HTTPMethod: "DELETE",
  5194  		HTTPPath:   "/phone-numbers/{phoneNumberId}",
  5195  	}
  5196  
  5197  	if input == nil {
  5198  		input = &DeletePhoneNumberInput{}
  5199  	}
  5200  
  5201  	output = &DeletePhoneNumberOutput{}
  5202  	req = c.newRequest(op, input, output)
  5203  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  5204  	return
  5205  }
  5206  
  5207  // DeletePhoneNumber API operation for Amazon Chime.
  5208  //
  5209  // Moves the specified phone number into the Deletion queue. A phone number
  5210  // must be disassociated from any users or Amazon Chime Voice Connectors before
  5211  // it can be deleted.
  5212  //
  5213  // Deleted phone numbers remain in the Deletion queue for 7 days before they
  5214  // are deleted permanently.
  5215  //
  5216  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5217  // with awserr.Error's Code and Message methods to get detailed information about
  5218  // the error.
  5219  //
  5220  // See the AWS API reference guide for Amazon Chime's
  5221  // API operation DeletePhoneNumber for usage and error information.
  5222  //
  5223  // Returned Error Types:
  5224  //   * UnauthorizedClientException
  5225  //   The client is not currently authorized to make the request.
  5226  //
  5227  //   * NotFoundException
  5228  //   One or more of the resources in the request does not exist in the system.
  5229  //
  5230  //   * ForbiddenException
  5231  //   The client is permanently forbidden from making the request.
  5232  //
  5233  //   * BadRequestException
  5234  //   The input parameters don't match the service's restrictions.
  5235  //
  5236  //   * ThrottledClientException
  5237  //   The client exceeded its request rate limit.
  5238  //
  5239  //   * ServiceUnavailableException
  5240  //   The service is currently unavailable.
  5241  //
  5242  //   * ServiceFailureException
  5243  //   The service encountered an unexpected error.
  5244  //
  5245  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeletePhoneNumber
  5246  func (c *Chime) DeletePhoneNumber(input *DeletePhoneNumberInput) (*DeletePhoneNumberOutput, error) {
  5247  	req, out := c.DeletePhoneNumberRequest(input)
  5248  	return out, req.Send()
  5249  }
  5250  
  5251  // DeletePhoneNumberWithContext is the same as DeletePhoneNumber with the addition of
  5252  // the ability to pass a context and additional request options.
  5253  //
  5254  // See DeletePhoneNumber for details on how to use this API operation.
  5255  //
  5256  // The context must be non-nil and will be used for request cancellation. If
  5257  // the context is nil a panic will occur. In the future the SDK may create
  5258  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5259  // for more information on using Contexts.
  5260  func (c *Chime) DeletePhoneNumberWithContext(ctx aws.Context, input *DeletePhoneNumberInput, opts ...request.Option) (*DeletePhoneNumberOutput, error) {
  5261  	req, out := c.DeletePhoneNumberRequest(input)
  5262  	req.SetContext(ctx)
  5263  	req.ApplyOptions(opts...)
  5264  	return out, req.Send()
  5265  }
  5266  
  5267  const opDeleteProxySession = "DeleteProxySession"
  5268  
  5269  // DeleteProxySessionRequest generates a "aws/request.Request" representing the
  5270  // client's request for the DeleteProxySession operation. The "output" return
  5271  // value will be populated with the request's response once the request completes
  5272  // successfully.
  5273  //
  5274  // Use "Send" method on the returned Request to send the API call to the service.
  5275  // the "output" return value is not valid until after Send returns without error.
  5276  //
  5277  // See DeleteProxySession for more information on using the DeleteProxySession
  5278  // API call, and error handling.
  5279  //
  5280  // This method is useful when you want to inject custom logic or configuration
  5281  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5282  //
  5283  //
  5284  //    // Example sending a request using the DeleteProxySessionRequest method.
  5285  //    req, resp := client.DeleteProxySessionRequest(params)
  5286  //
  5287  //    err := req.Send()
  5288  //    if err == nil { // resp is now filled
  5289  //        fmt.Println(resp)
  5290  //    }
  5291  //
  5292  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteProxySession
  5293  func (c *Chime) DeleteProxySessionRequest(input *DeleteProxySessionInput) (req *request.Request, output *DeleteProxySessionOutput) {
  5294  	op := &request.Operation{
  5295  		Name:       opDeleteProxySession,
  5296  		HTTPMethod: "DELETE",
  5297  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/proxy-sessions/{proxySessionId}",
  5298  	}
  5299  
  5300  	if input == nil {
  5301  		input = &DeleteProxySessionInput{}
  5302  	}
  5303  
  5304  	output = &DeleteProxySessionOutput{}
  5305  	req = c.newRequest(op, input, output)
  5306  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  5307  	return
  5308  }
  5309  
  5310  // DeleteProxySession API operation for Amazon Chime.
  5311  //
  5312  // Deletes the specified proxy session from the specified Amazon Chime Voice
  5313  // Connector.
  5314  //
  5315  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5316  // with awserr.Error's Code and Message methods to get detailed information about
  5317  // the error.
  5318  //
  5319  // See the AWS API reference guide for Amazon Chime's
  5320  // API operation DeleteProxySession for usage and error information.
  5321  //
  5322  // Returned Error Types:
  5323  //   * UnauthorizedClientException
  5324  //   The client is not currently authorized to make the request.
  5325  //
  5326  //   * NotFoundException
  5327  //   One or more of the resources in the request does not exist in the system.
  5328  //
  5329  //   * ForbiddenException
  5330  //   The client is permanently forbidden from making the request.
  5331  //
  5332  //   * BadRequestException
  5333  //   The input parameters don't match the service's restrictions.
  5334  //
  5335  //   * ThrottledClientException
  5336  //   The client exceeded its request rate limit.
  5337  //
  5338  //   * ServiceUnavailableException
  5339  //   The service is currently unavailable.
  5340  //
  5341  //   * ServiceFailureException
  5342  //   The service encountered an unexpected error.
  5343  //
  5344  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteProxySession
  5345  func (c *Chime) DeleteProxySession(input *DeleteProxySessionInput) (*DeleteProxySessionOutput, error) {
  5346  	req, out := c.DeleteProxySessionRequest(input)
  5347  	return out, req.Send()
  5348  }
  5349  
  5350  // DeleteProxySessionWithContext is the same as DeleteProxySession with the addition of
  5351  // the ability to pass a context and additional request options.
  5352  //
  5353  // See DeleteProxySession for details on how to use this API operation.
  5354  //
  5355  // The context must be non-nil and will be used for request cancellation. If
  5356  // the context is nil a panic will occur. In the future the SDK may create
  5357  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5358  // for more information on using Contexts.
  5359  func (c *Chime) DeleteProxySessionWithContext(ctx aws.Context, input *DeleteProxySessionInput, opts ...request.Option) (*DeleteProxySessionOutput, error) {
  5360  	req, out := c.DeleteProxySessionRequest(input)
  5361  	req.SetContext(ctx)
  5362  	req.ApplyOptions(opts...)
  5363  	return out, req.Send()
  5364  }
  5365  
  5366  const opDeleteRoom = "DeleteRoom"
  5367  
  5368  // DeleteRoomRequest generates a "aws/request.Request" representing the
  5369  // client's request for the DeleteRoom operation. The "output" return
  5370  // value will be populated with the request's response once the request completes
  5371  // successfully.
  5372  //
  5373  // Use "Send" method on the returned Request to send the API call to the service.
  5374  // the "output" return value is not valid until after Send returns without error.
  5375  //
  5376  // See DeleteRoom for more information on using the DeleteRoom
  5377  // API call, and error handling.
  5378  //
  5379  // This method is useful when you want to inject custom logic or configuration
  5380  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5381  //
  5382  //
  5383  //    // Example sending a request using the DeleteRoomRequest method.
  5384  //    req, resp := client.DeleteRoomRequest(params)
  5385  //
  5386  //    err := req.Send()
  5387  //    if err == nil { // resp is now filled
  5388  //        fmt.Println(resp)
  5389  //    }
  5390  //
  5391  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteRoom
  5392  func (c *Chime) DeleteRoomRequest(input *DeleteRoomInput) (req *request.Request, output *DeleteRoomOutput) {
  5393  	op := &request.Operation{
  5394  		Name:       opDeleteRoom,
  5395  		HTTPMethod: "DELETE",
  5396  		HTTPPath:   "/accounts/{accountId}/rooms/{roomId}",
  5397  	}
  5398  
  5399  	if input == nil {
  5400  		input = &DeleteRoomInput{}
  5401  	}
  5402  
  5403  	output = &DeleteRoomOutput{}
  5404  	req = c.newRequest(op, input, output)
  5405  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  5406  	return
  5407  }
  5408  
  5409  // DeleteRoom API operation for Amazon Chime.
  5410  //
  5411  // Deletes a chat room in an Amazon Chime Enterprise account.
  5412  //
  5413  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5414  // with awserr.Error's Code and Message methods to get detailed information about
  5415  // the error.
  5416  //
  5417  // See the AWS API reference guide for Amazon Chime's
  5418  // API operation DeleteRoom for usage and error information.
  5419  //
  5420  // Returned Error Types:
  5421  //   * BadRequestException
  5422  //   The input parameters don't match the service's restrictions.
  5423  //
  5424  //   * ForbiddenException
  5425  //   The client is permanently forbidden from making the request.
  5426  //
  5427  //   * NotFoundException
  5428  //   One or more of the resources in the request does not exist in the system.
  5429  //
  5430  //   * UnauthorizedClientException
  5431  //   The client is not currently authorized to make the request.
  5432  //
  5433  //   * ThrottledClientException
  5434  //   The client exceeded its request rate limit.
  5435  //
  5436  //   * ServiceUnavailableException
  5437  //   The service is currently unavailable.
  5438  //
  5439  //   * ServiceFailureException
  5440  //   The service encountered an unexpected error.
  5441  //
  5442  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteRoom
  5443  func (c *Chime) DeleteRoom(input *DeleteRoomInput) (*DeleteRoomOutput, error) {
  5444  	req, out := c.DeleteRoomRequest(input)
  5445  	return out, req.Send()
  5446  }
  5447  
  5448  // DeleteRoomWithContext is the same as DeleteRoom with the addition of
  5449  // the ability to pass a context and additional request options.
  5450  //
  5451  // See DeleteRoom for details on how to use this API operation.
  5452  //
  5453  // The context must be non-nil and will be used for request cancellation. If
  5454  // the context is nil a panic will occur. In the future the SDK may create
  5455  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5456  // for more information on using Contexts.
  5457  func (c *Chime) DeleteRoomWithContext(ctx aws.Context, input *DeleteRoomInput, opts ...request.Option) (*DeleteRoomOutput, error) {
  5458  	req, out := c.DeleteRoomRequest(input)
  5459  	req.SetContext(ctx)
  5460  	req.ApplyOptions(opts...)
  5461  	return out, req.Send()
  5462  }
  5463  
  5464  const opDeleteRoomMembership = "DeleteRoomMembership"
  5465  
  5466  // DeleteRoomMembershipRequest generates a "aws/request.Request" representing the
  5467  // client's request for the DeleteRoomMembership operation. The "output" return
  5468  // value will be populated with the request's response once the request completes
  5469  // successfully.
  5470  //
  5471  // Use "Send" method on the returned Request to send the API call to the service.
  5472  // the "output" return value is not valid until after Send returns without error.
  5473  //
  5474  // See DeleteRoomMembership for more information on using the DeleteRoomMembership
  5475  // API call, and error handling.
  5476  //
  5477  // This method is useful when you want to inject custom logic or configuration
  5478  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5479  //
  5480  //
  5481  //    // Example sending a request using the DeleteRoomMembershipRequest method.
  5482  //    req, resp := client.DeleteRoomMembershipRequest(params)
  5483  //
  5484  //    err := req.Send()
  5485  //    if err == nil { // resp is now filled
  5486  //        fmt.Println(resp)
  5487  //    }
  5488  //
  5489  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteRoomMembership
  5490  func (c *Chime) DeleteRoomMembershipRequest(input *DeleteRoomMembershipInput) (req *request.Request, output *DeleteRoomMembershipOutput) {
  5491  	op := &request.Operation{
  5492  		Name:       opDeleteRoomMembership,
  5493  		HTTPMethod: "DELETE",
  5494  		HTTPPath:   "/accounts/{accountId}/rooms/{roomId}/memberships/{memberId}",
  5495  	}
  5496  
  5497  	if input == nil {
  5498  		input = &DeleteRoomMembershipInput{}
  5499  	}
  5500  
  5501  	output = &DeleteRoomMembershipOutput{}
  5502  	req = c.newRequest(op, input, output)
  5503  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  5504  	return
  5505  }
  5506  
  5507  // DeleteRoomMembership API operation for Amazon Chime.
  5508  //
  5509  // Removes a member from a chat room in an Amazon Chime Enterprise account.
  5510  //
  5511  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5512  // with awserr.Error's Code and Message methods to get detailed information about
  5513  // the error.
  5514  //
  5515  // See the AWS API reference guide for Amazon Chime's
  5516  // API operation DeleteRoomMembership for usage and error information.
  5517  //
  5518  // Returned Error Types:
  5519  //   * UnauthorizedClientException
  5520  //   The client is not currently authorized to make the request.
  5521  //
  5522  //   * NotFoundException
  5523  //   One or more of the resources in the request does not exist in the system.
  5524  //
  5525  //   * BadRequestException
  5526  //   The input parameters don't match the service's restrictions.
  5527  //
  5528  //   * ForbiddenException
  5529  //   The client is permanently forbidden from making the request.
  5530  //
  5531  //   * ThrottledClientException
  5532  //   The client exceeded its request rate limit.
  5533  //
  5534  //   * ServiceUnavailableException
  5535  //   The service is currently unavailable.
  5536  //
  5537  //   * ServiceFailureException
  5538  //   The service encountered an unexpected error.
  5539  //
  5540  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteRoomMembership
  5541  func (c *Chime) DeleteRoomMembership(input *DeleteRoomMembershipInput) (*DeleteRoomMembershipOutput, error) {
  5542  	req, out := c.DeleteRoomMembershipRequest(input)
  5543  	return out, req.Send()
  5544  }
  5545  
  5546  // DeleteRoomMembershipWithContext is the same as DeleteRoomMembership with the addition of
  5547  // the ability to pass a context and additional request options.
  5548  //
  5549  // See DeleteRoomMembership for details on how to use this API operation.
  5550  //
  5551  // The context must be non-nil and will be used for request cancellation. If
  5552  // the context is nil a panic will occur. In the future the SDK may create
  5553  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5554  // for more information on using Contexts.
  5555  func (c *Chime) DeleteRoomMembershipWithContext(ctx aws.Context, input *DeleteRoomMembershipInput, opts ...request.Option) (*DeleteRoomMembershipOutput, error) {
  5556  	req, out := c.DeleteRoomMembershipRequest(input)
  5557  	req.SetContext(ctx)
  5558  	req.ApplyOptions(opts...)
  5559  	return out, req.Send()
  5560  }
  5561  
  5562  const opDeleteSipMediaApplication = "DeleteSipMediaApplication"
  5563  
  5564  // DeleteSipMediaApplicationRequest generates a "aws/request.Request" representing the
  5565  // client's request for the DeleteSipMediaApplication operation. The "output" return
  5566  // value will be populated with the request's response once the request completes
  5567  // successfully.
  5568  //
  5569  // Use "Send" method on the returned Request to send the API call to the service.
  5570  // the "output" return value is not valid until after Send returns without error.
  5571  //
  5572  // See DeleteSipMediaApplication for more information on using the DeleteSipMediaApplication
  5573  // API call, and error handling.
  5574  //
  5575  // This method is useful when you want to inject custom logic or configuration
  5576  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5577  //
  5578  //
  5579  //    // Example sending a request using the DeleteSipMediaApplicationRequest method.
  5580  //    req, resp := client.DeleteSipMediaApplicationRequest(params)
  5581  //
  5582  //    err := req.Send()
  5583  //    if err == nil { // resp is now filled
  5584  //        fmt.Println(resp)
  5585  //    }
  5586  //
  5587  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteSipMediaApplication
  5588  func (c *Chime) DeleteSipMediaApplicationRequest(input *DeleteSipMediaApplicationInput) (req *request.Request, output *DeleteSipMediaApplicationOutput) {
  5589  	op := &request.Operation{
  5590  		Name:       opDeleteSipMediaApplication,
  5591  		HTTPMethod: "DELETE",
  5592  		HTTPPath:   "/sip-media-applications/{sipMediaApplicationId}",
  5593  	}
  5594  
  5595  	if input == nil {
  5596  		input = &DeleteSipMediaApplicationInput{}
  5597  	}
  5598  
  5599  	output = &DeleteSipMediaApplicationOutput{}
  5600  	req = c.newRequest(op, input, output)
  5601  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  5602  	return
  5603  }
  5604  
  5605  // DeleteSipMediaApplication API operation for Amazon Chime.
  5606  //
  5607  // Deletes a SIP media application.
  5608  //
  5609  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5610  // with awserr.Error's Code and Message methods to get detailed information about
  5611  // the error.
  5612  //
  5613  // See the AWS API reference guide for Amazon Chime's
  5614  // API operation DeleteSipMediaApplication for usage and error information.
  5615  //
  5616  // Returned Error Types:
  5617  //   * UnauthorizedClientException
  5618  //   The client is not currently authorized to make the request.
  5619  //
  5620  //   * NotFoundException
  5621  //   One or more of the resources in the request does not exist in the system.
  5622  //
  5623  //   * ForbiddenException
  5624  //   The client is permanently forbidden from making the request.
  5625  //
  5626  //   * BadRequestException
  5627  //   The input parameters don't match the service's restrictions.
  5628  //
  5629  //   * ConflictException
  5630  //   The request could not be processed because of conflict in the current state
  5631  //   of the resource.
  5632  //
  5633  //   * ThrottledClientException
  5634  //   The client exceeded its request rate limit.
  5635  //
  5636  //   * ServiceUnavailableException
  5637  //   The service is currently unavailable.
  5638  //
  5639  //   * ServiceFailureException
  5640  //   The service encountered an unexpected error.
  5641  //
  5642  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteSipMediaApplication
  5643  func (c *Chime) DeleteSipMediaApplication(input *DeleteSipMediaApplicationInput) (*DeleteSipMediaApplicationOutput, error) {
  5644  	req, out := c.DeleteSipMediaApplicationRequest(input)
  5645  	return out, req.Send()
  5646  }
  5647  
  5648  // DeleteSipMediaApplicationWithContext is the same as DeleteSipMediaApplication with the addition of
  5649  // the ability to pass a context and additional request options.
  5650  //
  5651  // See DeleteSipMediaApplication for details on how to use this API operation.
  5652  //
  5653  // The context must be non-nil and will be used for request cancellation. If
  5654  // the context is nil a panic will occur. In the future the SDK may create
  5655  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5656  // for more information on using Contexts.
  5657  func (c *Chime) DeleteSipMediaApplicationWithContext(ctx aws.Context, input *DeleteSipMediaApplicationInput, opts ...request.Option) (*DeleteSipMediaApplicationOutput, error) {
  5658  	req, out := c.DeleteSipMediaApplicationRequest(input)
  5659  	req.SetContext(ctx)
  5660  	req.ApplyOptions(opts...)
  5661  	return out, req.Send()
  5662  }
  5663  
  5664  const opDeleteSipRule = "DeleteSipRule"
  5665  
  5666  // DeleteSipRuleRequest generates a "aws/request.Request" representing the
  5667  // client's request for the DeleteSipRule operation. The "output" return
  5668  // value will be populated with the request's response once the request completes
  5669  // successfully.
  5670  //
  5671  // Use "Send" method on the returned Request to send the API call to the service.
  5672  // the "output" return value is not valid until after Send returns without error.
  5673  //
  5674  // See DeleteSipRule for more information on using the DeleteSipRule
  5675  // API call, and error handling.
  5676  //
  5677  // This method is useful when you want to inject custom logic or configuration
  5678  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5679  //
  5680  //
  5681  //    // Example sending a request using the DeleteSipRuleRequest method.
  5682  //    req, resp := client.DeleteSipRuleRequest(params)
  5683  //
  5684  //    err := req.Send()
  5685  //    if err == nil { // resp is now filled
  5686  //        fmt.Println(resp)
  5687  //    }
  5688  //
  5689  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteSipRule
  5690  func (c *Chime) DeleteSipRuleRequest(input *DeleteSipRuleInput) (req *request.Request, output *DeleteSipRuleOutput) {
  5691  	op := &request.Operation{
  5692  		Name:       opDeleteSipRule,
  5693  		HTTPMethod: "DELETE",
  5694  		HTTPPath:   "/sip-rules/{sipRuleId}",
  5695  	}
  5696  
  5697  	if input == nil {
  5698  		input = &DeleteSipRuleInput{}
  5699  	}
  5700  
  5701  	output = &DeleteSipRuleOutput{}
  5702  	req = c.newRequest(op, input, output)
  5703  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  5704  	return
  5705  }
  5706  
  5707  // DeleteSipRule API operation for Amazon Chime.
  5708  //
  5709  // Deletes a SIP rule. You must disable a SIP rule before you can delete it.
  5710  //
  5711  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5712  // with awserr.Error's Code and Message methods to get detailed information about
  5713  // the error.
  5714  //
  5715  // See the AWS API reference guide for Amazon Chime's
  5716  // API operation DeleteSipRule for usage and error information.
  5717  //
  5718  // Returned Error Types:
  5719  //   * UnauthorizedClientException
  5720  //   The client is not currently authorized to make the request.
  5721  //
  5722  //   * NotFoundException
  5723  //   One or more of the resources in the request does not exist in the system.
  5724  //
  5725  //   * ForbiddenException
  5726  //   The client is permanently forbidden from making the request.
  5727  //
  5728  //   * BadRequestException
  5729  //   The input parameters don't match the service's restrictions.
  5730  //
  5731  //   * ConflictException
  5732  //   The request could not be processed because of conflict in the current state
  5733  //   of the resource.
  5734  //
  5735  //   * ThrottledClientException
  5736  //   The client exceeded its request rate limit.
  5737  //
  5738  //   * ServiceUnavailableException
  5739  //   The service is currently unavailable.
  5740  //
  5741  //   * ServiceFailureException
  5742  //   The service encountered an unexpected error.
  5743  //
  5744  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteSipRule
  5745  func (c *Chime) DeleteSipRule(input *DeleteSipRuleInput) (*DeleteSipRuleOutput, error) {
  5746  	req, out := c.DeleteSipRuleRequest(input)
  5747  	return out, req.Send()
  5748  }
  5749  
  5750  // DeleteSipRuleWithContext is the same as DeleteSipRule with the addition of
  5751  // the ability to pass a context and additional request options.
  5752  //
  5753  // See DeleteSipRule for details on how to use this API operation.
  5754  //
  5755  // The context must be non-nil and will be used for request cancellation. If
  5756  // the context is nil a panic will occur. In the future the SDK may create
  5757  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5758  // for more information on using Contexts.
  5759  func (c *Chime) DeleteSipRuleWithContext(ctx aws.Context, input *DeleteSipRuleInput, opts ...request.Option) (*DeleteSipRuleOutput, error) {
  5760  	req, out := c.DeleteSipRuleRequest(input)
  5761  	req.SetContext(ctx)
  5762  	req.ApplyOptions(opts...)
  5763  	return out, req.Send()
  5764  }
  5765  
  5766  const opDeleteVoiceConnector = "DeleteVoiceConnector"
  5767  
  5768  // DeleteVoiceConnectorRequest generates a "aws/request.Request" representing the
  5769  // client's request for the DeleteVoiceConnector operation. The "output" return
  5770  // value will be populated with the request's response once the request completes
  5771  // successfully.
  5772  //
  5773  // Use "Send" method on the returned Request to send the API call to the service.
  5774  // the "output" return value is not valid until after Send returns without error.
  5775  //
  5776  // See DeleteVoiceConnector for more information on using the DeleteVoiceConnector
  5777  // API call, and error handling.
  5778  //
  5779  // This method is useful when you want to inject custom logic or configuration
  5780  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5781  //
  5782  //
  5783  //    // Example sending a request using the DeleteVoiceConnectorRequest method.
  5784  //    req, resp := client.DeleteVoiceConnectorRequest(params)
  5785  //
  5786  //    err := req.Send()
  5787  //    if err == nil { // resp is now filled
  5788  //        fmt.Println(resp)
  5789  //    }
  5790  //
  5791  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnector
  5792  func (c *Chime) DeleteVoiceConnectorRequest(input *DeleteVoiceConnectorInput) (req *request.Request, output *DeleteVoiceConnectorOutput) {
  5793  	op := &request.Operation{
  5794  		Name:       opDeleteVoiceConnector,
  5795  		HTTPMethod: "DELETE",
  5796  		HTTPPath:   "/voice-connectors/{voiceConnectorId}",
  5797  	}
  5798  
  5799  	if input == nil {
  5800  		input = &DeleteVoiceConnectorInput{}
  5801  	}
  5802  
  5803  	output = &DeleteVoiceConnectorOutput{}
  5804  	req = c.newRequest(op, input, output)
  5805  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  5806  	return
  5807  }
  5808  
  5809  // DeleteVoiceConnector API operation for Amazon Chime.
  5810  //
  5811  // Deletes the specified Amazon Chime Voice Connector. Any phone numbers associated
  5812  // with the Amazon Chime Voice Connector must be disassociated from it before
  5813  // it can be deleted.
  5814  //
  5815  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5816  // with awserr.Error's Code and Message methods to get detailed information about
  5817  // the error.
  5818  //
  5819  // See the AWS API reference guide for Amazon Chime's
  5820  // API operation DeleteVoiceConnector for usage and error information.
  5821  //
  5822  // Returned Error Types:
  5823  //   * UnauthorizedClientException
  5824  //   The client is not currently authorized to make the request.
  5825  //
  5826  //   * NotFoundException
  5827  //   One or more of the resources in the request does not exist in the system.
  5828  //
  5829  //   * ForbiddenException
  5830  //   The client is permanently forbidden from making the request.
  5831  //
  5832  //   * BadRequestException
  5833  //   The input parameters don't match the service's restrictions.
  5834  //
  5835  //   * ConflictException
  5836  //   The request could not be processed because of conflict in the current state
  5837  //   of the resource.
  5838  //
  5839  //   * ThrottledClientException
  5840  //   The client exceeded its request rate limit.
  5841  //
  5842  //   * ServiceUnavailableException
  5843  //   The service is currently unavailable.
  5844  //
  5845  //   * ServiceFailureException
  5846  //   The service encountered an unexpected error.
  5847  //
  5848  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnector
  5849  func (c *Chime) DeleteVoiceConnector(input *DeleteVoiceConnectorInput) (*DeleteVoiceConnectorOutput, error) {
  5850  	req, out := c.DeleteVoiceConnectorRequest(input)
  5851  	return out, req.Send()
  5852  }
  5853  
  5854  // DeleteVoiceConnectorWithContext is the same as DeleteVoiceConnector with the addition of
  5855  // the ability to pass a context and additional request options.
  5856  //
  5857  // See DeleteVoiceConnector for details on how to use this API operation.
  5858  //
  5859  // The context must be non-nil and will be used for request cancellation. If
  5860  // the context is nil a panic will occur. In the future the SDK may create
  5861  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5862  // for more information on using Contexts.
  5863  func (c *Chime) DeleteVoiceConnectorWithContext(ctx aws.Context, input *DeleteVoiceConnectorInput, opts ...request.Option) (*DeleteVoiceConnectorOutput, error) {
  5864  	req, out := c.DeleteVoiceConnectorRequest(input)
  5865  	req.SetContext(ctx)
  5866  	req.ApplyOptions(opts...)
  5867  	return out, req.Send()
  5868  }
  5869  
  5870  const opDeleteVoiceConnectorEmergencyCallingConfiguration = "DeleteVoiceConnectorEmergencyCallingConfiguration"
  5871  
  5872  // DeleteVoiceConnectorEmergencyCallingConfigurationRequest generates a "aws/request.Request" representing the
  5873  // client's request for the DeleteVoiceConnectorEmergencyCallingConfiguration operation. The "output" return
  5874  // value will be populated with the request's response once the request completes
  5875  // successfully.
  5876  //
  5877  // Use "Send" method on the returned Request to send the API call to the service.
  5878  // the "output" return value is not valid until after Send returns without error.
  5879  //
  5880  // See DeleteVoiceConnectorEmergencyCallingConfiguration for more information on using the DeleteVoiceConnectorEmergencyCallingConfiguration
  5881  // API call, and error handling.
  5882  //
  5883  // This method is useful when you want to inject custom logic or configuration
  5884  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5885  //
  5886  //
  5887  //    // Example sending a request using the DeleteVoiceConnectorEmergencyCallingConfigurationRequest method.
  5888  //    req, resp := client.DeleteVoiceConnectorEmergencyCallingConfigurationRequest(params)
  5889  //
  5890  //    err := req.Send()
  5891  //    if err == nil { // resp is now filled
  5892  //        fmt.Println(resp)
  5893  //    }
  5894  //
  5895  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorEmergencyCallingConfiguration
  5896  func (c *Chime) DeleteVoiceConnectorEmergencyCallingConfigurationRequest(input *DeleteVoiceConnectorEmergencyCallingConfigurationInput) (req *request.Request, output *DeleteVoiceConnectorEmergencyCallingConfigurationOutput) {
  5897  	op := &request.Operation{
  5898  		Name:       opDeleteVoiceConnectorEmergencyCallingConfiguration,
  5899  		HTTPMethod: "DELETE",
  5900  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/emergency-calling-configuration",
  5901  	}
  5902  
  5903  	if input == nil {
  5904  		input = &DeleteVoiceConnectorEmergencyCallingConfigurationInput{}
  5905  	}
  5906  
  5907  	output = &DeleteVoiceConnectorEmergencyCallingConfigurationOutput{}
  5908  	req = c.newRequest(op, input, output)
  5909  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  5910  	return
  5911  }
  5912  
  5913  // DeleteVoiceConnectorEmergencyCallingConfiguration API operation for Amazon Chime.
  5914  //
  5915  // Deletes the emergency calling configuration details from the specified Amazon
  5916  // Chime Voice Connector.
  5917  //
  5918  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5919  // with awserr.Error's Code and Message methods to get detailed information about
  5920  // the error.
  5921  //
  5922  // See the AWS API reference guide for Amazon Chime's
  5923  // API operation DeleteVoiceConnectorEmergencyCallingConfiguration for usage and error information.
  5924  //
  5925  // Returned Error Types:
  5926  //   * UnauthorizedClientException
  5927  //   The client is not currently authorized to make the request.
  5928  //
  5929  //   * NotFoundException
  5930  //   One or more of the resources in the request does not exist in the system.
  5931  //
  5932  //   * ForbiddenException
  5933  //   The client is permanently forbidden from making the request.
  5934  //
  5935  //   * BadRequestException
  5936  //   The input parameters don't match the service's restrictions.
  5937  //
  5938  //   * ThrottledClientException
  5939  //   The client exceeded its request rate limit.
  5940  //
  5941  //   * ServiceUnavailableException
  5942  //   The service is currently unavailable.
  5943  //
  5944  //   * ServiceFailureException
  5945  //   The service encountered an unexpected error.
  5946  //
  5947  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorEmergencyCallingConfiguration
  5948  func (c *Chime) DeleteVoiceConnectorEmergencyCallingConfiguration(input *DeleteVoiceConnectorEmergencyCallingConfigurationInput) (*DeleteVoiceConnectorEmergencyCallingConfigurationOutput, error) {
  5949  	req, out := c.DeleteVoiceConnectorEmergencyCallingConfigurationRequest(input)
  5950  	return out, req.Send()
  5951  }
  5952  
  5953  // DeleteVoiceConnectorEmergencyCallingConfigurationWithContext is the same as DeleteVoiceConnectorEmergencyCallingConfiguration with the addition of
  5954  // the ability to pass a context and additional request options.
  5955  //
  5956  // See DeleteVoiceConnectorEmergencyCallingConfiguration for details on how to use this API operation.
  5957  //
  5958  // The context must be non-nil and will be used for request cancellation. If
  5959  // the context is nil a panic will occur. In the future the SDK may create
  5960  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5961  // for more information on using Contexts.
  5962  func (c *Chime) DeleteVoiceConnectorEmergencyCallingConfigurationWithContext(ctx aws.Context, input *DeleteVoiceConnectorEmergencyCallingConfigurationInput, opts ...request.Option) (*DeleteVoiceConnectorEmergencyCallingConfigurationOutput, error) {
  5963  	req, out := c.DeleteVoiceConnectorEmergencyCallingConfigurationRequest(input)
  5964  	req.SetContext(ctx)
  5965  	req.ApplyOptions(opts...)
  5966  	return out, req.Send()
  5967  }
  5968  
  5969  const opDeleteVoiceConnectorGroup = "DeleteVoiceConnectorGroup"
  5970  
  5971  // DeleteVoiceConnectorGroupRequest generates a "aws/request.Request" representing the
  5972  // client's request for the DeleteVoiceConnectorGroup operation. The "output" return
  5973  // value will be populated with the request's response once the request completes
  5974  // successfully.
  5975  //
  5976  // Use "Send" method on the returned Request to send the API call to the service.
  5977  // the "output" return value is not valid until after Send returns without error.
  5978  //
  5979  // See DeleteVoiceConnectorGroup for more information on using the DeleteVoiceConnectorGroup
  5980  // API call, and error handling.
  5981  //
  5982  // This method is useful when you want to inject custom logic or configuration
  5983  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5984  //
  5985  //
  5986  //    // Example sending a request using the DeleteVoiceConnectorGroupRequest method.
  5987  //    req, resp := client.DeleteVoiceConnectorGroupRequest(params)
  5988  //
  5989  //    err := req.Send()
  5990  //    if err == nil { // resp is now filled
  5991  //        fmt.Println(resp)
  5992  //    }
  5993  //
  5994  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorGroup
  5995  func (c *Chime) DeleteVoiceConnectorGroupRequest(input *DeleteVoiceConnectorGroupInput) (req *request.Request, output *DeleteVoiceConnectorGroupOutput) {
  5996  	op := &request.Operation{
  5997  		Name:       opDeleteVoiceConnectorGroup,
  5998  		HTTPMethod: "DELETE",
  5999  		HTTPPath:   "/voice-connector-groups/{voiceConnectorGroupId}",
  6000  	}
  6001  
  6002  	if input == nil {
  6003  		input = &DeleteVoiceConnectorGroupInput{}
  6004  	}
  6005  
  6006  	output = &DeleteVoiceConnectorGroupOutput{}
  6007  	req = c.newRequest(op, input, output)
  6008  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  6009  	return
  6010  }
  6011  
  6012  // DeleteVoiceConnectorGroup API operation for Amazon Chime.
  6013  //
  6014  // Deletes the specified Amazon Chime Voice Connector group. Any VoiceConnectorItems
  6015  // and phone numbers associated with the group must be removed before it can
  6016  // be deleted.
  6017  //
  6018  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6019  // with awserr.Error's Code and Message methods to get detailed information about
  6020  // the error.
  6021  //
  6022  // See the AWS API reference guide for Amazon Chime's
  6023  // API operation DeleteVoiceConnectorGroup for usage and error information.
  6024  //
  6025  // Returned Error Types:
  6026  //   * UnauthorizedClientException
  6027  //   The client is not currently authorized to make the request.
  6028  //
  6029  //   * NotFoundException
  6030  //   One or more of the resources in the request does not exist in the system.
  6031  //
  6032  //   * ForbiddenException
  6033  //   The client is permanently forbidden from making the request.
  6034  //
  6035  //   * BadRequestException
  6036  //   The input parameters don't match the service's restrictions.
  6037  //
  6038  //   * ConflictException
  6039  //   The request could not be processed because of conflict in the current state
  6040  //   of the resource.
  6041  //
  6042  //   * ThrottledClientException
  6043  //   The client exceeded its request rate limit.
  6044  //
  6045  //   * ServiceUnavailableException
  6046  //   The service is currently unavailable.
  6047  //
  6048  //   * ServiceFailureException
  6049  //   The service encountered an unexpected error.
  6050  //
  6051  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorGroup
  6052  func (c *Chime) DeleteVoiceConnectorGroup(input *DeleteVoiceConnectorGroupInput) (*DeleteVoiceConnectorGroupOutput, error) {
  6053  	req, out := c.DeleteVoiceConnectorGroupRequest(input)
  6054  	return out, req.Send()
  6055  }
  6056  
  6057  // DeleteVoiceConnectorGroupWithContext is the same as DeleteVoiceConnectorGroup with the addition of
  6058  // the ability to pass a context and additional request options.
  6059  //
  6060  // See DeleteVoiceConnectorGroup for details on how to use this API operation.
  6061  //
  6062  // The context must be non-nil and will be used for request cancellation. If
  6063  // the context is nil a panic will occur. In the future the SDK may create
  6064  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6065  // for more information on using Contexts.
  6066  func (c *Chime) DeleteVoiceConnectorGroupWithContext(ctx aws.Context, input *DeleteVoiceConnectorGroupInput, opts ...request.Option) (*DeleteVoiceConnectorGroupOutput, error) {
  6067  	req, out := c.DeleteVoiceConnectorGroupRequest(input)
  6068  	req.SetContext(ctx)
  6069  	req.ApplyOptions(opts...)
  6070  	return out, req.Send()
  6071  }
  6072  
  6073  const opDeleteVoiceConnectorOrigination = "DeleteVoiceConnectorOrigination"
  6074  
  6075  // DeleteVoiceConnectorOriginationRequest generates a "aws/request.Request" representing the
  6076  // client's request for the DeleteVoiceConnectorOrigination operation. The "output" return
  6077  // value will be populated with the request's response once the request completes
  6078  // successfully.
  6079  //
  6080  // Use "Send" method on the returned Request to send the API call to the service.
  6081  // the "output" return value is not valid until after Send returns without error.
  6082  //
  6083  // See DeleteVoiceConnectorOrigination for more information on using the DeleteVoiceConnectorOrigination
  6084  // API call, and error handling.
  6085  //
  6086  // This method is useful when you want to inject custom logic or configuration
  6087  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6088  //
  6089  //
  6090  //    // Example sending a request using the DeleteVoiceConnectorOriginationRequest method.
  6091  //    req, resp := client.DeleteVoiceConnectorOriginationRequest(params)
  6092  //
  6093  //    err := req.Send()
  6094  //    if err == nil { // resp is now filled
  6095  //        fmt.Println(resp)
  6096  //    }
  6097  //
  6098  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorOrigination
  6099  func (c *Chime) DeleteVoiceConnectorOriginationRequest(input *DeleteVoiceConnectorOriginationInput) (req *request.Request, output *DeleteVoiceConnectorOriginationOutput) {
  6100  	op := &request.Operation{
  6101  		Name:       opDeleteVoiceConnectorOrigination,
  6102  		HTTPMethod: "DELETE",
  6103  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/origination",
  6104  	}
  6105  
  6106  	if input == nil {
  6107  		input = &DeleteVoiceConnectorOriginationInput{}
  6108  	}
  6109  
  6110  	output = &DeleteVoiceConnectorOriginationOutput{}
  6111  	req = c.newRequest(op, input, output)
  6112  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  6113  	return
  6114  }
  6115  
  6116  // DeleteVoiceConnectorOrigination API operation for Amazon Chime.
  6117  //
  6118  // Deletes the origination settings for the specified Amazon Chime Voice Connector.
  6119  //
  6120  // If emergency calling is configured for the Amazon Chime Voice Connector,
  6121  // it must be deleted prior to deleting the origination settings.
  6122  //
  6123  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6124  // with awserr.Error's Code and Message methods to get detailed information about
  6125  // the error.
  6126  //
  6127  // See the AWS API reference guide for Amazon Chime's
  6128  // API operation DeleteVoiceConnectorOrigination for usage and error information.
  6129  //
  6130  // Returned Error Types:
  6131  //   * UnauthorizedClientException
  6132  //   The client is not currently authorized to make the request.
  6133  //
  6134  //   * NotFoundException
  6135  //   One or more of the resources in the request does not exist in the system.
  6136  //
  6137  //   * ForbiddenException
  6138  //   The client is permanently forbidden from making the request.
  6139  //
  6140  //   * BadRequestException
  6141  //   The input parameters don't match the service's restrictions.
  6142  //
  6143  //   * ThrottledClientException
  6144  //   The client exceeded its request rate limit.
  6145  //
  6146  //   * ServiceUnavailableException
  6147  //   The service is currently unavailable.
  6148  //
  6149  //   * ServiceFailureException
  6150  //   The service encountered an unexpected error.
  6151  //
  6152  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorOrigination
  6153  func (c *Chime) DeleteVoiceConnectorOrigination(input *DeleteVoiceConnectorOriginationInput) (*DeleteVoiceConnectorOriginationOutput, error) {
  6154  	req, out := c.DeleteVoiceConnectorOriginationRequest(input)
  6155  	return out, req.Send()
  6156  }
  6157  
  6158  // DeleteVoiceConnectorOriginationWithContext is the same as DeleteVoiceConnectorOrigination with the addition of
  6159  // the ability to pass a context and additional request options.
  6160  //
  6161  // See DeleteVoiceConnectorOrigination for details on how to use this API operation.
  6162  //
  6163  // The context must be non-nil and will be used for request cancellation. If
  6164  // the context is nil a panic will occur. In the future the SDK may create
  6165  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6166  // for more information on using Contexts.
  6167  func (c *Chime) DeleteVoiceConnectorOriginationWithContext(ctx aws.Context, input *DeleteVoiceConnectorOriginationInput, opts ...request.Option) (*DeleteVoiceConnectorOriginationOutput, error) {
  6168  	req, out := c.DeleteVoiceConnectorOriginationRequest(input)
  6169  	req.SetContext(ctx)
  6170  	req.ApplyOptions(opts...)
  6171  	return out, req.Send()
  6172  }
  6173  
  6174  const opDeleteVoiceConnectorProxy = "DeleteVoiceConnectorProxy"
  6175  
  6176  // DeleteVoiceConnectorProxyRequest generates a "aws/request.Request" representing the
  6177  // client's request for the DeleteVoiceConnectorProxy operation. The "output" return
  6178  // value will be populated with the request's response once the request completes
  6179  // successfully.
  6180  //
  6181  // Use "Send" method on the returned Request to send the API call to the service.
  6182  // the "output" return value is not valid until after Send returns without error.
  6183  //
  6184  // See DeleteVoiceConnectorProxy for more information on using the DeleteVoiceConnectorProxy
  6185  // API call, and error handling.
  6186  //
  6187  // This method is useful when you want to inject custom logic or configuration
  6188  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6189  //
  6190  //
  6191  //    // Example sending a request using the DeleteVoiceConnectorProxyRequest method.
  6192  //    req, resp := client.DeleteVoiceConnectorProxyRequest(params)
  6193  //
  6194  //    err := req.Send()
  6195  //    if err == nil { // resp is now filled
  6196  //        fmt.Println(resp)
  6197  //    }
  6198  //
  6199  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorProxy
  6200  func (c *Chime) DeleteVoiceConnectorProxyRequest(input *DeleteVoiceConnectorProxyInput) (req *request.Request, output *DeleteVoiceConnectorProxyOutput) {
  6201  	op := &request.Operation{
  6202  		Name:       opDeleteVoiceConnectorProxy,
  6203  		HTTPMethod: "DELETE",
  6204  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/programmable-numbers/proxy",
  6205  	}
  6206  
  6207  	if input == nil {
  6208  		input = &DeleteVoiceConnectorProxyInput{}
  6209  	}
  6210  
  6211  	output = &DeleteVoiceConnectorProxyOutput{}
  6212  	req = c.newRequest(op, input, output)
  6213  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  6214  	return
  6215  }
  6216  
  6217  // DeleteVoiceConnectorProxy API operation for Amazon Chime.
  6218  //
  6219  // Deletes the proxy configuration from the specified Amazon Chime Voice Connector.
  6220  //
  6221  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6222  // with awserr.Error's Code and Message methods to get detailed information about
  6223  // the error.
  6224  //
  6225  // See the AWS API reference guide for Amazon Chime's
  6226  // API operation DeleteVoiceConnectorProxy for usage and error information.
  6227  //
  6228  // Returned Error Types:
  6229  //   * UnauthorizedClientException
  6230  //   The client is not currently authorized to make the request.
  6231  //
  6232  //   * NotFoundException
  6233  //   One or more of the resources in the request does not exist in the system.
  6234  //
  6235  //   * ForbiddenException
  6236  //   The client is permanently forbidden from making the request.
  6237  //
  6238  //   * BadRequestException
  6239  //   The input parameters don't match the service's restrictions.
  6240  //
  6241  //   * ThrottledClientException
  6242  //   The client exceeded its request rate limit.
  6243  //
  6244  //   * ServiceUnavailableException
  6245  //   The service is currently unavailable.
  6246  //
  6247  //   * ServiceFailureException
  6248  //   The service encountered an unexpected error.
  6249  //
  6250  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorProxy
  6251  func (c *Chime) DeleteVoiceConnectorProxy(input *DeleteVoiceConnectorProxyInput) (*DeleteVoiceConnectorProxyOutput, error) {
  6252  	req, out := c.DeleteVoiceConnectorProxyRequest(input)
  6253  	return out, req.Send()
  6254  }
  6255  
  6256  // DeleteVoiceConnectorProxyWithContext is the same as DeleteVoiceConnectorProxy with the addition of
  6257  // the ability to pass a context and additional request options.
  6258  //
  6259  // See DeleteVoiceConnectorProxy for details on how to use this API operation.
  6260  //
  6261  // The context must be non-nil and will be used for request cancellation. If
  6262  // the context is nil a panic will occur. In the future the SDK may create
  6263  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6264  // for more information on using Contexts.
  6265  func (c *Chime) DeleteVoiceConnectorProxyWithContext(ctx aws.Context, input *DeleteVoiceConnectorProxyInput, opts ...request.Option) (*DeleteVoiceConnectorProxyOutput, error) {
  6266  	req, out := c.DeleteVoiceConnectorProxyRequest(input)
  6267  	req.SetContext(ctx)
  6268  	req.ApplyOptions(opts...)
  6269  	return out, req.Send()
  6270  }
  6271  
  6272  const opDeleteVoiceConnectorStreamingConfiguration = "DeleteVoiceConnectorStreamingConfiguration"
  6273  
  6274  // DeleteVoiceConnectorStreamingConfigurationRequest generates a "aws/request.Request" representing the
  6275  // client's request for the DeleteVoiceConnectorStreamingConfiguration operation. The "output" return
  6276  // value will be populated with the request's response once the request completes
  6277  // successfully.
  6278  //
  6279  // Use "Send" method on the returned Request to send the API call to the service.
  6280  // the "output" return value is not valid until after Send returns without error.
  6281  //
  6282  // See DeleteVoiceConnectorStreamingConfiguration for more information on using the DeleteVoiceConnectorStreamingConfiguration
  6283  // API call, and error handling.
  6284  //
  6285  // This method is useful when you want to inject custom logic or configuration
  6286  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6287  //
  6288  //
  6289  //    // Example sending a request using the DeleteVoiceConnectorStreamingConfigurationRequest method.
  6290  //    req, resp := client.DeleteVoiceConnectorStreamingConfigurationRequest(params)
  6291  //
  6292  //    err := req.Send()
  6293  //    if err == nil { // resp is now filled
  6294  //        fmt.Println(resp)
  6295  //    }
  6296  //
  6297  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorStreamingConfiguration
  6298  func (c *Chime) DeleteVoiceConnectorStreamingConfigurationRequest(input *DeleteVoiceConnectorStreamingConfigurationInput) (req *request.Request, output *DeleteVoiceConnectorStreamingConfigurationOutput) {
  6299  	op := &request.Operation{
  6300  		Name:       opDeleteVoiceConnectorStreamingConfiguration,
  6301  		HTTPMethod: "DELETE",
  6302  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/streaming-configuration",
  6303  	}
  6304  
  6305  	if input == nil {
  6306  		input = &DeleteVoiceConnectorStreamingConfigurationInput{}
  6307  	}
  6308  
  6309  	output = &DeleteVoiceConnectorStreamingConfigurationOutput{}
  6310  	req = c.newRequest(op, input, output)
  6311  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  6312  	return
  6313  }
  6314  
  6315  // DeleteVoiceConnectorStreamingConfiguration API operation for Amazon Chime.
  6316  //
  6317  // Deletes the streaming configuration for the specified Amazon Chime Voice
  6318  // Connector.
  6319  //
  6320  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6321  // with awserr.Error's Code and Message methods to get detailed information about
  6322  // the error.
  6323  //
  6324  // See the AWS API reference guide for Amazon Chime's
  6325  // API operation DeleteVoiceConnectorStreamingConfiguration for usage and error information.
  6326  //
  6327  // Returned Error Types:
  6328  //   * UnauthorizedClientException
  6329  //   The client is not currently authorized to make the request.
  6330  //
  6331  //   * NotFoundException
  6332  //   One or more of the resources in the request does not exist in the system.
  6333  //
  6334  //   * ForbiddenException
  6335  //   The client is permanently forbidden from making the request.
  6336  //
  6337  //   * BadRequestException
  6338  //   The input parameters don't match the service's restrictions.
  6339  //
  6340  //   * ThrottledClientException
  6341  //   The client exceeded its request rate limit.
  6342  //
  6343  //   * ServiceUnavailableException
  6344  //   The service is currently unavailable.
  6345  //
  6346  //   * ServiceFailureException
  6347  //   The service encountered an unexpected error.
  6348  //
  6349  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorStreamingConfiguration
  6350  func (c *Chime) DeleteVoiceConnectorStreamingConfiguration(input *DeleteVoiceConnectorStreamingConfigurationInput) (*DeleteVoiceConnectorStreamingConfigurationOutput, error) {
  6351  	req, out := c.DeleteVoiceConnectorStreamingConfigurationRequest(input)
  6352  	return out, req.Send()
  6353  }
  6354  
  6355  // DeleteVoiceConnectorStreamingConfigurationWithContext is the same as DeleteVoiceConnectorStreamingConfiguration with the addition of
  6356  // the ability to pass a context and additional request options.
  6357  //
  6358  // See DeleteVoiceConnectorStreamingConfiguration for details on how to use this API operation.
  6359  //
  6360  // The context must be non-nil and will be used for request cancellation. If
  6361  // the context is nil a panic will occur. In the future the SDK may create
  6362  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6363  // for more information on using Contexts.
  6364  func (c *Chime) DeleteVoiceConnectorStreamingConfigurationWithContext(ctx aws.Context, input *DeleteVoiceConnectorStreamingConfigurationInput, opts ...request.Option) (*DeleteVoiceConnectorStreamingConfigurationOutput, error) {
  6365  	req, out := c.DeleteVoiceConnectorStreamingConfigurationRequest(input)
  6366  	req.SetContext(ctx)
  6367  	req.ApplyOptions(opts...)
  6368  	return out, req.Send()
  6369  }
  6370  
  6371  const opDeleteVoiceConnectorTermination = "DeleteVoiceConnectorTermination"
  6372  
  6373  // DeleteVoiceConnectorTerminationRequest generates a "aws/request.Request" representing the
  6374  // client's request for the DeleteVoiceConnectorTermination operation. The "output" return
  6375  // value will be populated with the request's response once the request completes
  6376  // successfully.
  6377  //
  6378  // Use "Send" method on the returned Request to send the API call to the service.
  6379  // the "output" return value is not valid until after Send returns without error.
  6380  //
  6381  // See DeleteVoiceConnectorTermination for more information on using the DeleteVoiceConnectorTermination
  6382  // API call, and error handling.
  6383  //
  6384  // This method is useful when you want to inject custom logic or configuration
  6385  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6386  //
  6387  //
  6388  //    // Example sending a request using the DeleteVoiceConnectorTerminationRequest method.
  6389  //    req, resp := client.DeleteVoiceConnectorTerminationRequest(params)
  6390  //
  6391  //    err := req.Send()
  6392  //    if err == nil { // resp is now filled
  6393  //        fmt.Println(resp)
  6394  //    }
  6395  //
  6396  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorTermination
  6397  func (c *Chime) DeleteVoiceConnectorTerminationRequest(input *DeleteVoiceConnectorTerminationInput) (req *request.Request, output *DeleteVoiceConnectorTerminationOutput) {
  6398  	op := &request.Operation{
  6399  		Name:       opDeleteVoiceConnectorTermination,
  6400  		HTTPMethod: "DELETE",
  6401  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/termination",
  6402  	}
  6403  
  6404  	if input == nil {
  6405  		input = &DeleteVoiceConnectorTerminationInput{}
  6406  	}
  6407  
  6408  	output = &DeleteVoiceConnectorTerminationOutput{}
  6409  	req = c.newRequest(op, input, output)
  6410  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  6411  	return
  6412  }
  6413  
  6414  // DeleteVoiceConnectorTermination API operation for Amazon Chime.
  6415  //
  6416  // Deletes the termination settings for the specified Amazon Chime Voice Connector.
  6417  //
  6418  // If emergency calling is configured for the Amazon Chime Voice Connector,
  6419  // it must be deleted prior to deleting the termination settings.
  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 DeleteVoiceConnectorTermination for usage and error information.
  6427  //
  6428  // Returned Error Types:
  6429  //   * UnauthorizedClientException
  6430  //   The client is not currently authorized to make the request.
  6431  //
  6432  //   * NotFoundException
  6433  //   One or more of the resources in the request does not exist in the system.
  6434  //
  6435  //   * ForbiddenException
  6436  //   The client is permanently forbidden from making the request.
  6437  //
  6438  //   * BadRequestException
  6439  //   The input parameters don't match the service's restrictions.
  6440  //
  6441  //   * ThrottledClientException
  6442  //   The client exceeded its request rate limit.
  6443  //
  6444  //   * ServiceUnavailableException
  6445  //   The service is currently unavailable.
  6446  //
  6447  //   * ServiceFailureException
  6448  //   The service encountered an unexpected error.
  6449  //
  6450  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorTermination
  6451  func (c *Chime) DeleteVoiceConnectorTermination(input *DeleteVoiceConnectorTerminationInput) (*DeleteVoiceConnectorTerminationOutput, error) {
  6452  	req, out := c.DeleteVoiceConnectorTerminationRequest(input)
  6453  	return out, req.Send()
  6454  }
  6455  
  6456  // DeleteVoiceConnectorTerminationWithContext is the same as DeleteVoiceConnectorTermination with the addition of
  6457  // the ability to pass a context and additional request options.
  6458  //
  6459  // See DeleteVoiceConnectorTermination for details on how to use this API operation.
  6460  //
  6461  // The context must be non-nil and will be used for request cancellation. If
  6462  // the context is nil a panic will occur. In the future the SDK may create
  6463  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6464  // for more information on using Contexts.
  6465  func (c *Chime) DeleteVoiceConnectorTerminationWithContext(ctx aws.Context, input *DeleteVoiceConnectorTerminationInput, opts ...request.Option) (*DeleteVoiceConnectorTerminationOutput, error) {
  6466  	req, out := c.DeleteVoiceConnectorTerminationRequest(input)
  6467  	req.SetContext(ctx)
  6468  	req.ApplyOptions(opts...)
  6469  	return out, req.Send()
  6470  }
  6471  
  6472  const opDeleteVoiceConnectorTerminationCredentials = "DeleteVoiceConnectorTerminationCredentials"
  6473  
  6474  // DeleteVoiceConnectorTerminationCredentialsRequest generates a "aws/request.Request" representing the
  6475  // client's request for the DeleteVoiceConnectorTerminationCredentials operation. The "output" return
  6476  // value will be populated with the request's response once the request completes
  6477  // successfully.
  6478  //
  6479  // Use "Send" method on the returned Request to send the API call to the service.
  6480  // the "output" return value is not valid until after Send returns without error.
  6481  //
  6482  // See DeleteVoiceConnectorTerminationCredentials for more information on using the DeleteVoiceConnectorTerminationCredentials
  6483  // API call, and error handling.
  6484  //
  6485  // This method is useful when you want to inject custom logic or configuration
  6486  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6487  //
  6488  //
  6489  //    // Example sending a request using the DeleteVoiceConnectorTerminationCredentialsRequest method.
  6490  //    req, resp := client.DeleteVoiceConnectorTerminationCredentialsRequest(params)
  6491  //
  6492  //    err := req.Send()
  6493  //    if err == nil { // resp is now filled
  6494  //        fmt.Println(resp)
  6495  //    }
  6496  //
  6497  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorTerminationCredentials
  6498  func (c *Chime) DeleteVoiceConnectorTerminationCredentialsRequest(input *DeleteVoiceConnectorTerminationCredentialsInput) (req *request.Request, output *DeleteVoiceConnectorTerminationCredentialsOutput) {
  6499  	op := &request.Operation{
  6500  		Name:       opDeleteVoiceConnectorTerminationCredentials,
  6501  		HTTPMethod: "POST",
  6502  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/termination/credentials?operation=delete",
  6503  	}
  6504  
  6505  	if input == nil {
  6506  		input = &DeleteVoiceConnectorTerminationCredentialsInput{}
  6507  	}
  6508  
  6509  	output = &DeleteVoiceConnectorTerminationCredentialsOutput{}
  6510  	req = c.newRequest(op, input, output)
  6511  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  6512  	return
  6513  }
  6514  
  6515  // DeleteVoiceConnectorTerminationCredentials API operation for Amazon Chime.
  6516  //
  6517  // Deletes the specified SIP credentials used by your equipment to authenticate
  6518  // during call termination.
  6519  //
  6520  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6521  // with awserr.Error's Code and Message methods to get detailed information about
  6522  // the error.
  6523  //
  6524  // See the AWS API reference guide for Amazon Chime's
  6525  // API operation DeleteVoiceConnectorTerminationCredentials for usage and error information.
  6526  //
  6527  // Returned Error Types:
  6528  //   * UnauthorizedClientException
  6529  //   The client is not currently authorized to make the request.
  6530  //
  6531  //   * NotFoundException
  6532  //   One or more of the resources in the request does not exist in the system.
  6533  //
  6534  //   * ForbiddenException
  6535  //   The client is permanently forbidden from making the request.
  6536  //
  6537  //   * BadRequestException
  6538  //   The input parameters don't match the service's restrictions.
  6539  //
  6540  //   * ThrottledClientException
  6541  //   The client exceeded its request rate limit.
  6542  //
  6543  //   * ServiceUnavailableException
  6544  //   The service is currently unavailable.
  6545  //
  6546  //   * ServiceFailureException
  6547  //   The service encountered an unexpected error.
  6548  //
  6549  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorTerminationCredentials
  6550  func (c *Chime) DeleteVoiceConnectorTerminationCredentials(input *DeleteVoiceConnectorTerminationCredentialsInput) (*DeleteVoiceConnectorTerminationCredentialsOutput, error) {
  6551  	req, out := c.DeleteVoiceConnectorTerminationCredentialsRequest(input)
  6552  	return out, req.Send()
  6553  }
  6554  
  6555  // DeleteVoiceConnectorTerminationCredentialsWithContext is the same as DeleteVoiceConnectorTerminationCredentials with the addition of
  6556  // the ability to pass a context and additional request options.
  6557  //
  6558  // See DeleteVoiceConnectorTerminationCredentials for details on how to use this API operation.
  6559  //
  6560  // The context must be non-nil and will be used for request cancellation. If
  6561  // the context is nil a panic will occur. In the future the SDK may create
  6562  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6563  // for more information on using Contexts.
  6564  func (c *Chime) DeleteVoiceConnectorTerminationCredentialsWithContext(ctx aws.Context, input *DeleteVoiceConnectorTerminationCredentialsInput, opts ...request.Option) (*DeleteVoiceConnectorTerminationCredentialsOutput, error) {
  6565  	req, out := c.DeleteVoiceConnectorTerminationCredentialsRequest(input)
  6566  	req.SetContext(ctx)
  6567  	req.ApplyOptions(opts...)
  6568  	return out, req.Send()
  6569  }
  6570  
  6571  const opDescribeAppInstance = "DescribeAppInstance"
  6572  
  6573  // DescribeAppInstanceRequest generates a "aws/request.Request" representing the
  6574  // client's request for the DescribeAppInstance operation. The "output" return
  6575  // value will be populated with the request's response once the request completes
  6576  // successfully.
  6577  //
  6578  // Use "Send" method on the returned Request to send the API call to the service.
  6579  // the "output" return value is not valid until after Send returns without error.
  6580  //
  6581  // See DescribeAppInstance for more information on using the DescribeAppInstance
  6582  // API call, and error handling.
  6583  //
  6584  // This method is useful when you want to inject custom logic or configuration
  6585  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6586  //
  6587  //
  6588  //    // Example sending a request using the DescribeAppInstanceRequest method.
  6589  //    req, resp := client.DescribeAppInstanceRequest(params)
  6590  //
  6591  //    err := req.Send()
  6592  //    if err == nil { // resp is now filled
  6593  //        fmt.Println(resp)
  6594  //    }
  6595  //
  6596  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeAppInstance
  6597  func (c *Chime) DescribeAppInstanceRequest(input *DescribeAppInstanceInput) (req *request.Request, output *DescribeAppInstanceOutput) {
  6598  	op := &request.Operation{
  6599  		Name:       opDescribeAppInstance,
  6600  		HTTPMethod: "GET",
  6601  		HTTPPath:   "/app-instances/{appInstanceArn}",
  6602  	}
  6603  
  6604  	if input == nil {
  6605  		input = &DescribeAppInstanceInput{}
  6606  	}
  6607  
  6608  	output = &DescribeAppInstanceOutput{}
  6609  	req = c.newRequest(op, input, output)
  6610  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
  6611  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  6612  	return
  6613  }
  6614  
  6615  // DescribeAppInstance API operation for Amazon Chime.
  6616  //
  6617  // Returns the full details of an AppInstance.
  6618  //
  6619  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6620  // with awserr.Error's Code and Message methods to get detailed information about
  6621  // the error.
  6622  //
  6623  // See the AWS API reference guide for Amazon Chime's
  6624  // API operation DescribeAppInstance for usage and error information.
  6625  //
  6626  // Returned Error Types:
  6627  //   * BadRequestException
  6628  //   The input parameters don't match the service's restrictions.
  6629  //
  6630  //   * ForbiddenException
  6631  //   The client is permanently forbidden from making the request.
  6632  //
  6633  //   * ThrottledClientException
  6634  //   The client exceeded its request rate limit.
  6635  //
  6636  //   * UnauthorizedClientException
  6637  //   The client is not currently authorized to make the request.
  6638  //
  6639  //   * ServiceUnavailableException
  6640  //   The service is currently unavailable.
  6641  //
  6642  //   * ServiceFailureException
  6643  //   The service encountered an unexpected error.
  6644  //
  6645  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeAppInstance
  6646  func (c *Chime) DescribeAppInstance(input *DescribeAppInstanceInput) (*DescribeAppInstanceOutput, error) {
  6647  	req, out := c.DescribeAppInstanceRequest(input)
  6648  	return out, req.Send()
  6649  }
  6650  
  6651  // DescribeAppInstanceWithContext is the same as DescribeAppInstance with the addition of
  6652  // the ability to pass a context and additional request options.
  6653  //
  6654  // See DescribeAppInstance for details on how to use this API operation.
  6655  //
  6656  // The context must be non-nil and will be used for request cancellation. If
  6657  // the context is nil a panic will occur. In the future the SDK may create
  6658  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6659  // for more information on using Contexts.
  6660  func (c *Chime) DescribeAppInstanceWithContext(ctx aws.Context, input *DescribeAppInstanceInput, opts ...request.Option) (*DescribeAppInstanceOutput, error) {
  6661  	req, out := c.DescribeAppInstanceRequest(input)
  6662  	req.SetContext(ctx)
  6663  	req.ApplyOptions(opts...)
  6664  	return out, req.Send()
  6665  }
  6666  
  6667  const opDescribeAppInstanceAdmin = "DescribeAppInstanceAdmin"
  6668  
  6669  // DescribeAppInstanceAdminRequest generates a "aws/request.Request" representing the
  6670  // client's request for the DescribeAppInstanceAdmin operation. The "output" return
  6671  // value will be populated with the request's response once the request completes
  6672  // successfully.
  6673  //
  6674  // Use "Send" method on the returned Request to send the API call to the service.
  6675  // the "output" return value is not valid until after Send returns without error.
  6676  //
  6677  // See DescribeAppInstanceAdmin for more information on using the DescribeAppInstanceAdmin
  6678  // API call, and error handling.
  6679  //
  6680  // This method is useful when you want to inject custom logic or configuration
  6681  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6682  //
  6683  //
  6684  //    // Example sending a request using the DescribeAppInstanceAdminRequest method.
  6685  //    req, resp := client.DescribeAppInstanceAdminRequest(params)
  6686  //
  6687  //    err := req.Send()
  6688  //    if err == nil { // resp is now filled
  6689  //        fmt.Println(resp)
  6690  //    }
  6691  //
  6692  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeAppInstanceAdmin
  6693  func (c *Chime) DescribeAppInstanceAdminRequest(input *DescribeAppInstanceAdminInput) (req *request.Request, output *DescribeAppInstanceAdminOutput) {
  6694  	op := &request.Operation{
  6695  		Name:       opDescribeAppInstanceAdmin,
  6696  		HTTPMethod: "GET",
  6697  		HTTPPath:   "/app-instances/{appInstanceArn}/admins/{appInstanceAdminArn}",
  6698  	}
  6699  
  6700  	if input == nil {
  6701  		input = &DescribeAppInstanceAdminInput{}
  6702  	}
  6703  
  6704  	output = &DescribeAppInstanceAdminOutput{}
  6705  	req = c.newRequest(op, input, output)
  6706  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
  6707  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  6708  	return
  6709  }
  6710  
  6711  // DescribeAppInstanceAdmin API operation for Amazon Chime.
  6712  //
  6713  // Returns the full details of an AppInstanceAdmin.
  6714  //
  6715  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6716  // with awserr.Error's Code and Message methods to get detailed information about
  6717  // the error.
  6718  //
  6719  // See the AWS API reference guide for Amazon Chime's
  6720  // API operation DescribeAppInstanceAdmin for usage and error information.
  6721  //
  6722  // Returned Error Types:
  6723  //   * BadRequestException
  6724  //   The input parameters don't match the service's restrictions.
  6725  //
  6726  //   * ForbiddenException
  6727  //   The client is permanently forbidden from making the request.
  6728  //
  6729  //   * ThrottledClientException
  6730  //   The client exceeded its request rate limit.
  6731  //
  6732  //   * UnauthorizedClientException
  6733  //   The client is not currently authorized to make the request.
  6734  //
  6735  //   * ServiceUnavailableException
  6736  //   The service is currently unavailable.
  6737  //
  6738  //   * ServiceFailureException
  6739  //   The service encountered an unexpected error.
  6740  //
  6741  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeAppInstanceAdmin
  6742  func (c *Chime) DescribeAppInstanceAdmin(input *DescribeAppInstanceAdminInput) (*DescribeAppInstanceAdminOutput, error) {
  6743  	req, out := c.DescribeAppInstanceAdminRequest(input)
  6744  	return out, req.Send()
  6745  }
  6746  
  6747  // DescribeAppInstanceAdminWithContext is the same as DescribeAppInstanceAdmin with the addition of
  6748  // the ability to pass a context and additional request options.
  6749  //
  6750  // See DescribeAppInstanceAdmin for details on how to use this API operation.
  6751  //
  6752  // The context must be non-nil and will be used for request cancellation. If
  6753  // the context is nil a panic will occur. In the future the SDK may create
  6754  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6755  // for more information on using Contexts.
  6756  func (c *Chime) DescribeAppInstanceAdminWithContext(ctx aws.Context, input *DescribeAppInstanceAdminInput, opts ...request.Option) (*DescribeAppInstanceAdminOutput, error) {
  6757  	req, out := c.DescribeAppInstanceAdminRequest(input)
  6758  	req.SetContext(ctx)
  6759  	req.ApplyOptions(opts...)
  6760  	return out, req.Send()
  6761  }
  6762  
  6763  const opDescribeAppInstanceUser = "DescribeAppInstanceUser"
  6764  
  6765  // DescribeAppInstanceUserRequest generates a "aws/request.Request" representing the
  6766  // client's request for the DescribeAppInstanceUser operation. The "output" return
  6767  // value will be populated with the request's response once the request completes
  6768  // successfully.
  6769  //
  6770  // Use "Send" method on the returned Request to send the API call to the service.
  6771  // the "output" return value is not valid until after Send returns without error.
  6772  //
  6773  // See DescribeAppInstanceUser for more information on using the DescribeAppInstanceUser
  6774  // API call, and error handling.
  6775  //
  6776  // This method is useful when you want to inject custom logic or configuration
  6777  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6778  //
  6779  //
  6780  //    // Example sending a request using the DescribeAppInstanceUserRequest method.
  6781  //    req, resp := client.DescribeAppInstanceUserRequest(params)
  6782  //
  6783  //    err := req.Send()
  6784  //    if err == nil { // resp is now filled
  6785  //        fmt.Println(resp)
  6786  //    }
  6787  //
  6788  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeAppInstanceUser
  6789  func (c *Chime) DescribeAppInstanceUserRequest(input *DescribeAppInstanceUserInput) (req *request.Request, output *DescribeAppInstanceUserOutput) {
  6790  	op := &request.Operation{
  6791  		Name:       opDescribeAppInstanceUser,
  6792  		HTTPMethod: "GET",
  6793  		HTTPPath:   "/app-instance-users/{appInstanceUserArn}",
  6794  	}
  6795  
  6796  	if input == nil {
  6797  		input = &DescribeAppInstanceUserInput{}
  6798  	}
  6799  
  6800  	output = &DescribeAppInstanceUserOutput{}
  6801  	req = c.newRequest(op, input, output)
  6802  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
  6803  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  6804  	return
  6805  }
  6806  
  6807  // DescribeAppInstanceUser API operation for Amazon Chime.
  6808  //
  6809  // Returns the full details of an AppInstanceUser.
  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 DescribeAppInstanceUser 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  //   * ThrottledClientException
  6826  //   The client exceeded its request rate limit.
  6827  //
  6828  //   * UnauthorizedClientException
  6829  //   The client is not currently authorized to make the request.
  6830  //
  6831  //   * ServiceUnavailableException
  6832  //   The service is currently unavailable.
  6833  //
  6834  //   * ServiceFailureException
  6835  //   The service encountered an unexpected error.
  6836  //
  6837  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeAppInstanceUser
  6838  func (c *Chime) DescribeAppInstanceUser(input *DescribeAppInstanceUserInput) (*DescribeAppInstanceUserOutput, error) {
  6839  	req, out := c.DescribeAppInstanceUserRequest(input)
  6840  	return out, req.Send()
  6841  }
  6842  
  6843  // DescribeAppInstanceUserWithContext is the same as DescribeAppInstanceUser with the addition of
  6844  // the ability to pass a context and additional request options.
  6845  //
  6846  // See DescribeAppInstanceUser for details on how to use this API operation.
  6847  //
  6848  // The context must be non-nil and will be used for request cancellation. If
  6849  // the context is nil a panic will occur. In the future the SDK may create
  6850  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6851  // for more information on using Contexts.
  6852  func (c *Chime) DescribeAppInstanceUserWithContext(ctx aws.Context, input *DescribeAppInstanceUserInput, opts ...request.Option) (*DescribeAppInstanceUserOutput, error) {
  6853  	req, out := c.DescribeAppInstanceUserRequest(input)
  6854  	req.SetContext(ctx)
  6855  	req.ApplyOptions(opts...)
  6856  	return out, req.Send()
  6857  }
  6858  
  6859  const opDescribeChannel = "DescribeChannel"
  6860  
  6861  // DescribeChannelRequest generates a "aws/request.Request" representing the
  6862  // client's request for the DescribeChannel operation. The "output" return
  6863  // value will be populated with the request's response once the request completes
  6864  // successfully.
  6865  //
  6866  // Use "Send" method on the returned Request to send the API call to the service.
  6867  // the "output" return value is not valid until after Send returns without error.
  6868  //
  6869  // See DescribeChannel for more information on using the DescribeChannel
  6870  // API call, and error handling.
  6871  //
  6872  // This method is useful when you want to inject custom logic or configuration
  6873  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6874  //
  6875  //
  6876  //    // Example sending a request using the DescribeChannelRequest method.
  6877  //    req, resp := client.DescribeChannelRequest(params)
  6878  //
  6879  //    err := req.Send()
  6880  //    if err == nil { // resp is now filled
  6881  //        fmt.Println(resp)
  6882  //    }
  6883  //
  6884  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannel
  6885  func (c *Chime) DescribeChannelRequest(input *DescribeChannelInput) (req *request.Request, output *DescribeChannelOutput) {
  6886  	op := &request.Operation{
  6887  		Name:       opDescribeChannel,
  6888  		HTTPMethod: "GET",
  6889  		HTTPPath:   "/channels/{channelArn}",
  6890  	}
  6891  
  6892  	if input == nil {
  6893  		input = &DescribeChannelInput{}
  6894  	}
  6895  
  6896  	output = &DescribeChannelOutput{}
  6897  	req = c.newRequest(op, input, output)
  6898  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
  6899  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  6900  	return
  6901  }
  6902  
  6903  // DescribeChannel API operation for Amazon Chime.
  6904  //
  6905  // Returns the full details of a channel in an Amazon Chime AppInstance.
  6906  //
  6907  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
  6908  // of the user that makes the API call as the value in the header.
  6909  //
  6910  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6911  // with awserr.Error's Code and Message methods to get detailed information about
  6912  // the error.
  6913  //
  6914  // See the AWS API reference guide for Amazon Chime's
  6915  // API operation DescribeChannel for usage and error information.
  6916  //
  6917  // Returned Error Types:
  6918  //   * BadRequestException
  6919  //   The input parameters don't match the service's restrictions.
  6920  //
  6921  //   * ForbiddenException
  6922  //   The client is permanently forbidden from making the request.
  6923  //
  6924  //   * UnauthorizedClientException
  6925  //   The client is not currently authorized to make the request.
  6926  //
  6927  //   * ThrottledClientException
  6928  //   The client exceeded its request rate limit.
  6929  //
  6930  //   * ServiceUnavailableException
  6931  //   The service is currently unavailable.
  6932  //
  6933  //   * ServiceFailureException
  6934  //   The service encountered an unexpected error.
  6935  //
  6936  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannel
  6937  func (c *Chime) DescribeChannel(input *DescribeChannelInput) (*DescribeChannelOutput, error) {
  6938  	req, out := c.DescribeChannelRequest(input)
  6939  	return out, req.Send()
  6940  }
  6941  
  6942  // DescribeChannelWithContext is the same as DescribeChannel with the addition of
  6943  // the ability to pass a context and additional request options.
  6944  //
  6945  // See DescribeChannel for details on how to use this API operation.
  6946  //
  6947  // The context must be non-nil and will be used for request cancellation. If
  6948  // the context is nil a panic will occur. In the future the SDK may create
  6949  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6950  // for more information on using Contexts.
  6951  func (c *Chime) DescribeChannelWithContext(ctx aws.Context, input *DescribeChannelInput, opts ...request.Option) (*DescribeChannelOutput, error) {
  6952  	req, out := c.DescribeChannelRequest(input)
  6953  	req.SetContext(ctx)
  6954  	req.ApplyOptions(opts...)
  6955  	return out, req.Send()
  6956  }
  6957  
  6958  const opDescribeChannelBan = "DescribeChannelBan"
  6959  
  6960  // DescribeChannelBanRequest generates a "aws/request.Request" representing the
  6961  // client's request for the DescribeChannelBan operation. The "output" return
  6962  // value will be populated with the request's response once the request completes
  6963  // successfully.
  6964  //
  6965  // Use "Send" method on the returned Request to send the API call to the service.
  6966  // the "output" return value is not valid until after Send returns without error.
  6967  //
  6968  // See DescribeChannelBan for more information on using the DescribeChannelBan
  6969  // API call, and error handling.
  6970  //
  6971  // This method is useful when you want to inject custom logic or configuration
  6972  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6973  //
  6974  //
  6975  //    // Example sending a request using the DescribeChannelBanRequest method.
  6976  //    req, resp := client.DescribeChannelBanRequest(params)
  6977  //
  6978  //    err := req.Send()
  6979  //    if err == nil { // resp is now filled
  6980  //        fmt.Println(resp)
  6981  //    }
  6982  //
  6983  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelBan
  6984  func (c *Chime) DescribeChannelBanRequest(input *DescribeChannelBanInput) (req *request.Request, output *DescribeChannelBanOutput) {
  6985  	op := &request.Operation{
  6986  		Name:       opDescribeChannelBan,
  6987  		HTTPMethod: "GET",
  6988  		HTTPPath:   "/channels/{channelArn}/bans/{memberArn}",
  6989  	}
  6990  
  6991  	if input == nil {
  6992  		input = &DescribeChannelBanInput{}
  6993  	}
  6994  
  6995  	output = &DescribeChannelBanOutput{}
  6996  	req = c.newRequest(op, input, output)
  6997  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
  6998  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  6999  	return
  7000  }
  7001  
  7002  // DescribeChannelBan API operation for Amazon Chime.
  7003  //
  7004  // Returns the full details of a channel ban.
  7005  //
  7006  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
  7007  // of the user that makes the API call as the value in the header.
  7008  //
  7009  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  7010  // with awserr.Error's Code and Message methods to get detailed information about
  7011  // the error.
  7012  //
  7013  // See the AWS API reference guide for Amazon Chime's
  7014  // API operation DescribeChannelBan for usage and error information.
  7015  //
  7016  // Returned Error Types:
  7017  //   * BadRequestException
  7018  //   The input parameters don't match the service's restrictions.
  7019  //
  7020  //   * ForbiddenException
  7021  //   The client is permanently forbidden from making the request.
  7022  //
  7023  //   * NotFoundException
  7024  //   One or more of the resources in the request does not exist in the system.
  7025  //
  7026  //   * UnauthorizedClientException
  7027  //   The client is not currently authorized to make the request.
  7028  //
  7029  //   * ThrottledClientException
  7030  //   The client exceeded its request rate limit.
  7031  //
  7032  //   * ServiceUnavailableException
  7033  //   The service is currently unavailable.
  7034  //
  7035  //   * ServiceFailureException
  7036  //   The service encountered an unexpected error.
  7037  //
  7038  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelBan
  7039  func (c *Chime) DescribeChannelBan(input *DescribeChannelBanInput) (*DescribeChannelBanOutput, error) {
  7040  	req, out := c.DescribeChannelBanRequest(input)
  7041  	return out, req.Send()
  7042  }
  7043  
  7044  // DescribeChannelBanWithContext is the same as DescribeChannelBan with the addition of
  7045  // the ability to pass a context and additional request options.
  7046  //
  7047  // See DescribeChannelBan for details on how to use this API operation.
  7048  //
  7049  // The context must be non-nil and will be used for request cancellation. If
  7050  // the context is nil a panic will occur. In the future the SDK may create
  7051  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7052  // for more information on using Contexts.
  7053  func (c *Chime) DescribeChannelBanWithContext(ctx aws.Context, input *DescribeChannelBanInput, opts ...request.Option) (*DescribeChannelBanOutput, error) {
  7054  	req, out := c.DescribeChannelBanRequest(input)
  7055  	req.SetContext(ctx)
  7056  	req.ApplyOptions(opts...)
  7057  	return out, req.Send()
  7058  }
  7059  
  7060  const opDescribeChannelMembership = "DescribeChannelMembership"
  7061  
  7062  // DescribeChannelMembershipRequest generates a "aws/request.Request" representing the
  7063  // client's request for the DescribeChannelMembership operation. The "output" return
  7064  // value will be populated with the request's response once the request completes
  7065  // successfully.
  7066  //
  7067  // Use "Send" method on the returned Request to send the API call to the service.
  7068  // the "output" return value is not valid until after Send returns without error.
  7069  //
  7070  // See DescribeChannelMembership for more information on using the DescribeChannelMembership
  7071  // API call, and error handling.
  7072  //
  7073  // This method is useful when you want to inject custom logic or configuration
  7074  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  7075  //
  7076  //
  7077  //    // Example sending a request using the DescribeChannelMembershipRequest method.
  7078  //    req, resp := client.DescribeChannelMembershipRequest(params)
  7079  //
  7080  //    err := req.Send()
  7081  //    if err == nil { // resp is now filled
  7082  //        fmt.Println(resp)
  7083  //    }
  7084  //
  7085  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelMembership
  7086  func (c *Chime) DescribeChannelMembershipRequest(input *DescribeChannelMembershipInput) (req *request.Request, output *DescribeChannelMembershipOutput) {
  7087  	op := &request.Operation{
  7088  		Name:       opDescribeChannelMembership,
  7089  		HTTPMethod: "GET",
  7090  		HTTPPath:   "/channels/{channelArn}/memberships/{memberArn}",
  7091  	}
  7092  
  7093  	if input == nil {
  7094  		input = &DescribeChannelMembershipInput{}
  7095  	}
  7096  
  7097  	output = &DescribeChannelMembershipOutput{}
  7098  	req = c.newRequest(op, input, output)
  7099  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
  7100  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  7101  	return
  7102  }
  7103  
  7104  // DescribeChannelMembership API operation for Amazon Chime.
  7105  //
  7106  // Returns the full details of a user's channel membership.
  7107  //
  7108  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
  7109  // of the user that makes the API call as the value in the header.
  7110  //
  7111  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  7112  // with awserr.Error's Code and Message methods to get detailed information about
  7113  // the error.
  7114  //
  7115  // See the AWS API reference guide for Amazon Chime's
  7116  // API operation DescribeChannelMembership for usage and error information.
  7117  //
  7118  // Returned Error Types:
  7119  //   * BadRequestException
  7120  //   The input parameters don't match the service's restrictions.
  7121  //
  7122  //   * ForbiddenException
  7123  //   The client is permanently forbidden from making the request.
  7124  //
  7125  //   * NotFoundException
  7126  //   One or more of the resources in the request does not exist in the system.
  7127  //
  7128  //   * UnauthorizedClientException
  7129  //   The client is not currently authorized to make the request.
  7130  //
  7131  //   * ThrottledClientException
  7132  //   The client exceeded its request rate limit.
  7133  //
  7134  //   * ServiceUnavailableException
  7135  //   The service is currently unavailable.
  7136  //
  7137  //   * ServiceFailureException
  7138  //   The service encountered an unexpected error.
  7139  //
  7140  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelMembership
  7141  func (c *Chime) DescribeChannelMembership(input *DescribeChannelMembershipInput) (*DescribeChannelMembershipOutput, error) {
  7142  	req, out := c.DescribeChannelMembershipRequest(input)
  7143  	return out, req.Send()
  7144  }
  7145  
  7146  // DescribeChannelMembershipWithContext is the same as DescribeChannelMembership with the addition of
  7147  // the ability to pass a context and additional request options.
  7148  //
  7149  // See DescribeChannelMembership for details on how to use this API operation.
  7150  //
  7151  // The context must be non-nil and will be used for request cancellation. If
  7152  // the context is nil a panic will occur. In the future the SDK may create
  7153  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7154  // for more information on using Contexts.
  7155  func (c *Chime) DescribeChannelMembershipWithContext(ctx aws.Context, input *DescribeChannelMembershipInput, opts ...request.Option) (*DescribeChannelMembershipOutput, error) {
  7156  	req, out := c.DescribeChannelMembershipRequest(input)
  7157  	req.SetContext(ctx)
  7158  	req.ApplyOptions(opts...)
  7159  	return out, req.Send()
  7160  }
  7161  
  7162  const opDescribeChannelMembershipForAppInstanceUser = "DescribeChannelMembershipForAppInstanceUser"
  7163  
  7164  // DescribeChannelMembershipForAppInstanceUserRequest generates a "aws/request.Request" representing the
  7165  // client's request for the DescribeChannelMembershipForAppInstanceUser operation. The "output" return
  7166  // value will be populated with the request's response once the request completes
  7167  // successfully.
  7168  //
  7169  // Use "Send" method on the returned Request to send the API call to the service.
  7170  // the "output" return value is not valid until after Send returns without error.
  7171  //
  7172  // See DescribeChannelMembershipForAppInstanceUser for more information on using the DescribeChannelMembershipForAppInstanceUser
  7173  // API call, and error handling.
  7174  //
  7175  // This method is useful when you want to inject custom logic or configuration
  7176  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  7177  //
  7178  //
  7179  //    // Example sending a request using the DescribeChannelMembershipForAppInstanceUserRequest method.
  7180  //    req, resp := client.DescribeChannelMembershipForAppInstanceUserRequest(params)
  7181  //
  7182  //    err := req.Send()
  7183  //    if err == nil { // resp is now filled
  7184  //        fmt.Println(resp)
  7185  //    }
  7186  //
  7187  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelMembershipForAppInstanceUser
  7188  func (c *Chime) DescribeChannelMembershipForAppInstanceUserRequest(input *DescribeChannelMembershipForAppInstanceUserInput) (req *request.Request, output *DescribeChannelMembershipForAppInstanceUserOutput) {
  7189  	op := &request.Operation{
  7190  		Name:       opDescribeChannelMembershipForAppInstanceUser,
  7191  		HTTPMethod: "GET",
  7192  		HTTPPath:   "/channels/{channelArn}?scope=app-instance-user-membership",
  7193  	}
  7194  
  7195  	if input == nil {
  7196  		input = &DescribeChannelMembershipForAppInstanceUserInput{}
  7197  	}
  7198  
  7199  	output = &DescribeChannelMembershipForAppInstanceUserOutput{}
  7200  	req = c.newRequest(op, input, output)
  7201  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
  7202  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  7203  	return
  7204  }
  7205  
  7206  // DescribeChannelMembershipForAppInstanceUser API operation for Amazon Chime.
  7207  //
  7208  // Returns the details of a channel based on the membership of the specified
  7209  // AppInstanceUser.
  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 DescribeChannelMembershipForAppInstanceUser 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  //   * UnauthorizedClientException
  7229  //   The client is not currently authorized to make the request.
  7230  //
  7231  //   * ThrottledClientException
  7232  //   The client exceeded its request rate limit.
  7233  //
  7234  //   * ServiceUnavailableException
  7235  //   The service is currently unavailable.
  7236  //
  7237  //   * ServiceFailureException
  7238  //   The service encountered an unexpected error.
  7239  //
  7240  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelMembershipForAppInstanceUser
  7241  func (c *Chime) DescribeChannelMembershipForAppInstanceUser(input *DescribeChannelMembershipForAppInstanceUserInput) (*DescribeChannelMembershipForAppInstanceUserOutput, error) {
  7242  	req, out := c.DescribeChannelMembershipForAppInstanceUserRequest(input)
  7243  	return out, req.Send()
  7244  }
  7245  
  7246  // DescribeChannelMembershipForAppInstanceUserWithContext is the same as DescribeChannelMembershipForAppInstanceUser with the addition of
  7247  // the ability to pass a context and additional request options.
  7248  //
  7249  // See DescribeChannelMembershipForAppInstanceUser for details on how to use this API operation.
  7250  //
  7251  // The context must be non-nil and will be used for request cancellation. If
  7252  // the context is nil a panic will occur. In the future the SDK may create
  7253  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7254  // for more information on using Contexts.
  7255  func (c *Chime) DescribeChannelMembershipForAppInstanceUserWithContext(ctx aws.Context, input *DescribeChannelMembershipForAppInstanceUserInput, opts ...request.Option) (*DescribeChannelMembershipForAppInstanceUserOutput, error) {
  7256  	req, out := c.DescribeChannelMembershipForAppInstanceUserRequest(input)
  7257  	req.SetContext(ctx)
  7258  	req.ApplyOptions(opts...)
  7259  	return out, req.Send()
  7260  }
  7261  
  7262  const opDescribeChannelModeratedByAppInstanceUser = "DescribeChannelModeratedByAppInstanceUser"
  7263  
  7264  // DescribeChannelModeratedByAppInstanceUserRequest generates a "aws/request.Request" representing the
  7265  // client's request for the DescribeChannelModeratedByAppInstanceUser operation. The "output" return
  7266  // value will be populated with the request's response once the request completes
  7267  // successfully.
  7268  //
  7269  // Use "Send" method on the returned Request to send the API call to the service.
  7270  // the "output" return value is not valid until after Send returns without error.
  7271  //
  7272  // See DescribeChannelModeratedByAppInstanceUser for more information on using the DescribeChannelModeratedByAppInstanceUser
  7273  // API call, and error handling.
  7274  //
  7275  // This method is useful when you want to inject custom logic or configuration
  7276  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  7277  //
  7278  //
  7279  //    // Example sending a request using the DescribeChannelModeratedByAppInstanceUserRequest method.
  7280  //    req, resp := client.DescribeChannelModeratedByAppInstanceUserRequest(params)
  7281  //
  7282  //    err := req.Send()
  7283  //    if err == nil { // resp is now filled
  7284  //        fmt.Println(resp)
  7285  //    }
  7286  //
  7287  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelModeratedByAppInstanceUser
  7288  func (c *Chime) DescribeChannelModeratedByAppInstanceUserRequest(input *DescribeChannelModeratedByAppInstanceUserInput) (req *request.Request, output *DescribeChannelModeratedByAppInstanceUserOutput) {
  7289  	op := &request.Operation{
  7290  		Name:       opDescribeChannelModeratedByAppInstanceUser,
  7291  		HTTPMethod: "GET",
  7292  		HTTPPath:   "/channels/{channelArn}?scope=app-instance-user-moderated-channel",
  7293  	}
  7294  
  7295  	if input == nil {
  7296  		input = &DescribeChannelModeratedByAppInstanceUserInput{}
  7297  	}
  7298  
  7299  	output = &DescribeChannelModeratedByAppInstanceUserOutput{}
  7300  	req = c.newRequest(op, input, output)
  7301  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
  7302  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  7303  	return
  7304  }
  7305  
  7306  // DescribeChannelModeratedByAppInstanceUser API operation for Amazon Chime.
  7307  //
  7308  // Returns the full details of a channel moderated by the specified AppInstanceUser.
  7309  //
  7310  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
  7311  // of the user that makes the API call as the value in the header.
  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 DescribeChannelModeratedByAppInstanceUser for usage and error information.
  7319  //
  7320  // Returned Error Types:
  7321  //   * BadRequestException
  7322  //   The input parameters don't match the service's restrictions.
  7323  //
  7324  //   * ForbiddenException
  7325  //   The client is permanently forbidden from making the request.
  7326  //
  7327  //   * UnauthorizedClientException
  7328  //   The client is not currently authorized to make the request.
  7329  //
  7330  //   * ThrottledClientException
  7331  //   The client exceeded its request rate limit.
  7332  //
  7333  //   * ServiceUnavailableException
  7334  //   The service is currently unavailable.
  7335  //
  7336  //   * ServiceFailureException
  7337  //   The service encountered an unexpected error.
  7338  //
  7339  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelModeratedByAppInstanceUser
  7340  func (c *Chime) DescribeChannelModeratedByAppInstanceUser(input *DescribeChannelModeratedByAppInstanceUserInput) (*DescribeChannelModeratedByAppInstanceUserOutput, error) {
  7341  	req, out := c.DescribeChannelModeratedByAppInstanceUserRequest(input)
  7342  	return out, req.Send()
  7343  }
  7344  
  7345  // DescribeChannelModeratedByAppInstanceUserWithContext is the same as DescribeChannelModeratedByAppInstanceUser with the addition of
  7346  // the ability to pass a context and additional request options.
  7347  //
  7348  // See DescribeChannelModeratedByAppInstanceUser for details on how to use this API operation.
  7349  //
  7350  // The context must be non-nil and will be used for request cancellation. If
  7351  // the context is nil a panic will occur. In the future the SDK may create
  7352  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7353  // for more information on using Contexts.
  7354  func (c *Chime) DescribeChannelModeratedByAppInstanceUserWithContext(ctx aws.Context, input *DescribeChannelModeratedByAppInstanceUserInput, opts ...request.Option) (*DescribeChannelModeratedByAppInstanceUserOutput, error) {
  7355  	req, out := c.DescribeChannelModeratedByAppInstanceUserRequest(input)
  7356  	req.SetContext(ctx)
  7357  	req.ApplyOptions(opts...)
  7358  	return out, req.Send()
  7359  }
  7360  
  7361  const opDescribeChannelModerator = "DescribeChannelModerator"
  7362  
  7363  // DescribeChannelModeratorRequest generates a "aws/request.Request" representing the
  7364  // client's request for the DescribeChannelModerator operation. The "output" return
  7365  // value will be populated with the request's response once the request completes
  7366  // successfully.
  7367  //
  7368  // Use "Send" method on the returned Request to send the API call to the service.
  7369  // the "output" return value is not valid until after Send returns without error.
  7370  //
  7371  // See DescribeChannelModerator for more information on using the DescribeChannelModerator
  7372  // API call, and error handling.
  7373  //
  7374  // This method is useful when you want to inject custom logic or configuration
  7375  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  7376  //
  7377  //
  7378  //    // Example sending a request using the DescribeChannelModeratorRequest method.
  7379  //    req, resp := client.DescribeChannelModeratorRequest(params)
  7380  //
  7381  //    err := req.Send()
  7382  //    if err == nil { // resp is now filled
  7383  //        fmt.Println(resp)
  7384  //    }
  7385  //
  7386  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelModerator
  7387  func (c *Chime) DescribeChannelModeratorRequest(input *DescribeChannelModeratorInput) (req *request.Request, output *DescribeChannelModeratorOutput) {
  7388  	op := &request.Operation{
  7389  		Name:       opDescribeChannelModerator,
  7390  		HTTPMethod: "GET",
  7391  		HTTPPath:   "/channels/{channelArn}/moderators/{channelModeratorArn}",
  7392  	}
  7393  
  7394  	if input == nil {
  7395  		input = &DescribeChannelModeratorInput{}
  7396  	}
  7397  
  7398  	output = &DescribeChannelModeratorOutput{}
  7399  	req = c.newRequest(op, input, output)
  7400  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
  7401  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  7402  	return
  7403  }
  7404  
  7405  // DescribeChannelModerator API operation for Amazon Chime.
  7406  //
  7407  // Returns the full details of a single ChannelModerator.
  7408  //
  7409  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
  7410  // of the user that makes the API call as the value in the header.
  7411  //
  7412  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  7413  // with awserr.Error's Code and Message methods to get detailed information about
  7414  // the error.
  7415  //
  7416  // See the AWS API reference guide for Amazon Chime's
  7417  // API operation DescribeChannelModerator for usage and error information.
  7418  //
  7419  // Returned Error Types:
  7420  //   * BadRequestException
  7421  //   The input parameters don't match the service's restrictions.
  7422  //
  7423  //   * ForbiddenException
  7424  //   The client is permanently forbidden from making the request.
  7425  //
  7426  //   * NotFoundException
  7427  //   One or more of the resources in the request does not exist in the system.
  7428  //
  7429  //   * UnauthorizedClientException
  7430  //   The client is not currently authorized to make the request.
  7431  //
  7432  //   * ThrottledClientException
  7433  //   The client exceeded its request rate limit.
  7434  //
  7435  //   * ServiceUnavailableException
  7436  //   The service is currently unavailable.
  7437  //
  7438  //   * ServiceFailureException
  7439  //   The service encountered an unexpected error.
  7440  //
  7441  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelModerator
  7442  func (c *Chime) DescribeChannelModerator(input *DescribeChannelModeratorInput) (*DescribeChannelModeratorOutput, error) {
  7443  	req, out := c.DescribeChannelModeratorRequest(input)
  7444  	return out, req.Send()
  7445  }
  7446  
  7447  // DescribeChannelModeratorWithContext is the same as DescribeChannelModerator with the addition of
  7448  // the ability to pass a context and additional request options.
  7449  //
  7450  // See DescribeChannelModerator for details on how to use this API operation.
  7451  //
  7452  // The context must be non-nil and will be used for request cancellation. If
  7453  // the context is nil a panic will occur. In the future the SDK may create
  7454  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7455  // for more information on using Contexts.
  7456  func (c *Chime) DescribeChannelModeratorWithContext(ctx aws.Context, input *DescribeChannelModeratorInput, opts ...request.Option) (*DescribeChannelModeratorOutput, error) {
  7457  	req, out := c.DescribeChannelModeratorRequest(input)
  7458  	req.SetContext(ctx)
  7459  	req.ApplyOptions(opts...)
  7460  	return out, req.Send()
  7461  }
  7462  
  7463  const opDisassociatePhoneNumberFromUser = "DisassociatePhoneNumberFromUser"
  7464  
  7465  // DisassociatePhoneNumberFromUserRequest generates a "aws/request.Request" representing the
  7466  // client's request for the DisassociatePhoneNumberFromUser operation. The "output" return
  7467  // value will be populated with the request's response once the request completes
  7468  // successfully.
  7469  //
  7470  // Use "Send" method on the returned Request to send the API call to the service.
  7471  // the "output" return value is not valid until after Send returns without error.
  7472  //
  7473  // See DisassociatePhoneNumberFromUser for more information on using the DisassociatePhoneNumberFromUser
  7474  // API call, and error handling.
  7475  //
  7476  // This method is useful when you want to inject custom logic or configuration
  7477  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  7478  //
  7479  //
  7480  //    // Example sending a request using the DisassociatePhoneNumberFromUserRequest method.
  7481  //    req, resp := client.DisassociatePhoneNumberFromUserRequest(params)
  7482  //
  7483  //    err := req.Send()
  7484  //    if err == nil { // resp is now filled
  7485  //        fmt.Println(resp)
  7486  //    }
  7487  //
  7488  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumberFromUser
  7489  func (c *Chime) DisassociatePhoneNumberFromUserRequest(input *DisassociatePhoneNumberFromUserInput) (req *request.Request, output *DisassociatePhoneNumberFromUserOutput) {
  7490  	op := &request.Operation{
  7491  		Name:       opDisassociatePhoneNumberFromUser,
  7492  		HTTPMethod: "POST",
  7493  		HTTPPath:   "/accounts/{accountId}/users/{userId}?operation=disassociate-phone-number",
  7494  	}
  7495  
  7496  	if input == nil {
  7497  		input = &DisassociatePhoneNumberFromUserInput{}
  7498  	}
  7499  
  7500  	output = &DisassociatePhoneNumberFromUserOutput{}
  7501  	req = c.newRequest(op, input, output)
  7502  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  7503  	return
  7504  }
  7505  
  7506  // DisassociatePhoneNumberFromUser API operation for Amazon Chime.
  7507  //
  7508  // Disassociates the primary provisioned phone number from the specified Amazon
  7509  // Chime user.
  7510  //
  7511  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  7512  // with awserr.Error's Code and Message methods to get detailed information about
  7513  // the error.
  7514  //
  7515  // See the AWS API reference guide for Amazon Chime's
  7516  // API operation DisassociatePhoneNumberFromUser for usage and error information.
  7517  //
  7518  // Returned Error Types:
  7519  //   * UnauthorizedClientException
  7520  //   The client is not currently authorized to make the request.
  7521  //
  7522  //   * NotFoundException
  7523  //   One or more of the resources in the request does not exist in the system.
  7524  //
  7525  //   * ForbiddenException
  7526  //   The client is permanently forbidden from making the request.
  7527  //
  7528  //   * BadRequestException
  7529  //   The input parameters don't match the service's restrictions.
  7530  //
  7531  //   * ThrottledClientException
  7532  //   The client exceeded its request rate limit.
  7533  //
  7534  //   * ServiceUnavailableException
  7535  //   The service is currently unavailable.
  7536  //
  7537  //   * ServiceFailureException
  7538  //   The service encountered an unexpected error.
  7539  //
  7540  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumberFromUser
  7541  func (c *Chime) DisassociatePhoneNumberFromUser(input *DisassociatePhoneNumberFromUserInput) (*DisassociatePhoneNumberFromUserOutput, error) {
  7542  	req, out := c.DisassociatePhoneNumberFromUserRequest(input)
  7543  	return out, req.Send()
  7544  }
  7545  
  7546  // DisassociatePhoneNumberFromUserWithContext is the same as DisassociatePhoneNumberFromUser with the addition of
  7547  // the ability to pass a context and additional request options.
  7548  //
  7549  // See DisassociatePhoneNumberFromUser for details on how to use this API operation.
  7550  //
  7551  // The context must be non-nil and will be used for request cancellation. If
  7552  // the context is nil a panic will occur. In the future the SDK may create
  7553  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7554  // for more information on using Contexts.
  7555  func (c *Chime) DisassociatePhoneNumberFromUserWithContext(ctx aws.Context, input *DisassociatePhoneNumberFromUserInput, opts ...request.Option) (*DisassociatePhoneNumberFromUserOutput, error) {
  7556  	req, out := c.DisassociatePhoneNumberFromUserRequest(input)
  7557  	req.SetContext(ctx)
  7558  	req.ApplyOptions(opts...)
  7559  	return out, req.Send()
  7560  }
  7561  
  7562  const opDisassociatePhoneNumbersFromVoiceConnector = "DisassociatePhoneNumbersFromVoiceConnector"
  7563  
  7564  // DisassociatePhoneNumbersFromVoiceConnectorRequest generates a "aws/request.Request" representing the
  7565  // client's request for the DisassociatePhoneNumbersFromVoiceConnector operation. The "output" return
  7566  // value will be populated with the request's response once the request completes
  7567  // successfully.
  7568  //
  7569  // Use "Send" method on the returned Request to send the API call to the service.
  7570  // the "output" return value is not valid until after Send returns without error.
  7571  //
  7572  // See DisassociatePhoneNumbersFromVoiceConnector for more information on using the DisassociatePhoneNumbersFromVoiceConnector
  7573  // API call, and error handling.
  7574  //
  7575  // This method is useful when you want to inject custom logic or configuration
  7576  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  7577  //
  7578  //
  7579  //    // Example sending a request using the DisassociatePhoneNumbersFromVoiceConnectorRequest method.
  7580  //    req, resp := client.DisassociatePhoneNumbersFromVoiceConnectorRequest(params)
  7581  //
  7582  //    err := req.Send()
  7583  //    if err == nil { // resp is now filled
  7584  //        fmt.Println(resp)
  7585  //    }
  7586  //
  7587  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnector
  7588  func (c *Chime) DisassociatePhoneNumbersFromVoiceConnectorRequest(input *DisassociatePhoneNumbersFromVoiceConnectorInput) (req *request.Request, output *DisassociatePhoneNumbersFromVoiceConnectorOutput) {
  7589  	op := &request.Operation{
  7590  		Name:       opDisassociatePhoneNumbersFromVoiceConnector,
  7591  		HTTPMethod: "POST",
  7592  		HTTPPath:   "/voice-connectors/{voiceConnectorId}?operation=disassociate-phone-numbers",
  7593  	}
  7594  
  7595  	if input == nil {
  7596  		input = &DisassociatePhoneNumbersFromVoiceConnectorInput{}
  7597  	}
  7598  
  7599  	output = &DisassociatePhoneNumbersFromVoiceConnectorOutput{}
  7600  	req = c.newRequest(op, input, output)
  7601  	return
  7602  }
  7603  
  7604  // DisassociatePhoneNumbersFromVoiceConnector API operation for Amazon Chime.
  7605  //
  7606  // Disassociates the specified phone numbers from the specified Amazon Chime
  7607  // Voice Connector.
  7608  //
  7609  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  7610  // with awserr.Error's Code and Message methods to get detailed information about
  7611  // the error.
  7612  //
  7613  // See the AWS API reference guide for Amazon Chime's
  7614  // API operation DisassociatePhoneNumbersFromVoiceConnector for usage and error information.
  7615  //
  7616  // Returned Error Types:
  7617  //   * UnauthorizedClientException
  7618  //   The client is not currently authorized to make the request.
  7619  //
  7620  //   * NotFoundException
  7621  //   One or more of the resources in the request does not exist in the system.
  7622  //
  7623  //   * ForbiddenException
  7624  //   The client is permanently forbidden from making the request.
  7625  //
  7626  //   * BadRequestException
  7627  //   The input parameters don't match the service's restrictions.
  7628  //
  7629  //   * ThrottledClientException
  7630  //   The client exceeded its request rate limit.
  7631  //
  7632  //   * ServiceUnavailableException
  7633  //   The service is currently unavailable.
  7634  //
  7635  //   * ServiceFailureException
  7636  //   The service encountered an unexpected error.
  7637  //
  7638  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnector
  7639  func (c *Chime) DisassociatePhoneNumbersFromVoiceConnector(input *DisassociatePhoneNumbersFromVoiceConnectorInput) (*DisassociatePhoneNumbersFromVoiceConnectorOutput, error) {
  7640  	req, out := c.DisassociatePhoneNumbersFromVoiceConnectorRequest(input)
  7641  	return out, req.Send()
  7642  }
  7643  
  7644  // DisassociatePhoneNumbersFromVoiceConnectorWithContext is the same as DisassociatePhoneNumbersFromVoiceConnector with the addition of
  7645  // the ability to pass a context and additional request options.
  7646  //
  7647  // See DisassociatePhoneNumbersFromVoiceConnector for details on how to use this API operation.
  7648  //
  7649  // The context must be non-nil and will be used for request cancellation. If
  7650  // the context is nil a panic will occur. In the future the SDK may create
  7651  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7652  // for more information on using Contexts.
  7653  func (c *Chime) DisassociatePhoneNumbersFromVoiceConnectorWithContext(ctx aws.Context, input *DisassociatePhoneNumbersFromVoiceConnectorInput, opts ...request.Option) (*DisassociatePhoneNumbersFromVoiceConnectorOutput, error) {
  7654  	req, out := c.DisassociatePhoneNumbersFromVoiceConnectorRequest(input)
  7655  	req.SetContext(ctx)
  7656  	req.ApplyOptions(opts...)
  7657  	return out, req.Send()
  7658  }
  7659  
  7660  const opDisassociatePhoneNumbersFromVoiceConnectorGroup = "DisassociatePhoneNumbersFromVoiceConnectorGroup"
  7661  
  7662  // DisassociatePhoneNumbersFromVoiceConnectorGroupRequest generates a "aws/request.Request" representing the
  7663  // client's request for the DisassociatePhoneNumbersFromVoiceConnectorGroup operation. The "output" return
  7664  // value will be populated with the request's response once the request completes
  7665  // successfully.
  7666  //
  7667  // Use "Send" method on the returned Request to send the API call to the service.
  7668  // the "output" return value is not valid until after Send returns without error.
  7669  //
  7670  // See DisassociatePhoneNumbersFromVoiceConnectorGroup for more information on using the DisassociatePhoneNumbersFromVoiceConnectorGroup
  7671  // API call, and error handling.
  7672  //
  7673  // This method is useful when you want to inject custom logic or configuration
  7674  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  7675  //
  7676  //
  7677  //    // Example sending a request using the DisassociatePhoneNumbersFromVoiceConnectorGroupRequest method.
  7678  //    req, resp := client.DisassociatePhoneNumbersFromVoiceConnectorGroupRequest(params)
  7679  //
  7680  //    err := req.Send()
  7681  //    if err == nil { // resp is now filled
  7682  //        fmt.Println(resp)
  7683  //    }
  7684  //
  7685  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnectorGroup
  7686  func (c *Chime) DisassociatePhoneNumbersFromVoiceConnectorGroupRequest(input *DisassociatePhoneNumbersFromVoiceConnectorGroupInput) (req *request.Request, output *DisassociatePhoneNumbersFromVoiceConnectorGroupOutput) {
  7687  	op := &request.Operation{
  7688  		Name:       opDisassociatePhoneNumbersFromVoiceConnectorGroup,
  7689  		HTTPMethod: "POST",
  7690  		HTTPPath:   "/voice-connector-groups/{voiceConnectorGroupId}?operation=disassociate-phone-numbers",
  7691  	}
  7692  
  7693  	if input == nil {
  7694  		input = &DisassociatePhoneNumbersFromVoiceConnectorGroupInput{}
  7695  	}
  7696  
  7697  	output = &DisassociatePhoneNumbersFromVoiceConnectorGroupOutput{}
  7698  	req = c.newRequest(op, input, output)
  7699  	return
  7700  }
  7701  
  7702  // DisassociatePhoneNumbersFromVoiceConnectorGroup API operation for Amazon Chime.
  7703  //
  7704  // Disassociates the specified phone numbers from the specified Amazon Chime
  7705  // Voice Connector group.
  7706  //
  7707  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  7708  // with awserr.Error's Code and Message methods to get detailed information about
  7709  // the error.
  7710  //
  7711  // See the AWS API reference guide for Amazon Chime's
  7712  // API operation DisassociatePhoneNumbersFromVoiceConnectorGroup for usage and error information.
  7713  //
  7714  // Returned Error Types:
  7715  //   * UnauthorizedClientException
  7716  //   The client is not currently authorized to make the request.
  7717  //
  7718  //   * NotFoundException
  7719  //   One or more of the resources in the request does not exist in the system.
  7720  //
  7721  //   * ForbiddenException
  7722  //   The client is permanently forbidden from making the request.
  7723  //
  7724  //   * BadRequestException
  7725  //   The input parameters don't match the service's restrictions.
  7726  //
  7727  //   * ThrottledClientException
  7728  //   The client exceeded its request rate limit.
  7729  //
  7730  //   * ServiceUnavailableException
  7731  //   The service is currently unavailable.
  7732  //
  7733  //   * ServiceFailureException
  7734  //   The service encountered an unexpected error.
  7735  //
  7736  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnectorGroup
  7737  func (c *Chime) DisassociatePhoneNumbersFromVoiceConnectorGroup(input *DisassociatePhoneNumbersFromVoiceConnectorGroupInput) (*DisassociatePhoneNumbersFromVoiceConnectorGroupOutput, error) {
  7738  	req, out := c.DisassociatePhoneNumbersFromVoiceConnectorGroupRequest(input)
  7739  	return out, req.Send()
  7740  }
  7741  
  7742  // DisassociatePhoneNumbersFromVoiceConnectorGroupWithContext is the same as DisassociatePhoneNumbersFromVoiceConnectorGroup with the addition of
  7743  // the ability to pass a context and additional request options.
  7744  //
  7745  // See DisassociatePhoneNumbersFromVoiceConnectorGroup for details on how to use this API operation.
  7746  //
  7747  // The context must be non-nil and will be used for request cancellation. If
  7748  // the context is nil a panic will occur. In the future the SDK may create
  7749  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7750  // for more information on using Contexts.
  7751  func (c *Chime) DisassociatePhoneNumbersFromVoiceConnectorGroupWithContext(ctx aws.Context, input *DisassociatePhoneNumbersFromVoiceConnectorGroupInput, opts ...request.Option) (*DisassociatePhoneNumbersFromVoiceConnectorGroupOutput, error) {
  7752  	req, out := c.DisassociatePhoneNumbersFromVoiceConnectorGroupRequest(input)
  7753  	req.SetContext(ctx)
  7754  	req.ApplyOptions(opts...)
  7755  	return out, req.Send()
  7756  }
  7757  
  7758  const opDisassociateSigninDelegateGroupsFromAccount = "DisassociateSigninDelegateGroupsFromAccount"
  7759  
  7760  // DisassociateSigninDelegateGroupsFromAccountRequest generates a "aws/request.Request" representing the
  7761  // client's request for the DisassociateSigninDelegateGroupsFromAccount operation. The "output" return
  7762  // value will be populated with the request's response once the request completes
  7763  // successfully.
  7764  //
  7765  // Use "Send" method on the returned Request to send the API call to the service.
  7766  // the "output" return value is not valid until after Send returns without error.
  7767  //
  7768  // See DisassociateSigninDelegateGroupsFromAccount for more information on using the DisassociateSigninDelegateGroupsFromAccount
  7769  // API call, and error handling.
  7770  //
  7771  // This method is useful when you want to inject custom logic or configuration
  7772  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  7773  //
  7774  //
  7775  //    // Example sending a request using the DisassociateSigninDelegateGroupsFromAccountRequest method.
  7776  //    req, resp := client.DisassociateSigninDelegateGroupsFromAccountRequest(params)
  7777  //
  7778  //    err := req.Send()
  7779  //    if err == nil { // resp is now filled
  7780  //        fmt.Println(resp)
  7781  //    }
  7782  //
  7783  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociateSigninDelegateGroupsFromAccount
  7784  func (c *Chime) DisassociateSigninDelegateGroupsFromAccountRequest(input *DisassociateSigninDelegateGroupsFromAccountInput) (req *request.Request, output *DisassociateSigninDelegateGroupsFromAccountOutput) {
  7785  	op := &request.Operation{
  7786  		Name:       opDisassociateSigninDelegateGroupsFromAccount,
  7787  		HTTPMethod: "POST",
  7788  		HTTPPath:   "/accounts/{accountId}?operation=disassociate-signin-delegate-groups",
  7789  	}
  7790  
  7791  	if input == nil {
  7792  		input = &DisassociateSigninDelegateGroupsFromAccountInput{}
  7793  	}
  7794  
  7795  	output = &DisassociateSigninDelegateGroupsFromAccountOutput{}
  7796  	req = c.newRequest(op, input, output)
  7797  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  7798  	return
  7799  }
  7800  
  7801  // DisassociateSigninDelegateGroupsFromAccount API operation for Amazon Chime.
  7802  //
  7803  // Disassociates the specified sign-in delegate groups from the specified Amazon
  7804  // Chime account.
  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 DisassociateSigninDelegateGroupsFromAccount 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  //   * ForbiddenException
  7821  //   The client is permanently forbidden from making the request.
  7822  //
  7823  //   * BadRequestException
  7824  //   The input parameters don't match the service's restrictions.
  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/DisassociateSigninDelegateGroupsFromAccount
  7836  func (c *Chime) DisassociateSigninDelegateGroupsFromAccount(input *DisassociateSigninDelegateGroupsFromAccountInput) (*DisassociateSigninDelegateGroupsFromAccountOutput, error) {
  7837  	req, out := c.DisassociateSigninDelegateGroupsFromAccountRequest(input)
  7838  	return out, req.Send()
  7839  }
  7840  
  7841  // DisassociateSigninDelegateGroupsFromAccountWithContext is the same as DisassociateSigninDelegateGroupsFromAccount with the addition of
  7842  // the ability to pass a context and additional request options.
  7843  //
  7844  // See DisassociateSigninDelegateGroupsFromAccount 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.
  7850  func (c *Chime) DisassociateSigninDelegateGroupsFromAccountWithContext(ctx aws.Context, input *DisassociateSigninDelegateGroupsFromAccountInput, opts ...request.Option) (*DisassociateSigninDelegateGroupsFromAccountOutput, error) {
  7851  	req, out := c.DisassociateSigninDelegateGroupsFromAccountRequest(input)
  7852  	req.SetContext(ctx)
  7853  	req.ApplyOptions(opts...)
  7854  	return out, req.Send()
  7855  }
  7856  
  7857  const opGetAccount = "GetAccount"
  7858  
  7859  // GetAccountRequest generates a "aws/request.Request" representing the
  7860  // client's request for the GetAccount 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 GetAccount for more information on using the GetAccount
  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 GetAccountRequest method.
  7875  //    req, resp := client.GetAccountRequest(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/GetAccount
  7883  func (c *Chime) GetAccountRequest(input *GetAccountInput) (req *request.Request, output *GetAccountOutput) {
  7884  	op := &request.Operation{
  7885  		Name:       opGetAccount,
  7886  		HTTPMethod: "GET",
  7887  		HTTPPath:   "/accounts/{accountId}",
  7888  	}
  7889  
  7890  	if input == nil {
  7891  		input = &GetAccountInput{}
  7892  	}
  7893  
  7894  	output = &GetAccountOutput{}
  7895  	req = c.newRequest(op, input, output)
  7896  	return
  7897  }
  7898  
  7899  // GetAccount API operation for Amazon Chime.
  7900  //
  7901  // Retrieves details for the specified Amazon Chime account, such as account
  7902  // type and supported licenses.
  7903  //
  7904  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  7905  // with awserr.Error's Code and Message methods to get detailed information about
  7906  // the error.
  7907  //
  7908  // See the AWS API reference guide for Amazon Chime's
  7909  // API operation GetAccount for usage and error information.
  7910  //
  7911  // Returned Error Types:
  7912  //   * UnauthorizedClientException
  7913  //   The client is not currently authorized to make the request.
  7914  //
  7915  //   * NotFoundException
  7916  //   One or more of the resources in the request does not exist in the system.
  7917  //
  7918  //   * ForbiddenException
  7919  //   The client is permanently forbidden from making the request.
  7920  //
  7921  //   * BadRequestException
  7922  //   The input parameters don't match the service's restrictions.
  7923  //
  7924  //   * ThrottledClientException
  7925  //   The client exceeded its request rate limit.
  7926  //
  7927  //   * ServiceUnavailableException
  7928  //   The service is currently unavailable.
  7929  //
  7930  //   * ServiceFailureException
  7931  //   The service encountered an unexpected error.
  7932  //
  7933  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAccount
  7934  func (c *Chime) GetAccount(input *GetAccountInput) (*GetAccountOutput, error) {
  7935  	req, out := c.GetAccountRequest(input)
  7936  	return out, req.Send()
  7937  }
  7938  
  7939  // GetAccountWithContext is the same as GetAccount with the addition of
  7940  // the ability to pass a context and additional request options.
  7941  //
  7942  // See GetAccount for details on how to use this API operation.
  7943  //
  7944  // The context must be non-nil and will be used for request cancellation. If
  7945  // the context is nil a panic will occur. In the future the SDK may create
  7946  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7947  // for more information on using Contexts.
  7948  func (c *Chime) GetAccountWithContext(ctx aws.Context, input *GetAccountInput, opts ...request.Option) (*GetAccountOutput, error) {
  7949  	req, out := c.GetAccountRequest(input)
  7950  	req.SetContext(ctx)
  7951  	req.ApplyOptions(opts...)
  7952  	return out, req.Send()
  7953  }
  7954  
  7955  const opGetAccountSettings = "GetAccountSettings"
  7956  
  7957  // GetAccountSettingsRequest generates a "aws/request.Request" representing the
  7958  // client's request for the GetAccountSettings operation. The "output" return
  7959  // value will be populated with the request's response once the request completes
  7960  // successfully.
  7961  //
  7962  // Use "Send" method on the returned Request to send the API call to the service.
  7963  // the "output" return value is not valid until after Send returns without error.
  7964  //
  7965  // See GetAccountSettings for more information on using the GetAccountSettings
  7966  // API call, and error handling.
  7967  //
  7968  // This method is useful when you want to inject custom logic or configuration
  7969  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  7970  //
  7971  //
  7972  //    // Example sending a request using the GetAccountSettingsRequest method.
  7973  //    req, resp := client.GetAccountSettingsRequest(params)
  7974  //
  7975  //    err := req.Send()
  7976  //    if err == nil { // resp is now filled
  7977  //        fmt.Println(resp)
  7978  //    }
  7979  //
  7980  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAccountSettings
  7981  func (c *Chime) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req *request.Request, output *GetAccountSettingsOutput) {
  7982  	op := &request.Operation{
  7983  		Name:       opGetAccountSettings,
  7984  		HTTPMethod: "GET",
  7985  		HTTPPath:   "/accounts/{accountId}/settings",
  7986  	}
  7987  
  7988  	if input == nil {
  7989  		input = &GetAccountSettingsInput{}
  7990  	}
  7991  
  7992  	output = &GetAccountSettingsOutput{}
  7993  	req = c.newRequest(op, input, output)
  7994  	return
  7995  }
  7996  
  7997  // GetAccountSettings API operation for Amazon Chime.
  7998  //
  7999  // Retrieves account settings for the specified Amazon Chime account ID, such
  8000  // as remote control and dialout settings. For more information about these
  8001  // settings, see Use the Policies Page (https://docs.aws.amazon.com/chime/latest/ag/policies.html)
  8002  // in the Amazon Chime Administration Guide.
  8003  //
  8004  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  8005  // with awserr.Error's Code and Message methods to get detailed information about
  8006  // the error.
  8007  //
  8008  // See the AWS API reference guide for Amazon Chime's
  8009  // API operation GetAccountSettings for usage and error information.
  8010  //
  8011  // Returned Error Types:
  8012  //   * UnauthorizedClientException
  8013  //   The client is not currently authorized to make the request.
  8014  //
  8015  //   * NotFoundException
  8016  //   One or more of the resources in the request does not exist in the system.
  8017  //
  8018  //   * BadRequestException
  8019  //   The input parameters don't match the service's restrictions.
  8020  //
  8021  //   * ForbiddenException
  8022  //   The client is permanently forbidden from making the request.
  8023  //
  8024  //   * ThrottledClientException
  8025  //   The client exceeded its request rate limit.
  8026  //
  8027  //   * ServiceUnavailableException
  8028  //   The service is currently unavailable.
  8029  //
  8030  //   * ServiceFailureException
  8031  //   The service encountered an unexpected error.
  8032  //
  8033  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAccountSettings
  8034  func (c *Chime) GetAccountSettings(input *GetAccountSettingsInput) (*GetAccountSettingsOutput, error) {
  8035  	req, out := c.GetAccountSettingsRequest(input)
  8036  	return out, req.Send()
  8037  }
  8038  
  8039  // GetAccountSettingsWithContext is the same as GetAccountSettings with the addition of
  8040  // the ability to pass a context and additional request options.
  8041  //
  8042  // See GetAccountSettings for details on how to use this API operation.
  8043  //
  8044  // The context must be non-nil and will be used for request cancellation. If
  8045  // the context is nil a panic will occur. In the future the SDK may create
  8046  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8047  // for more information on using Contexts.
  8048  func (c *Chime) GetAccountSettingsWithContext(ctx aws.Context, input *GetAccountSettingsInput, opts ...request.Option) (*GetAccountSettingsOutput, error) {
  8049  	req, out := c.GetAccountSettingsRequest(input)
  8050  	req.SetContext(ctx)
  8051  	req.ApplyOptions(opts...)
  8052  	return out, req.Send()
  8053  }
  8054  
  8055  const opGetAppInstanceRetentionSettings = "GetAppInstanceRetentionSettings"
  8056  
  8057  // GetAppInstanceRetentionSettingsRequest generates a "aws/request.Request" representing the
  8058  // client's request for the GetAppInstanceRetentionSettings operation. The "output" return
  8059  // value will be populated with the request's response once the request completes
  8060  // successfully.
  8061  //
  8062  // Use "Send" method on the returned Request to send the API call to the service.
  8063  // the "output" return value is not valid until after Send returns without error.
  8064  //
  8065  // See GetAppInstanceRetentionSettings for more information on using the GetAppInstanceRetentionSettings
  8066  // API call, and error handling.
  8067  //
  8068  // This method is useful when you want to inject custom logic or configuration
  8069  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  8070  //
  8071  //
  8072  //    // Example sending a request using the GetAppInstanceRetentionSettingsRequest method.
  8073  //    req, resp := client.GetAppInstanceRetentionSettingsRequest(params)
  8074  //
  8075  //    err := req.Send()
  8076  //    if err == nil { // resp is now filled
  8077  //        fmt.Println(resp)
  8078  //    }
  8079  //
  8080  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAppInstanceRetentionSettings
  8081  func (c *Chime) GetAppInstanceRetentionSettingsRequest(input *GetAppInstanceRetentionSettingsInput) (req *request.Request, output *GetAppInstanceRetentionSettingsOutput) {
  8082  	op := &request.Operation{
  8083  		Name:       opGetAppInstanceRetentionSettings,
  8084  		HTTPMethod: "GET",
  8085  		HTTPPath:   "/app-instances/{appInstanceArn}/retention-settings",
  8086  	}
  8087  
  8088  	if input == nil {
  8089  		input = &GetAppInstanceRetentionSettingsInput{}
  8090  	}
  8091  
  8092  	output = &GetAppInstanceRetentionSettingsOutput{}
  8093  	req = c.newRequest(op, input, output)
  8094  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
  8095  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  8096  	return
  8097  }
  8098  
  8099  // GetAppInstanceRetentionSettings API operation for Amazon Chime.
  8100  //
  8101  // Gets the retention settings for an AppInstance.
  8102  //
  8103  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  8104  // with awserr.Error's Code and Message methods to get detailed information about
  8105  // the error.
  8106  //
  8107  // See the AWS API reference guide for Amazon Chime's
  8108  // API operation GetAppInstanceRetentionSettings for usage and error information.
  8109  //
  8110  // Returned Error Types:
  8111  //   * UnauthorizedClientException
  8112  //   The client is not currently authorized to make the request.
  8113  //
  8114  //   * NotFoundException
  8115  //   One or more of the resources in the request does not exist in the system.
  8116  //
  8117  //   * BadRequestException
  8118  //   The input parameters don't match the service's restrictions.
  8119  //
  8120  //   * ForbiddenException
  8121  //   The client is permanently forbidden from making the request.
  8122  //
  8123  //   * ThrottledClientException
  8124  //   The client exceeded its request rate limit.
  8125  //
  8126  //   * ServiceUnavailableException
  8127  //   The service is currently unavailable.
  8128  //
  8129  //   * ServiceFailureException
  8130  //   The service encountered an unexpected error.
  8131  //
  8132  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAppInstanceRetentionSettings
  8133  func (c *Chime) GetAppInstanceRetentionSettings(input *GetAppInstanceRetentionSettingsInput) (*GetAppInstanceRetentionSettingsOutput, error) {
  8134  	req, out := c.GetAppInstanceRetentionSettingsRequest(input)
  8135  	return out, req.Send()
  8136  }
  8137  
  8138  // GetAppInstanceRetentionSettingsWithContext is the same as GetAppInstanceRetentionSettings with the addition of
  8139  // the ability to pass a context and additional request options.
  8140  //
  8141  // See GetAppInstanceRetentionSettings for details on how to use this API operation.
  8142  //
  8143  // The context must be non-nil and will be used for request cancellation. If
  8144  // the context is nil a panic will occur. In the future the SDK may create
  8145  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8146  // for more information on using Contexts.
  8147  func (c *Chime) GetAppInstanceRetentionSettingsWithContext(ctx aws.Context, input *GetAppInstanceRetentionSettingsInput, opts ...request.Option) (*GetAppInstanceRetentionSettingsOutput, error) {
  8148  	req, out := c.GetAppInstanceRetentionSettingsRequest(input)
  8149  	req.SetContext(ctx)
  8150  	req.ApplyOptions(opts...)
  8151  	return out, req.Send()
  8152  }
  8153  
  8154  const opGetAppInstanceStreamingConfigurations = "GetAppInstanceStreamingConfigurations"
  8155  
  8156  // GetAppInstanceStreamingConfigurationsRequest generates a "aws/request.Request" representing the
  8157  // client's request for the GetAppInstanceStreamingConfigurations operation. The "output" return
  8158  // value will be populated with the request's response once the request completes
  8159  // successfully.
  8160  //
  8161  // Use "Send" method on the returned Request to send the API call to the service.
  8162  // the "output" return value is not valid until after Send returns without error.
  8163  //
  8164  // See GetAppInstanceStreamingConfigurations for more information on using the GetAppInstanceStreamingConfigurations
  8165  // API call, and error handling.
  8166  //
  8167  // This method is useful when you want to inject custom logic or configuration
  8168  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  8169  //
  8170  //
  8171  //    // Example sending a request using the GetAppInstanceStreamingConfigurationsRequest method.
  8172  //    req, resp := client.GetAppInstanceStreamingConfigurationsRequest(params)
  8173  //
  8174  //    err := req.Send()
  8175  //    if err == nil { // resp is now filled
  8176  //        fmt.Println(resp)
  8177  //    }
  8178  //
  8179  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAppInstanceStreamingConfigurations
  8180  func (c *Chime) GetAppInstanceStreamingConfigurationsRequest(input *GetAppInstanceStreamingConfigurationsInput) (req *request.Request, output *GetAppInstanceStreamingConfigurationsOutput) {
  8181  	op := &request.Operation{
  8182  		Name:       opGetAppInstanceStreamingConfigurations,
  8183  		HTTPMethod: "GET",
  8184  		HTTPPath:   "/app-instances/{appInstanceArn}/streaming-configurations",
  8185  	}
  8186  
  8187  	if input == nil {
  8188  		input = &GetAppInstanceStreamingConfigurationsInput{}
  8189  	}
  8190  
  8191  	output = &GetAppInstanceStreamingConfigurationsOutput{}
  8192  	req = c.newRequest(op, input, output)
  8193  	return
  8194  }
  8195  
  8196  // GetAppInstanceStreamingConfigurations API operation for Amazon Chime.
  8197  //
  8198  // Gets the streaming settings for an AppInstance.
  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 GetAppInstanceStreamingConfigurations for usage and error information.
  8206  //
  8207  // Returned Error Types:
  8208  //   * BadRequestException
  8209  //   The input parameters don't match the service's restrictions.
  8210  //
  8211  //   * ForbiddenException
  8212  //   The client is permanently forbidden from making the request.
  8213  //
  8214  //   * NotFoundException
  8215  //   One or more of the resources in the request does not exist in the system.
  8216  //
  8217  //   * UnauthorizedClientException
  8218  //   The client is not currently authorized to make the request.
  8219  //
  8220  //   * ThrottledClientException
  8221  //   The client exceeded its request rate limit.
  8222  //
  8223  //   * ServiceUnavailableException
  8224  //   The service is currently unavailable.
  8225  //
  8226  //   * ServiceFailureException
  8227  //   The service encountered an unexpected error.
  8228  //
  8229  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAppInstanceStreamingConfigurations
  8230  func (c *Chime) GetAppInstanceStreamingConfigurations(input *GetAppInstanceStreamingConfigurationsInput) (*GetAppInstanceStreamingConfigurationsOutput, error) {
  8231  	req, out := c.GetAppInstanceStreamingConfigurationsRequest(input)
  8232  	return out, req.Send()
  8233  }
  8234  
  8235  // GetAppInstanceStreamingConfigurationsWithContext is the same as GetAppInstanceStreamingConfigurations with the addition of
  8236  // the ability to pass a context and additional request options.
  8237  //
  8238  // See GetAppInstanceStreamingConfigurations 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.
  8244  func (c *Chime) GetAppInstanceStreamingConfigurationsWithContext(ctx aws.Context, input *GetAppInstanceStreamingConfigurationsInput, opts ...request.Option) (*GetAppInstanceStreamingConfigurationsOutput, error) {
  8245  	req, out := c.GetAppInstanceStreamingConfigurationsRequest(input)
  8246  	req.SetContext(ctx)
  8247  	req.ApplyOptions(opts...)
  8248  	return out, req.Send()
  8249  }
  8250  
  8251  const opGetAttendee = "GetAttendee"
  8252  
  8253  // GetAttendeeRequest generates a "aws/request.Request" representing the
  8254  // client's request for the GetAttendee 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 GetAttendee for more information on using the GetAttendee
  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 GetAttendeeRequest method.
  8269  //    req, resp := client.GetAttendeeRequest(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/GetAttendee
  8277  func (c *Chime) GetAttendeeRequest(input *GetAttendeeInput) (req *request.Request, output *GetAttendeeOutput) {
  8278  	op := &request.Operation{
  8279  		Name:       opGetAttendee,
  8280  		HTTPMethod: "GET",
  8281  		HTTPPath:   "/meetings/{meetingId}/attendees/{attendeeId}",
  8282  	}
  8283  
  8284  	if input == nil {
  8285  		input = &GetAttendeeInput{}
  8286  	}
  8287  
  8288  	output = &GetAttendeeOutput{}
  8289  	req = c.newRequest(op, input, output)
  8290  	return
  8291  }
  8292  
  8293  // GetAttendee API operation for Amazon Chime.
  8294  //
  8295  // Gets the Amazon Chime SDK attendee details for a specified meeting ID and
  8296  // attendee ID. For more information about the Amazon Chime SDK, see Using the
  8297  // Amazon Chime SDK (https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html)
  8298  // in the Amazon Chime Developer Guide .
  8299  //
  8300  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  8301  // with awserr.Error's Code and Message methods to get detailed information about
  8302  // the error.
  8303  //
  8304  // See the AWS API reference guide for Amazon Chime's
  8305  // API operation GetAttendee for usage and error information.
  8306  //
  8307  // Returned Error Types:
  8308  //   * BadRequestException
  8309  //   The input parameters don't match the service's restrictions.
  8310  //
  8311  //   * ForbiddenException
  8312  //   The client is permanently forbidden from making the request.
  8313  //
  8314  //   * NotFoundException
  8315  //   One or more of the resources in the request does not exist in the system.
  8316  //
  8317  //   * ThrottledClientException
  8318  //   The client exceeded its request rate limit.
  8319  //
  8320  //   * UnauthorizedClientException
  8321  //   The client is not currently authorized to make the request.
  8322  //
  8323  //   * ServiceUnavailableException
  8324  //   The service is currently unavailable.
  8325  //
  8326  //   * ServiceFailureException
  8327  //   The service encountered an unexpected error.
  8328  //
  8329  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAttendee
  8330  func (c *Chime) GetAttendee(input *GetAttendeeInput) (*GetAttendeeOutput, error) {
  8331  	req, out := c.GetAttendeeRequest(input)
  8332  	return out, req.Send()
  8333  }
  8334  
  8335  // GetAttendeeWithContext is the same as GetAttendee with the addition of
  8336  // the ability to pass a context and additional request options.
  8337  //
  8338  // See GetAttendee for details on how to use this API operation.
  8339  //
  8340  // The context must be non-nil and will be used for request cancellation. If
  8341  // the context is nil a panic will occur. In the future the SDK may create
  8342  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8343  // for more information on using Contexts.
  8344  func (c *Chime) GetAttendeeWithContext(ctx aws.Context, input *GetAttendeeInput, opts ...request.Option) (*GetAttendeeOutput, error) {
  8345  	req, out := c.GetAttendeeRequest(input)
  8346  	req.SetContext(ctx)
  8347  	req.ApplyOptions(opts...)
  8348  	return out, req.Send()
  8349  }
  8350  
  8351  const opGetBot = "GetBot"
  8352  
  8353  // GetBotRequest generates a "aws/request.Request" representing the
  8354  // client's request for the GetBot operation. The "output" return
  8355  // value will be populated with the request's response once the request completes
  8356  // successfully.
  8357  //
  8358  // Use "Send" method on the returned Request to send the API call to the service.
  8359  // the "output" return value is not valid until after Send returns without error.
  8360  //
  8361  // See GetBot for more information on using the GetBot
  8362  // API call, and error handling.
  8363  //
  8364  // This method is useful when you want to inject custom logic or configuration
  8365  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  8366  //
  8367  //
  8368  //    // Example sending a request using the GetBotRequest method.
  8369  //    req, resp := client.GetBotRequest(params)
  8370  //
  8371  //    err := req.Send()
  8372  //    if err == nil { // resp is now filled
  8373  //        fmt.Println(resp)
  8374  //    }
  8375  //
  8376  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetBot
  8377  func (c *Chime) GetBotRequest(input *GetBotInput) (req *request.Request, output *GetBotOutput) {
  8378  	op := &request.Operation{
  8379  		Name:       opGetBot,
  8380  		HTTPMethod: "GET",
  8381  		HTTPPath:   "/accounts/{accountId}/bots/{botId}",
  8382  	}
  8383  
  8384  	if input == nil {
  8385  		input = &GetBotInput{}
  8386  	}
  8387  
  8388  	output = &GetBotOutput{}
  8389  	req = c.newRequest(op, input, output)
  8390  	return
  8391  }
  8392  
  8393  // GetBot API operation for Amazon Chime.
  8394  //
  8395  // Retrieves details for the specified bot, such as bot email address, bot type,
  8396  // status, and display name.
  8397  //
  8398  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  8399  // with awserr.Error's Code and Message methods to get detailed information about
  8400  // the error.
  8401  //
  8402  // See the AWS API reference guide for Amazon Chime's
  8403  // API operation GetBot for usage and error information.
  8404  //
  8405  // Returned Error Types:
  8406  //   * ServiceUnavailableException
  8407  //   The service is currently unavailable.
  8408  //
  8409  //   * ServiceFailureException
  8410  //   The service encountered an unexpected error.
  8411  //
  8412  //   * ForbiddenException
  8413  //   The client is permanently forbidden from making the request.
  8414  //
  8415  //   * UnauthorizedClientException
  8416  //   The client is not currently authorized to make the request.
  8417  //
  8418  //   * NotFoundException
  8419  //   One or more of the resources in the request does not exist in the system.
  8420  //
  8421  //   * BadRequestException
  8422  //   The input parameters don't match the service's restrictions.
  8423  //
  8424  //   * ThrottledClientException
  8425  //   The client exceeded its request rate limit.
  8426  //
  8427  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetBot
  8428  func (c *Chime) GetBot(input *GetBotInput) (*GetBotOutput, error) {
  8429  	req, out := c.GetBotRequest(input)
  8430  	return out, req.Send()
  8431  }
  8432  
  8433  // GetBotWithContext is the same as GetBot with the addition of
  8434  // the ability to pass a context and additional request options.
  8435  //
  8436  // See GetBot for details on how to use this API operation.
  8437  //
  8438  // The context must be non-nil and will be used for request cancellation. If
  8439  // the context is nil a panic will occur. In the future the SDK may create
  8440  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8441  // for more information on using Contexts.
  8442  func (c *Chime) GetBotWithContext(ctx aws.Context, input *GetBotInput, opts ...request.Option) (*GetBotOutput, error) {
  8443  	req, out := c.GetBotRequest(input)
  8444  	req.SetContext(ctx)
  8445  	req.ApplyOptions(opts...)
  8446  	return out, req.Send()
  8447  }
  8448  
  8449  const opGetChannelMessage = "GetChannelMessage"
  8450  
  8451  // GetChannelMessageRequest generates a "aws/request.Request" representing the
  8452  // client's request for the GetChannelMessage operation. The "output" return
  8453  // value will be populated with the request's response once the request completes
  8454  // successfully.
  8455  //
  8456  // Use "Send" method on the returned Request to send the API call to the service.
  8457  // the "output" return value is not valid until after Send returns without error.
  8458  //
  8459  // See GetChannelMessage for more information on using the GetChannelMessage
  8460  // API call, and error handling.
  8461  //
  8462  // This method is useful when you want to inject custom logic or configuration
  8463  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  8464  //
  8465  //
  8466  //    // Example sending a request using the GetChannelMessageRequest method.
  8467  //    req, resp := client.GetChannelMessageRequest(params)
  8468  //
  8469  //    err := req.Send()
  8470  //    if err == nil { // resp is now filled
  8471  //        fmt.Println(resp)
  8472  //    }
  8473  //
  8474  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetChannelMessage
  8475  func (c *Chime) GetChannelMessageRequest(input *GetChannelMessageInput) (req *request.Request, output *GetChannelMessageOutput) {
  8476  	op := &request.Operation{
  8477  		Name:       opGetChannelMessage,
  8478  		HTTPMethod: "GET",
  8479  		HTTPPath:   "/channels/{channelArn}/messages/{messageId}",
  8480  	}
  8481  
  8482  	if input == nil {
  8483  		input = &GetChannelMessageInput{}
  8484  	}
  8485  
  8486  	output = &GetChannelMessageOutput{}
  8487  	req = c.newRequest(op, input, output)
  8488  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
  8489  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  8490  	return
  8491  }
  8492  
  8493  // GetChannelMessage API operation for Amazon Chime.
  8494  //
  8495  // Gets the full details of a channel message.
  8496  //
  8497  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
  8498  // of the user that makes the API call as the value in the header.
  8499  //
  8500  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  8501  // with awserr.Error's Code and Message methods to get detailed information about
  8502  // the error.
  8503  //
  8504  // See the AWS API reference guide for Amazon Chime's
  8505  // API operation GetChannelMessage for usage and error information.
  8506  //
  8507  // Returned Error Types:
  8508  //   * BadRequestException
  8509  //   The input parameters don't match the service's restrictions.
  8510  //
  8511  //   * ForbiddenException
  8512  //   The client is permanently forbidden from making the request.
  8513  //
  8514  //   * NotFoundException
  8515  //   One or more of the resources in the request does not exist in the system.
  8516  //
  8517  //   * UnauthorizedClientException
  8518  //   The client is not currently authorized to make the request.
  8519  //
  8520  //   * ThrottledClientException
  8521  //   The client exceeded its request rate limit.
  8522  //
  8523  //   * ServiceUnavailableException
  8524  //   The service is currently unavailable.
  8525  //
  8526  //   * ServiceFailureException
  8527  //   The service encountered an unexpected error.
  8528  //
  8529  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetChannelMessage
  8530  func (c *Chime) GetChannelMessage(input *GetChannelMessageInput) (*GetChannelMessageOutput, error) {
  8531  	req, out := c.GetChannelMessageRequest(input)
  8532  	return out, req.Send()
  8533  }
  8534  
  8535  // GetChannelMessageWithContext is the same as GetChannelMessage with the addition of
  8536  // the ability to pass a context and additional request options.
  8537  //
  8538  // See GetChannelMessage for details on how to use this API operation.
  8539  //
  8540  // The context must be non-nil and will be used for request cancellation. If
  8541  // the context is nil a panic will occur. In the future the SDK may create
  8542  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8543  // for more information on using Contexts.
  8544  func (c *Chime) GetChannelMessageWithContext(ctx aws.Context, input *GetChannelMessageInput, opts ...request.Option) (*GetChannelMessageOutput, error) {
  8545  	req, out := c.GetChannelMessageRequest(input)
  8546  	req.SetContext(ctx)
  8547  	req.ApplyOptions(opts...)
  8548  	return out, req.Send()
  8549  }
  8550  
  8551  const opGetEventsConfiguration = "GetEventsConfiguration"
  8552  
  8553  // GetEventsConfigurationRequest generates a "aws/request.Request" representing the
  8554  // client's request for the GetEventsConfiguration operation. The "output" return
  8555  // value will be populated with the request's response once the request completes
  8556  // successfully.
  8557  //
  8558  // Use "Send" method on the returned Request to send the API call to the service.
  8559  // the "output" return value is not valid until after Send returns without error.
  8560  //
  8561  // See GetEventsConfiguration for more information on using the GetEventsConfiguration
  8562  // API call, and error handling.
  8563  //
  8564  // This method is useful when you want to inject custom logic or configuration
  8565  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  8566  //
  8567  //
  8568  //    // Example sending a request using the GetEventsConfigurationRequest method.
  8569  //    req, resp := client.GetEventsConfigurationRequest(params)
  8570  //
  8571  //    err := req.Send()
  8572  //    if err == nil { // resp is now filled
  8573  //        fmt.Println(resp)
  8574  //    }
  8575  //
  8576  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetEventsConfiguration
  8577  func (c *Chime) GetEventsConfigurationRequest(input *GetEventsConfigurationInput) (req *request.Request, output *GetEventsConfigurationOutput) {
  8578  	op := &request.Operation{
  8579  		Name:       opGetEventsConfiguration,
  8580  		HTTPMethod: "GET",
  8581  		HTTPPath:   "/accounts/{accountId}/bots/{botId}/events-configuration",
  8582  	}
  8583  
  8584  	if input == nil {
  8585  		input = &GetEventsConfigurationInput{}
  8586  	}
  8587  
  8588  	output = &GetEventsConfigurationOutput{}
  8589  	req = c.newRequest(op, input, output)
  8590  	return
  8591  }
  8592  
  8593  // GetEventsConfiguration API operation for Amazon Chime.
  8594  //
  8595  // Gets details for an events configuration that allows a bot to receive outgoing
  8596  // events, such as an HTTPS endpoint or Lambda function ARN.
  8597  //
  8598  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  8599  // with awserr.Error's Code and Message methods to get detailed information about
  8600  // the error.
  8601  //
  8602  // See the AWS API reference guide for Amazon Chime's
  8603  // API operation GetEventsConfiguration for usage and error information.
  8604  //
  8605  // Returned Error Types:
  8606  //   * ServiceUnavailableException
  8607  //   The service is currently unavailable.
  8608  //
  8609  //   * ServiceFailureException
  8610  //   The service encountered an unexpected error.
  8611  //
  8612  //   * ForbiddenException
  8613  //   The client is permanently forbidden from making the request.
  8614  //
  8615  //   * BadRequestException
  8616  //   The input parameters don't match the service's restrictions.
  8617  //
  8618  //   * UnauthorizedClientException
  8619  //   The client is not currently authorized to make the request.
  8620  //
  8621  //   * ResourceLimitExceededException
  8622  //   The request exceeds the resource limit.
  8623  //
  8624  //   * NotFoundException
  8625  //   One or more of the resources in the request does not exist in the system.
  8626  //
  8627  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetEventsConfiguration
  8628  func (c *Chime) GetEventsConfiguration(input *GetEventsConfigurationInput) (*GetEventsConfigurationOutput, error) {
  8629  	req, out := c.GetEventsConfigurationRequest(input)
  8630  	return out, req.Send()
  8631  }
  8632  
  8633  // GetEventsConfigurationWithContext is the same as GetEventsConfiguration with the addition of
  8634  // the ability to pass a context and additional request options.
  8635  //
  8636  // See GetEventsConfiguration for details on how to use this API operation.
  8637  //
  8638  // The context must be non-nil and will be used for request cancellation. If
  8639  // the context is nil a panic will occur. In the future the SDK may create
  8640  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8641  // for more information on using Contexts.
  8642  func (c *Chime) GetEventsConfigurationWithContext(ctx aws.Context, input *GetEventsConfigurationInput, opts ...request.Option) (*GetEventsConfigurationOutput, error) {
  8643  	req, out := c.GetEventsConfigurationRequest(input)
  8644  	req.SetContext(ctx)
  8645  	req.ApplyOptions(opts...)
  8646  	return out, req.Send()
  8647  }
  8648  
  8649  const opGetGlobalSettings = "GetGlobalSettings"
  8650  
  8651  // GetGlobalSettingsRequest generates a "aws/request.Request" representing the
  8652  // client's request for the GetGlobalSettings operation. The "output" return
  8653  // value will be populated with the request's response once the request completes
  8654  // successfully.
  8655  //
  8656  // Use "Send" method on the returned Request to send the API call to the service.
  8657  // the "output" return value is not valid until after Send returns without error.
  8658  //
  8659  // See GetGlobalSettings for more information on using the GetGlobalSettings
  8660  // API call, and error handling.
  8661  //
  8662  // This method is useful when you want to inject custom logic or configuration
  8663  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  8664  //
  8665  //
  8666  //    // Example sending a request using the GetGlobalSettingsRequest method.
  8667  //    req, resp := client.GetGlobalSettingsRequest(params)
  8668  //
  8669  //    err := req.Send()
  8670  //    if err == nil { // resp is now filled
  8671  //        fmt.Println(resp)
  8672  //    }
  8673  //
  8674  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetGlobalSettings
  8675  func (c *Chime) GetGlobalSettingsRequest(input *GetGlobalSettingsInput) (req *request.Request, output *GetGlobalSettingsOutput) {
  8676  	op := &request.Operation{
  8677  		Name:       opGetGlobalSettings,
  8678  		HTTPMethod: "GET",
  8679  		HTTPPath:   "/settings",
  8680  	}
  8681  
  8682  	if input == nil {
  8683  		input = &GetGlobalSettingsInput{}
  8684  	}
  8685  
  8686  	output = &GetGlobalSettingsOutput{}
  8687  	req = c.newRequest(op, input, output)
  8688  	return
  8689  }
  8690  
  8691  // GetGlobalSettings API operation for Amazon Chime.
  8692  //
  8693  // Retrieves global settings for the administrator's AWS account, such as Amazon
  8694  // Chime Business Calling and Amazon Chime Voice Connector settings.
  8695  //
  8696  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  8697  // with awserr.Error's Code and Message methods to get detailed information about
  8698  // the error.
  8699  //
  8700  // See the AWS API reference guide for Amazon Chime's
  8701  // API operation GetGlobalSettings for usage and error information.
  8702  //
  8703  // Returned Error Types:
  8704  //   * UnauthorizedClientException
  8705  //   The client is not currently authorized to make the request.
  8706  //
  8707  //   * ForbiddenException
  8708  //   The client is permanently forbidden from making the request.
  8709  //
  8710  //   * BadRequestException
  8711  //   The input parameters don't match the service's restrictions.
  8712  //
  8713  //   * ThrottledClientException
  8714  //   The client exceeded its request rate limit.
  8715  //
  8716  //   * ServiceUnavailableException
  8717  //   The service is currently unavailable.
  8718  //
  8719  //   * ServiceFailureException
  8720  //   The service encountered an unexpected error.
  8721  //
  8722  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetGlobalSettings
  8723  func (c *Chime) GetGlobalSettings(input *GetGlobalSettingsInput) (*GetGlobalSettingsOutput, error) {
  8724  	req, out := c.GetGlobalSettingsRequest(input)
  8725  	return out, req.Send()
  8726  }
  8727  
  8728  // GetGlobalSettingsWithContext is the same as GetGlobalSettings with the addition of
  8729  // the ability to pass a context and additional request options.
  8730  //
  8731  // See GetGlobalSettings for details on how to use this API operation.
  8732  //
  8733  // The context must be non-nil and will be used for request cancellation. If
  8734  // the context is nil a panic will occur. In the future the SDK may create
  8735  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8736  // for more information on using Contexts.
  8737  func (c *Chime) GetGlobalSettingsWithContext(ctx aws.Context, input *GetGlobalSettingsInput, opts ...request.Option) (*GetGlobalSettingsOutput, error) {
  8738  	req, out := c.GetGlobalSettingsRequest(input)
  8739  	req.SetContext(ctx)
  8740  	req.ApplyOptions(opts...)
  8741  	return out, req.Send()
  8742  }
  8743  
  8744  const opGetMediaCapturePipeline = "GetMediaCapturePipeline"
  8745  
  8746  // GetMediaCapturePipelineRequest generates a "aws/request.Request" representing the
  8747  // client's request for the GetMediaCapturePipeline operation. The "output" return
  8748  // value will be populated with the request's response once the request completes
  8749  // successfully.
  8750  //
  8751  // Use "Send" method on the returned Request to send the API call to the service.
  8752  // the "output" return value is not valid until after Send returns without error.
  8753  //
  8754  // See GetMediaCapturePipeline for more information on using the GetMediaCapturePipeline
  8755  // API call, and error handling.
  8756  //
  8757  // This method is useful when you want to inject custom logic or configuration
  8758  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  8759  //
  8760  //
  8761  //    // Example sending a request using the GetMediaCapturePipelineRequest method.
  8762  //    req, resp := client.GetMediaCapturePipelineRequest(params)
  8763  //
  8764  //    err := req.Send()
  8765  //    if err == nil { // resp is now filled
  8766  //        fmt.Println(resp)
  8767  //    }
  8768  //
  8769  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetMediaCapturePipeline
  8770  func (c *Chime) GetMediaCapturePipelineRequest(input *GetMediaCapturePipelineInput) (req *request.Request, output *GetMediaCapturePipelineOutput) {
  8771  	op := &request.Operation{
  8772  		Name:       opGetMediaCapturePipeline,
  8773  		HTTPMethod: "GET",
  8774  		HTTPPath:   "/media-capture-pipelines/{mediaPipelineId}",
  8775  	}
  8776  
  8777  	if input == nil {
  8778  		input = &GetMediaCapturePipelineInput{}
  8779  	}
  8780  
  8781  	output = &GetMediaCapturePipelineOutput{}
  8782  	req = c.newRequest(op, input, output)
  8783  	return
  8784  }
  8785  
  8786  // GetMediaCapturePipeline API operation for Amazon Chime.
  8787  //
  8788  // Gets an existing media capture pipeline.
  8789  //
  8790  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  8791  // with awserr.Error's Code and Message methods to get detailed information about
  8792  // the error.
  8793  //
  8794  // See the AWS API reference guide for Amazon Chime's
  8795  // API operation GetMediaCapturePipeline for usage and error information.
  8796  //
  8797  // Returned Error Types:
  8798  //   * NotFoundException
  8799  //   One or more of the resources in the request does not exist in the system.
  8800  //
  8801  //   * ForbiddenException
  8802  //   The client is permanently forbidden from making the request.
  8803  //
  8804  //   * BadRequestException
  8805  //   The input parameters don't match the service's restrictions.
  8806  //
  8807  //   * UnauthorizedClientException
  8808  //   The client is not currently authorized to make the request.
  8809  //
  8810  //   * ThrottledClientException
  8811  //   The client exceeded its request rate limit.
  8812  //
  8813  //   * ServiceUnavailableException
  8814  //   The service is currently unavailable.
  8815  //
  8816  //   * ServiceFailureException
  8817  //   The service encountered an unexpected error.
  8818  //
  8819  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetMediaCapturePipeline
  8820  func (c *Chime) GetMediaCapturePipeline(input *GetMediaCapturePipelineInput) (*GetMediaCapturePipelineOutput, error) {
  8821  	req, out := c.GetMediaCapturePipelineRequest(input)
  8822  	return out, req.Send()
  8823  }
  8824  
  8825  // GetMediaCapturePipelineWithContext is the same as GetMediaCapturePipeline with the addition of
  8826  // the ability to pass a context and additional request options.
  8827  //
  8828  // See GetMediaCapturePipeline for details on how to use this API operation.
  8829  //
  8830  // The context must be non-nil and will be used for request cancellation. If
  8831  // the context is nil a panic will occur. In the future the SDK may create
  8832  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8833  // for more information on using Contexts.
  8834  func (c *Chime) GetMediaCapturePipelineWithContext(ctx aws.Context, input *GetMediaCapturePipelineInput, opts ...request.Option) (*GetMediaCapturePipelineOutput, error) {
  8835  	req, out := c.GetMediaCapturePipelineRequest(input)
  8836  	req.SetContext(ctx)
  8837  	req.ApplyOptions(opts...)
  8838  	return out, req.Send()
  8839  }
  8840  
  8841  const opGetMeeting = "GetMeeting"
  8842  
  8843  // GetMeetingRequest generates a "aws/request.Request" representing the
  8844  // client's request for the GetMeeting operation. The "output" return
  8845  // value will be populated with the request's response once the request completes
  8846  // successfully.
  8847  //
  8848  // Use "Send" method on the returned Request to send the API call to the service.
  8849  // the "output" return value is not valid until after Send returns without error.
  8850  //
  8851  // See GetMeeting for more information on using the GetMeeting
  8852  // API call, and error handling.
  8853  //
  8854  // This method is useful when you want to inject custom logic or configuration
  8855  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  8856  //
  8857  //
  8858  //    // Example sending a request using the GetMeetingRequest method.
  8859  //    req, resp := client.GetMeetingRequest(params)
  8860  //
  8861  //    err := req.Send()
  8862  //    if err == nil { // resp is now filled
  8863  //        fmt.Println(resp)
  8864  //    }
  8865  //
  8866  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetMeeting
  8867  func (c *Chime) GetMeetingRequest(input *GetMeetingInput) (req *request.Request, output *GetMeetingOutput) {
  8868  	op := &request.Operation{
  8869  		Name:       opGetMeeting,
  8870  		HTTPMethod: "GET",
  8871  		HTTPPath:   "/meetings/{meetingId}",
  8872  	}
  8873  
  8874  	if input == nil {
  8875  		input = &GetMeetingInput{}
  8876  	}
  8877  
  8878  	output = &GetMeetingOutput{}
  8879  	req = c.newRequest(op, input, output)
  8880  	return
  8881  }
  8882  
  8883  // GetMeeting API operation for Amazon Chime.
  8884  //
  8885  // Gets the Amazon Chime SDK meeting details for the specified meeting ID. For
  8886  // more information about the Amazon Chime SDK, see Using the Amazon Chime SDK
  8887  // (https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html) in the Amazon
  8888  // Chime Developer Guide .
  8889  //
  8890  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  8891  // with awserr.Error's Code and Message methods to get detailed information about
  8892  // the error.
  8893  //
  8894  // See the AWS API reference guide for Amazon Chime's
  8895  // API operation GetMeeting for usage and error information.
  8896  //
  8897  // Returned Error Types:
  8898  //   * BadRequestException
  8899  //   The input parameters don't match the service's restrictions.
  8900  //
  8901  //   * ForbiddenException
  8902  //   The client is permanently forbidden from making the request.
  8903  //
  8904  //   * NotFoundException
  8905  //   One or more of the resources in the request does not exist in the system.
  8906  //
  8907  //   * ThrottledClientException
  8908  //   The client exceeded its request rate limit.
  8909  //
  8910  //   * UnauthorizedClientException
  8911  //   The client is not currently authorized to make the request.
  8912  //
  8913  //   * ServiceUnavailableException
  8914  //   The service is currently unavailable.
  8915  //
  8916  //   * ServiceFailureException
  8917  //   The service encountered an unexpected error.
  8918  //
  8919  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetMeeting
  8920  func (c *Chime) GetMeeting(input *GetMeetingInput) (*GetMeetingOutput, error) {
  8921  	req, out := c.GetMeetingRequest(input)
  8922  	return out, req.Send()
  8923  }
  8924  
  8925  // GetMeetingWithContext is the same as GetMeeting with the addition of
  8926  // the ability to pass a context and additional request options.
  8927  //
  8928  // See GetMeeting for details on how to use this API operation.
  8929  //
  8930  // The context must be non-nil and will be used for request cancellation. If
  8931  // the context is nil a panic will occur. In the future the SDK may create
  8932  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8933  // for more information on using Contexts.
  8934  func (c *Chime) GetMeetingWithContext(ctx aws.Context, input *GetMeetingInput, opts ...request.Option) (*GetMeetingOutput, error) {
  8935  	req, out := c.GetMeetingRequest(input)
  8936  	req.SetContext(ctx)
  8937  	req.ApplyOptions(opts...)
  8938  	return out, req.Send()
  8939  }
  8940  
  8941  const opGetMessagingSessionEndpoint = "GetMessagingSessionEndpoint"
  8942  
  8943  // GetMessagingSessionEndpointRequest generates a "aws/request.Request" representing the
  8944  // client's request for the GetMessagingSessionEndpoint operation. The "output" return
  8945  // value will be populated with the request's response once the request completes
  8946  // successfully.
  8947  //
  8948  // Use "Send" method on the returned Request to send the API call to the service.
  8949  // the "output" return value is not valid until after Send returns without error.
  8950  //
  8951  // See GetMessagingSessionEndpoint for more information on using the GetMessagingSessionEndpoint
  8952  // API call, and error handling.
  8953  //
  8954  // This method is useful when you want to inject custom logic or configuration
  8955  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  8956  //
  8957  //
  8958  //    // Example sending a request using the GetMessagingSessionEndpointRequest method.
  8959  //    req, resp := client.GetMessagingSessionEndpointRequest(params)
  8960  //
  8961  //    err := req.Send()
  8962  //    if err == nil { // resp is now filled
  8963  //        fmt.Println(resp)
  8964  //    }
  8965  //
  8966  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetMessagingSessionEndpoint
  8967  func (c *Chime) GetMessagingSessionEndpointRequest(input *GetMessagingSessionEndpointInput) (req *request.Request, output *GetMessagingSessionEndpointOutput) {
  8968  	op := &request.Operation{
  8969  		Name:       opGetMessagingSessionEndpoint,
  8970  		HTTPMethod: "GET",
  8971  		HTTPPath:   "/endpoints/messaging-session",
  8972  	}
  8973  
  8974  	if input == nil {
  8975  		input = &GetMessagingSessionEndpointInput{}
  8976  	}
  8977  
  8978  	output = &GetMessagingSessionEndpointOutput{}
  8979  	req = c.newRequest(op, input, output)
  8980  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
  8981  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
  8982  	return
  8983  }
  8984  
  8985  // GetMessagingSessionEndpoint API operation for Amazon Chime.
  8986  //
  8987  // The details of the endpoint for the messaging session.
  8988  //
  8989  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  8990  // with awserr.Error's Code and Message methods to get detailed information about
  8991  // the error.
  8992  //
  8993  // See the AWS API reference guide for Amazon Chime's
  8994  // API operation GetMessagingSessionEndpoint for usage and error information.
  8995  //
  8996  // Returned Error Types:
  8997  //   * UnauthorizedClientException
  8998  //   The client is not currently authorized to make the request.
  8999  //
  9000  //   * ForbiddenException
  9001  //   The client is permanently forbidden from making the request.
  9002  //
  9003  //   * ThrottledClientException
  9004  //   The client exceeded its request rate limit.
  9005  //
  9006  //   * ServiceUnavailableException
  9007  //   The service is currently unavailable.
  9008  //
  9009  //   * ServiceFailureException
  9010  //   The service encountered an unexpected error.
  9011  //
  9012  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetMessagingSessionEndpoint
  9013  func (c *Chime) GetMessagingSessionEndpoint(input *GetMessagingSessionEndpointInput) (*GetMessagingSessionEndpointOutput, error) {
  9014  	req, out := c.GetMessagingSessionEndpointRequest(input)
  9015  	return out, req.Send()
  9016  }
  9017  
  9018  // GetMessagingSessionEndpointWithContext is the same as GetMessagingSessionEndpoint with the addition of
  9019  // the ability to pass a context and additional request options.
  9020  //
  9021  // See GetMessagingSessionEndpoint for details on how to use this API operation.
  9022  //
  9023  // The context must be non-nil and will be used for request cancellation. If
  9024  // the context is nil a panic will occur. In the future the SDK may create
  9025  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9026  // for more information on using Contexts.
  9027  func (c *Chime) GetMessagingSessionEndpointWithContext(ctx aws.Context, input *GetMessagingSessionEndpointInput, opts ...request.Option) (*GetMessagingSessionEndpointOutput, error) {
  9028  	req, out := c.GetMessagingSessionEndpointRequest(input)
  9029  	req.SetContext(ctx)
  9030  	req.ApplyOptions(opts...)
  9031  	return out, req.Send()
  9032  }
  9033  
  9034  const opGetPhoneNumber = "GetPhoneNumber"
  9035  
  9036  // GetPhoneNumberRequest generates a "aws/request.Request" representing the
  9037  // client's request for the GetPhoneNumber operation. The "output" return
  9038  // value will be populated with the request's response once the request completes
  9039  // successfully.
  9040  //
  9041  // Use "Send" method on the returned Request to send the API call to the service.
  9042  // the "output" return value is not valid until after Send returns without error.
  9043  //
  9044  // See GetPhoneNumber for more information on using the GetPhoneNumber
  9045  // API call, and error handling.
  9046  //
  9047  // This method is useful when you want to inject custom logic or configuration
  9048  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  9049  //
  9050  //
  9051  //    // Example sending a request using the GetPhoneNumberRequest method.
  9052  //    req, resp := client.GetPhoneNumberRequest(params)
  9053  //
  9054  //    err := req.Send()
  9055  //    if err == nil { // resp is now filled
  9056  //        fmt.Println(resp)
  9057  //    }
  9058  //
  9059  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumber
  9060  func (c *Chime) GetPhoneNumberRequest(input *GetPhoneNumberInput) (req *request.Request, output *GetPhoneNumberOutput) {
  9061  	op := &request.Operation{
  9062  		Name:       opGetPhoneNumber,
  9063  		HTTPMethod: "GET",
  9064  		HTTPPath:   "/phone-numbers/{phoneNumberId}",
  9065  	}
  9066  
  9067  	if input == nil {
  9068  		input = &GetPhoneNumberInput{}
  9069  	}
  9070  
  9071  	output = &GetPhoneNumberOutput{}
  9072  	req = c.newRequest(op, input, output)
  9073  	return
  9074  }
  9075  
  9076  // GetPhoneNumber API operation for Amazon Chime.
  9077  //
  9078  // Retrieves details for the specified phone number ID, such as associations,
  9079  // capabilities, and product type.
  9080  //
  9081  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  9082  // with awserr.Error's Code and Message methods to get detailed information about
  9083  // the error.
  9084  //
  9085  // See the AWS API reference guide for Amazon Chime's
  9086  // API operation GetPhoneNumber for usage and error information.
  9087  //
  9088  // Returned Error Types:
  9089  //   * UnauthorizedClientException
  9090  //   The client is not currently authorized to make the request.
  9091  //
  9092  //   * NotFoundException
  9093  //   One or more of the resources in the request does not exist in the system.
  9094  //
  9095  //   * ForbiddenException
  9096  //   The client is permanently forbidden from making the request.
  9097  //
  9098  //   * BadRequestException
  9099  //   The input parameters don't match the service's restrictions.
  9100  //
  9101  //   * ThrottledClientException
  9102  //   The client exceeded its request rate limit.
  9103  //
  9104  //   * ServiceUnavailableException
  9105  //   The service is currently unavailable.
  9106  //
  9107  //   * ServiceFailureException
  9108  //   The service encountered an unexpected error.
  9109  //
  9110  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumber
  9111  func (c *Chime) GetPhoneNumber(input *GetPhoneNumberInput) (*GetPhoneNumberOutput, error) {
  9112  	req, out := c.GetPhoneNumberRequest(input)
  9113  	return out, req.Send()
  9114  }
  9115  
  9116  // GetPhoneNumberWithContext is the same as GetPhoneNumber with the addition of
  9117  // the ability to pass a context and additional request options.
  9118  //
  9119  // See GetPhoneNumber for details on how to use this API operation.
  9120  //
  9121  // The context must be non-nil and will be used for request cancellation. If
  9122  // the context is nil a panic will occur. In the future the SDK may create
  9123  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9124  // for more information on using Contexts.
  9125  func (c *Chime) GetPhoneNumberWithContext(ctx aws.Context, input *GetPhoneNumberInput, opts ...request.Option) (*GetPhoneNumberOutput, error) {
  9126  	req, out := c.GetPhoneNumberRequest(input)
  9127  	req.SetContext(ctx)
  9128  	req.ApplyOptions(opts...)
  9129  	return out, req.Send()
  9130  }
  9131  
  9132  const opGetPhoneNumberOrder = "GetPhoneNumberOrder"
  9133  
  9134  // GetPhoneNumberOrderRequest generates a "aws/request.Request" representing the
  9135  // client's request for the GetPhoneNumberOrder operation. The "output" return
  9136  // value will be populated with the request's response once the request completes
  9137  // successfully.
  9138  //
  9139  // Use "Send" method on the returned Request to send the API call to the service.
  9140  // the "output" return value is not valid until after Send returns without error.
  9141  //
  9142  // See GetPhoneNumberOrder for more information on using the GetPhoneNumberOrder
  9143  // API call, and error handling.
  9144  //
  9145  // This method is useful when you want to inject custom logic or configuration
  9146  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  9147  //
  9148  //
  9149  //    // Example sending a request using the GetPhoneNumberOrderRequest method.
  9150  //    req, resp := client.GetPhoneNumberOrderRequest(params)
  9151  //
  9152  //    err := req.Send()
  9153  //    if err == nil { // resp is now filled
  9154  //        fmt.Println(resp)
  9155  //    }
  9156  //
  9157  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumberOrder
  9158  func (c *Chime) GetPhoneNumberOrderRequest(input *GetPhoneNumberOrderInput) (req *request.Request, output *GetPhoneNumberOrderOutput) {
  9159  	op := &request.Operation{
  9160  		Name:       opGetPhoneNumberOrder,
  9161  		HTTPMethod: "GET",
  9162  		HTTPPath:   "/phone-number-orders/{phoneNumberOrderId}",
  9163  	}
  9164  
  9165  	if input == nil {
  9166  		input = &GetPhoneNumberOrderInput{}
  9167  	}
  9168  
  9169  	output = &GetPhoneNumberOrderOutput{}
  9170  	req = c.newRequest(op, input, output)
  9171  	return
  9172  }
  9173  
  9174  // GetPhoneNumberOrder API operation for Amazon Chime.
  9175  //
  9176  // Retrieves details for the specified phone number order, such as the order
  9177  // creation timestamp, phone numbers in E.164 format, product type, and order
  9178  // status.
  9179  //
  9180  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  9181  // with awserr.Error's Code and Message methods to get detailed information about
  9182  // the error.
  9183  //
  9184  // See the AWS API reference guide for Amazon Chime's
  9185  // API operation GetPhoneNumberOrder for usage and error information.
  9186  //
  9187  // Returned Error Types:
  9188  //   * UnauthorizedClientException
  9189  //   The client is not currently authorized to make the request.
  9190  //
  9191  //   * NotFoundException
  9192  //   One or more of the resources in the request does not exist in the system.
  9193  //
  9194  //   * ForbiddenException
  9195  //   The client is permanently forbidden from making the request.
  9196  //
  9197  //   * BadRequestException
  9198  //   The input parameters don't match the service's restrictions.
  9199  //
  9200  //   * ThrottledClientException
  9201  //   The client exceeded its request rate limit.
  9202  //
  9203  //   * ServiceUnavailableException
  9204  //   The service is currently unavailable.
  9205  //
  9206  //   * ServiceFailureException
  9207  //   The service encountered an unexpected error.
  9208  //
  9209  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumberOrder
  9210  func (c *Chime) GetPhoneNumberOrder(input *GetPhoneNumberOrderInput) (*GetPhoneNumberOrderOutput, error) {
  9211  	req, out := c.GetPhoneNumberOrderRequest(input)
  9212  	return out, req.Send()
  9213  }
  9214  
  9215  // GetPhoneNumberOrderWithContext is the same as GetPhoneNumberOrder with the addition of
  9216  // the ability to pass a context and additional request options.
  9217  //
  9218  // See GetPhoneNumberOrder for details on how to use this API operation.
  9219  //
  9220  // The context must be non-nil and will be used for request cancellation. If
  9221  // the context is nil a panic will occur. In the future the SDK may create
  9222  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9223  // for more information on using Contexts.
  9224  func (c *Chime) GetPhoneNumberOrderWithContext(ctx aws.Context, input *GetPhoneNumberOrderInput, opts ...request.Option) (*GetPhoneNumberOrderOutput, error) {
  9225  	req, out := c.GetPhoneNumberOrderRequest(input)
  9226  	req.SetContext(ctx)
  9227  	req.ApplyOptions(opts...)
  9228  	return out, req.Send()
  9229  }
  9230  
  9231  const opGetPhoneNumberSettings = "GetPhoneNumberSettings"
  9232  
  9233  // GetPhoneNumberSettingsRequest generates a "aws/request.Request" representing the
  9234  // client's request for the GetPhoneNumberSettings operation. The "output" return
  9235  // value will be populated with the request's response once the request completes
  9236  // successfully.
  9237  //
  9238  // Use "Send" method on the returned Request to send the API call to the service.
  9239  // the "output" return value is not valid until after Send returns without error.
  9240  //
  9241  // See GetPhoneNumberSettings for more information on using the GetPhoneNumberSettings
  9242  // API call, and error handling.
  9243  //
  9244  // This method is useful when you want to inject custom logic or configuration
  9245  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  9246  //
  9247  //
  9248  //    // Example sending a request using the GetPhoneNumberSettingsRequest method.
  9249  //    req, resp := client.GetPhoneNumberSettingsRequest(params)
  9250  //
  9251  //    err := req.Send()
  9252  //    if err == nil { // resp is now filled
  9253  //        fmt.Println(resp)
  9254  //    }
  9255  //
  9256  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumberSettings
  9257  func (c *Chime) GetPhoneNumberSettingsRequest(input *GetPhoneNumberSettingsInput) (req *request.Request, output *GetPhoneNumberSettingsOutput) {
  9258  	op := &request.Operation{
  9259  		Name:       opGetPhoneNumberSettings,
  9260  		HTTPMethod: "GET",
  9261  		HTTPPath:   "/settings/phone-number",
  9262  	}
  9263  
  9264  	if input == nil {
  9265  		input = &GetPhoneNumberSettingsInput{}
  9266  	}
  9267  
  9268  	output = &GetPhoneNumberSettingsOutput{}
  9269  	req = c.newRequest(op, input, output)
  9270  	return
  9271  }
  9272  
  9273  // GetPhoneNumberSettings API operation for Amazon Chime.
  9274  //
  9275  // Retrieves the phone number settings for the administrator's AWS account,
  9276  // such as the default outbound calling name.
  9277  //
  9278  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  9279  // with awserr.Error's Code and Message methods to get detailed information about
  9280  // the error.
  9281  //
  9282  // See the AWS API reference guide for Amazon Chime's
  9283  // API operation GetPhoneNumberSettings for usage and error information.
  9284  //
  9285  // Returned Error Types:
  9286  //   * UnauthorizedClientException
  9287  //   The client is not currently authorized to make the request.
  9288  //
  9289  //   * ForbiddenException
  9290  //   The client is permanently forbidden from making the request.
  9291  //
  9292  //   * BadRequestException
  9293  //   The input parameters don't match the service's restrictions.
  9294  //
  9295  //   * ThrottledClientException
  9296  //   The client exceeded its request rate limit.
  9297  //
  9298  //   * ServiceUnavailableException
  9299  //   The service is currently unavailable.
  9300  //
  9301  //   * ServiceFailureException
  9302  //   The service encountered an unexpected error.
  9303  //
  9304  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumberSettings
  9305  func (c *Chime) GetPhoneNumberSettings(input *GetPhoneNumberSettingsInput) (*GetPhoneNumberSettingsOutput, error) {
  9306  	req, out := c.GetPhoneNumberSettingsRequest(input)
  9307  	return out, req.Send()
  9308  }
  9309  
  9310  // GetPhoneNumberSettingsWithContext is the same as GetPhoneNumberSettings with the addition of
  9311  // the ability to pass a context and additional request options.
  9312  //
  9313  // See GetPhoneNumberSettings for details on how to use this API operation.
  9314  //
  9315  // The context must be non-nil and will be used for request cancellation. If
  9316  // the context is nil a panic will occur. In the future the SDK may create
  9317  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9318  // for more information on using Contexts.
  9319  func (c *Chime) GetPhoneNumberSettingsWithContext(ctx aws.Context, input *GetPhoneNumberSettingsInput, opts ...request.Option) (*GetPhoneNumberSettingsOutput, error) {
  9320  	req, out := c.GetPhoneNumberSettingsRequest(input)
  9321  	req.SetContext(ctx)
  9322  	req.ApplyOptions(opts...)
  9323  	return out, req.Send()
  9324  }
  9325  
  9326  const opGetProxySession = "GetProxySession"
  9327  
  9328  // GetProxySessionRequest generates a "aws/request.Request" representing the
  9329  // client's request for the GetProxySession operation. The "output" return
  9330  // value will be populated with the request's response once the request completes
  9331  // successfully.
  9332  //
  9333  // Use "Send" method on the returned Request to send the API call to the service.
  9334  // the "output" return value is not valid until after Send returns without error.
  9335  //
  9336  // See GetProxySession for more information on using the GetProxySession
  9337  // API call, and error handling.
  9338  //
  9339  // This method is useful when you want to inject custom logic or configuration
  9340  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  9341  //
  9342  //
  9343  //    // Example sending a request using the GetProxySessionRequest method.
  9344  //    req, resp := client.GetProxySessionRequest(params)
  9345  //
  9346  //    err := req.Send()
  9347  //    if err == nil { // resp is now filled
  9348  //        fmt.Println(resp)
  9349  //    }
  9350  //
  9351  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetProxySession
  9352  func (c *Chime) GetProxySessionRequest(input *GetProxySessionInput) (req *request.Request, output *GetProxySessionOutput) {
  9353  	op := &request.Operation{
  9354  		Name:       opGetProxySession,
  9355  		HTTPMethod: "GET",
  9356  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/proxy-sessions/{proxySessionId}",
  9357  	}
  9358  
  9359  	if input == nil {
  9360  		input = &GetProxySessionInput{}
  9361  	}
  9362  
  9363  	output = &GetProxySessionOutput{}
  9364  	req = c.newRequest(op, input, output)
  9365  	return
  9366  }
  9367  
  9368  // GetProxySession API operation for Amazon Chime.
  9369  //
  9370  // Gets the specified proxy session details for the specified Amazon Chime Voice
  9371  // Connector.
  9372  //
  9373  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  9374  // with awserr.Error's Code and Message methods to get detailed information about
  9375  // the error.
  9376  //
  9377  // See the AWS API reference guide for Amazon Chime's
  9378  // API operation GetProxySession for usage and error information.
  9379  //
  9380  // Returned Error Types:
  9381  //   * UnauthorizedClientException
  9382  //   The client is not currently authorized to make the request.
  9383  //
  9384  //   * NotFoundException
  9385  //   One or more of the resources in the request does not exist in the system.
  9386  //
  9387  //   * ForbiddenException
  9388  //   The client is permanently forbidden from making the request.
  9389  //
  9390  //   * BadRequestException
  9391  //   The input parameters don't match the service's restrictions.
  9392  //
  9393  //   * ThrottledClientException
  9394  //   The client exceeded its request rate limit.
  9395  //
  9396  //   * ServiceUnavailableException
  9397  //   The service is currently unavailable.
  9398  //
  9399  //   * ServiceFailureException
  9400  //   The service encountered an unexpected error.
  9401  //
  9402  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetProxySession
  9403  func (c *Chime) GetProxySession(input *GetProxySessionInput) (*GetProxySessionOutput, error) {
  9404  	req, out := c.GetProxySessionRequest(input)
  9405  	return out, req.Send()
  9406  }
  9407  
  9408  // GetProxySessionWithContext is the same as GetProxySession with the addition of
  9409  // the ability to pass a context and additional request options.
  9410  //
  9411  // See GetProxySession for details on how to use this API operation.
  9412  //
  9413  // The context must be non-nil and will be used for request cancellation. If
  9414  // the context is nil a panic will occur. In the future the SDK may create
  9415  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9416  // for more information on using Contexts.
  9417  func (c *Chime) GetProxySessionWithContext(ctx aws.Context, input *GetProxySessionInput, opts ...request.Option) (*GetProxySessionOutput, error) {
  9418  	req, out := c.GetProxySessionRequest(input)
  9419  	req.SetContext(ctx)
  9420  	req.ApplyOptions(opts...)
  9421  	return out, req.Send()
  9422  }
  9423  
  9424  const opGetRetentionSettings = "GetRetentionSettings"
  9425  
  9426  // GetRetentionSettingsRequest generates a "aws/request.Request" representing the
  9427  // client's request for the GetRetentionSettings operation. The "output" return
  9428  // value will be populated with the request's response once the request completes
  9429  // successfully.
  9430  //
  9431  // Use "Send" method on the returned Request to send the API call to the service.
  9432  // the "output" return value is not valid until after Send returns without error.
  9433  //
  9434  // See GetRetentionSettings for more information on using the GetRetentionSettings
  9435  // API call, and error handling.
  9436  //
  9437  // This method is useful when you want to inject custom logic or configuration
  9438  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  9439  //
  9440  //
  9441  //    // Example sending a request using the GetRetentionSettingsRequest method.
  9442  //    req, resp := client.GetRetentionSettingsRequest(params)
  9443  //
  9444  //    err := req.Send()
  9445  //    if err == nil { // resp is now filled
  9446  //        fmt.Println(resp)
  9447  //    }
  9448  //
  9449  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRetentionSettings
  9450  func (c *Chime) GetRetentionSettingsRequest(input *GetRetentionSettingsInput) (req *request.Request, output *GetRetentionSettingsOutput) {
  9451  	op := &request.Operation{
  9452  		Name:       opGetRetentionSettings,
  9453  		HTTPMethod: "GET",
  9454  		HTTPPath:   "/accounts/{accountId}/retention-settings",
  9455  	}
  9456  
  9457  	if input == nil {
  9458  		input = &GetRetentionSettingsInput{}
  9459  	}
  9460  
  9461  	output = &GetRetentionSettingsOutput{}
  9462  	req = c.newRequest(op, input, output)
  9463  	return
  9464  }
  9465  
  9466  // GetRetentionSettings API operation for Amazon Chime.
  9467  //
  9468  // Gets the retention settings for the specified Amazon Chime Enterprise account.
  9469  // For more information about retention settings, see Managing Chat Retention
  9470  // Policies (https://docs.aws.amazon.com/chime/latest/ag/chat-retention.html)
  9471  // in the Amazon Chime Administration Guide.
  9472  //
  9473  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  9474  // with awserr.Error's Code and Message methods to get detailed information about
  9475  // the error.
  9476  //
  9477  // See the AWS API reference guide for Amazon Chime's
  9478  // API operation GetRetentionSettings for usage and error information.
  9479  //
  9480  // Returned Error Types:
  9481  //   * UnauthorizedClientException
  9482  //   The client is not currently authorized to make the request.
  9483  //
  9484  //   * NotFoundException
  9485  //   One or more of the resources in the request does not exist in the system.
  9486  //
  9487  //   * BadRequestException
  9488  //   The input parameters don't match the service's restrictions.
  9489  //
  9490  //   * ForbiddenException
  9491  //   The client is permanently forbidden from making the request.
  9492  //
  9493  //   * ThrottledClientException
  9494  //   The client exceeded its request rate limit.
  9495  //
  9496  //   * ServiceUnavailableException
  9497  //   The service is currently unavailable.
  9498  //
  9499  //   * ServiceFailureException
  9500  //   The service encountered an unexpected error.
  9501  //
  9502  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRetentionSettings
  9503  func (c *Chime) GetRetentionSettings(input *GetRetentionSettingsInput) (*GetRetentionSettingsOutput, error) {
  9504  	req, out := c.GetRetentionSettingsRequest(input)
  9505  	return out, req.Send()
  9506  }
  9507  
  9508  // GetRetentionSettingsWithContext is the same as GetRetentionSettings with the addition of
  9509  // the ability to pass a context and additional request options.
  9510  //
  9511  // See GetRetentionSettings for details on how to use this API operation.
  9512  //
  9513  // The context must be non-nil and will be used for request cancellation. If
  9514  // the context is nil a panic will occur. In the future the SDK may create
  9515  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9516  // for more information on using Contexts.
  9517  func (c *Chime) GetRetentionSettingsWithContext(ctx aws.Context, input *GetRetentionSettingsInput, opts ...request.Option) (*GetRetentionSettingsOutput, error) {
  9518  	req, out := c.GetRetentionSettingsRequest(input)
  9519  	req.SetContext(ctx)
  9520  	req.ApplyOptions(opts...)
  9521  	return out, req.Send()
  9522  }
  9523  
  9524  const opGetRoom = "GetRoom"
  9525  
  9526  // GetRoomRequest generates a "aws/request.Request" representing the
  9527  // client's request for the GetRoom operation. The "output" return
  9528  // value will be populated with the request's response once the request completes
  9529  // successfully.
  9530  //
  9531  // Use "Send" method on the returned Request to send the API call to the service.
  9532  // the "output" return value is not valid until after Send returns without error.
  9533  //
  9534  // See GetRoom for more information on using the GetRoom
  9535  // API call, and error handling.
  9536  //
  9537  // This method is useful when you want to inject custom logic or configuration
  9538  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  9539  //
  9540  //
  9541  //    // Example sending a request using the GetRoomRequest method.
  9542  //    req, resp := client.GetRoomRequest(params)
  9543  //
  9544  //    err := req.Send()
  9545  //    if err == nil { // resp is now filled
  9546  //        fmt.Println(resp)
  9547  //    }
  9548  //
  9549  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRoom
  9550  func (c *Chime) GetRoomRequest(input *GetRoomInput) (req *request.Request, output *GetRoomOutput) {
  9551  	op := &request.Operation{
  9552  		Name:       opGetRoom,
  9553  		HTTPMethod: "GET",
  9554  		HTTPPath:   "/accounts/{accountId}/rooms/{roomId}",
  9555  	}
  9556  
  9557  	if input == nil {
  9558  		input = &GetRoomInput{}
  9559  	}
  9560  
  9561  	output = &GetRoomOutput{}
  9562  	req = c.newRequest(op, input, output)
  9563  	return
  9564  }
  9565  
  9566  // GetRoom API operation for Amazon Chime.
  9567  //
  9568  // Retrieves room details, such as the room name, for a room in an Amazon Chime
  9569  // Enterprise account.
  9570  //
  9571  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  9572  // with awserr.Error's Code and Message methods to get detailed information about
  9573  // the error.
  9574  //
  9575  // See the AWS API reference guide for Amazon Chime's
  9576  // API operation GetRoom for usage and error information.
  9577  //
  9578  // Returned Error Types:
  9579  //   * BadRequestException
  9580  //   The input parameters don't match the service's restrictions.
  9581  //
  9582  //   * ForbiddenException
  9583  //   The client is permanently forbidden from making the request.
  9584  //
  9585  //   * NotFoundException
  9586  //   One or more of the resources in the request does not exist in the system.
  9587  //
  9588  //   * UnauthorizedClientException
  9589  //   The client is not currently authorized to make the request.
  9590  //
  9591  //   * ThrottledClientException
  9592  //   The client exceeded its request rate limit.
  9593  //
  9594  //   * ServiceUnavailableException
  9595  //   The service is currently unavailable.
  9596  //
  9597  //   * ServiceFailureException
  9598  //   The service encountered an unexpected error.
  9599  //
  9600  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRoom
  9601  func (c *Chime) GetRoom(input *GetRoomInput) (*GetRoomOutput, error) {
  9602  	req, out := c.GetRoomRequest(input)
  9603  	return out, req.Send()
  9604  }
  9605  
  9606  // GetRoomWithContext is the same as GetRoom with the addition of
  9607  // the ability to pass a context and additional request options.
  9608  //
  9609  // See GetRoom for details on how to use this API operation.
  9610  //
  9611  // The context must be non-nil and will be used for request cancellation. If
  9612  // the context is nil a panic will occur. In the future the SDK may create
  9613  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9614  // for more information on using Contexts.
  9615  func (c *Chime) GetRoomWithContext(ctx aws.Context, input *GetRoomInput, opts ...request.Option) (*GetRoomOutput, error) {
  9616  	req, out := c.GetRoomRequest(input)
  9617  	req.SetContext(ctx)
  9618  	req.ApplyOptions(opts...)
  9619  	return out, req.Send()
  9620  }
  9621  
  9622  const opGetSipMediaApplication = "GetSipMediaApplication"
  9623  
  9624  // GetSipMediaApplicationRequest generates a "aws/request.Request" representing the
  9625  // client's request for the GetSipMediaApplication operation. The "output" return
  9626  // value will be populated with the request's response once the request completes
  9627  // successfully.
  9628  //
  9629  // Use "Send" method on the returned Request to send the API call to the service.
  9630  // the "output" return value is not valid until after Send returns without error.
  9631  //
  9632  // See GetSipMediaApplication for more information on using the GetSipMediaApplication
  9633  // API call, and error handling.
  9634  //
  9635  // This method is useful when you want to inject custom logic or configuration
  9636  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  9637  //
  9638  //
  9639  //    // Example sending a request using the GetSipMediaApplicationRequest method.
  9640  //    req, resp := client.GetSipMediaApplicationRequest(params)
  9641  //
  9642  //    err := req.Send()
  9643  //    if err == nil { // resp is now filled
  9644  //        fmt.Println(resp)
  9645  //    }
  9646  //
  9647  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetSipMediaApplication
  9648  func (c *Chime) GetSipMediaApplicationRequest(input *GetSipMediaApplicationInput) (req *request.Request, output *GetSipMediaApplicationOutput) {
  9649  	op := &request.Operation{
  9650  		Name:       opGetSipMediaApplication,
  9651  		HTTPMethod: "GET",
  9652  		HTTPPath:   "/sip-media-applications/{sipMediaApplicationId}",
  9653  	}
  9654  
  9655  	if input == nil {
  9656  		input = &GetSipMediaApplicationInput{}
  9657  	}
  9658  
  9659  	output = &GetSipMediaApplicationOutput{}
  9660  	req = c.newRequest(op, input, output)
  9661  	return
  9662  }
  9663  
  9664  // GetSipMediaApplication API operation for Amazon Chime.
  9665  //
  9666  // Retrieves the information for a SIP media application, including name, AWS
  9667  // Region, and endpoints.
  9668  //
  9669  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  9670  // with awserr.Error's Code and Message methods to get detailed information about
  9671  // the error.
  9672  //
  9673  // See the AWS API reference guide for Amazon Chime's
  9674  // API operation GetSipMediaApplication for usage and error information.
  9675  //
  9676  // Returned Error Types:
  9677  //   * UnauthorizedClientException
  9678  //   The client is not currently authorized to make the request.
  9679  //
  9680  //   * NotFoundException
  9681  //   One or more of the resources in the request does not exist in the system.
  9682  //
  9683  //   * ForbiddenException
  9684  //   The client is permanently forbidden from making the request.
  9685  //
  9686  //   * BadRequestException
  9687  //   The input parameters don't match the service's restrictions.
  9688  //
  9689  //   * ThrottledClientException
  9690  //   The client exceeded its request rate limit.
  9691  //
  9692  //   * ServiceUnavailableException
  9693  //   The service is currently unavailable.
  9694  //
  9695  //   * ServiceFailureException
  9696  //   The service encountered an unexpected error.
  9697  //
  9698  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetSipMediaApplication
  9699  func (c *Chime) GetSipMediaApplication(input *GetSipMediaApplicationInput) (*GetSipMediaApplicationOutput, error) {
  9700  	req, out := c.GetSipMediaApplicationRequest(input)
  9701  	return out, req.Send()
  9702  }
  9703  
  9704  // GetSipMediaApplicationWithContext is the same as GetSipMediaApplication with the addition of
  9705  // the ability to pass a context and additional request options.
  9706  //
  9707  // See GetSipMediaApplication for details on how to use this API operation.
  9708  //
  9709  // The context must be non-nil and will be used for request cancellation. If
  9710  // the context is nil a panic will occur. In the future the SDK may create
  9711  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9712  // for more information on using Contexts.
  9713  func (c *Chime) GetSipMediaApplicationWithContext(ctx aws.Context, input *GetSipMediaApplicationInput, opts ...request.Option) (*GetSipMediaApplicationOutput, error) {
  9714  	req, out := c.GetSipMediaApplicationRequest(input)
  9715  	req.SetContext(ctx)
  9716  	req.ApplyOptions(opts...)
  9717  	return out, req.Send()
  9718  }
  9719  
  9720  const opGetSipMediaApplicationLoggingConfiguration = "GetSipMediaApplicationLoggingConfiguration"
  9721  
  9722  // GetSipMediaApplicationLoggingConfigurationRequest generates a "aws/request.Request" representing the
  9723  // client's request for the GetSipMediaApplicationLoggingConfiguration operation. The "output" return
  9724  // value will be populated with the request's response once the request completes
  9725  // successfully.
  9726  //
  9727  // Use "Send" method on the returned Request to send the API call to the service.
  9728  // the "output" return value is not valid until after Send returns without error.
  9729  //
  9730  // See GetSipMediaApplicationLoggingConfiguration for more information on using the GetSipMediaApplicationLoggingConfiguration
  9731  // API call, and error handling.
  9732  //
  9733  // This method is useful when you want to inject custom logic or configuration
  9734  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  9735  //
  9736  //
  9737  //    // Example sending a request using the GetSipMediaApplicationLoggingConfigurationRequest method.
  9738  //    req, resp := client.GetSipMediaApplicationLoggingConfigurationRequest(params)
  9739  //
  9740  //    err := req.Send()
  9741  //    if err == nil { // resp is now filled
  9742  //        fmt.Println(resp)
  9743  //    }
  9744  //
  9745  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetSipMediaApplicationLoggingConfiguration
  9746  func (c *Chime) GetSipMediaApplicationLoggingConfigurationRequest(input *GetSipMediaApplicationLoggingConfigurationInput) (req *request.Request, output *GetSipMediaApplicationLoggingConfigurationOutput) {
  9747  	op := &request.Operation{
  9748  		Name:       opGetSipMediaApplicationLoggingConfiguration,
  9749  		HTTPMethod: "GET",
  9750  		HTTPPath:   "/sip-media-applications/{sipMediaApplicationId}/logging-configuration",
  9751  	}
  9752  
  9753  	if input == nil {
  9754  		input = &GetSipMediaApplicationLoggingConfigurationInput{}
  9755  	}
  9756  
  9757  	output = &GetSipMediaApplicationLoggingConfigurationOutput{}
  9758  	req = c.newRequest(op, input, output)
  9759  	return
  9760  }
  9761  
  9762  // GetSipMediaApplicationLoggingConfiguration API operation for Amazon Chime.
  9763  //
  9764  // Returns the logging configuration for the specified SIP media application.
  9765  //
  9766  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  9767  // with awserr.Error's Code and Message methods to get detailed information about
  9768  // the error.
  9769  //
  9770  // See the AWS API reference guide for Amazon Chime's
  9771  // API operation GetSipMediaApplicationLoggingConfiguration for usage and error information.
  9772  //
  9773  // Returned Error Types:
  9774  //   * UnauthorizedClientException
  9775  //   The client is not currently authorized to make the request.
  9776  //
  9777  //   * NotFoundException
  9778  //   One or more of the resources in the request does not exist in the system.
  9779  //
  9780  //   * ForbiddenException
  9781  //   The client is permanently forbidden from making the request.
  9782  //
  9783  //   * BadRequestException
  9784  //   The input parameters don't match the service's restrictions.
  9785  //
  9786  //   * ThrottledClientException
  9787  //   The client exceeded its request rate limit.
  9788  //
  9789  //   * ServiceUnavailableException
  9790  //   The service is currently unavailable.
  9791  //
  9792  //   * ServiceFailureException
  9793  //   The service encountered an unexpected error.
  9794  //
  9795  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetSipMediaApplicationLoggingConfiguration
  9796  func (c *Chime) GetSipMediaApplicationLoggingConfiguration(input *GetSipMediaApplicationLoggingConfigurationInput) (*GetSipMediaApplicationLoggingConfigurationOutput, error) {
  9797  	req, out := c.GetSipMediaApplicationLoggingConfigurationRequest(input)
  9798  	return out, req.Send()
  9799  }
  9800  
  9801  // GetSipMediaApplicationLoggingConfigurationWithContext is the same as GetSipMediaApplicationLoggingConfiguration with the addition of
  9802  // the ability to pass a context and additional request options.
  9803  //
  9804  // See GetSipMediaApplicationLoggingConfiguration for details on how to use this API operation.
  9805  //
  9806  // The context must be non-nil and will be used for request cancellation. If
  9807  // the context is nil a panic will occur. In the future the SDK may create
  9808  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9809  // for more information on using Contexts.
  9810  func (c *Chime) GetSipMediaApplicationLoggingConfigurationWithContext(ctx aws.Context, input *GetSipMediaApplicationLoggingConfigurationInput, opts ...request.Option) (*GetSipMediaApplicationLoggingConfigurationOutput, error) {
  9811  	req, out := c.GetSipMediaApplicationLoggingConfigurationRequest(input)
  9812  	req.SetContext(ctx)
  9813  	req.ApplyOptions(opts...)
  9814  	return out, req.Send()
  9815  }
  9816  
  9817  const opGetSipRule = "GetSipRule"
  9818  
  9819  // GetSipRuleRequest generates a "aws/request.Request" representing the
  9820  // client's request for the GetSipRule operation. The "output" return
  9821  // value will be populated with the request's response once the request completes
  9822  // successfully.
  9823  //
  9824  // Use "Send" method on the returned Request to send the API call to the service.
  9825  // the "output" return value is not valid until after Send returns without error.
  9826  //
  9827  // See GetSipRule for more information on using the GetSipRule
  9828  // API call, and error handling.
  9829  //
  9830  // This method is useful when you want to inject custom logic or configuration
  9831  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  9832  //
  9833  //
  9834  //    // Example sending a request using the GetSipRuleRequest method.
  9835  //    req, resp := client.GetSipRuleRequest(params)
  9836  //
  9837  //    err := req.Send()
  9838  //    if err == nil { // resp is now filled
  9839  //        fmt.Println(resp)
  9840  //    }
  9841  //
  9842  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetSipRule
  9843  func (c *Chime) GetSipRuleRequest(input *GetSipRuleInput) (req *request.Request, output *GetSipRuleOutput) {
  9844  	op := &request.Operation{
  9845  		Name:       opGetSipRule,
  9846  		HTTPMethod: "GET",
  9847  		HTTPPath:   "/sip-rules/{sipRuleId}",
  9848  	}
  9849  
  9850  	if input == nil {
  9851  		input = &GetSipRuleInput{}
  9852  	}
  9853  
  9854  	output = &GetSipRuleOutput{}
  9855  	req = c.newRequest(op, input, output)
  9856  	return
  9857  }
  9858  
  9859  // GetSipRule API operation for Amazon Chime.
  9860  //
  9861  // Retrieves the details of a SIP rule, such as the rule ID, name, triggers,
  9862  // and target endpoints.
  9863  //
  9864  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  9865  // with awserr.Error's Code and Message methods to get detailed information about
  9866  // the error.
  9867  //
  9868  // See the AWS API reference guide for Amazon Chime's
  9869  // API operation GetSipRule for usage and error information.
  9870  //
  9871  // Returned Error Types:
  9872  //   * UnauthorizedClientException
  9873  //   The client is not currently authorized to make the request.
  9874  //
  9875  //   * NotFoundException
  9876  //   One or more of the resources in the request does not exist in the system.
  9877  //
  9878  //   * ForbiddenException
  9879  //   The client is permanently forbidden from making the request.
  9880  //
  9881  //   * BadRequestException
  9882  //   The input parameters don't match the service's restrictions.
  9883  //
  9884  //   * ThrottledClientException
  9885  //   The client exceeded its request rate limit.
  9886  //
  9887  //   * ServiceUnavailableException
  9888  //   The service is currently unavailable.
  9889  //
  9890  //   * ServiceFailureException
  9891  //   The service encountered an unexpected error.
  9892  //
  9893  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetSipRule
  9894  func (c *Chime) GetSipRule(input *GetSipRuleInput) (*GetSipRuleOutput, error) {
  9895  	req, out := c.GetSipRuleRequest(input)
  9896  	return out, req.Send()
  9897  }
  9898  
  9899  // GetSipRuleWithContext is the same as GetSipRule with the addition of
  9900  // the ability to pass a context and additional request options.
  9901  //
  9902  // See GetSipRule for details on how to use this API operation.
  9903  //
  9904  // The context must be non-nil and will be used for request cancellation. If
  9905  // the context is nil a panic will occur. In the future the SDK may create
  9906  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9907  // for more information on using Contexts.
  9908  func (c *Chime) GetSipRuleWithContext(ctx aws.Context, input *GetSipRuleInput, opts ...request.Option) (*GetSipRuleOutput, error) {
  9909  	req, out := c.GetSipRuleRequest(input)
  9910  	req.SetContext(ctx)
  9911  	req.ApplyOptions(opts...)
  9912  	return out, req.Send()
  9913  }
  9914  
  9915  const opGetUser = "GetUser"
  9916  
  9917  // GetUserRequest generates a "aws/request.Request" representing the
  9918  // client's request for the GetUser operation. The "output" return
  9919  // value will be populated with the request's response once the request completes
  9920  // successfully.
  9921  //
  9922  // Use "Send" method on the returned Request to send the API call to the service.
  9923  // the "output" return value is not valid until after Send returns without error.
  9924  //
  9925  // See GetUser for more information on using the GetUser
  9926  // API call, and error handling.
  9927  //
  9928  // This method is useful when you want to inject custom logic or configuration
  9929  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  9930  //
  9931  //
  9932  //    // Example sending a request using the GetUserRequest method.
  9933  //    req, resp := client.GetUserRequest(params)
  9934  //
  9935  //    err := req.Send()
  9936  //    if err == nil { // resp is now filled
  9937  //        fmt.Println(resp)
  9938  //    }
  9939  //
  9940  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetUser
  9941  func (c *Chime) GetUserRequest(input *GetUserInput) (req *request.Request, output *GetUserOutput) {
  9942  	op := &request.Operation{
  9943  		Name:       opGetUser,
  9944  		HTTPMethod: "GET",
  9945  		HTTPPath:   "/accounts/{accountId}/users/{userId}",
  9946  	}
  9947  
  9948  	if input == nil {
  9949  		input = &GetUserInput{}
  9950  	}
  9951  
  9952  	output = &GetUserOutput{}
  9953  	req = c.newRequest(op, input, output)
  9954  	return
  9955  }
  9956  
  9957  // GetUser API operation for Amazon Chime.
  9958  //
  9959  // Retrieves details for the specified user ID, such as primary email address,
  9960  // license type,and personal meeting PIN.
  9961  //
  9962  // To retrieve user details with an email address instead of a user ID, use
  9963  // the ListUsers action, and then filter by email address.
  9964  //
  9965  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  9966  // with awserr.Error's Code and Message methods to get detailed information about
  9967  // the error.
  9968  //
  9969  // See the AWS API reference guide for Amazon Chime's
  9970  // API operation GetUser for usage and error information.
  9971  //
  9972  // Returned Error Types:
  9973  //   * UnauthorizedClientException
  9974  //   The client is not currently authorized to make the request.
  9975  //
  9976  //   * NotFoundException
  9977  //   One or more of the resources in the request does not exist in the system.
  9978  //
  9979  //   * ForbiddenException
  9980  //   The client is permanently forbidden from making the request.
  9981  //
  9982  //   * BadRequestException
  9983  //   The input parameters don't match the service's restrictions.
  9984  //
  9985  //   * ThrottledClientException
  9986  //   The client exceeded its request rate limit.
  9987  //
  9988  //   * ServiceUnavailableException
  9989  //   The service is currently unavailable.
  9990  //
  9991  //   * ServiceFailureException
  9992  //   The service encountered an unexpected error.
  9993  //
  9994  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetUser
  9995  func (c *Chime) GetUser(input *GetUserInput) (*GetUserOutput, error) {
  9996  	req, out := c.GetUserRequest(input)
  9997  	return out, req.Send()
  9998  }
  9999  
 10000  // GetUserWithContext is the same as GetUser with the addition of
 10001  // the ability to pass a context and additional request options.
 10002  //
 10003  // See GetUser for details on how to use this API operation.
 10004  //
 10005  // The context must be non-nil and will be used for request cancellation. If
 10006  // the context is nil a panic will occur. In the future the SDK may create
 10007  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 10008  // for more information on using Contexts.
 10009  func (c *Chime) GetUserWithContext(ctx aws.Context, input *GetUserInput, opts ...request.Option) (*GetUserOutput, error) {
 10010  	req, out := c.GetUserRequest(input)
 10011  	req.SetContext(ctx)
 10012  	req.ApplyOptions(opts...)
 10013  	return out, req.Send()
 10014  }
 10015  
 10016  const opGetUserSettings = "GetUserSettings"
 10017  
 10018  // GetUserSettingsRequest generates a "aws/request.Request" representing the
 10019  // client's request for the GetUserSettings operation. The "output" return
 10020  // value will be populated with the request's response once the request completes
 10021  // successfully.
 10022  //
 10023  // Use "Send" method on the returned Request to send the API call to the service.
 10024  // the "output" return value is not valid until after Send returns without error.
 10025  //
 10026  // See GetUserSettings for more information on using the GetUserSettings
 10027  // API call, and error handling.
 10028  //
 10029  // This method is useful when you want to inject custom logic or configuration
 10030  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 10031  //
 10032  //
 10033  //    // Example sending a request using the GetUserSettingsRequest method.
 10034  //    req, resp := client.GetUserSettingsRequest(params)
 10035  //
 10036  //    err := req.Send()
 10037  //    if err == nil { // resp is now filled
 10038  //        fmt.Println(resp)
 10039  //    }
 10040  //
 10041  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetUserSettings
 10042  func (c *Chime) GetUserSettingsRequest(input *GetUserSettingsInput) (req *request.Request, output *GetUserSettingsOutput) {
 10043  	op := &request.Operation{
 10044  		Name:       opGetUserSettings,
 10045  		HTTPMethod: "GET",
 10046  		HTTPPath:   "/accounts/{accountId}/users/{userId}/settings",
 10047  	}
 10048  
 10049  	if input == nil {
 10050  		input = &GetUserSettingsInput{}
 10051  	}
 10052  
 10053  	output = &GetUserSettingsOutput{}
 10054  	req = c.newRequest(op, input, output)
 10055  	return
 10056  }
 10057  
 10058  // GetUserSettings API operation for Amazon Chime.
 10059  //
 10060  // Retrieves settings for the specified user ID, such as any associated phone
 10061  // number settings.
 10062  //
 10063  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 10064  // with awserr.Error's Code and Message methods to get detailed information about
 10065  // the error.
 10066  //
 10067  // See the AWS API reference guide for Amazon Chime's
 10068  // API operation GetUserSettings for usage and error information.
 10069  //
 10070  // Returned Error Types:
 10071  //   * UnauthorizedClientException
 10072  //   The client is not currently authorized to make the request.
 10073  //
 10074  //   * NotFoundException
 10075  //   One or more of the resources in the request does not exist in the system.
 10076  //
 10077  //   * ForbiddenException
 10078  //   The client is permanently forbidden from making the request.
 10079  //
 10080  //   * BadRequestException
 10081  //   The input parameters don't match the service's restrictions.
 10082  //
 10083  //   * ThrottledClientException
 10084  //   The client exceeded its request rate limit.
 10085  //
 10086  //   * ServiceUnavailableException
 10087  //   The service is currently unavailable.
 10088  //
 10089  //   * ServiceFailureException
 10090  //   The service encountered an unexpected error.
 10091  //
 10092  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetUserSettings
 10093  func (c *Chime) GetUserSettings(input *GetUserSettingsInput) (*GetUserSettingsOutput, error) {
 10094  	req, out := c.GetUserSettingsRequest(input)
 10095  	return out, req.Send()
 10096  }
 10097  
 10098  // GetUserSettingsWithContext is the same as GetUserSettings with the addition of
 10099  // the ability to pass a context and additional request options.
 10100  //
 10101  // See GetUserSettings for details on how to use this API operation.
 10102  //
 10103  // The context must be non-nil and will be used for request cancellation. If
 10104  // the context is nil a panic will occur. In the future the SDK may create
 10105  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 10106  // for more information on using Contexts.
 10107  func (c *Chime) GetUserSettingsWithContext(ctx aws.Context, input *GetUserSettingsInput, opts ...request.Option) (*GetUserSettingsOutput, error) {
 10108  	req, out := c.GetUserSettingsRequest(input)
 10109  	req.SetContext(ctx)
 10110  	req.ApplyOptions(opts...)
 10111  	return out, req.Send()
 10112  }
 10113  
 10114  const opGetVoiceConnector = "GetVoiceConnector"
 10115  
 10116  // GetVoiceConnectorRequest generates a "aws/request.Request" representing the
 10117  // client's request for the GetVoiceConnector operation. The "output" return
 10118  // value will be populated with the request's response once the request completes
 10119  // successfully.
 10120  //
 10121  // Use "Send" method on the returned Request to send the API call to the service.
 10122  // the "output" return value is not valid until after Send returns without error.
 10123  //
 10124  // See GetVoiceConnector for more information on using the GetVoiceConnector
 10125  // API call, and error handling.
 10126  //
 10127  // This method is useful when you want to inject custom logic or configuration
 10128  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 10129  //
 10130  //
 10131  //    // Example sending a request using the GetVoiceConnectorRequest method.
 10132  //    req, resp := client.GetVoiceConnectorRequest(params)
 10133  //
 10134  //    err := req.Send()
 10135  //    if err == nil { // resp is now filled
 10136  //        fmt.Println(resp)
 10137  //    }
 10138  //
 10139  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnector
 10140  func (c *Chime) GetVoiceConnectorRequest(input *GetVoiceConnectorInput) (req *request.Request, output *GetVoiceConnectorOutput) {
 10141  	op := &request.Operation{
 10142  		Name:       opGetVoiceConnector,
 10143  		HTTPMethod: "GET",
 10144  		HTTPPath:   "/voice-connectors/{voiceConnectorId}",
 10145  	}
 10146  
 10147  	if input == nil {
 10148  		input = &GetVoiceConnectorInput{}
 10149  	}
 10150  
 10151  	output = &GetVoiceConnectorOutput{}
 10152  	req = c.newRequest(op, input, output)
 10153  	return
 10154  }
 10155  
 10156  // GetVoiceConnector API operation for Amazon Chime.
 10157  //
 10158  // Retrieves details for the specified Amazon Chime Voice Connector, such as
 10159  // timestamps,name, outbound host, and encryption requirements.
 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 GetVoiceConnector 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/GetVoiceConnector
 10191  func (c *Chime) GetVoiceConnector(input *GetVoiceConnectorInput) (*GetVoiceConnectorOutput, error) {
 10192  	req, out := c.GetVoiceConnectorRequest(input)
 10193  	return out, req.Send()
 10194  }
 10195  
 10196  // GetVoiceConnectorWithContext is the same as GetVoiceConnector with the addition of
 10197  // the ability to pass a context and additional request options.
 10198  //
 10199  // See GetVoiceConnector 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.
 10205  func (c *Chime) GetVoiceConnectorWithContext(ctx aws.Context, input *GetVoiceConnectorInput, opts ...request.Option) (*GetVoiceConnectorOutput, error) {
 10206  	req, out := c.GetVoiceConnectorRequest(input)
 10207  	req.SetContext(ctx)
 10208  	req.ApplyOptions(opts...)
 10209  	return out, req.Send()
 10210  }
 10211  
 10212  const opGetVoiceConnectorEmergencyCallingConfiguration = "GetVoiceConnectorEmergencyCallingConfiguration"
 10213  
 10214  // GetVoiceConnectorEmergencyCallingConfigurationRequest generates a "aws/request.Request" representing the
 10215  // client's request for the GetVoiceConnectorEmergencyCallingConfiguration 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 GetVoiceConnectorEmergencyCallingConfiguration for more information on using the GetVoiceConnectorEmergencyCallingConfiguration
 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 GetVoiceConnectorEmergencyCallingConfigurationRequest method.
 10230  //    req, resp := client.GetVoiceConnectorEmergencyCallingConfigurationRequest(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/GetVoiceConnectorEmergencyCallingConfiguration
 10238  func (c *Chime) GetVoiceConnectorEmergencyCallingConfigurationRequest(input *GetVoiceConnectorEmergencyCallingConfigurationInput) (req *request.Request, output *GetVoiceConnectorEmergencyCallingConfigurationOutput) {
 10239  	op := &request.Operation{
 10240  		Name:       opGetVoiceConnectorEmergencyCallingConfiguration,
 10241  		HTTPMethod: "GET",
 10242  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/emergency-calling-configuration",
 10243  	}
 10244  
 10245  	if input == nil {
 10246  		input = &GetVoiceConnectorEmergencyCallingConfigurationInput{}
 10247  	}
 10248  
 10249  	output = &GetVoiceConnectorEmergencyCallingConfigurationOutput{}
 10250  	req = c.newRequest(op, input, output)
 10251  	return
 10252  }
 10253  
 10254  // GetVoiceConnectorEmergencyCallingConfiguration API operation for Amazon Chime.
 10255  //
 10256  // Gets the emergency calling configuration details for the specified Amazon
 10257  // Chime Voice 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 GetVoiceConnectorEmergencyCallingConfiguration 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/GetVoiceConnectorEmergencyCallingConfiguration
 10289  func (c *Chime) GetVoiceConnectorEmergencyCallingConfiguration(input *GetVoiceConnectorEmergencyCallingConfigurationInput) (*GetVoiceConnectorEmergencyCallingConfigurationOutput, error) {
 10290  	req, out := c.GetVoiceConnectorEmergencyCallingConfigurationRequest(input)
 10291  	return out, req.Send()
 10292  }
 10293  
 10294  // GetVoiceConnectorEmergencyCallingConfigurationWithContext is the same as GetVoiceConnectorEmergencyCallingConfiguration with the addition of
 10295  // the ability to pass a context and additional request options.
 10296  //
 10297  // See GetVoiceConnectorEmergencyCallingConfiguration 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.
 10303  func (c *Chime) GetVoiceConnectorEmergencyCallingConfigurationWithContext(ctx aws.Context, input *GetVoiceConnectorEmergencyCallingConfigurationInput, opts ...request.Option) (*GetVoiceConnectorEmergencyCallingConfigurationOutput, error) {
 10304  	req, out := c.GetVoiceConnectorEmergencyCallingConfigurationRequest(input)
 10305  	req.SetContext(ctx)
 10306  	req.ApplyOptions(opts...)
 10307  	return out, req.Send()
 10308  }
 10309  
 10310  const opGetVoiceConnectorGroup = "GetVoiceConnectorGroup"
 10311  
 10312  // GetVoiceConnectorGroupRequest generates a "aws/request.Request" representing the
 10313  // client's request for the GetVoiceConnectorGroup 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 GetVoiceConnectorGroup for more information on using the GetVoiceConnectorGroup
 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 GetVoiceConnectorGroupRequest method.
 10328  //    req, resp := client.GetVoiceConnectorGroupRequest(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/GetVoiceConnectorGroup
 10336  func (c *Chime) GetVoiceConnectorGroupRequest(input *GetVoiceConnectorGroupInput) (req *request.Request, output *GetVoiceConnectorGroupOutput) {
 10337  	op := &request.Operation{
 10338  		Name:       opGetVoiceConnectorGroup,
 10339  		HTTPMethod: "GET",
 10340  		HTTPPath:   "/voice-connector-groups/{voiceConnectorGroupId}",
 10341  	}
 10342  
 10343  	if input == nil {
 10344  		input = &GetVoiceConnectorGroupInput{}
 10345  	}
 10346  
 10347  	output = &GetVoiceConnectorGroupOutput{}
 10348  	req = c.newRequest(op, input, output)
 10349  	return
 10350  }
 10351  
 10352  // GetVoiceConnectorGroup API operation for Amazon Chime.
 10353  //
 10354  // Retrieves details for the specified Amazon Chime Voice Connector group, such
 10355  // as timestamps,name, and associated VoiceConnectorItems.
 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 GetVoiceConnectorGroup 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/GetVoiceConnectorGroup
 10387  func (c *Chime) GetVoiceConnectorGroup(input *GetVoiceConnectorGroupInput) (*GetVoiceConnectorGroupOutput, error) {
 10388  	req, out := c.GetVoiceConnectorGroupRequest(input)
 10389  	return out, req.Send()
 10390  }
 10391  
 10392  // GetVoiceConnectorGroupWithContext is the same as GetVoiceConnectorGroup with the addition of
 10393  // the ability to pass a context and additional request options.
 10394  //
 10395  // See GetVoiceConnectorGroup 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.
 10401  func (c *Chime) GetVoiceConnectorGroupWithContext(ctx aws.Context, input *GetVoiceConnectorGroupInput, opts ...request.Option) (*GetVoiceConnectorGroupOutput, error) {
 10402  	req, out := c.GetVoiceConnectorGroupRequest(input)
 10403  	req.SetContext(ctx)
 10404  	req.ApplyOptions(opts...)
 10405  	return out, req.Send()
 10406  }
 10407  
 10408  const opGetVoiceConnectorLoggingConfiguration = "GetVoiceConnectorLoggingConfiguration"
 10409  
 10410  // GetVoiceConnectorLoggingConfigurationRequest generates a "aws/request.Request" representing the
 10411  // client's request for the GetVoiceConnectorLoggingConfiguration 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 GetVoiceConnectorLoggingConfiguration for more information on using the GetVoiceConnectorLoggingConfiguration
 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 GetVoiceConnectorLoggingConfigurationRequest method.
 10426  //    req, resp := client.GetVoiceConnectorLoggingConfigurationRequest(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/GetVoiceConnectorLoggingConfiguration
 10434  func (c *Chime) GetVoiceConnectorLoggingConfigurationRequest(input *GetVoiceConnectorLoggingConfigurationInput) (req *request.Request, output *GetVoiceConnectorLoggingConfigurationOutput) {
 10435  	op := &request.Operation{
 10436  		Name:       opGetVoiceConnectorLoggingConfiguration,
 10437  		HTTPMethod: "GET",
 10438  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/logging-configuration",
 10439  	}
 10440  
 10441  	if input == nil {
 10442  		input = &GetVoiceConnectorLoggingConfigurationInput{}
 10443  	}
 10444  
 10445  	output = &GetVoiceConnectorLoggingConfigurationOutput{}
 10446  	req = c.newRequest(op, input, output)
 10447  	return
 10448  }
 10449  
 10450  // GetVoiceConnectorLoggingConfiguration API operation for Amazon Chime.
 10451  //
 10452  // Retrieves the logging configuration details for the specified Amazon Chime
 10453  // Voice Connector. Shows whether SIP message logs are enabled for sending to
 10454  // Amazon CloudWatch Logs.
 10455  //
 10456  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 10457  // with awserr.Error's Code and Message methods to get detailed information about
 10458  // the error.
 10459  //
 10460  // See the AWS API reference guide for Amazon Chime's
 10461  // API operation GetVoiceConnectorLoggingConfiguration for usage and error information.
 10462  //
 10463  // Returned Error Types:
 10464  //   * UnauthorizedClientException
 10465  //   The client is not currently authorized to make the request.
 10466  //
 10467  //   * NotFoundException
 10468  //   One or more of the resources in the request does not exist in the system.
 10469  //
 10470  //   * ForbiddenException
 10471  //   The client is permanently forbidden from making the request.
 10472  //
 10473  //   * BadRequestException
 10474  //   The input parameters don't match the service's restrictions.
 10475  //
 10476  //   * ThrottledClientException
 10477  //   The client exceeded its request rate limit.
 10478  //
 10479  //   * ServiceUnavailableException
 10480  //   The service is currently unavailable.
 10481  //
 10482  //   * ServiceFailureException
 10483  //   The service encountered an unexpected error.
 10484  //
 10485  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorLoggingConfiguration
 10486  func (c *Chime) GetVoiceConnectorLoggingConfiguration(input *GetVoiceConnectorLoggingConfigurationInput) (*GetVoiceConnectorLoggingConfigurationOutput, error) {
 10487  	req, out := c.GetVoiceConnectorLoggingConfigurationRequest(input)
 10488  	return out, req.Send()
 10489  }
 10490  
 10491  // GetVoiceConnectorLoggingConfigurationWithContext is the same as GetVoiceConnectorLoggingConfiguration with the addition of
 10492  // the ability to pass a context and additional request options.
 10493  //
 10494  // See GetVoiceConnectorLoggingConfiguration for details on how to use this API operation.
 10495  //
 10496  // The context must be non-nil and will be used for request cancellation. If
 10497  // the context is nil a panic will occur. In the future the SDK may create
 10498  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 10499  // for more information on using Contexts.
 10500  func (c *Chime) GetVoiceConnectorLoggingConfigurationWithContext(ctx aws.Context, input *GetVoiceConnectorLoggingConfigurationInput, opts ...request.Option) (*GetVoiceConnectorLoggingConfigurationOutput, error) {
 10501  	req, out := c.GetVoiceConnectorLoggingConfigurationRequest(input)
 10502  	req.SetContext(ctx)
 10503  	req.ApplyOptions(opts...)
 10504  	return out, req.Send()
 10505  }
 10506  
 10507  const opGetVoiceConnectorOrigination = "GetVoiceConnectorOrigination"
 10508  
 10509  // GetVoiceConnectorOriginationRequest generates a "aws/request.Request" representing the
 10510  // client's request for the GetVoiceConnectorOrigination operation. The "output" return
 10511  // value will be populated with the request's response once the request completes
 10512  // successfully.
 10513  //
 10514  // Use "Send" method on the returned Request to send the API call to the service.
 10515  // the "output" return value is not valid until after Send returns without error.
 10516  //
 10517  // See GetVoiceConnectorOrigination for more information on using the GetVoiceConnectorOrigination
 10518  // API call, and error handling.
 10519  //
 10520  // This method is useful when you want to inject custom logic or configuration
 10521  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 10522  //
 10523  //
 10524  //    // Example sending a request using the GetVoiceConnectorOriginationRequest method.
 10525  //    req, resp := client.GetVoiceConnectorOriginationRequest(params)
 10526  //
 10527  //    err := req.Send()
 10528  //    if err == nil { // resp is now filled
 10529  //        fmt.Println(resp)
 10530  //    }
 10531  //
 10532  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorOrigination
 10533  func (c *Chime) GetVoiceConnectorOriginationRequest(input *GetVoiceConnectorOriginationInput) (req *request.Request, output *GetVoiceConnectorOriginationOutput) {
 10534  	op := &request.Operation{
 10535  		Name:       opGetVoiceConnectorOrigination,
 10536  		HTTPMethod: "GET",
 10537  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/origination",
 10538  	}
 10539  
 10540  	if input == nil {
 10541  		input = &GetVoiceConnectorOriginationInput{}
 10542  	}
 10543  
 10544  	output = &GetVoiceConnectorOriginationOutput{}
 10545  	req = c.newRequest(op, input, output)
 10546  	return
 10547  }
 10548  
 10549  // GetVoiceConnectorOrigination API operation for Amazon Chime.
 10550  //
 10551  // Retrieves origination setting details for the specified Amazon Chime Voice
 10552  // Connector.
 10553  //
 10554  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 10555  // with awserr.Error's Code and Message methods to get detailed information about
 10556  // the error.
 10557  //
 10558  // See the AWS API reference guide for Amazon Chime's
 10559  // API operation GetVoiceConnectorOrigination for usage and error information.
 10560  //
 10561  // Returned Error Types:
 10562  //   * UnauthorizedClientException
 10563  //   The client is not currently authorized to make the request.
 10564  //
 10565  //   * NotFoundException
 10566  //   One or more of the resources in the request does not exist in the system.
 10567  //
 10568  //   * ForbiddenException
 10569  //   The client is permanently forbidden from making the request.
 10570  //
 10571  //   * BadRequestException
 10572  //   The input parameters don't match the service's restrictions.
 10573  //
 10574  //   * ThrottledClientException
 10575  //   The client exceeded its request rate limit.
 10576  //
 10577  //   * ServiceUnavailableException
 10578  //   The service is currently unavailable.
 10579  //
 10580  //   * ServiceFailureException
 10581  //   The service encountered an unexpected error.
 10582  //
 10583  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorOrigination
 10584  func (c *Chime) GetVoiceConnectorOrigination(input *GetVoiceConnectorOriginationInput) (*GetVoiceConnectorOriginationOutput, error) {
 10585  	req, out := c.GetVoiceConnectorOriginationRequest(input)
 10586  	return out, req.Send()
 10587  }
 10588  
 10589  // GetVoiceConnectorOriginationWithContext is the same as GetVoiceConnectorOrigination with the addition of
 10590  // the ability to pass a context and additional request options.
 10591  //
 10592  // See GetVoiceConnectorOrigination for details on how to use this API operation.
 10593  //
 10594  // The context must be non-nil and will be used for request cancellation. If
 10595  // the context is nil a panic will occur. In the future the SDK may create
 10596  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 10597  // for more information on using Contexts.
 10598  func (c *Chime) GetVoiceConnectorOriginationWithContext(ctx aws.Context, input *GetVoiceConnectorOriginationInput, opts ...request.Option) (*GetVoiceConnectorOriginationOutput, error) {
 10599  	req, out := c.GetVoiceConnectorOriginationRequest(input)
 10600  	req.SetContext(ctx)
 10601  	req.ApplyOptions(opts...)
 10602  	return out, req.Send()
 10603  }
 10604  
 10605  const opGetVoiceConnectorProxy = "GetVoiceConnectorProxy"
 10606  
 10607  // GetVoiceConnectorProxyRequest generates a "aws/request.Request" representing the
 10608  // client's request for the GetVoiceConnectorProxy operation. The "output" return
 10609  // value will be populated with the request's response once the request completes
 10610  // successfully.
 10611  //
 10612  // Use "Send" method on the returned Request to send the API call to the service.
 10613  // the "output" return value is not valid until after Send returns without error.
 10614  //
 10615  // See GetVoiceConnectorProxy for more information on using the GetVoiceConnectorProxy
 10616  // API call, and error handling.
 10617  //
 10618  // This method is useful when you want to inject custom logic or configuration
 10619  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 10620  //
 10621  //
 10622  //    // Example sending a request using the GetVoiceConnectorProxyRequest method.
 10623  //    req, resp := client.GetVoiceConnectorProxyRequest(params)
 10624  //
 10625  //    err := req.Send()
 10626  //    if err == nil { // resp is now filled
 10627  //        fmt.Println(resp)
 10628  //    }
 10629  //
 10630  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorProxy
 10631  func (c *Chime) GetVoiceConnectorProxyRequest(input *GetVoiceConnectorProxyInput) (req *request.Request, output *GetVoiceConnectorProxyOutput) {
 10632  	op := &request.Operation{
 10633  		Name:       opGetVoiceConnectorProxy,
 10634  		HTTPMethod: "GET",
 10635  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/programmable-numbers/proxy",
 10636  	}
 10637  
 10638  	if input == nil {
 10639  		input = &GetVoiceConnectorProxyInput{}
 10640  	}
 10641  
 10642  	output = &GetVoiceConnectorProxyOutput{}
 10643  	req = c.newRequest(op, input, output)
 10644  	return
 10645  }
 10646  
 10647  // GetVoiceConnectorProxy API operation for Amazon Chime.
 10648  //
 10649  // Gets the proxy configuration details for the specified Amazon Chime Voice
 10650  // Connector.
 10651  //
 10652  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 10653  // with awserr.Error's Code and Message methods to get detailed information about
 10654  // the error.
 10655  //
 10656  // See the AWS API reference guide for Amazon Chime's
 10657  // API operation GetVoiceConnectorProxy for usage and error information.
 10658  //
 10659  // Returned Error Types:
 10660  //   * UnauthorizedClientException
 10661  //   The client is not currently authorized to make the request.
 10662  //
 10663  //   * NotFoundException
 10664  //   One or more of the resources in the request does not exist in the system.
 10665  //
 10666  //   * ForbiddenException
 10667  //   The client is permanently forbidden from making the request.
 10668  //
 10669  //   * BadRequestException
 10670  //   The input parameters don't match the service's restrictions.
 10671  //
 10672  //   * ThrottledClientException
 10673  //   The client exceeded its request rate limit.
 10674  //
 10675  //   * ServiceUnavailableException
 10676  //   The service is currently unavailable.
 10677  //
 10678  //   * ServiceFailureException
 10679  //   The service encountered an unexpected error.
 10680  //
 10681  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorProxy
 10682  func (c *Chime) GetVoiceConnectorProxy(input *GetVoiceConnectorProxyInput) (*GetVoiceConnectorProxyOutput, error) {
 10683  	req, out := c.GetVoiceConnectorProxyRequest(input)
 10684  	return out, req.Send()
 10685  }
 10686  
 10687  // GetVoiceConnectorProxyWithContext is the same as GetVoiceConnectorProxy with the addition of
 10688  // the ability to pass a context and additional request options.
 10689  //
 10690  // See GetVoiceConnectorProxy for details on how to use this API operation.
 10691  //
 10692  // The context must be non-nil and will be used for request cancellation. If
 10693  // the context is nil a panic will occur. In the future the SDK may create
 10694  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 10695  // for more information on using Contexts.
 10696  func (c *Chime) GetVoiceConnectorProxyWithContext(ctx aws.Context, input *GetVoiceConnectorProxyInput, opts ...request.Option) (*GetVoiceConnectorProxyOutput, error) {
 10697  	req, out := c.GetVoiceConnectorProxyRequest(input)
 10698  	req.SetContext(ctx)
 10699  	req.ApplyOptions(opts...)
 10700  	return out, req.Send()
 10701  }
 10702  
 10703  const opGetVoiceConnectorStreamingConfiguration = "GetVoiceConnectorStreamingConfiguration"
 10704  
 10705  // GetVoiceConnectorStreamingConfigurationRequest generates a "aws/request.Request" representing the
 10706  // client's request for the GetVoiceConnectorStreamingConfiguration operation. The "output" return
 10707  // value will be populated with the request's response once the request completes
 10708  // successfully.
 10709  //
 10710  // Use "Send" method on the returned Request to send the API call to the service.
 10711  // the "output" return value is not valid until after Send returns without error.
 10712  //
 10713  // See GetVoiceConnectorStreamingConfiguration for more information on using the GetVoiceConnectorStreamingConfiguration
 10714  // API call, and error handling.
 10715  //
 10716  // This method is useful when you want to inject custom logic or configuration
 10717  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 10718  //
 10719  //
 10720  //    // Example sending a request using the GetVoiceConnectorStreamingConfigurationRequest method.
 10721  //    req, resp := client.GetVoiceConnectorStreamingConfigurationRequest(params)
 10722  //
 10723  //    err := req.Send()
 10724  //    if err == nil { // resp is now filled
 10725  //        fmt.Println(resp)
 10726  //    }
 10727  //
 10728  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorStreamingConfiguration
 10729  func (c *Chime) GetVoiceConnectorStreamingConfigurationRequest(input *GetVoiceConnectorStreamingConfigurationInput) (req *request.Request, output *GetVoiceConnectorStreamingConfigurationOutput) {
 10730  	op := &request.Operation{
 10731  		Name:       opGetVoiceConnectorStreamingConfiguration,
 10732  		HTTPMethod: "GET",
 10733  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/streaming-configuration",
 10734  	}
 10735  
 10736  	if input == nil {
 10737  		input = &GetVoiceConnectorStreamingConfigurationInput{}
 10738  	}
 10739  
 10740  	output = &GetVoiceConnectorStreamingConfigurationOutput{}
 10741  	req = c.newRequest(op, input, output)
 10742  	return
 10743  }
 10744  
 10745  // GetVoiceConnectorStreamingConfiguration API operation for Amazon Chime.
 10746  //
 10747  // Retrieves the streaming configuration details for the specified Amazon Chime
 10748  // Voice Connector. Shows whether media streaming is enabled for sending to
 10749  // Amazon Kinesis. It also shows the retention period, in hours, for the Amazon
 10750  // Kinesis data.
 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 GetVoiceConnectorStreamingConfiguration 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/GetVoiceConnectorStreamingConfiguration
 10782  func (c *Chime) GetVoiceConnectorStreamingConfiguration(input *GetVoiceConnectorStreamingConfigurationInput) (*GetVoiceConnectorStreamingConfigurationOutput, error) {
 10783  	req, out := c.GetVoiceConnectorStreamingConfigurationRequest(input)
 10784  	return out, req.Send()
 10785  }
 10786  
 10787  // GetVoiceConnectorStreamingConfigurationWithContext is the same as GetVoiceConnectorStreamingConfiguration with the addition of
 10788  // the ability to pass a context and additional request options.
 10789  //
 10790  // See GetVoiceConnectorStreamingConfiguration 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.
 10796  func (c *Chime) GetVoiceConnectorStreamingConfigurationWithContext(ctx aws.Context, input *GetVoiceConnectorStreamingConfigurationInput, opts ...request.Option) (*GetVoiceConnectorStreamingConfigurationOutput, error) {
 10797  	req, out := c.GetVoiceConnectorStreamingConfigurationRequest(input)
 10798  	req.SetContext(ctx)
 10799  	req.ApplyOptions(opts...)
 10800  	return out, req.Send()
 10801  }
 10802  
 10803  const opGetVoiceConnectorTermination = "GetVoiceConnectorTermination"
 10804  
 10805  // GetVoiceConnectorTerminationRequest generates a "aws/request.Request" representing the
 10806  // client's request for the GetVoiceConnectorTermination 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 GetVoiceConnectorTermination for more information on using the GetVoiceConnectorTermination
 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 GetVoiceConnectorTerminationRequest method.
 10821  //    req, resp := client.GetVoiceConnectorTerminationRequest(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/GetVoiceConnectorTermination
 10829  func (c *Chime) GetVoiceConnectorTerminationRequest(input *GetVoiceConnectorTerminationInput) (req *request.Request, output *GetVoiceConnectorTerminationOutput) {
 10830  	op := &request.Operation{
 10831  		Name:       opGetVoiceConnectorTermination,
 10832  		HTTPMethod: "GET",
 10833  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/termination",
 10834  	}
 10835  
 10836  	if input == nil {
 10837  		input = &GetVoiceConnectorTerminationInput{}
 10838  	}
 10839  
 10840  	output = &GetVoiceConnectorTerminationOutput{}
 10841  	req = c.newRequest(op, input, output)
 10842  	return
 10843  }
 10844  
 10845  // GetVoiceConnectorTermination API operation for Amazon Chime.
 10846  //
 10847  // Retrieves termination setting details for the specified Amazon Chime Voice
 10848  // Connector.
 10849  //
 10850  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 10851  // with awserr.Error's Code and Message methods to get detailed information about
 10852  // the error.
 10853  //
 10854  // See the AWS API reference guide for Amazon Chime's
 10855  // API operation GetVoiceConnectorTermination for usage and error information.
 10856  //
 10857  // Returned Error Types:
 10858  //   * UnauthorizedClientException
 10859  //   The client is not currently authorized to make the request.
 10860  //
 10861  //   * NotFoundException
 10862  //   One or more of the resources in the request does not exist in the system.
 10863  //
 10864  //   * ForbiddenException
 10865  //   The client is permanently forbidden from making the request.
 10866  //
 10867  //   * BadRequestException
 10868  //   The input parameters don't match the service's restrictions.
 10869  //
 10870  //   * ThrottledClientException
 10871  //   The client exceeded its request rate limit.
 10872  //
 10873  //   * ServiceUnavailableException
 10874  //   The service is currently unavailable.
 10875  //
 10876  //   * ServiceFailureException
 10877  //   The service encountered an unexpected error.
 10878  //
 10879  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorTermination
 10880  func (c *Chime) GetVoiceConnectorTermination(input *GetVoiceConnectorTerminationInput) (*GetVoiceConnectorTerminationOutput, error) {
 10881  	req, out := c.GetVoiceConnectorTerminationRequest(input)
 10882  	return out, req.Send()
 10883  }
 10884  
 10885  // GetVoiceConnectorTerminationWithContext is the same as GetVoiceConnectorTermination with the addition of
 10886  // the ability to pass a context and additional request options.
 10887  //
 10888  // See GetVoiceConnectorTermination for details on how to use this API operation.
 10889  //
 10890  // The context must be non-nil and will be used for request cancellation. If
 10891  // the context is nil a panic will occur. In the future the SDK may create
 10892  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 10893  // for more information on using Contexts.
 10894  func (c *Chime) GetVoiceConnectorTerminationWithContext(ctx aws.Context, input *GetVoiceConnectorTerminationInput, opts ...request.Option) (*GetVoiceConnectorTerminationOutput, error) {
 10895  	req, out := c.GetVoiceConnectorTerminationRequest(input)
 10896  	req.SetContext(ctx)
 10897  	req.ApplyOptions(opts...)
 10898  	return out, req.Send()
 10899  }
 10900  
 10901  const opGetVoiceConnectorTerminationHealth = "GetVoiceConnectorTerminationHealth"
 10902  
 10903  // GetVoiceConnectorTerminationHealthRequest generates a "aws/request.Request" representing the
 10904  // client's request for the GetVoiceConnectorTerminationHealth operation. The "output" return
 10905  // value will be populated with the request's response once the request completes
 10906  // successfully.
 10907  //
 10908  // Use "Send" method on the returned Request to send the API call to the service.
 10909  // the "output" return value is not valid until after Send returns without error.
 10910  //
 10911  // See GetVoiceConnectorTerminationHealth for more information on using the GetVoiceConnectorTerminationHealth
 10912  // API call, and error handling.
 10913  //
 10914  // This method is useful when you want to inject custom logic or configuration
 10915  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 10916  //
 10917  //
 10918  //    // Example sending a request using the GetVoiceConnectorTerminationHealthRequest method.
 10919  //    req, resp := client.GetVoiceConnectorTerminationHealthRequest(params)
 10920  //
 10921  //    err := req.Send()
 10922  //    if err == nil { // resp is now filled
 10923  //        fmt.Println(resp)
 10924  //    }
 10925  //
 10926  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorTerminationHealth
 10927  func (c *Chime) GetVoiceConnectorTerminationHealthRequest(input *GetVoiceConnectorTerminationHealthInput) (req *request.Request, output *GetVoiceConnectorTerminationHealthOutput) {
 10928  	op := &request.Operation{
 10929  		Name:       opGetVoiceConnectorTerminationHealth,
 10930  		HTTPMethod: "GET",
 10931  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/termination/health",
 10932  	}
 10933  
 10934  	if input == nil {
 10935  		input = &GetVoiceConnectorTerminationHealthInput{}
 10936  	}
 10937  
 10938  	output = &GetVoiceConnectorTerminationHealthOutput{}
 10939  	req = c.newRequest(op, input, output)
 10940  	return
 10941  }
 10942  
 10943  // GetVoiceConnectorTerminationHealth API operation for Amazon Chime.
 10944  //
 10945  // Retrieves information about the last time a SIP OPTIONS ping was received
 10946  // from your SIP infrastructure for the specified Amazon Chime Voice Connector.
 10947  //
 10948  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 10949  // with awserr.Error's Code and Message methods to get detailed information about
 10950  // the error.
 10951  //
 10952  // See the AWS API reference guide for Amazon Chime's
 10953  // API operation GetVoiceConnectorTerminationHealth for usage and error information.
 10954  //
 10955  // Returned Error Types:
 10956  //   * UnauthorizedClientException
 10957  //   The client is not currently authorized to make the request.
 10958  //
 10959  //   * NotFoundException
 10960  //   One or more of the resources in the request does not exist in the system.
 10961  //
 10962  //   * ForbiddenException
 10963  //   The client is permanently forbidden from making the request.
 10964  //
 10965  //   * BadRequestException
 10966  //   The input parameters don't match the service's restrictions.
 10967  //
 10968  //   * ThrottledClientException
 10969  //   The client exceeded its request rate limit.
 10970  //
 10971  //   * ServiceUnavailableException
 10972  //   The service is currently unavailable.
 10973  //
 10974  //   * ServiceFailureException
 10975  //   The service encountered an unexpected error.
 10976  //
 10977  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorTerminationHealth
 10978  func (c *Chime) GetVoiceConnectorTerminationHealth(input *GetVoiceConnectorTerminationHealthInput) (*GetVoiceConnectorTerminationHealthOutput, error) {
 10979  	req, out := c.GetVoiceConnectorTerminationHealthRequest(input)
 10980  	return out, req.Send()
 10981  }
 10982  
 10983  // GetVoiceConnectorTerminationHealthWithContext is the same as GetVoiceConnectorTerminationHealth with the addition of
 10984  // the ability to pass a context and additional request options.
 10985  //
 10986  // See GetVoiceConnectorTerminationHealth for details on how to use this API operation.
 10987  //
 10988  // The context must be non-nil and will be used for request cancellation. If
 10989  // the context is nil a panic will occur. In the future the SDK may create
 10990  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 10991  // for more information on using Contexts.
 10992  func (c *Chime) GetVoiceConnectorTerminationHealthWithContext(ctx aws.Context, input *GetVoiceConnectorTerminationHealthInput, opts ...request.Option) (*GetVoiceConnectorTerminationHealthOutput, error) {
 10993  	req, out := c.GetVoiceConnectorTerminationHealthRequest(input)
 10994  	req.SetContext(ctx)
 10995  	req.ApplyOptions(opts...)
 10996  	return out, req.Send()
 10997  }
 10998  
 10999  const opInviteUsers = "InviteUsers"
 11000  
 11001  // InviteUsersRequest generates a "aws/request.Request" representing the
 11002  // client's request for the InviteUsers operation. The "output" return
 11003  // value will be populated with the request's response once the request completes
 11004  // successfully.
 11005  //
 11006  // Use "Send" method on the returned Request to send the API call to the service.
 11007  // the "output" return value is not valid until after Send returns without error.
 11008  //
 11009  // See InviteUsers for more information on using the InviteUsers
 11010  // API call, and error handling.
 11011  //
 11012  // This method is useful when you want to inject custom logic or configuration
 11013  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 11014  //
 11015  //
 11016  //    // Example sending a request using the InviteUsersRequest method.
 11017  //    req, resp := client.InviteUsersRequest(params)
 11018  //
 11019  //    err := req.Send()
 11020  //    if err == nil { // resp is now filled
 11021  //        fmt.Println(resp)
 11022  //    }
 11023  //
 11024  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/InviteUsers
 11025  func (c *Chime) InviteUsersRequest(input *InviteUsersInput) (req *request.Request, output *InviteUsersOutput) {
 11026  	op := &request.Operation{
 11027  		Name:       opInviteUsers,
 11028  		HTTPMethod: "POST",
 11029  		HTTPPath:   "/accounts/{accountId}/users?operation=add",
 11030  	}
 11031  
 11032  	if input == nil {
 11033  		input = &InviteUsersInput{}
 11034  	}
 11035  
 11036  	output = &InviteUsersOutput{}
 11037  	req = c.newRequest(op, input, output)
 11038  	return
 11039  }
 11040  
 11041  // InviteUsers API operation for Amazon Chime.
 11042  //
 11043  // Sends email to a maximum of 50 users, inviting them to the specified Amazon
 11044  // Chime Team account. Only Team account types are currently supported for this
 11045  // action.
 11046  //
 11047  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 11048  // with awserr.Error's Code and Message methods to get detailed information about
 11049  // the error.
 11050  //
 11051  // See the AWS API reference guide for Amazon Chime's
 11052  // API operation InviteUsers for usage and error information.
 11053  //
 11054  // Returned Error Types:
 11055  //   * UnauthorizedClientException
 11056  //   The client is not currently authorized to make the request.
 11057  //
 11058  //   * NotFoundException
 11059  //   One or more of the resources in the request does not exist in the system.
 11060  //
 11061  //   * ForbiddenException
 11062  //   The client is permanently forbidden from making the request.
 11063  //
 11064  //   * BadRequestException
 11065  //   The input parameters don't match the service's restrictions.
 11066  //
 11067  //   * ThrottledClientException
 11068  //   The client exceeded its request rate limit.
 11069  //
 11070  //   * ServiceUnavailableException
 11071  //   The service is currently unavailable.
 11072  //
 11073  //   * ServiceFailureException
 11074  //   The service encountered an unexpected error.
 11075  //
 11076  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/InviteUsers
 11077  func (c *Chime) InviteUsers(input *InviteUsersInput) (*InviteUsersOutput, error) {
 11078  	req, out := c.InviteUsersRequest(input)
 11079  	return out, req.Send()
 11080  }
 11081  
 11082  // InviteUsersWithContext is the same as InviteUsers with the addition of
 11083  // the ability to pass a context and additional request options.
 11084  //
 11085  // See InviteUsers for details on how to use this API operation.
 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.
 11091  func (c *Chime) InviteUsersWithContext(ctx aws.Context, input *InviteUsersInput, opts ...request.Option) (*InviteUsersOutput, error) {
 11092  	req, out := c.InviteUsersRequest(input)
 11093  	req.SetContext(ctx)
 11094  	req.ApplyOptions(opts...)
 11095  	return out, req.Send()
 11096  }
 11097  
 11098  const opListAccounts = "ListAccounts"
 11099  
 11100  // ListAccountsRequest generates a "aws/request.Request" representing the
 11101  // client's request for the ListAccounts operation. The "output" return
 11102  // value will be populated with the request's response once the request completes
 11103  // successfully.
 11104  //
 11105  // Use "Send" method on the returned Request to send the API call to the service.
 11106  // the "output" return value is not valid until after Send returns without error.
 11107  //
 11108  // See ListAccounts for more information on using the ListAccounts
 11109  // API call, and error handling.
 11110  //
 11111  // This method is useful when you want to inject custom logic or configuration
 11112  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 11113  //
 11114  //
 11115  //    // Example sending a request using the ListAccountsRequest method.
 11116  //    req, resp := client.ListAccountsRequest(params)
 11117  //
 11118  //    err := req.Send()
 11119  //    if err == nil { // resp is now filled
 11120  //        fmt.Println(resp)
 11121  //    }
 11122  //
 11123  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAccounts
 11124  func (c *Chime) ListAccountsRequest(input *ListAccountsInput) (req *request.Request, output *ListAccountsOutput) {
 11125  	op := &request.Operation{
 11126  		Name:       opListAccounts,
 11127  		HTTPMethod: "GET",
 11128  		HTTPPath:   "/accounts",
 11129  		Paginator: &request.Paginator{
 11130  			InputTokens:     []string{"NextToken"},
 11131  			OutputTokens:    []string{"NextToken"},
 11132  			LimitToken:      "MaxResults",
 11133  			TruncationToken: "",
 11134  		},
 11135  	}
 11136  
 11137  	if input == nil {
 11138  		input = &ListAccountsInput{}
 11139  	}
 11140  
 11141  	output = &ListAccountsOutput{}
 11142  	req = c.newRequest(op, input, output)
 11143  	return
 11144  }
 11145  
 11146  // ListAccounts API operation for Amazon Chime.
 11147  //
 11148  // Lists the Amazon Chime accounts under the administrator's AWS account. You
 11149  // can filter accounts by account name prefix. To find out which Amazon Chime
 11150  // account a user belongs to, you can filter by the user's email address, which
 11151  // returns one account result.
 11152  //
 11153  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 11154  // with awserr.Error's Code and Message methods to get detailed information about
 11155  // the error.
 11156  //
 11157  // See the AWS API reference guide for Amazon Chime's
 11158  // API operation ListAccounts for usage and error information.
 11159  //
 11160  // Returned Error Types:
 11161  //   * UnauthorizedClientException
 11162  //   The client is not currently authorized to make the request.
 11163  //
 11164  //   * NotFoundException
 11165  //   One or more of the resources in the request does not exist in the system.
 11166  //
 11167  //   * ForbiddenException
 11168  //   The client is permanently forbidden from making the request.
 11169  //
 11170  //   * BadRequestException
 11171  //   The input parameters don't match the service's restrictions.
 11172  //
 11173  //   * ThrottledClientException
 11174  //   The client exceeded its request rate limit.
 11175  //
 11176  //   * ServiceUnavailableException
 11177  //   The service is currently unavailable.
 11178  //
 11179  //   * ServiceFailureException
 11180  //   The service encountered an unexpected error.
 11181  //
 11182  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAccounts
 11183  func (c *Chime) ListAccounts(input *ListAccountsInput) (*ListAccountsOutput, error) {
 11184  	req, out := c.ListAccountsRequest(input)
 11185  	return out, req.Send()
 11186  }
 11187  
 11188  // ListAccountsWithContext is the same as ListAccounts with the addition of
 11189  // the ability to pass a context and additional request options.
 11190  //
 11191  // See ListAccounts for details on how to use this API operation.
 11192  //
 11193  // The context must be non-nil and will be used for request cancellation. If
 11194  // the context is nil a panic will occur. In the future the SDK may create
 11195  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11196  // for more information on using Contexts.
 11197  func (c *Chime) ListAccountsWithContext(ctx aws.Context, input *ListAccountsInput, opts ...request.Option) (*ListAccountsOutput, error) {
 11198  	req, out := c.ListAccountsRequest(input)
 11199  	req.SetContext(ctx)
 11200  	req.ApplyOptions(opts...)
 11201  	return out, req.Send()
 11202  }
 11203  
 11204  // ListAccountsPages iterates over the pages of a ListAccounts operation,
 11205  // calling the "fn" function with the response data for each page. To stop
 11206  // iterating, return false from the fn function.
 11207  //
 11208  // See ListAccounts method for more information on how to use this operation.
 11209  //
 11210  // Note: This operation can generate multiple requests to a service.
 11211  //
 11212  //    // Example iterating over at most 3 pages of a ListAccounts operation.
 11213  //    pageNum := 0
 11214  //    err := client.ListAccountsPages(params,
 11215  //        func(page *chime.ListAccountsOutput, lastPage bool) bool {
 11216  //            pageNum++
 11217  //            fmt.Println(page)
 11218  //            return pageNum <= 3
 11219  //        })
 11220  //
 11221  func (c *Chime) ListAccountsPages(input *ListAccountsInput, fn func(*ListAccountsOutput, bool) bool) error {
 11222  	return c.ListAccountsPagesWithContext(aws.BackgroundContext(), input, fn)
 11223  }
 11224  
 11225  // ListAccountsPagesWithContext same as ListAccountsPages except
 11226  // it takes a Context and allows setting request options on the pages.
 11227  //
 11228  // The context must be non-nil and will be used for request cancellation. If
 11229  // the context is nil a panic will occur. In the future the SDK may create
 11230  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11231  // for more information on using Contexts.
 11232  func (c *Chime) ListAccountsPagesWithContext(ctx aws.Context, input *ListAccountsInput, fn func(*ListAccountsOutput, bool) bool, opts ...request.Option) error {
 11233  	p := request.Pagination{
 11234  		NewRequest: func() (*request.Request, error) {
 11235  			var inCpy *ListAccountsInput
 11236  			if input != nil {
 11237  				tmp := *input
 11238  				inCpy = &tmp
 11239  			}
 11240  			req, _ := c.ListAccountsRequest(inCpy)
 11241  			req.SetContext(ctx)
 11242  			req.ApplyOptions(opts...)
 11243  			return req, nil
 11244  		},
 11245  	}
 11246  
 11247  	for p.Next() {
 11248  		if !fn(p.Page().(*ListAccountsOutput), !p.HasNextPage()) {
 11249  			break
 11250  		}
 11251  	}
 11252  
 11253  	return p.Err()
 11254  }
 11255  
 11256  const opListAppInstanceAdmins = "ListAppInstanceAdmins"
 11257  
 11258  // ListAppInstanceAdminsRequest generates a "aws/request.Request" representing the
 11259  // client's request for the ListAppInstanceAdmins operation. The "output" return
 11260  // value will be populated with the request's response once the request completes
 11261  // successfully.
 11262  //
 11263  // Use "Send" method on the returned Request to send the API call to the service.
 11264  // the "output" return value is not valid until after Send returns without error.
 11265  //
 11266  // See ListAppInstanceAdmins for more information on using the ListAppInstanceAdmins
 11267  // API call, and error handling.
 11268  //
 11269  // This method is useful when you want to inject custom logic or configuration
 11270  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 11271  //
 11272  //
 11273  //    // Example sending a request using the ListAppInstanceAdminsRequest method.
 11274  //    req, resp := client.ListAppInstanceAdminsRequest(params)
 11275  //
 11276  //    err := req.Send()
 11277  //    if err == nil { // resp is now filled
 11278  //        fmt.Println(resp)
 11279  //    }
 11280  //
 11281  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAppInstanceAdmins
 11282  func (c *Chime) ListAppInstanceAdminsRequest(input *ListAppInstanceAdminsInput) (req *request.Request, output *ListAppInstanceAdminsOutput) {
 11283  	op := &request.Operation{
 11284  		Name:       opListAppInstanceAdmins,
 11285  		HTTPMethod: "GET",
 11286  		HTTPPath:   "/app-instances/{appInstanceArn}/admins",
 11287  		Paginator: &request.Paginator{
 11288  			InputTokens:     []string{"NextToken"},
 11289  			OutputTokens:    []string{"NextToken"},
 11290  			LimitToken:      "MaxResults",
 11291  			TruncationToken: "",
 11292  		},
 11293  	}
 11294  
 11295  	if input == nil {
 11296  		input = &ListAppInstanceAdminsInput{}
 11297  	}
 11298  
 11299  	output = &ListAppInstanceAdminsOutput{}
 11300  	req = c.newRequest(op, input, output)
 11301  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
 11302  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
 11303  	return
 11304  }
 11305  
 11306  // ListAppInstanceAdmins API operation for Amazon Chime.
 11307  //
 11308  // Returns a list of the administrators in the AppInstance.
 11309  //
 11310  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 11311  // with awserr.Error's Code and Message methods to get detailed information about
 11312  // the error.
 11313  //
 11314  // See the AWS API reference guide for Amazon Chime's
 11315  // API operation ListAppInstanceAdmins for usage and error information.
 11316  //
 11317  // Returned Error Types:
 11318  //   * BadRequestException
 11319  //   The input parameters don't match the service's restrictions.
 11320  //
 11321  //   * ForbiddenException
 11322  //   The client is permanently forbidden from making the request.
 11323  //
 11324  //   * ThrottledClientException
 11325  //   The client exceeded its request rate limit.
 11326  //
 11327  //   * UnauthorizedClientException
 11328  //   The client is not currently authorized to make the request.
 11329  //
 11330  //   * ServiceUnavailableException
 11331  //   The service is currently unavailable.
 11332  //
 11333  //   * ServiceFailureException
 11334  //   The service encountered an unexpected error.
 11335  //
 11336  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAppInstanceAdmins
 11337  func (c *Chime) ListAppInstanceAdmins(input *ListAppInstanceAdminsInput) (*ListAppInstanceAdminsOutput, error) {
 11338  	req, out := c.ListAppInstanceAdminsRequest(input)
 11339  	return out, req.Send()
 11340  }
 11341  
 11342  // ListAppInstanceAdminsWithContext is the same as ListAppInstanceAdmins with the addition of
 11343  // the ability to pass a context and additional request options.
 11344  //
 11345  // See ListAppInstanceAdmins for details on how to use this API operation.
 11346  //
 11347  // The context must be non-nil and will be used for request cancellation. If
 11348  // the context is nil a panic will occur. In the future the SDK may create
 11349  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11350  // for more information on using Contexts.
 11351  func (c *Chime) ListAppInstanceAdminsWithContext(ctx aws.Context, input *ListAppInstanceAdminsInput, opts ...request.Option) (*ListAppInstanceAdminsOutput, error) {
 11352  	req, out := c.ListAppInstanceAdminsRequest(input)
 11353  	req.SetContext(ctx)
 11354  	req.ApplyOptions(opts...)
 11355  	return out, req.Send()
 11356  }
 11357  
 11358  // ListAppInstanceAdminsPages iterates over the pages of a ListAppInstanceAdmins operation,
 11359  // calling the "fn" function with the response data for each page. To stop
 11360  // iterating, return false from the fn function.
 11361  //
 11362  // See ListAppInstanceAdmins method for more information on how to use this operation.
 11363  //
 11364  // Note: This operation can generate multiple requests to a service.
 11365  //
 11366  //    // Example iterating over at most 3 pages of a ListAppInstanceAdmins operation.
 11367  //    pageNum := 0
 11368  //    err := client.ListAppInstanceAdminsPages(params,
 11369  //        func(page *chime.ListAppInstanceAdminsOutput, lastPage bool) bool {
 11370  //            pageNum++
 11371  //            fmt.Println(page)
 11372  //            return pageNum <= 3
 11373  //        })
 11374  //
 11375  func (c *Chime) ListAppInstanceAdminsPages(input *ListAppInstanceAdminsInput, fn func(*ListAppInstanceAdminsOutput, bool) bool) error {
 11376  	return c.ListAppInstanceAdminsPagesWithContext(aws.BackgroundContext(), input, fn)
 11377  }
 11378  
 11379  // ListAppInstanceAdminsPagesWithContext same as ListAppInstanceAdminsPages except
 11380  // it takes a Context and allows setting request options on the pages.
 11381  //
 11382  // The context must be non-nil and will be used for request cancellation. If
 11383  // the context is nil a panic will occur. In the future the SDK may create
 11384  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11385  // for more information on using Contexts.
 11386  func (c *Chime) ListAppInstanceAdminsPagesWithContext(ctx aws.Context, input *ListAppInstanceAdminsInput, fn func(*ListAppInstanceAdminsOutput, bool) bool, opts ...request.Option) error {
 11387  	p := request.Pagination{
 11388  		NewRequest: func() (*request.Request, error) {
 11389  			var inCpy *ListAppInstanceAdminsInput
 11390  			if input != nil {
 11391  				tmp := *input
 11392  				inCpy = &tmp
 11393  			}
 11394  			req, _ := c.ListAppInstanceAdminsRequest(inCpy)
 11395  			req.SetContext(ctx)
 11396  			req.ApplyOptions(opts...)
 11397  			return req, nil
 11398  		},
 11399  	}
 11400  
 11401  	for p.Next() {
 11402  		if !fn(p.Page().(*ListAppInstanceAdminsOutput), !p.HasNextPage()) {
 11403  			break
 11404  		}
 11405  	}
 11406  
 11407  	return p.Err()
 11408  }
 11409  
 11410  const opListAppInstanceUsers = "ListAppInstanceUsers"
 11411  
 11412  // ListAppInstanceUsersRequest generates a "aws/request.Request" representing the
 11413  // client's request for the ListAppInstanceUsers operation. The "output" return
 11414  // value will be populated with the request's response once the request completes
 11415  // successfully.
 11416  //
 11417  // Use "Send" method on the returned Request to send the API call to the service.
 11418  // the "output" return value is not valid until after Send returns without error.
 11419  //
 11420  // See ListAppInstanceUsers for more information on using the ListAppInstanceUsers
 11421  // API call, and error handling.
 11422  //
 11423  // This method is useful when you want to inject custom logic or configuration
 11424  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 11425  //
 11426  //
 11427  //    // Example sending a request using the ListAppInstanceUsersRequest method.
 11428  //    req, resp := client.ListAppInstanceUsersRequest(params)
 11429  //
 11430  //    err := req.Send()
 11431  //    if err == nil { // resp is now filled
 11432  //        fmt.Println(resp)
 11433  //    }
 11434  //
 11435  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAppInstanceUsers
 11436  func (c *Chime) ListAppInstanceUsersRequest(input *ListAppInstanceUsersInput) (req *request.Request, output *ListAppInstanceUsersOutput) {
 11437  	op := &request.Operation{
 11438  		Name:       opListAppInstanceUsers,
 11439  		HTTPMethod: "GET",
 11440  		HTTPPath:   "/app-instance-users",
 11441  		Paginator: &request.Paginator{
 11442  			InputTokens:     []string{"NextToken"},
 11443  			OutputTokens:    []string{"NextToken"},
 11444  			LimitToken:      "MaxResults",
 11445  			TruncationToken: "",
 11446  		},
 11447  	}
 11448  
 11449  	if input == nil {
 11450  		input = &ListAppInstanceUsersInput{}
 11451  	}
 11452  
 11453  	output = &ListAppInstanceUsersOutput{}
 11454  	req = c.newRequest(op, input, output)
 11455  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
 11456  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
 11457  	return
 11458  }
 11459  
 11460  // ListAppInstanceUsers API operation for Amazon Chime.
 11461  //
 11462  // List all AppInstanceUsers created under a single AppInstance.
 11463  //
 11464  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 11465  // with awserr.Error's Code and Message methods to get detailed information about
 11466  // the error.
 11467  //
 11468  // See the AWS API reference guide for Amazon Chime's
 11469  // API operation ListAppInstanceUsers for usage and error information.
 11470  //
 11471  // Returned Error Types:
 11472  //   * BadRequestException
 11473  //   The input parameters don't match the service's restrictions.
 11474  //
 11475  //   * ForbiddenException
 11476  //   The client is permanently forbidden from making the request.
 11477  //
 11478  //   * ThrottledClientException
 11479  //   The client exceeded its request rate limit.
 11480  //
 11481  //   * UnauthorizedClientException
 11482  //   The client is not currently authorized to make the request.
 11483  //
 11484  //   * ServiceUnavailableException
 11485  //   The service is currently unavailable.
 11486  //
 11487  //   * ServiceFailureException
 11488  //   The service encountered an unexpected error.
 11489  //
 11490  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAppInstanceUsers
 11491  func (c *Chime) ListAppInstanceUsers(input *ListAppInstanceUsersInput) (*ListAppInstanceUsersOutput, error) {
 11492  	req, out := c.ListAppInstanceUsersRequest(input)
 11493  	return out, req.Send()
 11494  }
 11495  
 11496  // ListAppInstanceUsersWithContext is the same as ListAppInstanceUsers with the addition of
 11497  // the ability to pass a context and additional request options.
 11498  //
 11499  // See ListAppInstanceUsers for details on how to use this API operation.
 11500  //
 11501  // The context must be non-nil and will be used for request cancellation. If
 11502  // the context is nil a panic will occur. In the future the SDK may create
 11503  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11504  // for more information on using Contexts.
 11505  func (c *Chime) ListAppInstanceUsersWithContext(ctx aws.Context, input *ListAppInstanceUsersInput, opts ...request.Option) (*ListAppInstanceUsersOutput, error) {
 11506  	req, out := c.ListAppInstanceUsersRequest(input)
 11507  	req.SetContext(ctx)
 11508  	req.ApplyOptions(opts...)
 11509  	return out, req.Send()
 11510  }
 11511  
 11512  // ListAppInstanceUsersPages iterates over the pages of a ListAppInstanceUsers operation,
 11513  // calling the "fn" function with the response data for each page. To stop
 11514  // iterating, return false from the fn function.
 11515  //
 11516  // See ListAppInstanceUsers method for more information on how to use this operation.
 11517  //
 11518  // Note: This operation can generate multiple requests to a service.
 11519  //
 11520  //    // Example iterating over at most 3 pages of a ListAppInstanceUsers operation.
 11521  //    pageNum := 0
 11522  //    err := client.ListAppInstanceUsersPages(params,
 11523  //        func(page *chime.ListAppInstanceUsersOutput, lastPage bool) bool {
 11524  //            pageNum++
 11525  //            fmt.Println(page)
 11526  //            return pageNum <= 3
 11527  //        })
 11528  //
 11529  func (c *Chime) ListAppInstanceUsersPages(input *ListAppInstanceUsersInput, fn func(*ListAppInstanceUsersOutput, bool) bool) error {
 11530  	return c.ListAppInstanceUsersPagesWithContext(aws.BackgroundContext(), input, fn)
 11531  }
 11532  
 11533  // ListAppInstanceUsersPagesWithContext same as ListAppInstanceUsersPages except
 11534  // it takes a Context and allows setting request options on the pages.
 11535  //
 11536  // The context must be non-nil and will be used for request cancellation. If
 11537  // the context is nil a panic will occur. In the future the SDK may create
 11538  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11539  // for more information on using Contexts.
 11540  func (c *Chime) ListAppInstanceUsersPagesWithContext(ctx aws.Context, input *ListAppInstanceUsersInput, fn func(*ListAppInstanceUsersOutput, bool) bool, opts ...request.Option) error {
 11541  	p := request.Pagination{
 11542  		NewRequest: func() (*request.Request, error) {
 11543  			var inCpy *ListAppInstanceUsersInput
 11544  			if input != nil {
 11545  				tmp := *input
 11546  				inCpy = &tmp
 11547  			}
 11548  			req, _ := c.ListAppInstanceUsersRequest(inCpy)
 11549  			req.SetContext(ctx)
 11550  			req.ApplyOptions(opts...)
 11551  			return req, nil
 11552  		},
 11553  	}
 11554  
 11555  	for p.Next() {
 11556  		if !fn(p.Page().(*ListAppInstanceUsersOutput), !p.HasNextPage()) {
 11557  			break
 11558  		}
 11559  	}
 11560  
 11561  	return p.Err()
 11562  }
 11563  
 11564  const opListAppInstances = "ListAppInstances"
 11565  
 11566  // ListAppInstancesRequest generates a "aws/request.Request" representing the
 11567  // client's request for the ListAppInstances operation. The "output" return
 11568  // value will be populated with the request's response once the request completes
 11569  // successfully.
 11570  //
 11571  // Use "Send" method on the returned Request to send the API call to the service.
 11572  // the "output" return value is not valid until after Send returns without error.
 11573  //
 11574  // See ListAppInstances for more information on using the ListAppInstances
 11575  // API call, and error handling.
 11576  //
 11577  // This method is useful when you want to inject custom logic or configuration
 11578  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 11579  //
 11580  //
 11581  //    // Example sending a request using the ListAppInstancesRequest method.
 11582  //    req, resp := client.ListAppInstancesRequest(params)
 11583  //
 11584  //    err := req.Send()
 11585  //    if err == nil { // resp is now filled
 11586  //        fmt.Println(resp)
 11587  //    }
 11588  //
 11589  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAppInstances
 11590  func (c *Chime) ListAppInstancesRequest(input *ListAppInstancesInput) (req *request.Request, output *ListAppInstancesOutput) {
 11591  	op := &request.Operation{
 11592  		Name:       opListAppInstances,
 11593  		HTTPMethod: "GET",
 11594  		HTTPPath:   "/app-instances",
 11595  		Paginator: &request.Paginator{
 11596  			InputTokens:     []string{"NextToken"},
 11597  			OutputTokens:    []string{"NextToken"},
 11598  			LimitToken:      "MaxResults",
 11599  			TruncationToken: "",
 11600  		},
 11601  	}
 11602  
 11603  	if input == nil {
 11604  		input = &ListAppInstancesInput{}
 11605  	}
 11606  
 11607  	output = &ListAppInstancesOutput{}
 11608  	req = c.newRequest(op, input, output)
 11609  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
 11610  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
 11611  	return
 11612  }
 11613  
 11614  // ListAppInstances API operation for Amazon Chime.
 11615  //
 11616  // Lists all Amazon Chime AppInstances created under a single AWS account.
 11617  //
 11618  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 11619  // with awserr.Error's Code and Message methods to get detailed information about
 11620  // the error.
 11621  //
 11622  // See the AWS API reference guide for Amazon Chime's
 11623  // API operation ListAppInstances for usage and error information.
 11624  //
 11625  // Returned Error Types:
 11626  //   * BadRequestException
 11627  //   The input parameters don't match the service's restrictions.
 11628  //
 11629  //   * ForbiddenException
 11630  //   The client is permanently forbidden from making the request.
 11631  //
 11632  //   * ThrottledClientException
 11633  //   The client exceeded its request rate limit.
 11634  //
 11635  //   * UnauthorizedClientException
 11636  //   The client is not currently authorized to make the request.
 11637  //
 11638  //   * ServiceUnavailableException
 11639  //   The service is currently unavailable.
 11640  //
 11641  //   * ServiceFailureException
 11642  //   The service encountered an unexpected error.
 11643  //
 11644  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAppInstances
 11645  func (c *Chime) ListAppInstances(input *ListAppInstancesInput) (*ListAppInstancesOutput, error) {
 11646  	req, out := c.ListAppInstancesRequest(input)
 11647  	return out, req.Send()
 11648  }
 11649  
 11650  // ListAppInstancesWithContext is the same as ListAppInstances with the addition of
 11651  // the ability to pass a context and additional request options.
 11652  //
 11653  // See ListAppInstances for details on how to use this API operation.
 11654  //
 11655  // The context must be non-nil and will be used for request cancellation. If
 11656  // the context is nil a panic will occur. In the future the SDK may create
 11657  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11658  // for more information on using Contexts.
 11659  func (c *Chime) ListAppInstancesWithContext(ctx aws.Context, input *ListAppInstancesInput, opts ...request.Option) (*ListAppInstancesOutput, error) {
 11660  	req, out := c.ListAppInstancesRequest(input)
 11661  	req.SetContext(ctx)
 11662  	req.ApplyOptions(opts...)
 11663  	return out, req.Send()
 11664  }
 11665  
 11666  // ListAppInstancesPages iterates over the pages of a ListAppInstances operation,
 11667  // calling the "fn" function with the response data for each page. To stop
 11668  // iterating, return false from the fn function.
 11669  //
 11670  // See ListAppInstances method for more information on how to use this operation.
 11671  //
 11672  // Note: This operation can generate multiple requests to a service.
 11673  //
 11674  //    // Example iterating over at most 3 pages of a ListAppInstances operation.
 11675  //    pageNum := 0
 11676  //    err := client.ListAppInstancesPages(params,
 11677  //        func(page *chime.ListAppInstancesOutput, lastPage bool) bool {
 11678  //            pageNum++
 11679  //            fmt.Println(page)
 11680  //            return pageNum <= 3
 11681  //        })
 11682  //
 11683  func (c *Chime) ListAppInstancesPages(input *ListAppInstancesInput, fn func(*ListAppInstancesOutput, bool) bool) error {
 11684  	return c.ListAppInstancesPagesWithContext(aws.BackgroundContext(), input, fn)
 11685  }
 11686  
 11687  // ListAppInstancesPagesWithContext same as ListAppInstancesPages except
 11688  // it takes a Context and allows setting request options on the pages.
 11689  //
 11690  // The context must be non-nil and will be used for request cancellation. If
 11691  // the context is nil a panic will occur. In the future the SDK may create
 11692  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11693  // for more information on using Contexts.
 11694  func (c *Chime) ListAppInstancesPagesWithContext(ctx aws.Context, input *ListAppInstancesInput, fn func(*ListAppInstancesOutput, bool) bool, opts ...request.Option) error {
 11695  	p := request.Pagination{
 11696  		NewRequest: func() (*request.Request, error) {
 11697  			var inCpy *ListAppInstancesInput
 11698  			if input != nil {
 11699  				tmp := *input
 11700  				inCpy = &tmp
 11701  			}
 11702  			req, _ := c.ListAppInstancesRequest(inCpy)
 11703  			req.SetContext(ctx)
 11704  			req.ApplyOptions(opts...)
 11705  			return req, nil
 11706  		},
 11707  	}
 11708  
 11709  	for p.Next() {
 11710  		if !fn(p.Page().(*ListAppInstancesOutput), !p.HasNextPage()) {
 11711  			break
 11712  		}
 11713  	}
 11714  
 11715  	return p.Err()
 11716  }
 11717  
 11718  const opListAttendeeTags = "ListAttendeeTags"
 11719  
 11720  // ListAttendeeTagsRequest generates a "aws/request.Request" representing the
 11721  // client's request for the ListAttendeeTags operation. The "output" return
 11722  // value will be populated with the request's response once the request completes
 11723  // successfully.
 11724  //
 11725  // Use "Send" method on the returned Request to send the API call to the service.
 11726  // the "output" return value is not valid until after Send returns without error.
 11727  //
 11728  // See ListAttendeeTags for more information on using the ListAttendeeTags
 11729  // API call, and error handling.
 11730  //
 11731  // This method is useful when you want to inject custom logic or configuration
 11732  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 11733  //
 11734  //
 11735  //    // Example sending a request using the ListAttendeeTagsRequest method.
 11736  //    req, resp := client.ListAttendeeTagsRequest(params)
 11737  //
 11738  //    err := req.Send()
 11739  //    if err == nil { // resp is now filled
 11740  //        fmt.Println(resp)
 11741  //    }
 11742  //
 11743  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAttendeeTags
 11744  func (c *Chime) ListAttendeeTagsRequest(input *ListAttendeeTagsInput) (req *request.Request, output *ListAttendeeTagsOutput) {
 11745  	op := &request.Operation{
 11746  		Name:       opListAttendeeTags,
 11747  		HTTPMethod: "GET",
 11748  		HTTPPath:   "/meetings/{meetingId}/attendees/{attendeeId}/tags",
 11749  	}
 11750  
 11751  	if input == nil {
 11752  		input = &ListAttendeeTagsInput{}
 11753  	}
 11754  
 11755  	output = &ListAttendeeTagsOutput{}
 11756  	req = c.newRequest(op, input, output)
 11757  	return
 11758  }
 11759  
 11760  // ListAttendeeTags API operation for Amazon Chime.
 11761  //
 11762  // Lists the tags applied to an Amazon Chime SDK attendee resource.
 11763  //
 11764  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 11765  // with awserr.Error's Code and Message methods to get detailed information about
 11766  // the error.
 11767  //
 11768  // See the AWS API reference guide for Amazon Chime's
 11769  // API operation ListAttendeeTags for usage and error information.
 11770  //
 11771  // Returned Error Types:
 11772  //   * BadRequestException
 11773  //   The input parameters don't match the service's restrictions.
 11774  //
 11775  //   * ForbiddenException
 11776  //   The client is permanently forbidden from making the request.
 11777  //
 11778  //   * NotFoundException
 11779  //   One or more of the resources in the request does not exist in the system.
 11780  //
 11781  //   * ThrottledClientException
 11782  //   The client exceeded its request rate limit.
 11783  //
 11784  //   * UnauthorizedClientException
 11785  //   The client is not currently authorized to make the request.
 11786  //
 11787  //   * ServiceUnavailableException
 11788  //   The service is currently unavailable.
 11789  //
 11790  //   * ServiceFailureException
 11791  //   The service encountered an unexpected error.
 11792  //
 11793  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAttendeeTags
 11794  func (c *Chime) ListAttendeeTags(input *ListAttendeeTagsInput) (*ListAttendeeTagsOutput, error) {
 11795  	req, out := c.ListAttendeeTagsRequest(input)
 11796  	return out, req.Send()
 11797  }
 11798  
 11799  // ListAttendeeTagsWithContext is the same as ListAttendeeTags with the addition of
 11800  // the ability to pass a context and additional request options.
 11801  //
 11802  // See ListAttendeeTags for details on how to use this API operation.
 11803  //
 11804  // The context must be non-nil and will be used for request cancellation. If
 11805  // the context is nil a panic will occur. In the future the SDK may create
 11806  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11807  // for more information on using Contexts.
 11808  func (c *Chime) ListAttendeeTagsWithContext(ctx aws.Context, input *ListAttendeeTagsInput, opts ...request.Option) (*ListAttendeeTagsOutput, error) {
 11809  	req, out := c.ListAttendeeTagsRequest(input)
 11810  	req.SetContext(ctx)
 11811  	req.ApplyOptions(opts...)
 11812  	return out, req.Send()
 11813  }
 11814  
 11815  const opListAttendees = "ListAttendees"
 11816  
 11817  // ListAttendeesRequest generates a "aws/request.Request" representing the
 11818  // client's request for the ListAttendees operation. The "output" return
 11819  // value will be populated with the request's response once the request completes
 11820  // successfully.
 11821  //
 11822  // Use "Send" method on the returned Request to send the API call to the service.
 11823  // the "output" return value is not valid until after Send returns without error.
 11824  //
 11825  // See ListAttendees for more information on using the ListAttendees
 11826  // API call, and error handling.
 11827  //
 11828  // This method is useful when you want to inject custom logic or configuration
 11829  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 11830  //
 11831  //
 11832  //    // Example sending a request using the ListAttendeesRequest method.
 11833  //    req, resp := client.ListAttendeesRequest(params)
 11834  //
 11835  //    err := req.Send()
 11836  //    if err == nil { // resp is now filled
 11837  //        fmt.Println(resp)
 11838  //    }
 11839  //
 11840  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAttendees
 11841  func (c *Chime) ListAttendeesRequest(input *ListAttendeesInput) (req *request.Request, output *ListAttendeesOutput) {
 11842  	op := &request.Operation{
 11843  		Name:       opListAttendees,
 11844  		HTTPMethod: "GET",
 11845  		HTTPPath:   "/meetings/{meetingId}/attendees",
 11846  		Paginator: &request.Paginator{
 11847  			InputTokens:     []string{"NextToken"},
 11848  			OutputTokens:    []string{"NextToken"},
 11849  			LimitToken:      "MaxResults",
 11850  			TruncationToken: "",
 11851  		},
 11852  	}
 11853  
 11854  	if input == nil {
 11855  		input = &ListAttendeesInput{}
 11856  	}
 11857  
 11858  	output = &ListAttendeesOutput{}
 11859  	req = c.newRequest(op, input, output)
 11860  	return
 11861  }
 11862  
 11863  // ListAttendees API operation for Amazon Chime.
 11864  //
 11865  // Lists the attendees for the specified Amazon Chime SDK meeting. For more
 11866  // information about the Amazon Chime SDK, see Using the Amazon Chime SDK (https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html)
 11867  // in the Amazon Chime Developer Guide.
 11868  //
 11869  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 11870  // with awserr.Error's Code and Message methods to get detailed information about
 11871  // the error.
 11872  //
 11873  // See the AWS API reference guide for Amazon Chime's
 11874  // API operation ListAttendees for usage and error information.
 11875  //
 11876  // Returned Error Types:
 11877  //   * BadRequestException
 11878  //   The input parameters don't match the service's restrictions.
 11879  //
 11880  //   * ForbiddenException
 11881  //   The client is permanently forbidden from making the request.
 11882  //
 11883  //   * NotFoundException
 11884  //   One or more of the resources in the request does not exist in the system.
 11885  //
 11886  //   * ThrottledClientException
 11887  //   The client exceeded its request rate limit.
 11888  //
 11889  //   * UnauthorizedClientException
 11890  //   The client is not currently authorized to make the request.
 11891  //
 11892  //   * ServiceUnavailableException
 11893  //   The service is currently unavailable.
 11894  //
 11895  //   * ServiceFailureException
 11896  //   The service encountered an unexpected error.
 11897  //
 11898  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAttendees
 11899  func (c *Chime) ListAttendees(input *ListAttendeesInput) (*ListAttendeesOutput, error) {
 11900  	req, out := c.ListAttendeesRequest(input)
 11901  	return out, req.Send()
 11902  }
 11903  
 11904  // ListAttendeesWithContext is the same as ListAttendees with the addition of
 11905  // the ability to pass a context and additional request options.
 11906  //
 11907  // See ListAttendees for details on how to use this API operation.
 11908  //
 11909  // The context must be non-nil and will be used for request cancellation. If
 11910  // the context is nil a panic will occur. In the future the SDK may create
 11911  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11912  // for more information on using Contexts.
 11913  func (c *Chime) ListAttendeesWithContext(ctx aws.Context, input *ListAttendeesInput, opts ...request.Option) (*ListAttendeesOutput, error) {
 11914  	req, out := c.ListAttendeesRequest(input)
 11915  	req.SetContext(ctx)
 11916  	req.ApplyOptions(opts...)
 11917  	return out, req.Send()
 11918  }
 11919  
 11920  // ListAttendeesPages iterates over the pages of a ListAttendees operation,
 11921  // calling the "fn" function with the response data for each page. To stop
 11922  // iterating, return false from the fn function.
 11923  //
 11924  // See ListAttendees method for more information on how to use this operation.
 11925  //
 11926  // Note: This operation can generate multiple requests to a service.
 11927  //
 11928  //    // Example iterating over at most 3 pages of a ListAttendees operation.
 11929  //    pageNum := 0
 11930  //    err := client.ListAttendeesPages(params,
 11931  //        func(page *chime.ListAttendeesOutput, lastPage bool) bool {
 11932  //            pageNum++
 11933  //            fmt.Println(page)
 11934  //            return pageNum <= 3
 11935  //        })
 11936  //
 11937  func (c *Chime) ListAttendeesPages(input *ListAttendeesInput, fn func(*ListAttendeesOutput, bool) bool) error {
 11938  	return c.ListAttendeesPagesWithContext(aws.BackgroundContext(), input, fn)
 11939  }
 11940  
 11941  // ListAttendeesPagesWithContext same as ListAttendeesPages except
 11942  // it takes a Context and allows setting request options on the pages.
 11943  //
 11944  // The context must be non-nil and will be used for request cancellation. If
 11945  // the context is nil a panic will occur. In the future the SDK may create
 11946  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11947  // for more information on using Contexts.
 11948  func (c *Chime) ListAttendeesPagesWithContext(ctx aws.Context, input *ListAttendeesInput, fn func(*ListAttendeesOutput, bool) bool, opts ...request.Option) error {
 11949  	p := request.Pagination{
 11950  		NewRequest: func() (*request.Request, error) {
 11951  			var inCpy *ListAttendeesInput
 11952  			if input != nil {
 11953  				tmp := *input
 11954  				inCpy = &tmp
 11955  			}
 11956  			req, _ := c.ListAttendeesRequest(inCpy)
 11957  			req.SetContext(ctx)
 11958  			req.ApplyOptions(opts...)
 11959  			return req, nil
 11960  		},
 11961  	}
 11962  
 11963  	for p.Next() {
 11964  		if !fn(p.Page().(*ListAttendeesOutput), !p.HasNextPage()) {
 11965  			break
 11966  		}
 11967  	}
 11968  
 11969  	return p.Err()
 11970  }
 11971  
 11972  const opListBots = "ListBots"
 11973  
 11974  // ListBotsRequest generates a "aws/request.Request" representing the
 11975  // client's request for the ListBots operation. The "output" return
 11976  // value will be populated with the request's response once the request completes
 11977  // successfully.
 11978  //
 11979  // Use "Send" method on the returned Request to send the API call to the service.
 11980  // the "output" return value is not valid until after Send returns without error.
 11981  //
 11982  // See ListBots for more information on using the ListBots
 11983  // API call, and error handling.
 11984  //
 11985  // This method is useful when you want to inject custom logic or configuration
 11986  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 11987  //
 11988  //
 11989  //    // Example sending a request using the ListBotsRequest method.
 11990  //    req, resp := client.ListBotsRequest(params)
 11991  //
 11992  //    err := req.Send()
 11993  //    if err == nil { // resp is now filled
 11994  //        fmt.Println(resp)
 11995  //    }
 11996  //
 11997  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListBots
 11998  func (c *Chime) ListBotsRequest(input *ListBotsInput) (req *request.Request, output *ListBotsOutput) {
 11999  	op := &request.Operation{
 12000  		Name:       opListBots,
 12001  		HTTPMethod: "GET",
 12002  		HTTPPath:   "/accounts/{accountId}/bots",
 12003  		Paginator: &request.Paginator{
 12004  			InputTokens:     []string{"NextToken"},
 12005  			OutputTokens:    []string{"NextToken"},
 12006  			LimitToken:      "MaxResults",
 12007  			TruncationToken: "",
 12008  		},
 12009  	}
 12010  
 12011  	if input == nil {
 12012  		input = &ListBotsInput{}
 12013  	}
 12014  
 12015  	output = &ListBotsOutput{}
 12016  	req = c.newRequest(op, input, output)
 12017  	return
 12018  }
 12019  
 12020  // ListBots API operation for Amazon Chime.
 12021  //
 12022  // Lists the bots associated with the administrator's Amazon Chime Enterprise
 12023  // account ID.
 12024  //
 12025  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 12026  // with awserr.Error's Code and Message methods to get detailed information about
 12027  // the error.
 12028  //
 12029  // See the AWS API reference guide for Amazon Chime's
 12030  // API operation ListBots for usage and error information.
 12031  //
 12032  // Returned Error Types:
 12033  //   * ServiceUnavailableException
 12034  //   The service is currently unavailable.
 12035  //
 12036  //   * ServiceFailureException
 12037  //   The service encountered an unexpected error.
 12038  //
 12039  //   * ForbiddenException
 12040  //   The client is permanently forbidden from making the request.
 12041  //
 12042  //   * UnauthorizedClientException
 12043  //   The client is not currently authorized to make the request.
 12044  //
 12045  //   * BadRequestException
 12046  //   The input parameters don't match the service's restrictions.
 12047  //
 12048  //   * NotFoundException
 12049  //   One or more of the resources in the request does not exist in the system.
 12050  //
 12051  //   * ThrottledClientException
 12052  //   The client exceeded its request rate limit.
 12053  //
 12054  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListBots
 12055  func (c *Chime) ListBots(input *ListBotsInput) (*ListBotsOutput, error) {
 12056  	req, out := c.ListBotsRequest(input)
 12057  	return out, req.Send()
 12058  }
 12059  
 12060  // ListBotsWithContext is the same as ListBots with the addition of
 12061  // the ability to pass a context and additional request options.
 12062  //
 12063  // See ListBots for details on how to use this API operation.
 12064  //
 12065  // The context must be non-nil and will be used for request cancellation. If
 12066  // the context is nil a panic will occur. In the future the SDK may create
 12067  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 12068  // for more information on using Contexts.
 12069  func (c *Chime) ListBotsWithContext(ctx aws.Context, input *ListBotsInput, opts ...request.Option) (*ListBotsOutput, error) {
 12070  	req, out := c.ListBotsRequest(input)
 12071  	req.SetContext(ctx)
 12072  	req.ApplyOptions(opts...)
 12073  	return out, req.Send()
 12074  }
 12075  
 12076  // ListBotsPages iterates over the pages of a ListBots operation,
 12077  // calling the "fn" function with the response data for each page. To stop
 12078  // iterating, return false from the fn function.
 12079  //
 12080  // See ListBots method for more information on how to use this operation.
 12081  //
 12082  // Note: This operation can generate multiple requests to a service.
 12083  //
 12084  //    // Example iterating over at most 3 pages of a ListBots operation.
 12085  //    pageNum := 0
 12086  //    err := client.ListBotsPages(params,
 12087  //        func(page *chime.ListBotsOutput, lastPage bool) bool {
 12088  //            pageNum++
 12089  //            fmt.Println(page)
 12090  //            return pageNum <= 3
 12091  //        })
 12092  //
 12093  func (c *Chime) ListBotsPages(input *ListBotsInput, fn func(*ListBotsOutput, bool) bool) error {
 12094  	return c.ListBotsPagesWithContext(aws.BackgroundContext(), input, fn)
 12095  }
 12096  
 12097  // ListBotsPagesWithContext same as ListBotsPages except
 12098  // it takes a Context and allows setting request options on the pages.
 12099  //
 12100  // The context must be non-nil and will be used for request cancellation. If
 12101  // the context is nil a panic will occur. In the future the SDK may create
 12102  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 12103  // for more information on using Contexts.
 12104  func (c *Chime) ListBotsPagesWithContext(ctx aws.Context, input *ListBotsInput, fn func(*ListBotsOutput, bool) bool, opts ...request.Option) error {
 12105  	p := request.Pagination{
 12106  		NewRequest: func() (*request.Request, error) {
 12107  			var inCpy *ListBotsInput
 12108  			if input != nil {
 12109  				tmp := *input
 12110  				inCpy = &tmp
 12111  			}
 12112  			req, _ := c.ListBotsRequest(inCpy)
 12113  			req.SetContext(ctx)
 12114  			req.ApplyOptions(opts...)
 12115  			return req, nil
 12116  		},
 12117  	}
 12118  
 12119  	for p.Next() {
 12120  		if !fn(p.Page().(*ListBotsOutput), !p.HasNextPage()) {
 12121  			break
 12122  		}
 12123  	}
 12124  
 12125  	return p.Err()
 12126  }
 12127  
 12128  const opListChannelBans = "ListChannelBans"
 12129  
 12130  // ListChannelBansRequest generates a "aws/request.Request" representing the
 12131  // client's request for the ListChannelBans operation. The "output" return
 12132  // value will be populated with the request's response once the request completes
 12133  // successfully.
 12134  //
 12135  // Use "Send" method on the returned Request to send the API call to the service.
 12136  // the "output" return value is not valid until after Send returns without error.
 12137  //
 12138  // See ListChannelBans for more information on using the ListChannelBans
 12139  // API call, and error handling.
 12140  //
 12141  // This method is useful when you want to inject custom logic or configuration
 12142  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 12143  //
 12144  //
 12145  //    // Example sending a request using the ListChannelBansRequest method.
 12146  //    req, resp := client.ListChannelBansRequest(params)
 12147  //
 12148  //    err := req.Send()
 12149  //    if err == nil { // resp is now filled
 12150  //        fmt.Println(resp)
 12151  //    }
 12152  //
 12153  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelBans
 12154  func (c *Chime) ListChannelBansRequest(input *ListChannelBansInput) (req *request.Request, output *ListChannelBansOutput) {
 12155  	op := &request.Operation{
 12156  		Name:       opListChannelBans,
 12157  		HTTPMethod: "GET",
 12158  		HTTPPath:   "/channels/{channelArn}/bans",
 12159  		Paginator: &request.Paginator{
 12160  			InputTokens:     []string{"NextToken"},
 12161  			OutputTokens:    []string{"NextToken"},
 12162  			LimitToken:      "MaxResults",
 12163  			TruncationToken: "",
 12164  		},
 12165  	}
 12166  
 12167  	if input == nil {
 12168  		input = &ListChannelBansInput{}
 12169  	}
 12170  
 12171  	output = &ListChannelBansOutput{}
 12172  	req = c.newRequest(op, input, output)
 12173  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
 12174  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
 12175  	return
 12176  }
 12177  
 12178  // ListChannelBans API operation for Amazon Chime.
 12179  //
 12180  // Lists all the users banned from a particular channel.
 12181  //
 12182  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
 12183  // of the user that makes the API call as the value in the header.
 12184  //
 12185  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 12186  // with awserr.Error's Code and Message methods to get detailed information about
 12187  // the error.
 12188  //
 12189  // See the AWS API reference guide for Amazon Chime's
 12190  // API operation ListChannelBans for usage and error information.
 12191  //
 12192  // Returned Error Types:
 12193  //   * BadRequestException
 12194  //   The input parameters don't match the service's restrictions.
 12195  //
 12196  //   * ForbiddenException
 12197  //   The client is permanently forbidden from making the request.
 12198  //
 12199  //   * UnauthorizedClientException
 12200  //   The client is not currently authorized to make the request.
 12201  //
 12202  //   * ThrottledClientException
 12203  //   The client exceeded its request rate limit.
 12204  //
 12205  //   * ServiceUnavailableException
 12206  //   The service is currently unavailable.
 12207  //
 12208  //   * ServiceFailureException
 12209  //   The service encountered an unexpected error.
 12210  //
 12211  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelBans
 12212  func (c *Chime) ListChannelBans(input *ListChannelBansInput) (*ListChannelBansOutput, error) {
 12213  	req, out := c.ListChannelBansRequest(input)
 12214  	return out, req.Send()
 12215  }
 12216  
 12217  // ListChannelBansWithContext is the same as ListChannelBans with the addition of
 12218  // the ability to pass a context and additional request options.
 12219  //
 12220  // See ListChannelBans for details on how to use this API operation.
 12221  //
 12222  // The context must be non-nil and will be used for request cancellation. If
 12223  // the context is nil a panic will occur. In the future the SDK may create
 12224  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 12225  // for more information on using Contexts.
 12226  func (c *Chime) ListChannelBansWithContext(ctx aws.Context, input *ListChannelBansInput, opts ...request.Option) (*ListChannelBansOutput, error) {
 12227  	req, out := c.ListChannelBansRequest(input)
 12228  	req.SetContext(ctx)
 12229  	req.ApplyOptions(opts...)
 12230  	return out, req.Send()
 12231  }
 12232  
 12233  // ListChannelBansPages iterates over the pages of a ListChannelBans operation,
 12234  // calling the "fn" function with the response data for each page. To stop
 12235  // iterating, return false from the fn function.
 12236  //
 12237  // See ListChannelBans method for more information on how to use this operation.
 12238  //
 12239  // Note: This operation can generate multiple requests to a service.
 12240  //
 12241  //    // Example iterating over at most 3 pages of a ListChannelBans operation.
 12242  //    pageNum := 0
 12243  //    err := client.ListChannelBansPages(params,
 12244  //        func(page *chime.ListChannelBansOutput, lastPage bool) bool {
 12245  //            pageNum++
 12246  //            fmt.Println(page)
 12247  //            return pageNum <= 3
 12248  //        })
 12249  //
 12250  func (c *Chime) ListChannelBansPages(input *ListChannelBansInput, fn func(*ListChannelBansOutput, bool) bool) error {
 12251  	return c.ListChannelBansPagesWithContext(aws.BackgroundContext(), input, fn)
 12252  }
 12253  
 12254  // ListChannelBansPagesWithContext same as ListChannelBansPages except
 12255  // it takes a Context and allows setting request options on the pages.
 12256  //
 12257  // The context must be non-nil and will be used for request cancellation. If
 12258  // the context is nil a panic will occur. In the future the SDK may create
 12259  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 12260  // for more information on using Contexts.
 12261  func (c *Chime) ListChannelBansPagesWithContext(ctx aws.Context, input *ListChannelBansInput, fn func(*ListChannelBansOutput, bool) bool, opts ...request.Option) error {
 12262  	p := request.Pagination{
 12263  		NewRequest: func() (*request.Request, error) {
 12264  			var inCpy *ListChannelBansInput
 12265  			if input != nil {
 12266  				tmp := *input
 12267  				inCpy = &tmp
 12268  			}
 12269  			req, _ := c.ListChannelBansRequest(inCpy)
 12270  			req.SetContext(ctx)
 12271  			req.ApplyOptions(opts...)
 12272  			return req, nil
 12273  		},
 12274  	}
 12275  
 12276  	for p.Next() {
 12277  		if !fn(p.Page().(*ListChannelBansOutput), !p.HasNextPage()) {
 12278  			break
 12279  		}
 12280  	}
 12281  
 12282  	return p.Err()
 12283  }
 12284  
 12285  const opListChannelMemberships = "ListChannelMemberships"
 12286  
 12287  // ListChannelMembershipsRequest generates a "aws/request.Request" representing the
 12288  // client's request for the ListChannelMemberships operation. The "output" return
 12289  // value will be populated with the request's response once the request completes
 12290  // successfully.
 12291  //
 12292  // Use "Send" method on the returned Request to send the API call to the service.
 12293  // the "output" return value is not valid until after Send returns without error.
 12294  //
 12295  // See ListChannelMemberships for more information on using the ListChannelMemberships
 12296  // API call, and error handling.
 12297  //
 12298  // This method is useful when you want to inject custom logic or configuration
 12299  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 12300  //
 12301  //
 12302  //    // Example sending a request using the ListChannelMembershipsRequest method.
 12303  //    req, resp := client.ListChannelMembershipsRequest(params)
 12304  //
 12305  //    err := req.Send()
 12306  //    if err == nil { // resp is now filled
 12307  //        fmt.Println(resp)
 12308  //    }
 12309  //
 12310  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelMemberships
 12311  func (c *Chime) ListChannelMembershipsRequest(input *ListChannelMembershipsInput) (req *request.Request, output *ListChannelMembershipsOutput) {
 12312  	op := &request.Operation{
 12313  		Name:       opListChannelMemberships,
 12314  		HTTPMethod: "GET",
 12315  		HTTPPath:   "/channels/{channelArn}/memberships",
 12316  		Paginator: &request.Paginator{
 12317  			InputTokens:     []string{"NextToken"},
 12318  			OutputTokens:    []string{"NextToken"},
 12319  			LimitToken:      "MaxResults",
 12320  			TruncationToken: "",
 12321  		},
 12322  	}
 12323  
 12324  	if input == nil {
 12325  		input = &ListChannelMembershipsInput{}
 12326  	}
 12327  
 12328  	output = &ListChannelMembershipsOutput{}
 12329  	req = c.newRequest(op, input, output)
 12330  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
 12331  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
 12332  	return
 12333  }
 12334  
 12335  // ListChannelMemberships API operation for Amazon Chime.
 12336  //
 12337  // Lists all channel memberships in a channel.
 12338  //
 12339  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
 12340  // of the user that makes the API call as the value in the header.
 12341  //
 12342  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 12343  // with awserr.Error's Code and Message methods to get detailed information about
 12344  // the error.
 12345  //
 12346  // See the AWS API reference guide for Amazon Chime's
 12347  // API operation ListChannelMemberships for usage and error information.
 12348  //
 12349  // Returned Error Types:
 12350  //   * BadRequestException
 12351  //   The input parameters don't match the service's restrictions.
 12352  //
 12353  //   * ForbiddenException
 12354  //   The client is permanently forbidden from making the request.
 12355  //
 12356  //   * UnauthorizedClientException
 12357  //   The client is not currently authorized to make the request.
 12358  //
 12359  //   * ThrottledClientException
 12360  //   The client exceeded its request rate limit.
 12361  //
 12362  //   * ServiceUnavailableException
 12363  //   The service is currently unavailable.
 12364  //
 12365  //   * ServiceFailureException
 12366  //   The service encountered an unexpected error.
 12367  //
 12368  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelMemberships
 12369  func (c *Chime) ListChannelMemberships(input *ListChannelMembershipsInput) (*ListChannelMembershipsOutput, error) {
 12370  	req, out := c.ListChannelMembershipsRequest(input)
 12371  	return out, req.Send()
 12372  }
 12373  
 12374  // ListChannelMembershipsWithContext is the same as ListChannelMemberships with the addition of
 12375  // the ability to pass a context and additional request options.
 12376  //
 12377  // See ListChannelMemberships for details on how to use this API operation.
 12378  //
 12379  // The context must be non-nil and will be used for request cancellation. If
 12380  // the context is nil a panic will occur. In the future the SDK may create
 12381  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 12382  // for more information on using Contexts.
 12383  func (c *Chime) ListChannelMembershipsWithContext(ctx aws.Context, input *ListChannelMembershipsInput, opts ...request.Option) (*ListChannelMembershipsOutput, error) {
 12384  	req, out := c.ListChannelMembershipsRequest(input)
 12385  	req.SetContext(ctx)
 12386  	req.ApplyOptions(opts...)
 12387  	return out, req.Send()
 12388  }
 12389  
 12390  // ListChannelMembershipsPages iterates over the pages of a ListChannelMemberships operation,
 12391  // calling the "fn" function with the response data for each page. To stop
 12392  // iterating, return false from the fn function.
 12393  //
 12394  // See ListChannelMemberships method for more information on how to use this operation.
 12395  //
 12396  // Note: This operation can generate multiple requests to a service.
 12397  //
 12398  //    // Example iterating over at most 3 pages of a ListChannelMemberships operation.
 12399  //    pageNum := 0
 12400  //    err := client.ListChannelMembershipsPages(params,
 12401  //        func(page *chime.ListChannelMembershipsOutput, lastPage bool) bool {
 12402  //            pageNum++
 12403  //            fmt.Println(page)
 12404  //            return pageNum <= 3
 12405  //        })
 12406  //
 12407  func (c *Chime) ListChannelMembershipsPages(input *ListChannelMembershipsInput, fn func(*ListChannelMembershipsOutput, bool) bool) error {
 12408  	return c.ListChannelMembershipsPagesWithContext(aws.BackgroundContext(), input, fn)
 12409  }
 12410  
 12411  // ListChannelMembershipsPagesWithContext same as ListChannelMembershipsPages except
 12412  // it takes a Context and allows setting request options on the pages.
 12413  //
 12414  // The context must be non-nil and will be used for request cancellation. If
 12415  // the context is nil a panic will occur. In the future the SDK may create
 12416  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 12417  // for more information on using Contexts.
 12418  func (c *Chime) ListChannelMembershipsPagesWithContext(ctx aws.Context, input *ListChannelMembershipsInput, fn func(*ListChannelMembershipsOutput, bool) bool, opts ...request.Option) error {
 12419  	p := request.Pagination{
 12420  		NewRequest: func() (*request.Request, error) {
 12421  			var inCpy *ListChannelMembershipsInput
 12422  			if input != nil {
 12423  				tmp := *input
 12424  				inCpy = &tmp
 12425  			}
 12426  			req, _ := c.ListChannelMembershipsRequest(inCpy)
 12427  			req.SetContext(ctx)
 12428  			req.ApplyOptions(opts...)
 12429  			return req, nil
 12430  		},
 12431  	}
 12432  
 12433  	for p.Next() {
 12434  		if !fn(p.Page().(*ListChannelMembershipsOutput), !p.HasNextPage()) {
 12435  			break
 12436  		}
 12437  	}
 12438  
 12439  	return p.Err()
 12440  }
 12441  
 12442  const opListChannelMembershipsForAppInstanceUser = "ListChannelMembershipsForAppInstanceUser"
 12443  
 12444  // ListChannelMembershipsForAppInstanceUserRequest generates a "aws/request.Request" representing the
 12445  // client's request for the ListChannelMembershipsForAppInstanceUser operation. The "output" return
 12446  // value will be populated with the request's response once the request completes
 12447  // successfully.
 12448  //
 12449  // Use "Send" method on the returned Request to send the API call to the service.
 12450  // the "output" return value is not valid until after Send returns without error.
 12451  //
 12452  // See ListChannelMembershipsForAppInstanceUser for more information on using the ListChannelMembershipsForAppInstanceUser
 12453  // API call, and error handling.
 12454  //
 12455  // This method is useful when you want to inject custom logic or configuration
 12456  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 12457  //
 12458  //
 12459  //    // Example sending a request using the ListChannelMembershipsForAppInstanceUserRequest method.
 12460  //    req, resp := client.ListChannelMembershipsForAppInstanceUserRequest(params)
 12461  //
 12462  //    err := req.Send()
 12463  //    if err == nil { // resp is now filled
 12464  //        fmt.Println(resp)
 12465  //    }
 12466  //
 12467  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelMembershipsForAppInstanceUser
 12468  func (c *Chime) ListChannelMembershipsForAppInstanceUserRequest(input *ListChannelMembershipsForAppInstanceUserInput) (req *request.Request, output *ListChannelMembershipsForAppInstanceUserOutput) {
 12469  	op := &request.Operation{
 12470  		Name:       opListChannelMembershipsForAppInstanceUser,
 12471  		HTTPMethod: "GET",
 12472  		HTTPPath:   "/channels?scope=app-instance-user-memberships",
 12473  		Paginator: &request.Paginator{
 12474  			InputTokens:     []string{"NextToken"},
 12475  			OutputTokens:    []string{"NextToken"},
 12476  			LimitToken:      "MaxResults",
 12477  			TruncationToken: "",
 12478  		},
 12479  	}
 12480  
 12481  	if input == nil {
 12482  		input = &ListChannelMembershipsForAppInstanceUserInput{}
 12483  	}
 12484  
 12485  	output = &ListChannelMembershipsForAppInstanceUserOutput{}
 12486  	req = c.newRequest(op, input, output)
 12487  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
 12488  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
 12489  	return
 12490  }
 12491  
 12492  // ListChannelMembershipsForAppInstanceUser API operation for Amazon Chime.
 12493  //
 12494  // Lists all channels that a particular AppInstanceUser is a part of. Only an
 12495  // AppInstanceAdmin can call the API with a user ARN that is not their own.
 12496  //
 12497  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
 12498  // of the user that makes the API call as the value in the header.
 12499  //
 12500  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 12501  // with awserr.Error's Code and Message methods to get detailed information about
 12502  // the error.
 12503  //
 12504  // See the AWS API reference guide for Amazon Chime's
 12505  // API operation ListChannelMembershipsForAppInstanceUser for usage and error information.
 12506  //
 12507  // Returned Error Types:
 12508  //   * BadRequestException
 12509  //   The input parameters don't match the service's restrictions.
 12510  //
 12511  //   * ForbiddenException
 12512  //   The client is permanently forbidden from making the request.
 12513  //
 12514  //   * UnauthorizedClientException
 12515  //   The client is not currently authorized to make the request.
 12516  //
 12517  //   * ThrottledClientException
 12518  //   The client exceeded its request rate limit.
 12519  //
 12520  //   * ServiceUnavailableException
 12521  //   The service is currently unavailable.
 12522  //
 12523  //   * ServiceFailureException
 12524  //   The service encountered an unexpected error.
 12525  //
 12526  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelMembershipsForAppInstanceUser
 12527  func (c *Chime) ListChannelMembershipsForAppInstanceUser(input *ListChannelMembershipsForAppInstanceUserInput) (*ListChannelMembershipsForAppInstanceUserOutput, error) {
 12528  	req, out := c.ListChannelMembershipsForAppInstanceUserRequest(input)
 12529  	return out, req.Send()
 12530  }
 12531  
 12532  // ListChannelMembershipsForAppInstanceUserWithContext is the same as ListChannelMembershipsForAppInstanceUser with the addition of
 12533  // the ability to pass a context and additional request options.
 12534  //
 12535  // See ListChannelMembershipsForAppInstanceUser for details on how to use this API operation.
 12536  //
 12537  // The context must be non-nil and will be used for request cancellation. If
 12538  // the context is nil a panic will occur. In the future the SDK may create
 12539  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 12540  // for more information on using Contexts.
 12541  func (c *Chime) ListChannelMembershipsForAppInstanceUserWithContext(ctx aws.Context, input *ListChannelMembershipsForAppInstanceUserInput, opts ...request.Option) (*ListChannelMembershipsForAppInstanceUserOutput, error) {
 12542  	req, out := c.ListChannelMembershipsForAppInstanceUserRequest(input)
 12543  	req.SetContext(ctx)
 12544  	req.ApplyOptions(opts...)
 12545  	return out, req.Send()
 12546  }
 12547  
 12548  // ListChannelMembershipsForAppInstanceUserPages iterates over the pages of a ListChannelMembershipsForAppInstanceUser operation,
 12549  // calling the "fn" function with the response data for each page. To stop
 12550  // iterating, return false from the fn function.
 12551  //
 12552  // See ListChannelMembershipsForAppInstanceUser method for more information on how to use this operation.
 12553  //
 12554  // Note: This operation can generate multiple requests to a service.
 12555  //
 12556  //    // Example iterating over at most 3 pages of a ListChannelMembershipsForAppInstanceUser operation.
 12557  //    pageNum := 0
 12558  //    err := client.ListChannelMembershipsForAppInstanceUserPages(params,
 12559  //        func(page *chime.ListChannelMembershipsForAppInstanceUserOutput, lastPage bool) bool {
 12560  //            pageNum++
 12561  //            fmt.Println(page)
 12562  //            return pageNum <= 3
 12563  //        })
 12564  //
 12565  func (c *Chime) ListChannelMembershipsForAppInstanceUserPages(input *ListChannelMembershipsForAppInstanceUserInput, fn func(*ListChannelMembershipsForAppInstanceUserOutput, bool) bool) error {
 12566  	return c.ListChannelMembershipsForAppInstanceUserPagesWithContext(aws.BackgroundContext(), input, fn)
 12567  }
 12568  
 12569  // ListChannelMembershipsForAppInstanceUserPagesWithContext same as ListChannelMembershipsForAppInstanceUserPages except
 12570  // it takes a Context and allows setting request options on the pages.
 12571  //
 12572  // The context must be non-nil and will be used for request cancellation. If
 12573  // the context is nil a panic will occur. In the future the SDK may create
 12574  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 12575  // for more information on using Contexts.
 12576  func (c *Chime) ListChannelMembershipsForAppInstanceUserPagesWithContext(ctx aws.Context, input *ListChannelMembershipsForAppInstanceUserInput, fn func(*ListChannelMembershipsForAppInstanceUserOutput, bool) bool, opts ...request.Option) error {
 12577  	p := request.Pagination{
 12578  		NewRequest: func() (*request.Request, error) {
 12579  			var inCpy *ListChannelMembershipsForAppInstanceUserInput
 12580  			if input != nil {
 12581  				tmp := *input
 12582  				inCpy = &tmp
 12583  			}
 12584  			req, _ := c.ListChannelMembershipsForAppInstanceUserRequest(inCpy)
 12585  			req.SetContext(ctx)
 12586  			req.ApplyOptions(opts...)
 12587  			return req, nil
 12588  		},
 12589  	}
 12590  
 12591  	for p.Next() {
 12592  		if !fn(p.Page().(*ListChannelMembershipsForAppInstanceUserOutput), !p.HasNextPage()) {
 12593  			break
 12594  		}
 12595  	}
 12596  
 12597  	return p.Err()
 12598  }
 12599  
 12600  const opListChannelMessages = "ListChannelMessages"
 12601  
 12602  // ListChannelMessagesRequest generates a "aws/request.Request" representing the
 12603  // client's request for the ListChannelMessages operation. The "output" return
 12604  // value will be populated with the request's response once the request completes
 12605  // successfully.
 12606  //
 12607  // Use "Send" method on the returned Request to send the API call to the service.
 12608  // the "output" return value is not valid until after Send returns without error.
 12609  //
 12610  // See ListChannelMessages for more information on using the ListChannelMessages
 12611  // API call, and error handling.
 12612  //
 12613  // This method is useful when you want to inject custom logic or configuration
 12614  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 12615  //
 12616  //
 12617  //    // Example sending a request using the ListChannelMessagesRequest method.
 12618  //    req, resp := client.ListChannelMessagesRequest(params)
 12619  //
 12620  //    err := req.Send()
 12621  //    if err == nil { // resp is now filled
 12622  //        fmt.Println(resp)
 12623  //    }
 12624  //
 12625  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelMessages
 12626  func (c *Chime) ListChannelMessagesRequest(input *ListChannelMessagesInput) (req *request.Request, output *ListChannelMessagesOutput) {
 12627  	op := &request.Operation{
 12628  		Name:       opListChannelMessages,
 12629  		HTTPMethod: "GET",
 12630  		HTTPPath:   "/channels/{channelArn}/messages",
 12631  		Paginator: &request.Paginator{
 12632  			InputTokens:     []string{"NextToken"},
 12633  			OutputTokens:    []string{"NextToken"},
 12634  			LimitToken:      "MaxResults",
 12635  			TruncationToken: "",
 12636  		},
 12637  	}
 12638  
 12639  	if input == nil {
 12640  		input = &ListChannelMessagesInput{}
 12641  	}
 12642  
 12643  	output = &ListChannelMessagesOutput{}
 12644  	req = c.newRequest(op, input, output)
 12645  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
 12646  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
 12647  	return
 12648  }
 12649  
 12650  // ListChannelMessages API operation for Amazon Chime.
 12651  //
 12652  // List all the messages in a channel. Returns a paginated list of ChannelMessages.
 12653  // By default, sorted by creation timestamp in descending order.
 12654  //
 12655  // Redacted messages appear in the results as empty, since they are only redacted,
 12656  // not deleted. Deleted messages do not appear in the results. This action always
 12657  // returns the latest version of an edited message.
 12658  //
 12659  // Also, the x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
 12660  // of the user that makes the API call as the value in the header.
 12661  //
 12662  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 12663  // with awserr.Error's Code and Message methods to get detailed information about
 12664  // the error.
 12665  //
 12666  // See the AWS API reference guide for Amazon Chime's
 12667  // API operation ListChannelMessages for usage and error information.
 12668  //
 12669  // Returned Error Types:
 12670  //   * BadRequestException
 12671  //   The input parameters don't match the service's restrictions.
 12672  //
 12673  //   * ForbiddenException
 12674  //   The client is permanently forbidden from making the request.
 12675  //
 12676  //   * UnauthorizedClientException
 12677  //   The client is not currently authorized to make the request.
 12678  //
 12679  //   * ThrottledClientException
 12680  //   The client exceeded its request rate limit.
 12681  //
 12682  //   * ServiceUnavailableException
 12683  //   The service is currently unavailable.
 12684  //
 12685  //   * ServiceFailureException
 12686  //   The service encountered an unexpected error.
 12687  //
 12688  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelMessages
 12689  func (c *Chime) ListChannelMessages(input *ListChannelMessagesInput) (*ListChannelMessagesOutput, error) {
 12690  	req, out := c.ListChannelMessagesRequest(input)
 12691  	return out, req.Send()
 12692  }
 12693  
 12694  // ListChannelMessagesWithContext is the same as ListChannelMessages with the addition of
 12695  // the ability to pass a context and additional request options.
 12696  //
 12697  // See ListChannelMessages for details on how to use this API operation.
 12698  //
 12699  // The context must be non-nil and will be used for request cancellation. If
 12700  // the context is nil a panic will occur. In the future the SDK may create
 12701  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 12702  // for more information on using Contexts.
 12703  func (c *Chime) ListChannelMessagesWithContext(ctx aws.Context, input *ListChannelMessagesInput, opts ...request.Option) (*ListChannelMessagesOutput, error) {
 12704  	req, out := c.ListChannelMessagesRequest(input)
 12705  	req.SetContext(ctx)
 12706  	req.ApplyOptions(opts...)
 12707  	return out, req.Send()
 12708  }
 12709  
 12710  // ListChannelMessagesPages iterates over the pages of a ListChannelMessages operation,
 12711  // calling the "fn" function with the response data for each page. To stop
 12712  // iterating, return false from the fn function.
 12713  //
 12714  // See ListChannelMessages method for more information on how to use this operation.
 12715  //
 12716  // Note: This operation can generate multiple requests to a service.
 12717  //
 12718  //    // Example iterating over at most 3 pages of a ListChannelMessages operation.
 12719  //    pageNum := 0
 12720  //    err := client.ListChannelMessagesPages(params,
 12721  //        func(page *chime.ListChannelMessagesOutput, lastPage bool) bool {
 12722  //            pageNum++
 12723  //            fmt.Println(page)
 12724  //            return pageNum <= 3
 12725  //        })
 12726  //
 12727  func (c *Chime) ListChannelMessagesPages(input *ListChannelMessagesInput, fn func(*ListChannelMessagesOutput, bool) bool) error {
 12728  	return c.ListChannelMessagesPagesWithContext(aws.BackgroundContext(), input, fn)
 12729  }
 12730  
 12731  // ListChannelMessagesPagesWithContext same as ListChannelMessagesPages except
 12732  // it takes a Context and allows setting request options on the pages.
 12733  //
 12734  // The context must be non-nil and will be used for request cancellation. If
 12735  // the context is nil a panic will occur. In the future the SDK may create
 12736  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 12737  // for more information on using Contexts.
 12738  func (c *Chime) ListChannelMessagesPagesWithContext(ctx aws.Context, input *ListChannelMessagesInput, fn func(*ListChannelMessagesOutput, bool) bool, opts ...request.Option) error {
 12739  	p := request.Pagination{
 12740  		NewRequest: func() (*request.Request, error) {
 12741  			var inCpy *ListChannelMessagesInput
 12742  			if input != nil {
 12743  				tmp := *input
 12744  				inCpy = &tmp
 12745  			}
 12746  			req, _ := c.ListChannelMessagesRequest(inCpy)
 12747  			req.SetContext(ctx)
 12748  			req.ApplyOptions(opts...)
 12749  			return req, nil
 12750  		},
 12751  	}
 12752  
 12753  	for p.Next() {
 12754  		if !fn(p.Page().(*ListChannelMessagesOutput), !p.HasNextPage()) {
 12755  			break
 12756  		}
 12757  	}
 12758  
 12759  	return p.Err()
 12760  }
 12761  
 12762  const opListChannelModerators = "ListChannelModerators"
 12763  
 12764  // ListChannelModeratorsRequest generates a "aws/request.Request" representing the
 12765  // client's request for the ListChannelModerators operation. The "output" return
 12766  // value will be populated with the request's response once the request completes
 12767  // successfully.
 12768  //
 12769  // Use "Send" method on the returned Request to send the API call to the service.
 12770  // the "output" return value is not valid until after Send returns without error.
 12771  //
 12772  // See ListChannelModerators for more information on using the ListChannelModerators
 12773  // API call, and error handling.
 12774  //
 12775  // This method is useful when you want to inject custom logic or configuration
 12776  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 12777  //
 12778  //
 12779  //    // Example sending a request using the ListChannelModeratorsRequest method.
 12780  //    req, resp := client.ListChannelModeratorsRequest(params)
 12781  //
 12782  //    err := req.Send()
 12783  //    if err == nil { // resp is now filled
 12784  //        fmt.Println(resp)
 12785  //    }
 12786  //
 12787  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelModerators
 12788  func (c *Chime) ListChannelModeratorsRequest(input *ListChannelModeratorsInput) (req *request.Request, output *ListChannelModeratorsOutput) {
 12789  	op := &request.Operation{
 12790  		Name:       opListChannelModerators,
 12791  		HTTPMethod: "GET",
 12792  		HTTPPath:   "/channels/{channelArn}/moderators",
 12793  		Paginator: &request.Paginator{
 12794  			InputTokens:     []string{"NextToken"},
 12795  			OutputTokens:    []string{"NextToken"},
 12796  			LimitToken:      "MaxResults",
 12797  			TruncationToken: "",
 12798  		},
 12799  	}
 12800  
 12801  	if input == nil {
 12802  		input = &ListChannelModeratorsInput{}
 12803  	}
 12804  
 12805  	output = &ListChannelModeratorsOutput{}
 12806  	req = c.newRequest(op, input, output)
 12807  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
 12808  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
 12809  	return
 12810  }
 12811  
 12812  // ListChannelModerators API operation for Amazon Chime.
 12813  //
 12814  // Lists all the moderators for a channel.
 12815  //
 12816  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
 12817  // of the user that makes the API call as the value in the header.
 12818  //
 12819  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 12820  // with awserr.Error's Code and Message methods to get detailed information about
 12821  // the error.
 12822  //
 12823  // See the AWS API reference guide for Amazon Chime's
 12824  // API operation ListChannelModerators for usage and error information.
 12825  //
 12826  // Returned Error Types:
 12827  //   * BadRequestException
 12828  //   The input parameters don't match the service's restrictions.
 12829  //
 12830  //   * ForbiddenException
 12831  //   The client is permanently forbidden from making the request.
 12832  //
 12833  //   * UnauthorizedClientException
 12834  //   The client is not currently authorized to make the request.
 12835  //
 12836  //   * ThrottledClientException
 12837  //   The client exceeded its request rate limit.
 12838  //
 12839  //   * ServiceUnavailableException
 12840  //   The service is currently unavailable.
 12841  //
 12842  //   * ServiceFailureException
 12843  //   The service encountered an unexpected error.
 12844  //
 12845  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelModerators
 12846  func (c *Chime) ListChannelModerators(input *ListChannelModeratorsInput) (*ListChannelModeratorsOutput, error) {
 12847  	req, out := c.ListChannelModeratorsRequest(input)
 12848  	return out, req.Send()
 12849  }
 12850  
 12851  // ListChannelModeratorsWithContext is the same as ListChannelModerators with the addition of
 12852  // the ability to pass a context and additional request options.
 12853  //
 12854  // See ListChannelModerators for details on how to use this API operation.
 12855  //
 12856  // The context must be non-nil and will be used for request cancellation. If
 12857  // the context is nil a panic will occur. In the future the SDK may create
 12858  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 12859  // for more information on using Contexts.
 12860  func (c *Chime) ListChannelModeratorsWithContext(ctx aws.Context, input *ListChannelModeratorsInput, opts ...request.Option) (*ListChannelModeratorsOutput, error) {
 12861  	req, out := c.ListChannelModeratorsRequest(input)
 12862  	req.SetContext(ctx)
 12863  	req.ApplyOptions(opts...)
 12864  	return out, req.Send()
 12865  }
 12866  
 12867  // ListChannelModeratorsPages iterates over the pages of a ListChannelModerators operation,
 12868  // calling the "fn" function with the response data for each page. To stop
 12869  // iterating, return false from the fn function.
 12870  //
 12871  // See ListChannelModerators method for more information on how to use this operation.
 12872  //
 12873  // Note: This operation can generate multiple requests to a service.
 12874  //
 12875  //    // Example iterating over at most 3 pages of a ListChannelModerators operation.
 12876  //    pageNum := 0
 12877  //    err := client.ListChannelModeratorsPages(params,
 12878  //        func(page *chime.ListChannelModeratorsOutput, lastPage bool) bool {
 12879  //            pageNum++
 12880  //            fmt.Println(page)
 12881  //            return pageNum <= 3
 12882  //        })
 12883  //
 12884  func (c *Chime) ListChannelModeratorsPages(input *ListChannelModeratorsInput, fn func(*ListChannelModeratorsOutput, bool) bool) error {
 12885  	return c.ListChannelModeratorsPagesWithContext(aws.BackgroundContext(), input, fn)
 12886  }
 12887  
 12888  // ListChannelModeratorsPagesWithContext same as ListChannelModeratorsPages except
 12889  // it takes a Context and allows setting request options on the pages.
 12890  //
 12891  // The context must be non-nil and will be used for request cancellation. If
 12892  // the context is nil a panic will occur. In the future the SDK may create
 12893  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 12894  // for more information on using Contexts.
 12895  func (c *Chime) ListChannelModeratorsPagesWithContext(ctx aws.Context, input *ListChannelModeratorsInput, fn func(*ListChannelModeratorsOutput, bool) bool, opts ...request.Option) error {
 12896  	p := request.Pagination{
 12897  		NewRequest: func() (*request.Request, error) {
 12898  			var inCpy *ListChannelModeratorsInput
 12899  			if input != nil {
 12900  				tmp := *input
 12901  				inCpy = &tmp
 12902  			}
 12903  			req, _ := c.ListChannelModeratorsRequest(inCpy)
 12904  			req.SetContext(ctx)
 12905  			req.ApplyOptions(opts...)
 12906  			return req, nil
 12907  		},
 12908  	}
 12909  
 12910  	for p.Next() {
 12911  		if !fn(p.Page().(*ListChannelModeratorsOutput), !p.HasNextPage()) {
 12912  			break
 12913  		}
 12914  	}
 12915  
 12916  	return p.Err()
 12917  }
 12918  
 12919  const opListChannels = "ListChannels"
 12920  
 12921  // ListChannelsRequest generates a "aws/request.Request" representing the
 12922  // client's request for the ListChannels operation. The "output" return
 12923  // value will be populated with the request's response once the request completes
 12924  // successfully.
 12925  //
 12926  // Use "Send" method on the returned Request to send the API call to the service.
 12927  // the "output" return value is not valid until after Send returns without error.
 12928  //
 12929  // See ListChannels for more information on using the ListChannels
 12930  // API call, and error handling.
 12931  //
 12932  // This method is useful when you want to inject custom logic or configuration
 12933  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 12934  //
 12935  //
 12936  //    // Example sending a request using the ListChannelsRequest method.
 12937  //    req, resp := client.ListChannelsRequest(params)
 12938  //
 12939  //    err := req.Send()
 12940  //    if err == nil { // resp is now filled
 12941  //        fmt.Println(resp)
 12942  //    }
 12943  //
 12944  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannels
 12945  func (c *Chime) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput) {
 12946  	op := &request.Operation{
 12947  		Name:       opListChannels,
 12948  		HTTPMethod: "GET",
 12949  		HTTPPath:   "/channels",
 12950  		Paginator: &request.Paginator{
 12951  			InputTokens:     []string{"NextToken"},
 12952  			OutputTokens:    []string{"NextToken"},
 12953  			LimitToken:      "MaxResults",
 12954  			TruncationToken: "",
 12955  		},
 12956  	}
 12957  
 12958  	if input == nil {
 12959  		input = &ListChannelsInput{}
 12960  	}
 12961  
 12962  	output = &ListChannelsOutput{}
 12963  	req = c.newRequest(op, input, output)
 12964  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
 12965  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
 12966  	return
 12967  }
 12968  
 12969  // ListChannels API operation for Amazon Chime.
 12970  //
 12971  // Lists all Channels created under a single Chime App as a paginated list.
 12972  // You can specify filters to narrow results.
 12973  //
 12974  // Functionality & restrictions
 12975  //
 12976  //    * Use privacy = PUBLIC to retrieve all public channels in the account.
 12977  //
 12978  //    * Only an AppInstanceAdmin can set privacy = PRIVATE to list the private
 12979  //    channels in an account.
 12980  //
 12981  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
 12982  // of the user that makes the API call as the value in the header.
 12983  //
 12984  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 12985  // with awserr.Error's Code and Message methods to get detailed information about
 12986  // the error.
 12987  //
 12988  // See the AWS API reference guide for Amazon Chime's
 12989  // API operation ListChannels for usage and error information.
 12990  //
 12991  // Returned Error Types:
 12992  //   * BadRequestException
 12993  //   The input parameters don't match the service's restrictions.
 12994  //
 12995  //   * ForbiddenException
 12996  //   The client is permanently forbidden from making the request.
 12997  //
 12998  //   * UnauthorizedClientException
 12999  //   The client is not currently authorized to make the request.
 13000  //
 13001  //   * ThrottledClientException
 13002  //   The client exceeded its request rate limit.
 13003  //
 13004  //   * ServiceUnavailableException
 13005  //   The service is currently unavailable.
 13006  //
 13007  //   * ServiceFailureException
 13008  //   The service encountered an unexpected error.
 13009  //
 13010  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannels
 13011  func (c *Chime) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error) {
 13012  	req, out := c.ListChannelsRequest(input)
 13013  	return out, req.Send()
 13014  }
 13015  
 13016  // ListChannelsWithContext is the same as ListChannels with the addition of
 13017  // the ability to pass a context and additional request options.
 13018  //
 13019  // See ListChannels for details on how to use this API operation.
 13020  //
 13021  // The context must be non-nil and will be used for request cancellation. If
 13022  // the context is nil a panic will occur. In the future the SDK may create
 13023  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 13024  // for more information on using Contexts.
 13025  func (c *Chime) ListChannelsWithContext(ctx aws.Context, input *ListChannelsInput, opts ...request.Option) (*ListChannelsOutput, error) {
 13026  	req, out := c.ListChannelsRequest(input)
 13027  	req.SetContext(ctx)
 13028  	req.ApplyOptions(opts...)
 13029  	return out, req.Send()
 13030  }
 13031  
 13032  // ListChannelsPages iterates over the pages of a ListChannels operation,
 13033  // calling the "fn" function with the response data for each page. To stop
 13034  // iterating, return false from the fn function.
 13035  //
 13036  // See ListChannels method for more information on how to use this operation.
 13037  //
 13038  // Note: This operation can generate multiple requests to a service.
 13039  //
 13040  //    // Example iterating over at most 3 pages of a ListChannels operation.
 13041  //    pageNum := 0
 13042  //    err := client.ListChannelsPages(params,
 13043  //        func(page *chime.ListChannelsOutput, lastPage bool) bool {
 13044  //            pageNum++
 13045  //            fmt.Println(page)
 13046  //            return pageNum <= 3
 13047  //        })
 13048  //
 13049  func (c *Chime) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error {
 13050  	return c.ListChannelsPagesWithContext(aws.BackgroundContext(), input, fn)
 13051  }
 13052  
 13053  // ListChannelsPagesWithContext same as ListChannelsPages except
 13054  // it takes a Context and allows setting request options on the pages.
 13055  //
 13056  // The context must be non-nil and will be used for request cancellation. If
 13057  // the context is nil a panic will occur. In the future the SDK may create
 13058  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 13059  // for more information on using Contexts.
 13060  func (c *Chime) ListChannelsPagesWithContext(ctx aws.Context, input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool, opts ...request.Option) error {
 13061  	p := request.Pagination{
 13062  		NewRequest: func() (*request.Request, error) {
 13063  			var inCpy *ListChannelsInput
 13064  			if input != nil {
 13065  				tmp := *input
 13066  				inCpy = &tmp
 13067  			}
 13068  			req, _ := c.ListChannelsRequest(inCpy)
 13069  			req.SetContext(ctx)
 13070  			req.ApplyOptions(opts...)
 13071  			return req, nil
 13072  		},
 13073  	}
 13074  
 13075  	for p.Next() {
 13076  		if !fn(p.Page().(*ListChannelsOutput), !p.HasNextPage()) {
 13077  			break
 13078  		}
 13079  	}
 13080  
 13081  	return p.Err()
 13082  }
 13083  
 13084  const opListChannelsModeratedByAppInstanceUser = "ListChannelsModeratedByAppInstanceUser"
 13085  
 13086  // ListChannelsModeratedByAppInstanceUserRequest generates a "aws/request.Request" representing the
 13087  // client's request for the ListChannelsModeratedByAppInstanceUser operation. The "output" return
 13088  // value will be populated with the request's response once the request completes
 13089  // successfully.
 13090  //
 13091  // Use "Send" method on the returned Request to send the API call to the service.
 13092  // the "output" return value is not valid until after Send returns without error.
 13093  //
 13094  // See ListChannelsModeratedByAppInstanceUser for more information on using the ListChannelsModeratedByAppInstanceUser
 13095  // API call, and error handling.
 13096  //
 13097  // This method is useful when you want to inject custom logic or configuration
 13098  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 13099  //
 13100  //
 13101  //    // Example sending a request using the ListChannelsModeratedByAppInstanceUserRequest method.
 13102  //    req, resp := client.ListChannelsModeratedByAppInstanceUserRequest(params)
 13103  //
 13104  //    err := req.Send()
 13105  //    if err == nil { // resp is now filled
 13106  //        fmt.Println(resp)
 13107  //    }
 13108  //
 13109  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelsModeratedByAppInstanceUser
 13110  func (c *Chime) ListChannelsModeratedByAppInstanceUserRequest(input *ListChannelsModeratedByAppInstanceUserInput) (req *request.Request, output *ListChannelsModeratedByAppInstanceUserOutput) {
 13111  	op := &request.Operation{
 13112  		Name:       opListChannelsModeratedByAppInstanceUser,
 13113  		HTTPMethod: "GET",
 13114  		HTTPPath:   "/channels?scope=app-instance-user-moderated-channels",
 13115  		Paginator: &request.Paginator{
 13116  			InputTokens:     []string{"NextToken"},
 13117  			OutputTokens:    []string{"NextToken"},
 13118  			LimitToken:      "MaxResults",
 13119  			TruncationToken: "",
 13120  		},
 13121  	}
 13122  
 13123  	if input == nil {
 13124  		input = &ListChannelsModeratedByAppInstanceUserInput{}
 13125  	}
 13126  
 13127  	output = &ListChannelsModeratedByAppInstanceUserOutput{}
 13128  	req = c.newRequest(op, input, output)
 13129  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
 13130  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
 13131  	return
 13132  }
 13133  
 13134  // ListChannelsModeratedByAppInstanceUser API operation for Amazon Chime.
 13135  //
 13136  // A list of the channels moderated by an AppInstanceUser.
 13137  //
 13138  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
 13139  // of the user that makes the API call as the value in the header.
 13140  //
 13141  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 13142  // with awserr.Error's Code and Message methods to get detailed information about
 13143  // the error.
 13144  //
 13145  // See the AWS API reference guide for Amazon Chime's
 13146  // API operation ListChannelsModeratedByAppInstanceUser for usage and error information.
 13147  //
 13148  // Returned Error Types:
 13149  //   * BadRequestException
 13150  //   The input parameters don't match the service's restrictions.
 13151  //
 13152  //   * ForbiddenException
 13153  //   The client is permanently forbidden from making the request.
 13154  //
 13155  //   * UnauthorizedClientException
 13156  //   The client is not currently authorized to make the request.
 13157  //
 13158  //   * ThrottledClientException
 13159  //   The client exceeded its request rate limit.
 13160  //
 13161  //   * ServiceUnavailableException
 13162  //   The service is currently unavailable.
 13163  //
 13164  //   * ServiceFailureException
 13165  //   The service encountered an unexpected error.
 13166  //
 13167  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelsModeratedByAppInstanceUser
 13168  func (c *Chime) ListChannelsModeratedByAppInstanceUser(input *ListChannelsModeratedByAppInstanceUserInput) (*ListChannelsModeratedByAppInstanceUserOutput, error) {
 13169  	req, out := c.ListChannelsModeratedByAppInstanceUserRequest(input)
 13170  	return out, req.Send()
 13171  }
 13172  
 13173  // ListChannelsModeratedByAppInstanceUserWithContext is the same as ListChannelsModeratedByAppInstanceUser with the addition of
 13174  // the ability to pass a context and additional request options.
 13175  //
 13176  // See ListChannelsModeratedByAppInstanceUser for details on how to use this API operation.
 13177  //
 13178  // The context must be non-nil and will be used for request cancellation. If
 13179  // the context is nil a panic will occur. In the future the SDK may create
 13180  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 13181  // for more information on using Contexts.
 13182  func (c *Chime) ListChannelsModeratedByAppInstanceUserWithContext(ctx aws.Context, input *ListChannelsModeratedByAppInstanceUserInput, opts ...request.Option) (*ListChannelsModeratedByAppInstanceUserOutput, error) {
 13183  	req, out := c.ListChannelsModeratedByAppInstanceUserRequest(input)
 13184  	req.SetContext(ctx)
 13185  	req.ApplyOptions(opts...)
 13186  	return out, req.Send()
 13187  }
 13188  
 13189  // ListChannelsModeratedByAppInstanceUserPages iterates over the pages of a ListChannelsModeratedByAppInstanceUser operation,
 13190  // calling the "fn" function with the response data for each page. To stop
 13191  // iterating, return false from the fn function.
 13192  //
 13193  // See ListChannelsModeratedByAppInstanceUser method for more information on how to use this operation.
 13194  //
 13195  // Note: This operation can generate multiple requests to a service.
 13196  //
 13197  //    // Example iterating over at most 3 pages of a ListChannelsModeratedByAppInstanceUser operation.
 13198  //    pageNum := 0
 13199  //    err := client.ListChannelsModeratedByAppInstanceUserPages(params,
 13200  //        func(page *chime.ListChannelsModeratedByAppInstanceUserOutput, lastPage bool) bool {
 13201  //            pageNum++
 13202  //            fmt.Println(page)
 13203  //            return pageNum <= 3
 13204  //        })
 13205  //
 13206  func (c *Chime) ListChannelsModeratedByAppInstanceUserPages(input *ListChannelsModeratedByAppInstanceUserInput, fn func(*ListChannelsModeratedByAppInstanceUserOutput, bool) bool) error {
 13207  	return c.ListChannelsModeratedByAppInstanceUserPagesWithContext(aws.BackgroundContext(), input, fn)
 13208  }
 13209  
 13210  // ListChannelsModeratedByAppInstanceUserPagesWithContext same as ListChannelsModeratedByAppInstanceUserPages except
 13211  // it takes a Context and allows setting request options on the pages.
 13212  //
 13213  // The context must be non-nil and will be used for request cancellation. If
 13214  // the context is nil a panic will occur. In the future the SDK may create
 13215  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 13216  // for more information on using Contexts.
 13217  func (c *Chime) ListChannelsModeratedByAppInstanceUserPagesWithContext(ctx aws.Context, input *ListChannelsModeratedByAppInstanceUserInput, fn func(*ListChannelsModeratedByAppInstanceUserOutput, bool) bool, opts ...request.Option) error {
 13218  	p := request.Pagination{
 13219  		NewRequest: func() (*request.Request, error) {
 13220  			var inCpy *ListChannelsModeratedByAppInstanceUserInput
 13221  			if input != nil {
 13222  				tmp := *input
 13223  				inCpy = &tmp
 13224  			}
 13225  			req, _ := c.ListChannelsModeratedByAppInstanceUserRequest(inCpy)
 13226  			req.SetContext(ctx)
 13227  			req.ApplyOptions(opts...)
 13228  			return req, nil
 13229  		},
 13230  	}
 13231  
 13232  	for p.Next() {
 13233  		if !fn(p.Page().(*ListChannelsModeratedByAppInstanceUserOutput), !p.HasNextPage()) {
 13234  			break
 13235  		}
 13236  	}
 13237  
 13238  	return p.Err()
 13239  }
 13240  
 13241  const opListMediaCapturePipelines = "ListMediaCapturePipelines"
 13242  
 13243  // ListMediaCapturePipelinesRequest generates a "aws/request.Request" representing the
 13244  // client's request for the ListMediaCapturePipelines operation. The "output" return
 13245  // value will be populated with the request's response once the request completes
 13246  // successfully.
 13247  //
 13248  // Use "Send" method on the returned Request to send the API call to the service.
 13249  // the "output" return value is not valid until after Send returns without error.
 13250  //
 13251  // See ListMediaCapturePipelines for more information on using the ListMediaCapturePipelines
 13252  // API call, and error handling.
 13253  //
 13254  // This method is useful when you want to inject custom logic or configuration
 13255  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 13256  //
 13257  //
 13258  //    // Example sending a request using the ListMediaCapturePipelinesRequest method.
 13259  //    req, resp := client.ListMediaCapturePipelinesRequest(params)
 13260  //
 13261  //    err := req.Send()
 13262  //    if err == nil { // resp is now filled
 13263  //        fmt.Println(resp)
 13264  //    }
 13265  //
 13266  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListMediaCapturePipelines
 13267  func (c *Chime) ListMediaCapturePipelinesRequest(input *ListMediaCapturePipelinesInput) (req *request.Request, output *ListMediaCapturePipelinesOutput) {
 13268  	op := &request.Operation{
 13269  		Name:       opListMediaCapturePipelines,
 13270  		HTTPMethod: "GET",
 13271  		HTTPPath:   "/media-capture-pipelines",
 13272  		Paginator: &request.Paginator{
 13273  			InputTokens:     []string{"NextToken"},
 13274  			OutputTokens:    []string{"NextToken"},
 13275  			LimitToken:      "MaxResults",
 13276  			TruncationToken: "",
 13277  		},
 13278  	}
 13279  
 13280  	if input == nil {
 13281  		input = &ListMediaCapturePipelinesInput{}
 13282  	}
 13283  
 13284  	output = &ListMediaCapturePipelinesOutput{}
 13285  	req = c.newRequest(op, input, output)
 13286  	return
 13287  }
 13288  
 13289  // ListMediaCapturePipelines API operation for Amazon Chime.
 13290  //
 13291  // Returns a list of media capture pipelines.
 13292  //
 13293  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 13294  // with awserr.Error's Code and Message methods to get detailed information about
 13295  // the error.
 13296  //
 13297  // See the AWS API reference guide for Amazon Chime's
 13298  // API operation ListMediaCapturePipelines for usage and error information.
 13299  //
 13300  // Returned Error Types:
 13301  //   * BadRequestException
 13302  //   The input parameters don't match the service's restrictions.
 13303  //
 13304  //   * ForbiddenException
 13305  //   The client is permanently forbidden from making the request.
 13306  //
 13307  //   * ThrottledClientException
 13308  //   The client exceeded its request rate limit.
 13309  //
 13310  //   * UnauthorizedClientException
 13311  //   The client is not currently authorized to make the request.
 13312  //
 13313  //   * ServiceUnavailableException
 13314  //   The service is currently unavailable.
 13315  //
 13316  //   * ServiceFailureException
 13317  //   The service encountered an unexpected error.
 13318  //
 13319  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListMediaCapturePipelines
 13320  func (c *Chime) ListMediaCapturePipelines(input *ListMediaCapturePipelinesInput) (*ListMediaCapturePipelinesOutput, error) {
 13321  	req, out := c.ListMediaCapturePipelinesRequest(input)
 13322  	return out, req.Send()
 13323  }
 13324  
 13325  // ListMediaCapturePipelinesWithContext is the same as ListMediaCapturePipelines with the addition of
 13326  // the ability to pass a context and additional request options.
 13327  //
 13328  // See ListMediaCapturePipelines for details on how to use this API operation.
 13329  //
 13330  // The context must be non-nil and will be used for request cancellation. If
 13331  // the context is nil a panic will occur. In the future the SDK may create
 13332  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 13333  // for more information on using Contexts.
 13334  func (c *Chime) ListMediaCapturePipelinesWithContext(ctx aws.Context, input *ListMediaCapturePipelinesInput, opts ...request.Option) (*ListMediaCapturePipelinesOutput, error) {
 13335  	req, out := c.ListMediaCapturePipelinesRequest(input)
 13336  	req.SetContext(ctx)
 13337  	req.ApplyOptions(opts...)
 13338  	return out, req.Send()
 13339  }
 13340  
 13341  // ListMediaCapturePipelinesPages iterates over the pages of a ListMediaCapturePipelines operation,
 13342  // calling the "fn" function with the response data for each page. To stop
 13343  // iterating, return false from the fn function.
 13344  //
 13345  // See ListMediaCapturePipelines method for more information on how to use this operation.
 13346  //
 13347  // Note: This operation can generate multiple requests to a service.
 13348  //
 13349  //    // Example iterating over at most 3 pages of a ListMediaCapturePipelines operation.
 13350  //    pageNum := 0
 13351  //    err := client.ListMediaCapturePipelinesPages(params,
 13352  //        func(page *chime.ListMediaCapturePipelinesOutput, lastPage bool) bool {
 13353  //            pageNum++
 13354  //            fmt.Println(page)
 13355  //            return pageNum <= 3
 13356  //        })
 13357  //
 13358  func (c *Chime) ListMediaCapturePipelinesPages(input *ListMediaCapturePipelinesInput, fn func(*ListMediaCapturePipelinesOutput, bool) bool) error {
 13359  	return c.ListMediaCapturePipelinesPagesWithContext(aws.BackgroundContext(), input, fn)
 13360  }
 13361  
 13362  // ListMediaCapturePipelinesPagesWithContext same as ListMediaCapturePipelinesPages except
 13363  // it takes a Context and allows setting request options on the pages.
 13364  //
 13365  // The context must be non-nil and will be used for request cancellation. If
 13366  // the context is nil a panic will occur. In the future the SDK may create
 13367  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 13368  // for more information on using Contexts.
 13369  func (c *Chime) ListMediaCapturePipelinesPagesWithContext(ctx aws.Context, input *ListMediaCapturePipelinesInput, fn func(*ListMediaCapturePipelinesOutput, bool) bool, opts ...request.Option) error {
 13370  	p := request.Pagination{
 13371  		NewRequest: func() (*request.Request, error) {
 13372  			var inCpy *ListMediaCapturePipelinesInput
 13373  			if input != nil {
 13374  				tmp := *input
 13375  				inCpy = &tmp
 13376  			}
 13377  			req, _ := c.ListMediaCapturePipelinesRequest(inCpy)
 13378  			req.SetContext(ctx)
 13379  			req.ApplyOptions(opts...)
 13380  			return req, nil
 13381  		},
 13382  	}
 13383  
 13384  	for p.Next() {
 13385  		if !fn(p.Page().(*ListMediaCapturePipelinesOutput), !p.HasNextPage()) {
 13386  			break
 13387  		}
 13388  	}
 13389  
 13390  	return p.Err()
 13391  }
 13392  
 13393  const opListMeetingTags = "ListMeetingTags"
 13394  
 13395  // ListMeetingTagsRequest generates a "aws/request.Request" representing the
 13396  // client's request for the ListMeetingTags operation. The "output" return
 13397  // value will be populated with the request's response once the request completes
 13398  // successfully.
 13399  //
 13400  // Use "Send" method on the returned Request to send the API call to the service.
 13401  // the "output" return value is not valid until after Send returns without error.
 13402  //
 13403  // See ListMeetingTags for more information on using the ListMeetingTags
 13404  // API call, and error handling.
 13405  //
 13406  // This method is useful when you want to inject custom logic or configuration
 13407  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 13408  //
 13409  //
 13410  //    // Example sending a request using the ListMeetingTagsRequest method.
 13411  //    req, resp := client.ListMeetingTagsRequest(params)
 13412  //
 13413  //    err := req.Send()
 13414  //    if err == nil { // resp is now filled
 13415  //        fmt.Println(resp)
 13416  //    }
 13417  //
 13418  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListMeetingTags
 13419  func (c *Chime) ListMeetingTagsRequest(input *ListMeetingTagsInput) (req *request.Request, output *ListMeetingTagsOutput) {
 13420  	op := &request.Operation{
 13421  		Name:       opListMeetingTags,
 13422  		HTTPMethod: "GET",
 13423  		HTTPPath:   "/meetings/{meetingId}/tags",
 13424  	}
 13425  
 13426  	if input == nil {
 13427  		input = &ListMeetingTagsInput{}
 13428  	}
 13429  
 13430  	output = &ListMeetingTagsOutput{}
 13431  	req = c.newRequest(op, input, output)
 13432  	return
 13433  }
 13434  
 13435  // ListMeetingTags API operation for Amazon Chime.
 13436  //
 13437  // Lists the tags applied to an Amazon Chime SDK meeting resource.
 13438  //
 13439  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 13440  // with awserr.Error's Code and Message methods to get detailed information about
 13441  // the error.
 13442  //
 13443  // See the AWS API reference guide for Amazon Chime's
 13444  // API operation ListMeetingTags for usage and error information.
 13445  //
 13446  // Returned Error Types:
 13447  //   * BadRequestException
 13448  //   The input parameters don't match the service's restrictions.
 13449  //
 13450  //   * ForbiddenException
 13451  //   The client is permanently forbidden from making the request.
 13452  //
 13453  //   * NotFoundException
 13454  //   One or more of the resources in the request does not exist in the system.
 13455  //
 13456  //   * ThrottledClientException
 13457  //   The client exceeded its request rate limit.
 13458  //
 13459  //   * UnauthorizedClientException
 13460  //   The client is not currently authorized to make the request.
 13461  //
 13462  //   * ServiceUnavailableException
 13463  //   The service is currently unavailable.
 13464  //
 13465  //   * ServiceFailureException
 13466  //   The service encountered an unexpected error.
 13467  //
 13468  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListMeetingTags
 13469  func (c *Chime) ListMeetingTags(input *ListMeetingTagsInput) (*ListMeetingTagsOutput, error) {
 13470  	req, out := c.ListMeetingTagsRequest(input)
 13471  	return out, req.Send()
 13472  }
 13473  
 13474  // ListMeetingTagsWithContext is the same as ListMeetingTags with the addition of
 13475  // the ability to pass a context and additional request options.
 13476  //
 13477  // See ListMeetingTags for details on how to use this API operation.
 13478  //
 13479  // The context must be non-nil and will be used for request cancellation. If
 13480  // the context is nil a panic will occur. In the future the SDK may create
 13481  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 13482  // for more information on using Contexts.
 13483  func (c *Chime) ListMeetingTagsWithContext(ctx aws.Context, input *ListMeetingTagsInput, opts ...request.Option) (*ListMeetingTagsOutput, error) {
 13484  	req, out := c.ListMeetingTagsRequest(input)
 13485  	req.SetContext(ctx)
 13486  	req.ApplyOptions(opts...)
 13487  	return out, req.Send()
 13488  }
 13489  
 13490  const opListMeetings = "ListMeetings"
 13491  
 13492  // ListMeetingsRequest generates a "aws/request.Request" representing the
 13493  // client's request for the ListMeetings operation. The "output" return
 13494  // value will be populated with the request's response once the request completes
 13495  // successfully.
 13496  //
 13497  // Use "Send" method on the returned Request to send the API call to the service.
 13498  // the "output" return value is not valid until after Send returns without error.
 13499  //
 13500  // See ListMeetings for more information on using the ListMeetings
 13501  // API call, and error handling.
 13502  //
 13503  // This method is useful when you want to inject custom logic or configuration
 13504  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 13505  //
 13506  //
 13507  //    // Example sending a request using the ListMeetingsRequest method.
 13508  //    req, resp := client.ListMeetingsRequest(params)
 13509  //
 13510  //    err := req.Send()
 13511  //    if err == nil { // resp is now filled
 13512  //        fmt.Println(resp)
 13513  //    }
 13514  //
 13515  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListMeetings
 13516  func (c *Chime) ListMeetingsRequest(input *ListMeetingsInput) (req *request.Request, output *ListMeetingsOutput) {
 13517  	op := &request.Operation{
 13518  		Name:       opListMeetings,
 13519  		HTTPMethod: "GET",
 13520  		HTTPPath:   "/meetings",
 13521  		Paginator: &request.Paginator{
 13522  			InputTokens:     []string{"NextToken"},
 13523  			OutputTokens:    []string{"NextToken"},
 13524  			LimitToken:      "MaxResults",
 13525  			TruncationToken: "",
 13526  		},
 13527  	}
 13528  
 13529  	if input == nil {
 13530  		input = &ListMeetingsInput{}
 13531  	}
 13532  
 13533  	output = &ListMeetingsOutput{}
 13534  	req = c.newRequest(op, input, output)
 13535  	return
 13536  }
 13537  
 13538  // ListMeetings API operation for Amazon Chime.
 13539  //
 13540  // Lists up to 100 active Amazon Chime SDK meetings. For more information about
 13541  // the Amazon Chime SDK, see Using the Amazon Chime SDK (https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html)
 13542  // in the Amazon Chime Developer Guide.
 13543  //
 13544  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 13545  // with awserr.Error's Code and Message methods to get detailed information about
 13546  // the error.
 13547  //
 13548  // See the AWS API reference guide for Amazon Chime's
 13549  // API operation ListMeetings for usage and error information.
 13550  //
 13551  // Returned Error Types:
 13552  //   * BadRequestException
 13553  //   The input parameters don't match the service's restrictions.
 13554  //
 13555  //   * ForbiddenException
 13556  //   The client is permanently forbidden from making the request.
 13557  //
 13558  //   * ThrottledClientException
 13559  //   The client exceeded its request rate limit.
 13560  //
 13561  //   * UnauthorizedClientException
 13562  //   The client is not currently authorized to make the request.
 13563  //
 13564  //   * ServiceUnavailableException
 13565  //   The service is currently unavailable.
 13566  //
 13567  //   * ServiceFailureException
 13568  //   The service encountered an unexpected error.
 13569  //
 13570  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListMeetings
 13571  func (c *Chime) ListMeetings(input *ListMeetingsInput) (*ListMeetingsOutput, error) {
 13572  	req, out := c.ListMeetingsRequest(input)
 13573  	return out, req.Send()
 13574  }
 13575  
 13576  // ListMeetingsWithContext is the same as ListMeetings with the addition of
 13577  // the ability to pass a context and additional request options.
 13578  //
 13579  // See ListMeetings for details on how to use this API operation.
 13580  //
 13581  // The context must be non-nil and will be used for request cancellation. If
 13582  // the context is nil a panic will occur. In the future the SDK may create
 13583  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 13584  // for more information on using Contexts.
 13585  func (c *Chime) ListMeetingsWithContext(ctx aws.Context, input *ListMeetingsInput, opts ...request.Option) (*ListMeetingsOutput, error) {
 13586  	req, out := c.ListMeetingsRequest(input)
 13587  	req.SetContext(ctx)
 13588  	req.ApplyOptions(opts...)
 13589  	return out, req.Send()
 13590  }
 13591  
 13592  // ListMeetingsPages iterates over the pages of a ListMeetings operation,
 13593  // calling the "fn" function with the response data for each page. To stop
 13594  // iterating, return false from the fn function.
 13595  //
 13596  // See ListMeetings method for more information on how to use this operation.
 13597  //
 13598  // Note: This operation can generate multiple requests to a service.
 13599  //
 13600  //    // Example iterating over at most 3 pages of a ListMeetings operation.
 13601  //    pageNum := 0
 13602  //    err := client.ListMeetingsPages(params,
 13603  //        func(page *chime.ListMeetingsOutput, lastPage bool) bool {
 13604  //            pageNum++
 13605  //            fmt.Println(page)
 13606  //            return pageNum <= 3
 13607  //        })
 13608  //
 13609  func (c *Chime) ListMeetingsPages(input *ListMeetingsInput, fn func(*ListMeetingsOutput, bool) bool) error {
 13610  	return c.ListMeetingsPagesWithContext(aws.BackgroundContext(), input, fn)
 13611  }
 13612  
 13613  // ListMeetingsPagesWithContext same as ListMeetingsPages except
 13614  // it takes a Context and allows setting request options on the pages.
 13615  //
 13616  // The context must be non-nil and will be used for request cancellation. If
 13617  // the context is nil a panic will occur. In the future the SDK may create
 13618  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 13619  // for more information on using Contexts.
 13620  func (c *Chime) ListMeetingsPagesWithContext(ctx aws.Context, input *ListMeetingsInput, fn func(*ListMeetingsOutput, bool) bool, opts ...request.Option) error {
 13621  	p := request.Pagination{
 13622  		NewRequest: func() (*request.Request, error) {
 13623  			var inCpy *ListMeetingsInput
 13624  			if input != nil {
 13625  				tmp := *input
 13626  				inCpy = &tmp
 13627  			}
 13628  			req, _ := c.ListMeetingsRequest(inCpy)
 13629  			req.SetContext(ctx)
 13630  			req.ApplyOptions(opts...)
 13631  			return req, nil
 13632  		},
 13633  	}
 13634  
 13635  	for p.Next() {
 13636  		if !fn(p.Page().(*ListMeetingsOutput), !p.HasNextPage()) {
 13637  			break
 13638  		}
 13639  	}
 13640  
 13641  	return p.Err()
 13642  }
 13643  
 13644  const opListPhoneNumberOrders = "ListPhoneNumberOrders"
 13645  
 13646  // ListPhoneNumberOrdersRequest generates a "aws/request.Request" representing the
 13647  // client's request for the ListPhoneNumberOrders operation. The "output" return
 13648  // value will be populated with the request's response once the request completes
 13649  // successfully.
 13650  //
 13651  // Use "Send" method on the returned Request to send the API call to the service.
 13652  // the "output" return value is not valid until after Send returns without error.
 13653  //
 13654  // See ListPhoneNumberOrders for more information on using the ListPhoneNumberOrders
 13655  // API call, and error handling.
 13656  //
 13657  // This method is useful when you want to inject custom logic or configuration
 13658  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 13659  //
 13660  //
 13661  //    // Example sending a request using the ListPhoneNumberOrdersRequest method.
 13662  //    req, resp := client.ListPhoneNumberOrdersRequest(params)
 13663  //
 13664  //    err := req.Send()
 13665  //    if err == nil { // resp is now filled
 13666  //        fmt.Println(resp)
 13667  //    }
 13668  //
 13669  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListPhoneNumberOrders
 13670  func (c *Chime) ListPhoneNumberOrdersRequest(input *ListPhoneNumberOrdersInput) (req *request.Request, output *ListPhoneNumberOrdersOutput) {
 13671  	op := &request.Operation{
 13672  		Name:       opListPhoneNumberOrders,
 13673  		HTTPMethod: "GET",
 13674  		HTTPPath:   "/phone-number-orders",
 13675  		Paginator: &request.Paginator{
 13676  			InputTokens:     []string{"NextToken"},
 13677  			OutputTokens:    []string{"NextToken"},
 13678  			LimitToken:      "MaxResults",
 13679  			TruncationToken: "",
 13680  		},
 13681  	}
 13682  
 13683  	if input == nil {
 13684  		input = &ListPhoneNumberOrdersInput{}
 13685  	}
 13686  
 13687  	output = &ListPhoneNumberOrdersOutput{}
 13688  	req = c.newRequest(op, input, output)
 13689  	return
 13690  }
 13691  
 13692  // ListPhoneNumberOrders API operation for Amazon Chime.
 13693  //
 13694  // Lists the phone number orders for the administrator's Amazon Chime account.
 13695  //
 13696  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 13697  // with awserr.Error's Code and Message methods to get detailed information about
 13698  // the error.
 13699  //
 13700  // See the AWS API reference guide for Amazon Chime's
 13701  // API operation ListPhoneNumberOrders for usage and error information.
 13702  //
 13703  // Returned Error Types:
 13704  //   * UnauthorizedClientException
 13705  //   The client is not currently authorized to make the request.
 13706  //
 13707  //   * ForbiddenException
 13708  //   The client is permanently forbidden from making the request.
 13709  //
 13710  //   * BadRequestException
 13711  //   The input parameters don't match the service's restrictions.
 13712  //
 13713  //   * ThrottledClientException
 13714  //   The client exceeded its request rate limit.
 13715  //
 13716  //   * ServiceUnavailableException
 13717  //   The service is currently unavailable.
 13718  //
 13719  //   * ServiceFailureException
 13720  //   The service encountered an unexpected error.
 13721  //
 13722  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListPhoneNumberOrders
 13723  func (c *Chime) ListPhoneNumberOrders(input *ListPhoneNumberOrdersInput) (*ListPhoneNumberOrdersOutput, error) {
 13724  	req, out := c.ListPhoneNumberOrdersRequest(input)
 13725  	return out, req.Send()
 13726  }
 13727  
 13728  // ListPhoneNumberOrdersWithContext is the same as ListPhoneNumberOrders with the addition of
 13729  // the ability to pass a context and additional request options.
 13730  //
 13731  // See ListPhoneNumberOrders for details on how to use this API operation.
 13732  //
 13733  // The context must be non-nil and will be used for request cancellation. If
 13734  // the context is nil a panic will occur. In the future the SDK may create
 13735  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 13736  // for more information on using Contexts.
 13737  func (c *Chime) ListPhoneNumberOrdersWithContext(ctx aws.Context, input *ListPhoneNumberOrdersInput, opts ...request.Option) (*ListPhoneNumberOrdersOutput, error) {
 13738  	req, out := c.ListPhoneNumberOrdersRequest(input)
 13739  	req.SetContext(ctx)
 13740  	req.ApplyOptions(opts...)
 13741  	return out, req.Send()
 13742  }
 13743  
 13744  // ListPhoneNumberOrdersPages iterates over the pages of a ListPhoneNumberOrders operation,
 13745  // calling the "fn" function with the response data for each page. To stop
 13746  // iterating, return false from the fn function.
 13747  //
 13748  // See ListPhoneNumberOrders method for more information on how to use this operation.
 13749  //
 13750  // Note: This operation can generate multiple requests to a service.
 13751  //
 13752  //    // Example iterating over at most 3 pages of a ListPhoneNumberOrders operation.
 13753  //    pageNum := 0
 13754  //    err := client.ListPhoneNumberOrdersPages(params,
 13755  //        func(page *chime.ListPhoneNumberOrdersOutput, lastPage bool) bool {
 13756  //            pageNum++
 13757  //            fmt.Println(page)
 13758  //            return pageNum <= 3
 13759  //        })
 13760  //
 13761  func (c *Chime) ListPhoneNumberOrdersPages(input *ListPhoneNumberOrdersInput, fn func(*ListPhoneNumberOrdersOutput, bool) bool) error {
 13762  	return c.ListPhoneNumberOrdersPagesWithContext(aws.BackgroundContext(), input, fn)
 13763  }
 13764  
 13765  // ListPhoneNumberOrdersPagesWithContext same as ListPhoneNumberOrdersPages except
 13766  // it takes a Context and allows setting request options on the pages.
 13767  //
 13768  // The context must be non-nil and will be used for request cancellation. If
 13769  // the context is nil a panic will occur. In the future the SDK may create
 13770  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 13771  // for more information on using Contexts.
 13772  func (c *Chime) ListPhoneNumberOrdersPagesWithContext(ctx aws.Context, input *ListPhoneNumberOrdersInput, fn func(*ListPhoneNumberOrdersOutput, bool) bool, opts ...request.Option) error {
 13773  	p := request.Pagination{
 13774  		NewRequest: func() (*request.Request, error) {
 13775  			var inCpy *ListPhoneNumberOrdersInput
 13776  			if input != nil {
 13777  				tmp := *input
 13778  				inCpy = &tmp
 13779  			}
 13780  			req, _ := c.ListPhoneNumberOrdersRequest(inCpy)
 13781  			req.SetContext(ctx)
 13782  			req.ApplyOptions(opts...)
 13783  			return req, nil
 13784  		},
 13785  	}
 13786  
 13787  	for p.Next() {
 13788  		if !fn(p.Page().(*ListPhoneNumberOrdersOutput), !p.HasNextPage()) {
 13789  			break
 13790  		}
 13791  	}
 13792  
 13793  	return p.Err()
 13794  }
 13795  
 13796  const opListPhoneNumbers = "ListPhoneNumbers"
 13797  
 13798  // ListPhoneNumbersRequest generates a "aws/request.Request" representing the
 13799  // client's request for the ListPhoneNumbers operation. The "output" return
 13800  // value will be populated with the request's response once the request completes
 13801  // successfully.
 13802  //
 13803  // Use "Send" method on the returned Request to send the API call to the service.
 13804  // the "output" return value is not valid until after Send returns without error.
 13805  //
 13806  // See ListPhoneNumbers for more information on using the ListPhoneNumbers
 13807  // API call, and error handling.
 13808  //
 13809  // This method is useful when you want to inject custom logic or configuration
 13810  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 13811  //
 13812  //
 13813  //    // Example sending a request using the ListPhoneNumbersRequest method.
 13814  //    req, resp := client.ListPhoneNumbersRequest(params)
 13815  //
 13816  //    err := req.Send()
 13817  //    if err == nil { // resp is now filled
 13818  //        fmt.Println(resp)
 13819  //    }
 13820  //
 13821  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListPhoneNumbers
 13822  func (c *Chime) ListPhoneNumbersRequest(input *ListPhoneNumbersInput) (req *request.Request, output *ListPhoneNumbersOutput) {
 13823  	op := &request.Operation{
 13824  		Name:       opListPhoneNumbers,
 13825  		HTTPMethod: "GET",
 13826  		HTTPPath:   "/phone-numbers",
 13827  		Paginator: &request.Paginator{
 13828  			InputTokens:     []string{"NextToken"},
 13829  			OutputTokens:    []string{"NextToken"},
 13830  			LimitToken:      "MaxResults",
 13831  			TruncationToken: "",
 13832  		},
 13833  	}
 13834  
 13835  	if input == nil {
 13836  		input = &ListPhoneNumbersInput{}
 13837  	}
 13838  
 13839  	output = &ListPhoneNumbersOutput{}
 13840  	req = c.newRequest(op, input, output)
 13841  	return
 13842  }
 13843  
 13844  // ListPhoneNumbers API operation for Amazon Chime.
 13845  //
 13846  // Lists the phone numbers for the specified Amazon Chime account, Amazon Chime
 13847  // user, Amazon Chime Voice Connector, or Amazon Chime Voice Connector group.
 13848  //
 13849  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 13850  // with awserr.Error's Code and Message methods to get detailed information about
 13851  // the error.
 13852  //
 13853  // See the AWS API reference guide for Amazon Chime's
 13854  // API operation ListPhoneNumbers for usage and error information.
 13855  //
 13856  // Returned Error Types:
 13857  //   * UnauthorizedClientException
 13858  //   The client is not currently authorized to make the request.
 13859  //
 13860  //   * ForbiddenException
 13861  //   The client is permanently forbidden from making the request.
 13862  //
 13863  //   * BadRequestException
 13864  //   The input parameters don't match the service's restrictions.
 13865  //
 13866  //   * NotFoundException
 13867  //   One or more of the resources in the request does not exist in the system.
 13868  //
 13869  //   * ThrottledClientException
 13870  //   The client exceeded its request rate limit.
 13871  //
 13872  //   * ServiceUnavailableException
 13873  //   The service is currently unavailable.
 13874  //
 13875  //   * ServiceFailureException
 13876  //   The service encountered an unexpected error.
 13877  //
 13878  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListPhoneNumbers
 13879  func (c *Chime) ListPhoneNumbers(input *ListPhoneNumbersInput) (*ListPhoneNumbersOutput, error) {
 13880  	req, out := c.ListPhoneNumbersRequest(input)
 13881  	return out, req.Send()
 13882  }
 13883  
 13884  // ListPhoneNumbersWithContext is the same as ListPhoneNumbers with the addition of
 13885  // the ability to pass a context and additional request options.
 13886  //
 13887  // See ListPhoneNumbers for details on how to use this API operation.
 13888  //
 13889  // The context must be non-nil and will be used for request cancellation. If
 13890  // the context is nil a panic will occur. In the future the SDK may create
 13891  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 13892  // for more information on using Contexts.
 13893  func (c *Chime) ListPhoneNumbersWithContext(ctx aws.Context, input *ListPhoneNumbersInput, opts ...request.Option) (*ListPhoneNumbersOutput, error) {
 13894  	req, out := c.ListPhoneNumbersRequest(input)
 13895  	req.SetContext(ctx)
 13896  	req.ApplyOptions(opts...)
 13897  	return out, req.Send()
 13898  }
 13899  
 13900  // ListPhoneNumbersPages iterates over the pages of a ListPhoneNumbers operation,
 13901  // calling the "fn" function with the response data for each page. To stop
 13902  // iterating, return false from the fn function.
 13903  //
 13904  // See ListPhoneNumbers method for more information on how to use this operation.
 13905  //
 13906  // Note: This operation can generate multiple requests to a service.
 13907  //
 13908  //    // Example iterating over at most 3 pages of a ListPhoneNumbers operation.
 13909  //    pageNum := 0
 13910  //    err := client.ListPhoneNumbersPages(params,
 13911  //        func(page *chime.ListPhoneNumbersOutput, lastPage bool) bool {
 13912  //            pageNum++
 13913  //            fmt.Println(page)
 13914  //            return pageNum <= 3
 13915  //        })
 13916  //
 13917  func (c *Chime) ListPhoneNumbersPages(input *ListPhoneNumbersInput, fn func(*ListPhoneNumbersOutput, bool) bool) error {
 13918  	return c.ListPhoneNumbersPagesWithContext(aws.BackgroundContext(), input, fn)
 13919  }
 13920  
 13921  // ListPhoneNumbersPagesWithContext same as ListPhoneNumbersPages except
 13922  // it takes a Context and allows setting request options on the pages.
 13923  //
 13924  // The context must be non-nil and will be used for request cancellation. If
 13925  // the context is nil a panic will occur. In the future the SDK may create
 13926  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 13927  // for more information on using Contexts.
 13928  func (c *Chime) ListPhoneNumbersPagesWithContext(ctx aws.Context, input *ListPhoneNumbersInput, fn func(*ListPhoneNumbersOutput, bool) bool, opts ...request.Option) error {
 13929  	p := request.Pagination{
 13930  		NewRequest: func() (*request.Request, error) {
 13931  			var inCpy *ListPhoneNumbersInput
 13932  			if input != nil {
 13933  				tmp := *input
 13934  				inCpy = &tmp
 13935  			}
 13936  			req, _ := c.ListPhoneNumbersRequest(inCpy)
 13937  			req.SetContext(ctx)
 13938  			req.ApplyOptions(opts...)
 13939  			return req, nil
 13940  		},
 13941  	}
 13942  
 13943  	for p.Next() {
 13944  		if !fn(p.Page().(*ListPhoneNumbersOutput), !p.HasNextPage()) {
 13945  			break
 13946  		}
 13947  	}
 13948  
 13949  	return p.Err()
 13950  }
 13951  
 13952  const opListProxySessions = "ListProxySessions"
 13953  
 13954  // ListProxySessionsRequest generates a "aws/request.Request" representing the
 13955  // client's request for the ListProxySessions operation. The "output" return
 13956  // value will be populated with the request's response once the request completes
 13957  // successfully.
 13958  //
 13959  // Use "Send" method on the returned Request to send the API call to the service.
 13960  // the "output" return value is not valid until after Send returns without error.
 13961  //
 13962  // See ListProxySessions for more information on using the ListProxySessions
 13963  // API call, and error handling.
 13964  //
 13965  // This method is useful when you want to inject custom logic or configuration
 13966  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 13967  //
 13968  //
 13969  //    // Example sending a request using the ListProxySessionsRequest method.
 13970  //    req, resp := client.ListProxySessionsRequest(params)
 13971  //
 13972  //    err := req.Send()
 13973  //    if err == nil { // resp is now filled
 13974  //        fmt.Println(resp)
 13975  //    }
 13976  //
 13977  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListProxySessions
 13978  func (c *Chime) ListProxySessionsRequest(input *ListProxySessionsInput) (req *request.Request, output *ListProxySessionsOutput) {
 13979  	op := &request.Operation{
 13980  		Name:       opListProxySessions,
 13981  		HTTPMethod: "GET",
 13982  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/proxy-sessions",
 13983  		Paginator: &request.Paginator{
 13984  			InputTokens:     []string{"NextToken"},
 13985  			OutputTokens:    []string{"NextToken"},
 13986  			LimitToken:      "MaxResults",
 13987  			TruncationToken: "",
 13988  		},
 13989  	}
 13990  
 13991  	if input == nil {
 13992  		input = &ListProxySessionsInput{}
 13993  	}
 13994  
 13995  	output = &ListProxySessionsOutput{}
 13996  	req = c.newRequest(op, input, output)
 13997  	return
 13998  }
 13999  
 14000  // ListProxySessions API operation for Amazon Chime.
 14001  //
 14002  // Lists the proxy sessions for the specified Amazon Chime Voice Connector.
 14003  //
 14004  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 14005  // with awserr.Error's Code and Message methods to get detailed information about
 14006  // the error.
 14007  //
 14008  // See the AWS API reference guide for Amazon Chime's
 14009  // API operation ListProxySessions for usage and error information.
 14010  //
 14011  // Returned Error Types:
 14012  //   * UnauthorizedClientException
 14013  //   The client is not currently authorized to make the request.
 14014  //
 14015  //   * NotFoundException
 14016  //   One or more of the resources in the request does not exist in the system.
 14017  //
 14018  //   * ForbiddenException
 14019  //   The client is permanently forbidden from making the request.
 14020  //
 14021  //   * BadRequestException
 14022  //   The input parameters don't match the service's restrictions.
 14023  //
 14024  //   * ThrottledClientException
 14025  //   The client exceeded its request rate limit.
 14026  //
 14027  //   * ServiceUnavailableException
 14028  //   The service is currently unavailable.
 14029  //
 14030  //   * ServiceFailureException
 14031  //   The service encountered an unexpected error.
 14032  //
 14033  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListProxySessions
 14034  func (c *Chime) ListProxySessions(input *ListProxySessionsInput) (*ListProxySessionsOutput, error) {
 14035  	req, out := c.ListProxySessionsRequest(input)
 14036  	return out, req.Send()
 14037  }
 14038  
 14039  // ListProxySessionsWithContext is the same as ListProxySessions with the addition of
 14040  // the ability to pass a context and additional request options.
 14041  //
 14042  // See ListProxySessions for details on how to use this API operation.
 14043  //
 14044  // The context must be non-nil and will be used for request cancellation. If
 14045  // the context is nil a panic will occur. In the future the SDK may create
 14046  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 14047  // for more information on using Contexts.
 14048  func (c *Chime) ListProxySessionsWithContext(ctx aws.Context, input *ListProxySessionsInput, opts ...request.Option) (*ListProxySessionsOutput, error) {
 14049  	req, out := c.ListProxySessionsRequest(input)
 14050  	req.SetContext(ctx)
 14051  	req.ApplyOptions(opts...)
 14052  	return out, req.Send()
 14053  }
 14054  
 14055  // ListProxySessionsPages iterates over the pages of a ListProxySessions operation,
 14056  // calling the "fn" function with the response data for each page. To stop
 14057  // iterating, return false from the fn function.
 14058  //
 14059  // See ListProxySessions method for more information on how to use this operation.
 14060  //
 14061  // Note: This operation can generate multiple requests to a service.
 14062  //
 14063  //    // Example iterating over at most 3 pages of a ListProxySessions operation.
 14064  //    pageNum := 0
 14065  //    err := client.ListProxySessionsPages(params,
 14066  //        func(page *chime.ListProxySessionsOutput, lastPage bool) bool {
 14067  //            pageNum++
 14068  //            fmt.Println(page)
 14069  //            return pageNum <= 3
 14070  //        })
 14071  //
 14072  func (c *Chime) ListProxySessionsPages(input *ListProxySessionsInput, fn func(*ListProxySessionsOutput, bool) bool) error {
 14073  	return c.ListProxySessionsPagesWithContext(aws.BackgroundContext(), input, fn)
 14074  }
 14075  
 14076  // ListProxySessionsPagesWithContext same as ListProxySessionsPages except
 14077  // it takes a Context and allows setting request options on the pages.
 14078  //
 14079  // The context must be non-nil and will be used for request cancellation. If
 14080  // the context is nil a panic will occur. In the future the SDK may create
 14081  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 14082  // for more information on using Contexts.
 14083  func (c *Chime) ListProxySessionsPagesWithContext(ctx aws.Context, input *ListProxySessionsInput, fn func(*ListProxySessionsOutput, bool) bool, opts ...request.Option) error {
 14084  	p := request.Pagination{
 14085  		NewRequest: func() (*request.Request, error) {
 14086  			var inCpy *ListProxySessionsInput
 14087  			if input != nil {
 14088  				tmp := *input
 14089  				inCpy = &tmp
 14090  			}
 14091  			req, _ := c.ListProxySessionsRequest(inCpy)
 14092  			req.SetContext(ctx)
 14093  			req.ApplyOptions(opts...)
 14094  			return req, nil
 14095  		},
 14096  	}
 14097  
 14098  	for p.Next() {
 14099  		if !fn(p.Page().(*ListProxySessionsOutput), !p.HasNextPage()) {
 14100  			break
 14101  		}
 14102  	}
 14103  
 14104  	return p.Err()
 14105  }
 14106  
 14107  const opListRoomMemberships = "ListRoomMemberships"
 14108  
 14109  // ListRoomMembershipsRequest generates a "aws/request.Request" representing the
 14110  // client's request for the ListRoomMemberships operation. The "output" return
 14111  // value will be populated with the request's response once the request completes
 14112  // successfully.
 14113  //
 14114  // Use "Send" method on the returned Request to send the API call to the service.
 14115  // the "output" return value is not valid until after Send returns without error.
 14116  //
 14117  // See ListRoomMemberships for more information on using the ListRoomMemberships
 14118  // API call, and error handling.
 14119  //
 14120  // This method is useful when you want to inject custom logic or configuration
 14121  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 14122  //
 14123  //
 14124  //    // Example sending a request using the ListRoomMembershipsRequest method.
 14125  //    req, resp := client.ListRoomMembershipsRequest(params)
 14126  //
 14127  //    err := req.Send()
 14128  //    if err == nil { // resp is now filled
 14129  //        fmt.Println(resp)
 14130  //    }
 14131  //
 14132  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListRoomMemberships
 14133  func (c *Chime) ListRoomMembershipsRequest(input *ListRoomMembershipsInput) (req *request.Request, output *ListRoomMembershipsOutput) {
 14134  	op := &request.Operation{
 14135  		Name:       opListRoomMemberships,
 14136  		HTTPMethod: "GET",
 14137  		HTTPPath:   "/accounts/{accountId}/rooms/{roomId}/memberships",
 14138  		Paginator: &request.Paginator{
 14139  			InputTokens:     []string{"NextToken"},
 14140  			OutputTokens:    []string{"NextToken"},
 14141  			LimitToken:      "MaxResults",
 14142  			TruncationToken: "",
 14143  		},
 14144  	}
 14145  
 14146  	if input == nil {
 14147  		input = &ListRoomMembershipsInput{}
 14148  	}
 14149  
 14150  	output = &ListRoomMembershipsOutput{}
 14151  	req = c.newRequest(op, input, output)
 14152  	return
 14153  }
 14154  
 14155  // ListRoomMemberships API operation for Amazon Chime.
 14156  //
 14157  // Lists the membership details for the specified room in an Amazon Chime Enterprise
 14158  // account, such as the members' IDs, email addresses, and names.
 14159  //
 14160  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 14161  // with awserr.Error's Code and Message methods to get detailed information about
 14162  // the error.
 14163  //
 14164  // See the AWS API reference guide for Amazon Chime's
 14165  // API operation ListRoomMemberships for usage and error information.
 14166  //
 14167  // Returned Error Types:
 14168  //   * NotFoundException
 14169  //   One or more of the resources in the request does not exist in the system.
 14170  //
 14171  //   * BadRequestException
 14172  //   The input parameters don't match the service's restrictions.
 14173  //
 14174  //   * ForbiddenException
 14175  //   The client is permanently forbidden from making the request.
 14176  //
 14177  //   * UnauthorizedClientException
 14178  //   The client is not currently authorized to make the request.
 14179  //
 14180  //   * ThrottledClientException
 14181  //   The client exceeded its request rate limit.
 14182  //
 14183  //   * ServiceUnavailableException
 14184  //   The service is currently unavailable.
 14185  //
 14186  //   * ServiceFailureException
 14187  //   The service encountered an unexpected error.
 14188  //
 14189  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListRoomMemberships
 14190  func (c *Chime) ListRoomMemberships(input *ListRoomMembershipsInput) (*ListRoomMembershipsOutput, error) {
 14191  	req, out := c.ListRoomMembershipsRequest(input)
 14192  	return out, req.Send()
 14193  }
 14194  
 14195  // ListRoomMembershipsWithContext is the same as ListRoomMemberships with the addition of
 14196  // the ability to pass a context and additional request options.
 14197  //
 14198  // See ListRoomMemberships for details on how to use this API operation.
 14199  //
 14200  // The context must be non-nil and will be used for request cancellation. If
 14201  // the context is nil a panic will occur. In the future the SDK may create
 14202  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 14203  // for more information on using Contexts.
 14204  func (c *Chime) ListRoomMembershipsWithContext(ctx aws.Context, input *ListRoomMembershipsInput, opts ...request.Option) (*ListRoomMembershipsOutput, error) {
 14205  	req, out := c.ListRoomMembershipsRequest(input)
 14206  	req.SetContext(ctx)
 14207  	req.ApplyOptions(opts...)
 14208  	return out, req.Send()
 14209  }
 14210  
 14211  // ListRoomMembershipsPages iterates over the pages of a ListRoomMemberships operation,
 14212  // calling the "fn" function with the response data for each page. To stop
 14213  // iterating, return false from the fn function.
 14214  //
 14215  // See ListRoomMemberships method for more information on how to use this operation.
 14216  //
 14217  // Note: This operation can generate multiple requests to a service.
 14218  //
 14219  //    // Example iterating over at most 3 pages of a ListRoomMemberships operation.
 14220  //    pageNum := 0
 14221  //    err := client.ListRoomMembershipsPages(params,
 14222  //        func(page *chime.ListRoomMembershipsOutput, lastPage bool) bool {
 14223  //            pageNum++
 14224  //            fmt.Println(page)
 14225  //            return pageNum <= 3
 14226  //        })
 14227  //
 14228  func (c *Chime) ListRoomMembershipsPages(input *ListRoomMembershipsInput, fn func(*ListRoomMembershipsOutput, bool) bool) error {
 14229  	return c.ListRoomMembershipsPagesWithContext(aws.BackgroundContext(), input, fn)
 14230  }
 14231  
 14232  // ListRoomMembershipsPagesWithContext same as ListRoomMembershipsPages except
 14233  // it takes a Context and allows setting request options on the pages.
 14234  //
 14235  // The context must be non-nil and will be used for request cancellation. If
 14236  // the context is nil a panic will occur. In the future the SDK may create
 14237  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 14238  // for more information on using Contexts.
 14239  func (c *Chime) ListRoomMembershipsPagesWithContext(ctx aws.Context, input *ListRoomMembershipsInput, fn func(*ListRoomMembershipsOutput, bool) bool, opts ...request.Option) error {
 14240  	p := request.Pagination{
 14241  		NewRequest: func() (*request.Request, error) {
 14242  			var inCpy *ListRoomMembershipsInput
 14243  			if input != nil {
 14244  				tmp := *input
 14245  				inCpy = &tmp
 14246  			}
 14247  			req, _ := c.ListRoomMembershipsRequest(inCpy)
 14248  			req.SetContext(ctx)
 14249  			req.ApplyOptions(opts...)
 14250  			return req, nil
 14251  		},
 14252  	}
 14253  
 14254  	for p.Next() {
 14255  		if !fn(p.Page().(*ListRoomMembershipsOutput), !p.HasNextPage()) {
 14256  			break
 14257  		}
 14258  	}
 14259  
 14260  	return p.Err()
 14261  }
 14262  
 14263  const opListRooms = "ListRooms"
 14264  
 14265  // ListRoomsRequest generates a "aws/request.Request" representing the
 14266  // client's request for the ListRooms operation. The "output" return
 14267  // value will be populated with the request's response once the request completes
 14268  // successfully.
 14269  //
 14270  // Use "Send" method on the returned Request to send the API call to the service.
 14271  // the "output" return value is not valid until after Send returns without error.
 14272  //
 14273  // See ListRooms for more information on using the ListRooms
 14274  // API call, and error handling.
 14275  //
 14276  // This method is useful when you want to inject custom logic or configuration
 14277  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 14278  //
 14279  //
 14280  //    // Example sending a request using the ListRoomsRequest method.
 14281  //    req, resp := client.ListRoomsRequest(params)
 14282  //
 14283  //    err := req.Send()
 14284  //    if err == nil { // resp is now filled
 14285  //        fmt.Println(resp)
 14286  //    }
 14287  //
 14288  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListRooms
 14289  func (c *Chime) ListRoomsRequest(input *ListRoomsInput) (req *request.Request, output *ListRoomsOutput) {
 14290  	op := &request.Operation{
 14291  		Name:       opListRooms,
 14292  		HTTPMethod: "GET",
 14293  		HTTPPath:   "/accounts/{accountId}/rooms",
 14294  		Paginator: &request.Paginator{
 14295  			InputTokens:     []string{"NextToken"},
 14296  			OutputTokens:    []string{"NextToken"},
 14297  			LimitToken:      "MaxResults",
 14298  			TruncationToken: "",
 14299  		},
 14300  	}
 14301  
 14302  	if input == nil {
 14303  		input = &ListRoomsInput{}
 14304  	}
 14305  
 14306  	output = &ListRoomsOutput{}
 14307  	req = c.newRequest(op, input, output)
 14308  	return
 14309  }
 14310  
 14311  // ListRooms API operation for Amazon Chime.
 14312  //
 14313  // Lists the room details for the specified Amazon Chime Enterprise account.
 14314  // Optionally, filter the results by a member ID (user ID or bot ID) to see
 14315  // a list of rooms that the member belongs to.
 14316  //
 14317  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 14318  // with awserr.Error's Code and Message methods to get detailed information about
 14319  // the error.
 14320  //
 14321  // See the AWS API reference guide for Amazon Chime's
 14322  // API operation ListRooms for usage and error information.
 14323  //
 14324  // Returned Error Types:
 14325  //   * NotFoundException
 14326  //   One or more of the resources in the request does not exist in the system.
 14327  //
 14328  //   * BadRequestException
 14329  //   The input parameters don't match the service's restrictions.
 14330  //
 14331  //   * ForbiddenException
 14332  //   The client is permanently forbidden from making the request.
 14333  //
 14334  //   * UnauthorizedClientException
 14335  //   The client is not currently authorized to make the request.
 14336  //
 14337  //   * ThrottledClientException
 14338  //   The client exceeded its request rate limit.
 14339  //
 14340  //   * ServiceUnavailableException
 14341  //   The service is currently unavailable.
 14342  //
 14343  //   * ServiceFailureException
 14344  //   The service encountered an unexpected error.
 14345  //
 14346  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListRooms
 14347  func (c *Chime) ListRooms(input *ListRoomsInput) (*ListRoomsOutput, error) {
 14348  	req, out := c.ListRoomsRequest(input)
 14349  	return out, req.Send()
 14350  }
 14351  
 14352  // ListRoomsWithContext is the same as ListRooms with the addition of
 14353  // the ability to pass a context and additional request options.
 14354  //
 14355  // See ListRooms for details on how to use this API operation.
 14356  //
 14357  // The context must be non-nil and will be used for request cancellation. If
 14358  // the context is nil a panic will occur. In the future the SDK may create
 14359  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 14360  // for more information on using Contexts.
 14361  func (c *Chime) ListRoomsWithContext(ctx aws.Context, input *ListRoomsInput, opts ...request.Option) (*ListRoomsOutput, error) {
 14362  	req, out := c.ListRoomsRequest(input)
 14363  	req.SetContext(ctx)
 14364  	req.ApplyOptions(opts...)
 14365  	return out, req.Send()
 14366  }
 14367  
 14368  // ListRoomsPages iterates over the pages of a ListRooms operation,
 14369  // calling the "fn" function with the response data for each page. To stop
 14370  // iterating, return false from the fn function.
 14371  //
 14372  // See ListRooms method for more information on how to use this operation.
 14373  //
 14374  // Note: This operation can generate multiple requests to a service.
 14375  //
 14376  //    // Example iterating over at most 3 pages of a ListRooms operation.
 14377  //    pageNum := 0
 14378  //    err := client.ListRoomsPages(params,
 14379  //        func(page *chime.ListRoomsOutput, lastPage bool) bool {
 14380  //            pageNum++
 14381  //            fmt.Println(page)
 14382  //            return pageNum <= 3
 14383  //        })
 14384  //
 14385  func (c *Chime) ListRoomsPages(input *ListRoomsInput, fn func(*ListRoomsOutput, bool) bool) error {
 14386  	return c.ListRoomsPagesWithContext(aws.BackgroundContext(), input, fn)
 14387  }
 14388  
 14389  // ListRoomsPagesWithContext same as ListRoomsPages except
 14390  // it takes a Context and allows setting request options on the pages.
 14391  //
 14392  // The context must be non-nil and will be used for request cancellation. If
 14393  // the context is nil a panic will occur. In the future the SDK may create
 14394  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 14395  // for more information on using Contexts.
 14396  func (c *Chime) ListRoomsPagesWithContext(ctx aws.Context, input *ListRoomsInput, fn func(*ListRoomsOutput, bool) bool, opts ...request.Option) error {
 14397  	p := request.Pagination{
 14398  		NewRequest: func() (*request.Request, error) {
 14399  			var inCpy *ListRoomsInput
 14400  			if input != nil {
 14401  				tmp := *input
 14402  				inCpy = &tmp
 14403  			}
 14404  			req, _ := c.ListRoomsRequest(inCpy)
 14405  			req.SetContext(ctx)
 14406  			req.ApplyOptions(opts...)
 14407  			return req, nil
 14408  		},
 14409  	}
 14410  
 14411  	for p.Next() {
 14412  		if !fn(p.Page().(*ListRoomsOutput), !p.HasNextPage()) {
 14413  			break
 14414  		}
 14415  	}
 14416  
 14417  	return p.Err()
 14418  }
 14419  
 14420  const opListSipMediaApplications = "ListSipMediaApplications"
 14421  
 14422  // ListSipMediaApplicationsRequest generates a "aws/request.Request" representing the
 14423  // client's request for the ListSipMediaApplications operation. The "output" return
 14424  // value will be populated with the request's response once the request completes
 14425  // successfully.
 14426  //
 14427  // Use "Send" method on the returned Request to send the API call to the service.
 14428  // the "output" return value is not valid until after Send returns without error.
 14429  //
 14430  // See ListSipMediaApplications for more information on using the ListSipMediaApplications
 14431  // API call, and error handling.
 14432  //
 14433  // This method is useful when you want to inject custom logic or configuration
 14434  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 14435  //
 14436  //
 14437  //    // Example sending a request using the ListSipMediaApplicationsRequest method.
 14438  //    req, resp := client.ListSipMediaApplicationsRequest(params)
 14439  //
 14440  //    err := req.Send()
 14441  //    if err == nil { // resp is now filled
 14442  //        fmt.Println(resp)
 14443  //    }
 14444  //
 14445  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSipMediaApplications
 14446  func (c *Chime) ListSipMediaApplicationsRequest(input *ListSipMediaApplicationsInput) (req *request.Request, output *ListSipMediaApplicationsOutput) {
 14447  	op := &request.Operation{
 14448  		Name:       opListSipMediaApplications,
 14449  		HTTPMethod: "GET",
 14450  		HTTPPath:   "/sip-media-applications",
 14451  		Paginator: &request.Paginator{
 14452  			InputTokens:     []string{"NextToken"},
 14453  			OutputTokens:    []string{"NextToken"},
 14454  			LimitToken:      "MaxResults",
 14455  			TruncationToken: "",
 14456  		},
 14457  	}
 14458  
 14459  	if input == nil {
 14460  		input = &ListSipMediaApplicationsInput{}
 14461  	}
 14462  
 14463  	output = &ListSipMediaApplicationsOutput{}
 14464  	req = c.newRequest(op, input, output)
 14465  	return
 14466  }
 14467  
 14468  // ListSipMediaApplications API operation for Amazon Chime.
 14469  //
 14470  // Lists the SIP media applications under the administrator's AWS account.
 14471  //
 14472  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 14473  // with awserr.Error's Code and Message methods to get detailed information about
 14474  // the error.
 14475  //
 14476  // See the AWS API reference guide for Amazon Chime's
 14477  // API operation ListSipMediaApplications for usage and error information.
 14478  //
 14479  // Returned Error Types:
 14480  //   * UnauthorizedClientException
 14481  //   The client is not currently authorized to make the request.
 14482  //
 14483  //   * ForbiddenException
 14484  //   The client is permanently forbidden from making the request.
 14485  //
 14486  //   * BadRequestException
 14487  //   The input parameters don't match the service's restrictions.
 14488  //
 14489  //   * ThrottledClientException
 14490  //   The client exceeded its request rate limit.
 14491  //
 14492  //   * ServiceUnavailableException
 14493  //   The service is currently unavailable.
 14494  //
 14495  //   * ServiceFailureException
 14496  //   The service encountered an unexpected error.
 14497  //
 14498  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSipMediaApplications
 14499  func (c *Chime) ListSipMediaApplications(input *ListSipMediaApplicationsInput) (*ListSipMediaApplicationsOutput, error) {
 14500  	req, out := c.ListSipMediaApplicationsRequest(input)
 14501  	return out, req.Send()
 14502  }
 14503  
 14504  // ListSipMediaApplicationsWithContext is the same as ListSipMediaApplications with the addition of
 14505  // the ability to pass a context and additional request options.
 14506  //
 14507  // See ListSipMediaApplications for details on how to use this API operation.
 14508  //
 14509  // The context must be non-nil and will be used for request cancellation. If
 14510  // the context is nil a panic will occur. In the future the SDK may create
 14511  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 14512  // for more information on using Contexts.
 14513  func (c *Chime) ListSipMediaApplicationsWithContext(ctx aws.Context, input *ListSipMediaApplicationsInput, opts ...request.Option) (*ListSipMediaApplicationsOutput, error) {
 14514  	req, out := c.ListSipMediaApplicationsRequest(input)
 14515  	req.SetContext(ctx)
 14516  	req.ApplyOptions(opts...)
 14517  	return out, req.Send()
 14518  }
 14519  
 14520  // ListSipMediaApplicationsPages iterates over the pages of a ListSipMediaApplications operation,
 14521  // calling the "fn" function with the response data for each page. To stop
 14522  // iterating, return false from the fn function.
 14523  //
 14524  // See ListSipMediaApplications method for more information on how to use this operation.
 14525  //
 14526  // Note: This operation can generate multiple requests to a service.
 14527  //
 14528  //    // Example iterating over at most 3 pages of a ListSipMediaApplications operation.
 14529  //    pageNum := 0
 14530  //    err := client.ListSipMediaApplicationsPages(params,
 14531  //        func(page *chime.ListSipMediaApplicationsOutput, lastPage bool) bool {
 14532  //            pageNum++
 14533  //            fmt.Println(page)
 14534  //            return pageNum <= 3
 14535  //        })
 14536  //
 14537  func (c *Chime) ListSipMediaApplicationsPages(input *ListSipMediaApplicationsInput, fn func(*ListSipMediaApplicationsOutput, bool) bool) error {
 14538  	return c.ListSipMediaApplicationsPagesWithContext(aws.BackgroundContext(), input, fn)
 14539  }
 14540  
 14541  // ListSipMediaApplicationsPagesWithContext same as ListSipMediaApplicationsPages except
 14542  // it takes a Context and allows setting request options on the pages.
 14543  //
 14544  // The context must be non-nil and will be used for request cancellation. If
 14545  // the context is nil a panic will occur. In the future the SDK may create
 14546  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 14547  // for more information on using Contexts.
 14548  func (c *Chime) ListSipMediaApplicationsPagesWithContext(ctx aws.Context, input *ListSipMediaApplicationsInput, fn func(*ListSipMediaApplicationsOutput, bool) bool, opts ...request.Option) error {
 14549  	p := request.Pagination{
 14550  		NewRequest: func() (*request.Request, error) {
 14551  			var inCpy *ListSipMediaApplicationsInput
 14552  			if input != nil {
 14553  				tmp := *input
 14554  				inCpy = &tmp
 14555  			}
 14556  			req, _ := c.ListSipMediaApplicationsRequest(inCpy)
 14557  			req.SetContext(ctx)
 14558  			req.ApplyOptions(opts...)
 14559  			return req, nil
 14560  		},
 14561  	}
 14562  
 14563  	for p.Next() {
 14564  		if !fn(p.Page().(*ListSipMediaApplicationsOutput), !p.HasNextPage()) {
 14565  			break
 14566  		}
 14567  	}
 14568  
 14569  	return p.Err()
 14570  }
 14571  
 14572  const opListSipRules = "ListSipRules"
 14573  
 14574  // ListSipRulesRequest generates a "aws/request.Request" representing the
 14575  // client's request for the ListSipRules operation. The "output" return
 14576  // value will be populated with the request's response once the request completes
 14577  // successfully.
 14578  //
 14579  // Use "Send" method on the returned Request to send the API call to the service.
 14580  // the "output" return value is not valid until after Send returns without error.
 14581  //
 14582  // See ListSipRules for more information on using the ListSipRules
 14583  // API call, and error handling.
 14584  //
 14585  // This method is useful when you want to inject custom logic or configuration
 14586  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 14587  //
 14588  //
 14589  //    // Example sending a request using the ListSipRulesRequest method.
 14590  //    req, resp := client.ListSipRulesRequest(params)
 14591  //
 14592  //    err := req.Send()
 14593  //    if err == nil { // resp is now filled
 14594  //        fmt.Println(resp)
 14595  //    }
 14596  //
 14597  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSipRules
 14598  func (c *Chime) ListSipRulesRequest(input *ListSipRulesInput) (req *request.Request, output *ListSipRulesOutput) {
 14599  	op := &request.Operation{
 14600  		Name:       opListSipRules,
 14601  		HTTPMethod: "GET",
 14602  		HTTPPath:   "/sip-rules",
 14603  		Paginator: &request.Paginator{
 14604  			InputTokens:     []string{"NextToken"},
 14605  			OutputTokens:    []string{"NextToken"},
 14606  			LimitToken:      "MaxResults",
 14607  			TruncationToken: "",
 14608  		},
 14609  	}
 14610  
 14611  	if input == nil {
 14612  		input = &ListSipRulesInput{}
 14613  	}
 14614  
 14615  	output = &ListSipRulesOutput{}
 14616  	req = c.newRequest(op, input, output)
 14617  	return
 14618  }
 14619  
 14620  // ListSipRules API operation for Amazon Chime.
 14621  //
 14622  // Lists the SIP rules under the administrator's AWS account.
 14623  //
 14624  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 14625  // with awserr.Error's Code and Message methods to get detailed information about
 14626  // the error.
 14627  //
 14628  // See the AWS API reference guide for Amazon Chime's
 14629  // API operation ListSipRules for usage and error information.
 14630  //
 14631  // Returned Error Types:
 14632  //   * UnauthorizedClientException
 14633  //   The client is not currently authorized to make the request.
 14634  //
 14635  //   * ForbiddenException
 14636  //   The client is permanently forbidden from making the request.
 14637  //
 14638  //   * BadRequestException
 14639  //   The input parameters don't match the service's restrictions.
 14640  //
 14641  //   * ThrottledClientException
 14642  //   The client exceeded its request rate limit.
 14643  //
 14644  //   * ServiceUnavailableException
 14645  //   The service is currently unavailable.
 14646  //
 14647  //   * ServiceFailureException
 14648  //   The service encountered an unexpected error.
 14649  //
 14650  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSipRules
 14651  func (c *Chime) ListSipRules(input *ListSipRulesInput) (*ListSipRulesOutput, error) {
 14652  	req, out := c.ListSipRulesRequest(input)
 14653  	return out, req.Send()
 14654  }
 14655  
 14656  // ListSipRulesWithContext is the same as ListSipRules with the addition of
 14657  // the ability to pass a context and additional request options.
 14658  //
 14659  // See ListSipRules for details on how to use this API operation.
 14660  //
 14661  // The context must be non-nil and will be used for request cancellation. If
 14662  // the context is nil a panic will occur. In the future the SDK may create
 14663  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 14664  // for more information on using Contexts.
 14665  func (c *Chime) ListSipRulesWithContext(ctx aws.Context, input *ListSipRulesInput, opts ...request.Option) (*ListSipRulesOutput, error) {
 14666  	req, out := c.ListSipRulesRequest(input)
 14667  	req.SetContext(ctx)
 14668  	req.ApplyOptions(opts...)
 14669  	return out, req.Send()
 14670  }
 14671  
 14672  // ListSipRulesPages iterates over the pages of a ListSipRules operation,
 14673  // calling the "fn" function with the response data for each page. To stop
 14674  // iterating, return false from the fn function.
 14675  //
 14676  // See ListSipRules method for more information on how to use this operation.
 14677  //
 14678  // Note: This operation can generate multiple requests to a service.
 14679  //
 14680  //    // Example iterating over at most 3 pages of a ListSipRules operation.
 14681  //    pageNum := 0
 14682  //    err := client.ListSipRulesPages(params,
 14683  //        func(page *chime.ListSipRulesOutput, lastPage bool) bool {
 14684  //            pageNum++
 14685  //            fmt.Println(page)
 14686  //            return pageNum <= 3
 14687  //        })
 14688  //
 14689  func (c *Chime) ListSipRulesPages(input *ListSipRulesInput, fn func(*ListSipRulesOutput, bool) bool) error {
 14690  	return c.ListSipRulesPagesWithContext(aws.BackgroundContext(), input, fn)
 14691  }
 14692  
 14693  // ListSipRulesPagesWithContext same as ListSipRulesPages except
 14694  // it takes a Context and allows setting request options on the pages.
 14695  //
 14696  // The context must be non-nil and will be used for request cancellation. If
 14697  // the context is nil a panic will occur. In the future the SDK may create
 14698  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 14699  // for more information on using Contexts.
 14700  func (c *Chime) ListSipRulesPagesWithContext(ctx aws.Context, input *ListSipRulesInput, fn func(*ListSipRulesOutput, bool) bool, opts ...request.Option) error {
 14701  	p := request.Pagination{
 14702  		NewRequest: func() (*request.Request, error) {
 14703  			var inCpy *ListSipRulesInput
 14704  			if input != nil {
 14705  				tmp := *input
 14706  				inCpy = &tmp
 14707  			}
 14708  			req, _ := c.ListSipRulesRequest(inCpy)
 14709  			req.SetContext(ctx)
 14710  			req.ApplyOptions(opts...)
 14711  			return req, nil
 14712  		},
 14713  	}
 14714  
 14715  	for p.Next() {
 14716  		if !fn(p.Page().(*ListSipRulesOutput), !p.HasNextPage()) {
 14717  			break
 14718  		}
 14719  	}
 14720  
 14721  	return p.Err()
 14722  }
 14723  
 14724  const opListSupportedPhoneNumberCountries = "ListSupportedPhoneNumberCountries"
 14725  
 14726  // ListSupportedPhoneNumberCountriesRequest generates a "aws/request.Request" representing the
 14727  // client's request for the ListSupportedPhoneNumberCountries operation. The "output" return
 14728  // value will be populated with the request's response once the request completes
 14729  // successfully.
 14730  //
 14731  // Use "Send" method on the returned Request to send the API call to the service.
 14732  // the "output" return value is not valid until after Send returns without error.
 14733  //
 14734  // See ListSupportedPhoneNumberCountries for more information on using the ListSupportedPhoneNumberCountries
 14735  // API call, and error handling.
 14736  //
 14737  // This method is useful when you want to inject custom logic or configuration
 14738  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 14739  //
 14740  //
 14741  //    // Example sending a request using the ListSupportedPhoneNumberCountriesRequest method.
 14742  //    req, resp := client.ListSupportedPhoneNumberCountriesRequest(params)
 14743  //
 14744  //    err := req.Send()
 14745  //    if err == nil { // resp is now filled
 14746  //        fmt.Println(resp)
 14747  //    }
 14748  //
 14749  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSupportedPhoneNumberCountries
 14750  func (c *Chime) ListSupportedPhoneNumberCountriesRequest(input *ListSupportedPhoneNumberCountriesInput) (req *request.Request, output *ListSupportedPhoneNumberCountriesOutput) {
 14751  	op := &request.Operation{
 14752  		Name:       opListSupportedPhoneNumberCountries,
 14753  		HTTPMethod: "GET",
 14754  		HTTPPath:   "/phone-number-countries",
 14755  	}
 14756  
 14757  	if input == nil {
 14758  		input = &ListSupportedPhoneNumberCountriesInput{}
 14759  	}
 14760  
 14761  	output = &ListSupportedPhoneNumberCountriesOutput{}
 14762  	req = c.newRequest(op, input, output)
 14763  	return
 14764  }
 14765  
 14766  // ListSupportedPhoneNumberCountries API operation for Amazon Chime.
 14767  //
 14768  // Lists supported phone number countries.
 14769  //
 14770  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 14771  // with awserr.Error's Code and Message methods to get detailed information about
 14772  // the error.
 14773  //
 14774  // See the AWS API reference guide for Amazon Chime's
 14775  // API operation ListSupportedPhoneNumberCountries for usage and error information.
 14776  //
 14777  // Returned Error Types:
 14778  //   * BadRequestException
 14779  //   The input parameters don't match the service's restrictions.
 14780  //
 14781  //   * ForbiddenException
 14782  //   The client is permanently forbidden from making the request.
 14783  //
 14784  //   * AccessDeniedException
 14785  //   You don't have permissions to perform the requested operation.
 14786  //
 14787  //   * UnauthorizedClientException
 14788  //   The client is not currently authorized to make the request.
 14789  //
 14790  //   * ThrottledClientException
 14791  //   The client exceeded its request rate limit.
 14792  //
 14793  //   * ServiceUnavailableException
 14794  //   The service is currently unavailable.
 14795  //
 14796  //   * ServiceFailureException
 14797  //   The service encountered an unexpected error.
 14798  //
 14799  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSupportedPhoneNumberCountries
 14800  func (c *Chime) ListSupportedPhoneNumberCountries(input *ListSupportedPhoneNumberCountriesInput) (*ListSupportedPhoneNumberCountriesOutput, error) {
 14801  	req, out := c.ListSupportedPhoneNumberCountriesRequest(input)
 14802  	return out, req.Send()
 14803  }
 14804  
 14805  // ListSupportedPhoneNumberCountriesWithContext is the same as ListSupportedPhoneNumberCountries with the addition of
 14806  // the ability to pass a context and additional request options.
 14807  //
 14808  // See ListSupportedPhoneNumberCountries for details on how to use this API operation.
 14809  //
 14810  // The context must be non-nil and will be used for request cancellation. If
 14811  // the context is nil a panic will occur. In the future the SDK may create
 14812  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 14813  // for more information on using Contexts.
 14814  func (c *Chime) ListSupportedPhoneNumberCountriesWithContext(ctx aws.Context, input *ListSupportedPhoneNumberCountriesInput, opts ...request.Option) (*ListSupportedPhoneNumberCountriesOutput, error) {
 14815  	req, out := c.ListSupportedPhoneNumberCountriesRequest(input)
 14816  	req.SetContext(ctx)
 14817  	req.ApplyOptions(opts...)
 14818  	return out, req.Send()
 14819  }
 14820  
 14821  const opListTagsForResource = "ListTagsForResource"
 14822  
 14823  // ListTagsForResourceRequest generates a "aws/request.Request" representing the
 14824  // client's request for the ListTagsForResource operation. The "output" return
 14825  // value will be populated with the request's response once the request completes
 14826  // successfully.
 14827  //
 14828  // Use "Send" method on the returned Request to send the API call to the service.
 14829  // the "output" return value is not valid until after Send returns without error.
 14830  //
 14831  // See ListTagsForResource for more information on using the ListTagsForResource
 14832  // API call, and error handling.
 14833  //
 14834  // This method is useful when you want to inject custom logic or configuration
 14835  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 14836  //
 14837  //
 14838  //    // Example sending a request using the ListTagsForResourceRequest method.
 14839  //    req, resp := client.ListTagsForResourceRequest(params)
 14840  //
 14841  //    err := req.Send()
 14842  //    if err == nil { // resp is now filled
 14843  //        fmt.Println(resp)
 14844  //    }
 14845  //
 14846  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListTagsForResource
 14847  func (c *Chime) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
 14848  	op := &request.Operation{
 14849  		Name:       opListTagsForResource,
 14850  		HTTPMethod: "GET",
 14851  		HTTPPath:   "/tags",
 14852  	}
 14853  
 14854  	if input == nil {
 14855  		input = &ListTagsForResourceInput{}
 14856  	}
 14857  
 14858  	output = &ListTagsForResourceOutput{}
 14859  	req = c.newRequest(op, input, output)
 14860  	return
 14861  }
 14862  
 14863  // ListTagsForResource API operation for Amazon Chime.
 14864  //
 14865  // Lists the tags applied to an Amazon Chime SDK meeting resource.
 14866  //
 14867  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 14868  // with awserr.Error's Code and Message methods to get detailed information about
 14869  // the error.
 14870  //
 14871  // See the AWS API reference guide for Amazon Chime's
 14872  // API operation ListTagsForResource for usage and error information.
 14873  //
 14874  // Returned Error Types:
 14875  //   * BadRequestException
 14876  //   The input parameters don't match the service's restrictions.
 14877  //
 14878  //   * ForbiddenException
 14879  //   The client is permanently forbidden from making the request.
 14880  //
 14881  //   * NotFoundException
 14882  //   One or more of the resources in the request does not exist in the system.
 14883  //
 14884  //   * UnauthorizedClientException
 14885  //   The client is not currently authorized to make the request.
 14886  //
 14887  //   * ServiceUnavailableException
 14888  //   The service is currently unavailable.
 14889  //
 14890  //   * ServiceFailureException
 14891  //   The service encountered an unexpected error.
 14892  //
 14893  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListTagsForResource
 14894  func (c *Chime) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
 14895  	req, out := c.ListTagsForResourceRequest(input)
 14896  	return out, req.Send()
 14897  }
 14898  
 14899  // ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
 14900  // the ability to pass a context and additional request options.
 14901  //
 14902  // See ListTagsForResource for details on how to use this API operation.
 14903  //
 14904  // The context must be non-nil and will be used for request cancellation. If
 14905  // the context is nil a panic will occur. In the future the SDK may create
 14906  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 14907  // for more information on using Contexts.
 14908  func (c *Chime) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
 14909  	req, out := c.ListTagsForResourceRequest(input)
 14910  	req.SetContext(ctx)
 14911  	req.ApplyOptions(opts...)
 14912  	return out, req.Send()
 14913  }
 14914  
 14915  const opListUsers = "ListUsers"
 14916  
 14917  // ListUsersRequest generates a "aws/request.Request" representing the
 14918  // client's request for the ListUsers operation. The "output" return
 14919  // value will be populated with the request's response once the request completes
 14920  // successfully.
 14921  //
 14922  // Use "Send" method on the returned Request to send the API call to the service.
 14923  // the "output" return value is not valid until after Send returns without error.
 14924  //
 14925  // See ListUsers for more information on using the ListUsers
 14926  // API call, and error handling.
 14927  //
 14928  // This method is useful when you want to inject custom logic or configuration
 14929  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 14930  //
 14931  //
 14932  //    // Example sending a request using the ListUsersRequest method.
 14933  //    req, resp := client.ListUsersRequest(params)
 14934  //
 14935  //    err := req.Send()
 14936  //    if err == nil { // resp is now filled
 14937  //        fmt.Println(resp)
 14938  //    }
 14939  //
 14940  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListUsers
 14941  func (c *Chime) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput) {
 14942  	op := &request.Operation{
 14943  		Name:       opListUsers,
 14944  		HTTPMethod: "GET",
 14945  		HTTPPath:   "/accounts/{accountId}/users",
 14946  		Paginator: &request.Paginator{
 14947  			InputTokens:     []string{"NextToken"},
 14948  			OutputTokens:    []string{"NextToken"},
 14949  			LimitToken:      "MaxResults",
 14950  			TruncationToken: "",
 14951  		},
 14952  	}
 14953  
 14954  	if input == nil {
 14955  		input = &ListUsersInput{}
 14956  	}
 14957  
 14958  	output = &ListUsersOutput{}
 14959  	req = c.newRequest(op, input, output)
 14960  	return
 14961  }
 14962  
 14963  // ListUsers API operation for Amazon Chime.
 14964  //
 14965  // Lists the users that belong to the specified Amazon Chime account. You can
 14966  // specify an email address to list only the user that the email address belongs
 14967  // to.
 14968  //
 14969  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 14970  // with awserr.Error's Code and Message methods to get detailed information about
 14971  // the error.
 14972  //
 14973  // See the AWS API reference guide for Amazon Chime's
 14974  // API operation ListUsers for usage and error information.
 14975  //
 14976  // Returned Error Types:
 14977  //   * UnauthorizedClientException
 14978  //   The client is not currently authorized to make the request.
 14979  //
 14980  //   * NotFoundException
 14981  //   One or more of the resources in the request does not exist in the system.
 14982  //
 14983  //   * ForbiddenException
 14984  //   The client is permanently forbidden from making the request.
 14985  //
 14986  //   * BadRequestException
 14987  //   The input parameters don't match the service's restrictions.
 14988  //
 14989  //   * ThrottledClientException
 14990  //   The client exceeded its request rate limit.
 14991  //
 14992  //   * ServiceUnavailableException
 14993  //   The service is currently unavailable.
 14994  //
 14995  //   * ServiceFailureException
 14996  //   The service encountered an unexpected error.
 14997  //
 14998  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListUsers
 14999  func (c *Chime) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) {
 15000  	req, out := c.ListUsersRequest(input)
 15001  	return out, req.Send()
 15002  }
 15003  
 15004  // ListUsersWithContext is the same as ListUsers with the addition of
 15005  // the ability to pass a context and additional request options.
 15006  //
 15007  // See ListUsers for details on how to use this API operation.
 15008  //
 15009  // The context must be non-nil and will be used for request cancellation. If
 15010  // the context is nil a panic will occur. In the future the SDK may create
 15011  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 15012  // for more information on using Contexts.
 15013  func (c *Chime) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, opts ...request.Option) (*ListUsersOutput, error) {
 15014  	req, out := c.ListUsersRequest(input)
 15015  	req.SetContext(ctx)
 15016  	req.ApplyOptions(opts...)
 15017  	return out, req.Send()
 15018  }
 15019  
 15020  // ListUsersPages iterates over the pages of a ListUsers operation,
 15021  // calling the "fn" function with the response data for each page. To stop
 15022  // iterating, return false from the fn function.
 15023  //
 15024  // See ListUsers method for more information on how to use this operation.
 15025  //
 15026  // Note: This operation can generate multiple requests to a service.
 15027  //
 15028  //    // Example iterating over at most 3 pages of a ListUsers operation.
 15029  //    pageNum := 0
 15030  //    err := client.ListUsersPages(params,
 15031  //        func(page *chime.ListUsersOutput, lastPage bool) bool {
 15032  //            pageNum++
 15033  //            fmt.Println(page)
 15034  //            return pageNum <= 3
 15035  //        })
 15036  //
 15037  func (c *Chime) ListUsersPages(input *ListUsersInput, fn func(*ListUsersOutput, bool) bool) error {
 15038  	return c.ListUsersPagesWithContext(aws.BackgroundContext(), input, fn)
 15039  }
 15040  
 15041  // ListUsersPagesWithContext same as ListUsersPages except
 15042  // it takes a Context and allows setting request options on the pages.
 15043  //
 15044  // The context must be non-nil and will be used for request cancellation. If
 15045  // the context is nil a panic will occur. In the future the SDK may create
 15046  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 15047  // for more information on using Contexts.
 15048  func (c *Chime) ListUsersPagesWithContext(ctx aws.Context, input *ListUsersInput, fn func(*ListUsersOutput, bool) bool, opts ...request.Option) error {
 15049  	p := request.Pagination{
 15050  		NewRequest: func() (*request.Request, error) {
 15051  			var inCpy *ListUsersInput
 15052  			if input != nil {
 15053  				tmp := *input
 15054  				inCpy = &tmp
 15055  			}
 15056  			req, _ := c.ListUsersRequest(inCpy)
 15057  			req.SetContext(ctx)
 15058  			req.ApplyOptions(opts...)
 15059  			return req, nil
 15060  		},
 15061  	}
 15062  
 15063  	for p.Next() {
 15064  		if !fn(p.Page().(*ListUsersOutput), !p.HasNextPage()) {
 15065  			break
 15066  		}
 15067  	}
 15068  
 15069  	return p.Err()
 15070  }
 15071  
 15072  const opListVoiceConnectorGroups = "ListVoiceConnectorGroups"
 15073  
 15074  // ListVoiceConnectorGroupsRequest generates a "aws/request.Request" representing the
 15075  // client's request for the ListVoiceConnectorGroups operation. The "output" return
 15076  // value will be populated with the request's response once the request completes
 15077  // successfully.
 15078  //
 15079  // Use "Send" method on the returned Request to send the API call to the service.
 15080  // the "output" return value is not valid until after Send returns without error.
 15081  //
 15082  // See ListVoiceConnectorGroups for more information on using the ListVoiceConnectorGroups
 15083  // API call, and error handling.
 15084  //
 15085  // This method is useful when you want to inject custom logic or configuration
 15086  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 15087  //
 15088  //
 15089  //    // Example sending a request using the ListVoiceConnectorGroupsRequest method.
 15090  //    req, resp := client.ListVoiceConnectorGroupsRequest(params)
 15091  //
 15092  //    err := req.Send()
 15093  //    if err == nil { // resp is now filled
 15094  //        fmt.Println(resp)
 15095  //    }
 15096  //
 15097  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectorGroups
 15098  func (c *Chime) ListVoiceConnectorGroupsRequest(input *ListVoiceConnectorGroupsInput) (req *request.Request, output *ListVoiceConnectorGroupsOutput) {
 15099  	op := &request.Operation{
 15100  		Name:       opListVoiceConnectorGroups,
 15101  		HTTPMethod: "GET",
 15102  		HTTPPath:   "/voice-connector-groups",
 15103  		Paginator: &request.Paginator{
 15104  			InputTokens:     []string{"NextToken"},
 15105  			OutputTokens:    []string{"NextToken"},
 15106  			LimitToken:      "MaxResults",
 15107  			TruncationToken: "",
 15108  		},
 15109  	}
 15110  
 15111  	if input == nil {
 15112  		input = &ListVoiceConnectorGroupsInput{}
 15113  	}
 15114  
 15115  	output = &ListVoiceConnectorGroupsOutput{}
 15116  	req = c.newRequest(op, input, output)
 15117  	return
 15118  }
 15119  
 15120  // ListVoiceConnectorGroups API operation for Amazon Chime.
 15121  //
 15122  // Lists the Amazon Chime Voice Connector groups for the administrator's AWS
 15123  // account.
 15124  //
 15125  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 15126  // with awserr.Error's Code and Message methods to get detailed information about
 15127  // the error.
 15128  //
 15129  // See the AWS API reference guide for Amazon Chime's
 15130  // API operation ListVoiceConnectorGroups for usage and error information.
 15131  //
 15132  // Returned Error Types:
 15133  //   * UnauthorizedClientException
 15134  //   The client is not currently authorized to make the request.
 15135  //
 15136  //   * ForbiddenException
 15137  //   The client is permanently forbidden from making the request.
 15138  //
 15139  //   * BadRequestException
 15140  //   The input parameters don't match the service's restrictions.
 15141  //
 15142  //   * ThrottledClientException
 15143  //   The client exceeded its request rate limit.
 15144  //
 15145  //   * ServiceUnavailableException
 15146  //   The service is currently unavailable.
 15147  //
 15148  //   * ServiceFailureException
 15149  //   The service encountered an unexpected error.
 15150  //
 15151  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectorGroups
 15152  func (c *Chime) ListVoiceConnectorGroups(input *ListVoiceConnectorGroupsInput) (*ListVoiceConnectorGroupsOutput, error) {
 15153  	req, out := c.ListVoiceConnectorGroupsRequest(input)
 15154  	return out, req.Send()
 15155  }
 15156  
 15157  // ListVoiceConnectorGroupsWithContext is the same as ListVoiceConnectorGroups with the addition of
 15158  // the ability to pass a context and additional request options.
 15159  //
 15160  // See ListVoiceConnectorGroups for details on how to use this API operation.
 15161  //
 15162  // The context must be non-nil and will be used for request cancellation. If
 15163  // the context is nil a panic will occur. In the future the SDK may create
 15164  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 15165  // for more information on using Contexts.
 15166  func (c *Chime) ListVoiceConnectorGroupsWithContext(ctx aws.Context, input *ListVoiceConnectorGroupsInput, opts ...request.Option) (*ListVoiceConnectorGroupsOutput, error) {
 15167  	req, out := c.ListVoiceConnectorGroupsRequest(input)
 15168  	req.SetContext(ctx)
 15169  	req.ApplyOptions(opts...)
 15170  	return out, req.Send()
 15171  }
 15172  
 15173  // ListVoiceConnectorGroupsPages iterates over the pages of a ListVoiceConnectorGroups operation,
 15174  // calling the "fn" function with the response data for each page. To stop
 15175  // iterating, return false from the fn function.
 15176  //
 15177  // See ListVoiceConnectorGroups method for more information on how to use this operation.
 15178  //
 15179  // Note: This operation can generate multiple requests to a service.
 15180  //
 15181  //    // Example iterating over at most 3 pages of a ListVoiceConnectorGroups operation.
 15182  //    pageNum := 0
 15183  //    err := client.ListVoiceConnectorGroupsPages(params,
 15184  //        func(page *chime.ListVoiceConnectorGroupsOutput, lastPage bool) bool {
 15185  //            pageNum++
 15186  //            fmt.Println(page)
 15187  //            return pageNum <= 3
 15188  //        })
 15189  //
 15190  func (c *Chime) ListVoiceConnectorGroupsPages(input *ListVoiceConnectorGroupsInput, fn func(*ListVoiceConnectorGroupsOutput, bool) bool) error {
 15191  	return c.ListVoiceConnectorGroupsPagesWithContext(aws.BackgroundContext(), input, fn)
 15192  }
 15193  
 15194  // ListVoiceConnectorGroupsPagesWithContext same as ListVoiceConnectorGroupsPages except
 15195  // it takes a Context and allows setting request options on the pages.
 15196  //
 15197  // The context must be non-nil and will be used for request cancellation. If
 15198  // the context is nil a panic will occur. In the future the SDK may create
 15199  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 15200  // for more information on using Contexts.
 15201  func (c *Chime) ListVoiceConnectorGroupsPagesWithContext(ctx aws.Context, input *ListVoiceConnectorGroupsInput, fn func(*ListVoiceConnectorGroupsOutput, bool) bool, opts ...request.Option) error {
 15202  	p := request.Pagination{
 15203  		NewRequest: func() (*request.Request, error) {
 15204  			var inCpy *ListVoiceConnectorGroupsInput
 15205  			if input != nil {
 15206  				tmp := *input
 15207  				inCpy = &tmp
 15208  			}
 15209  			req, _ := c.ListVoiceConnectorGroupsRequest(inCpy)
 15210  			req.SetContext(ctx)
 15211  			req.ApplyOptions(opts...)
 15212  			return req, nil
 15213  		},
 15214  	}
 15215  
 15216  	for p.Next() {
 15217  		if !fn(p.Page().(*ListVoiceConnectorGroupsOutput), !p.HasNextPage()) {
 15218  			break
 15219  		}
 15220  	}
 15221  
 15222  	return p.Err()
 15223  }
 15224  
 15225  const opListVoiceConnectorTerminationCredentials = "ListVoiceConnectorTerminationCredentials"
 15226  
 15227  // ListVoiceConnectorTerminationCredentialsRequest generates a "aws/request.Request" representing the
 15228  // client's request for the ListVoiceConnectorTerminationCredentials operation. The "output" return
 15229  // value will be populated with the request's response once the request completes
 15230  // successfully.
 15231  //
 15232  // Use "Send" method on the returned Request to send the API call to the service.
 15233  // the "output" return value is not valid until after Send returns without error.
 15234  //
 15235  // See ListVoiceConnectorTerminationCredentials for more information on using the ListVoiceConnectorTerminationCredentials
 15236  // API call, and error handling.
 15237  //
 15238  // This method is useful when you want to inject custom logic or configuration
 15239  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 15240  //
 15241  //
 15242  //    // Example sending a request using the ListVoiceConnectorTerminationCredentialsRequest method.
 15243  //    req, resp := client.ListVoiceConnectorTerminationCredentialsRequest(params)
 15244  //
 15245  //    err := req.Send()
 15246  //    if err == nil { // resp is now filled
 15247  //        fmt.Println(resp)
 15248  //    }
 15249  //
 15250  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectorTerminationCredentials
 15251  func (c *Chime) ListVoiceConnectorTerminationCredentialsRequest(input *ListVoiceConnectorTerminationCredentialsInput) (req *request.Request, output *ListVoiceConnectorTerminationCredentialsOutput) {
 15252  	op := &request.Operation{
 15253  		Name:       opListVoiceConnectorTerminationCredentials,
 15254  		HTTPMethod: "GET",
 15255  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/termination/credentials",
 15256  	}
 15257  
 15258  	if input == nil {
 15259  		input = &ListVoiceConnectorTerminationCredentialsInput{}
 15260  	}
 15261  
 15262  	output = &ListVoiceConnectorTerminationCredentialsOutput{}
 15263  	req = c.newRequest(op, input, output)
 15264  	return
 15265  }
 15266  
 15267  // ListVoiceConnectorTerminationCredentials API operation for Amazon Chime.
 15268  //
 15269  // Lists the SIP credentials for the specified Amazon Chime Voice Connector.
 15270  //
 15271  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 15272  // with awserr.Error's Code and Message methods to get detailed information about
 15273  // the error.
 15274  //
 15275  // See the AWS API reference guide for Amazon Chime's
 15276  // API operation ListVoiceConnectorTerminationCredentials for usage and error information.
 15277  //
 15278  // Returned Error Types:
 15279  //   * UnauthorizedClientException
 15280  //   The client is not currently authorized to make the request.
 15281  //
 15282  //   * NotFoundException
 15283  //   One or more of the resources in the request does not exist in the system.
 15284  //
 15285  //   * ForbiddenException
 15286  //   The client is permanently forbidden from making the request.
 15287  //
 15288  //   * BadRequestException
 15289  //   The input parameters don't match the service's restrictions.
 15290  //
 15291  //   * ThrottledClientException
 15292  //   The client exceeded its request rate limit.
 15293  //
 15294  //   * ServiceUnavailableException
 15295  //   The service is currently unavailable.
 15296  //
 15297  //   * ServiceFailureException
 15298  //   The service encountered an unexpected error.
 15299  //
 15300  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectorTerminationCredentials
 15301  func (c *Chime) ListVoiceConnectorTerminationCredentials(input *ListVoiceConnectorTerminationCredentialsInput) (*ListVoiceConnectorTerminationCredentialsOutput, error) {
 15302  	req, out := c.ListVoiceConnectorTerminationCredentialsRequest(input)
 15303  	return out, req.Send()
 15304  }
 15305  
 15306  // ListVoiceConnectorTerminationCredentialsWithContext is the same as ListVoiceConnectorTerminationCredentials with the addition of
 15307  // the ability to pass a context and additional request options.
 15308  //
 15309  // See ListVoiceConnectorTerminationCredentials for details on how to use this API operation.
 15310  //
 15311  // The context must be non-nil and will be used for request cancellation. If
 15312  // the context is nil a panic will occur. In the future the SDK may create
 15313  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 15314  // for more information on using Contexts.
 15315  func (c *Chime) ListVoiceConnectorTerminationCredentialsWithContext(ctx aws.Context, input *ListVoiceConnectorTerminationCredentialsInput, opts ...request.Option) (*ListVoiceConnectorTerminationCredentialsOutput, error) {
 15316  	req, out := c.ListVoiceConnectorTerminationCredentialsRequest(input)
 15317  	req.SetContext(ctx)
 15318  	req.ApplyOptions(opts...)
 15319  	return out, req.Send()
 15320  }
 15321  
 15322  const opListVoiceConnectors = "ListVoiceConnectors"
 15323  
 15324  // ListVoiceConnectorsRequest generates a "aws/request.Request" representing the
 15325  // client's request for the ListVoiceConnectors operation. The "output" return
 15326  // value will be populated with the request's response once the request completes
 15327  // successfully.
 15328  //
 15329  // Use "Send" method on the returned Request to send the API call to the service.
 15330  // the "output" return value is not valid until after Send returns without error.
 15331  //
 15332  // See ListVoiceConnectors for more information on using the ListVoiceConnectors
 15333  // API call, and error handling.
 15334  //
 15335  // This method is useful when you want to inject custom logic or configuration
 15336  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 15337  //
 15338  //
 15339  //    // Example sending a request using the ListVoiceConnectorsRequest method.
 15340  //    req, resp := client.ListVoiceConnectorsRequest(params)
 15341  //
 15342  //    err := req.Send()
 15343  //    if err == nil { // resp is now filled
 15344  //        fmt.Println(resp)
 15345  //    }
 15346  //
 15347  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectors
 15348  func (c *Chime) ListVoiceConnectorsRequest(input *ListVoiceConnectorsInput) (req *request.Request, output *ListVoiceConnectorsOutput) {
 15349  	op := &request.Operation{
 15350  		Name:       opListVoiceConnectors,
 15351  		HTTPMethod: "GET",
 15352  		HTTPPath:   "/voice-connectors",
 15353  		Paginator: &request.Paginator{
 15354  			InputTokens:     []string{"NextToken"},
 15355  			OutputTokens:    []string{"NextToken"},
 15356  			LimitToken:      "MaxResults",
 15357  			TruncationToken: "",
 15358  		},
 15359  	}
 15360  
 15361  	if input == nil {
 15362  		input = &ListVoiceConnectorsInput{}
 15363  	}
 15364  
 15365  	output = &ListVoiceConnectorsOutput{}
 15366  	req = c.newRequest(op, input, output)
 15367  	return
 15368  }
 15369  
 15370  // ListVoiceConnectors API operation for Amazon Chime.
 15371  //
 15372  // Lists the Amazon Chime Voice Connectors for the administrator's AWS account.
 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 ListVoiceConnectors for usage and error information.
 15380  //
 15381  // Returned Error Types:
 15382  //   * UnauthorizedClientException
 15383  //   The client is not currently authorized to make the request.
 15384  //
 15385  //   * ForbiddenException
 15386  //   The client is permanently forbidden from making the request.
 15387  //
 15388  //   * BadRequestException
 15389  //   The input parameters don't match the service's restrictions.
 15390  //
 15391  //   * ThrottledClientException
 15392  //   The client exceeded its request rate limit.
 15393  //
 15394  //   * ServiceUnavailableException
 15395  //   The service is currently unavailable.
 15396  //
 15397  //   * ServiceFailureException
 15398  //   The service encountered an unexpected error.
 15399  //
 15400  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectors
 15401  func (c *Chime) ListVoiceConnectors(input *ListVoiceConnectorsInput) (*ListVoiceConnectorsOutput, error) {
 15402  	req, out := c.ListVoiceConnectorsRequest(input)
 15403  	return out, req.Send()
 15404  }
 15405  
 15406  // ListVoiceConnectorsWithContext is the same as ListVoiceConnectors with the addition of
 15407  // the ability to pass a context and additional request options.
 15408  //
 15409  // See ListVoiceConnectors for details on how to use this API operation.
 15410  //
 15411  // The context must be non-nil and will be used for request cancellation. If
 15412  // the context is nil a panic will occur. In the future the SDK may create
 15413  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 15414  // for more information on using Contexts.
 15415  func (c *Chime) ListVoiceConnectorsWithContext(ctx aws.Context, input *ListVoiceConnectorsInput, opts ...request.Option) (*ListVoiceConnectorsOutput, error) {
 15416  	req, out := c.ListVoiceConnectorsRequest(input)
 15417  	req.SetContext(ctx)
 15418  	req.ApplyOptions(opts...)
 15419  	return out, req.Send()
 15420  }
 15421  
 15422  // ListVoiceConnectorsPages iterates over the pages of a ListVoiceConnectors operation,
 15423  // calling the "fn" function with the response data for each page. To stop
 15424  // iterating, return false from the fn function.
 15425  //
 15426  // See ListVoiceConnectors method for more information on how to use this operation.
 15427  //
 15428  // Note: This operation can generate multiple requests to a service.
 15429  //
 15430  //    // Example iterating over at most 3 pages of a ListVoiceConnectors operation.
 15431  //    pageNum := 0
 15432  //    err := client.ListVoiceConnectorsPages(params,
 15433  //        func(page *chime.ListVoiceConnectorsOutput, lastPage bool) bool {
 15434  //            pageNum++
 15435  //            fmt.Println(page)
 15436  //            return pageNum <= 3
 15437  //        })
 15438  //
 15439  func (c *Chime) ListVoiceConnectorsPages(input *ListVoiceConnectorsInput, fn func(*ListVoiceConnectorsOutput, bool) bool) error {
 15440  	return c.ListVoiceConnectorsPagesWithContext(aws.BackgroundContext(), input, fn)
 15441  }
 15442  
 15443  // ListVoiceConnectorsPagesWithContext same as ListVoiceConnectorsPages except
 15444  // it takes a Context and allows setting request options on the pages.
 15445  //
 15446  // The context must be non-nil and will be used for request cancellation. If
 15447  // the context is nil a panic will occur. In the future the SDK may create
 15448  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 15449  // for more information on using Contexts.
 15450  func (c *Chime) ListVoiceConnectorsPagesWithContext(ctx aws.Context, input *ListVoiceConnectorsInput, fn func(*ListVoiceConnectorsOutput, bool) bool, opts ...request.Option) error {
 15451  	p := request.Pagination{
 15452  		NewRequest: func() (*request.Request, error) {
 15453  			var inCpy *ListVoiceConnectorsInput
 15454  			if input != nil {
 15455  				tmp := *input
 15456  				inCpy = &tmp
 15457  			}
 15458  			req, _ := c.ListVoiceConnectorsRequest(inCpy)
 15459  			req.SetContext(ctx)
 15460  			req.ApplyOptions(opts...)
 15461  			return req, nil
 15462  		},
 15463  	}
 15464  
 15465  	for p.Next() {
 15466  		if !fn(p.Page().(*ListVoiceConnectorsOutput), !p.HasNextPage()) {
 15467  			break
 15468  		}
 15469  	}
 15470  
 15471  	return p.Err()
 15472  }
 15473  
 15474  const opLogoutUser = "LogoutUser"
 15475  
 15476  // LogoutUserRequest generates a "aws/request.Request" representing the
 15477  // client's request for the LogoutUser operation. The "output" return
 15478  // value will be populated with the request's response once the request completes
 15479  // successfully.
 15480  //
 15481  // Use "Send" method on the returned Request to send the API call to the service.
 15482  // the "output" return value is not valid until after Send returns without error.
 15483  //
 15484  // See LogoutUser for more information on using the LogoutUser
 15485  // API call, and error handling.
 15486  //
 15487  // This method is useful when you want to inject custom logic or configuration
 15488  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 15489  //
 15490  //
 15491  //    // Example sending a request using the LogoutUserRequest method.
 15492  //    req, resp := client.LogoutUserRequest(params)
 15493  //
 15494  //    err := req.Send()
 15495  //    if err == nil { // resp is now filled
 15496  //        fmt.Println(resp)
 15497  //    }
 15498  //
 15499  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/LogoutUser
 15500  func (c *Chime) LogoutUserRequest(input *LogoutUserInput) (req *request.Request, output *LogoutUserOutput) {
 15501  	op := &request.Operation{
 15502  		Name:       opLogoutUser,
 15503  		HTTPMethod: "POST",
 15504  		HTTPPath:   "/accounts/{accountId}/users/{userId}?operation=logout",
 15505  	}
 15506  
 15507  	if input == nil {
 15508  		input = &LogoutUserInput{}
 15509  	}
 15510  
 15511  	output = &LogoutUserOutput{}
 15512  	req = c.newRequest(op, input, output)
 15513  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
 15514  	return
 15515  }
 15516  
 15517  // LogoutUser API operation for Amazon Chime.
 15518  //
 15519  // Logs out the specified user from all of the devices they are currently logged
 15520  // into.
 15521  //
 15522  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 15523  // with awserr.Error's Code and Message methods to get detailed information about
 15524  // the error.
 15525  //
 15526  // See the AWS API reference guide for Amazon Chime's
 15527  // API operation LogoutUser for usage and error information.
 15528  //
 15529  // Returned Error Types:
 15530  //   * UnauthorizedClientException
 15531  //   The client is not currently authorized to make the request.
 15532  //
 15533  //   * NotFoundException
 15534  //   One or more of the resources in the request does not exist in the system.
 15535  //
 15536  //   * ForbiddenException
 15537  //   The client is permanently forbidden from making the request.
 15538  //
 15539  //   * BadRequestException
 15540  //   The input parameters don't match the service's restrictions.
 15541  //
 15542  //   * ThrottledClientException
 15543  //   The client exceeded its request rate limit.
 15544  //
 15545  //   * ServiceUnavailableException
 15546  //   The service is currently unavailable.
 15547  //
 15548  //   * ServiceFailureException
 15549  //   The service encountered an unexpected error.
 15550  //
 15551  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/LogoutUser
 15552  func (c *Chime) LogoutUser(input *LogoutUserInput) (*LogoutUserOutput, error) {
 15553  	req, out := c.LogoutUserRequest(input)
 15554  	return out, req.Send()
 15555  }
 15556  
 15557  // LogoutUserWithContext is the same as LogoutUser with the addition of
 15558  // the ability to pass a context and additional request options.
 15559  //
 15560  // See LogoutUser for details on how to use this API operation.
 15561  //
 15562  // The context must be non-nil and will be used for request cancellation. If
 15563  // the context is nil a panic will occur. In the future the SDK may create
 15564  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 15565  // for more information on using Contexts.
 15566  func (c *Chime) LogoutUserWithContext(ctx aws.Context, input *LogoutUserInput, opts ...request.Option) (*LogoutUserOutput, error) {
 15567  	req, out := c.LogoutUserRequest(input)
 15568  	req.SetContext(ctx)
 15569  	req.ApplyOptions(opts...)
 15570  	return out, req.Send()
 15571  }
 15572  
 15573  const opPutAppInstanceRetentionSettings = "PutAppInstanceRetentionSettings"
 15574  
 15575  // PutAppInstanceRetentionSettingsRequest generates a "aws/request.Request" representing the
 15576  // client's request for the PutAppInstanceRetentionSettings operation. The "output" return
 15577  // value will be populated with the request's response once the request completes
 15578  // successfully.
 15579  //
 15580  // Use "Send" method on the returned Request to send the API call to the service.
 15581  // the "output" return value is not valid until after Send returns without error.
 15582  //
 15583  // See PutAppInstanceRetentionSettings for more information on using the PutAppInstanceRetentionSettings
 15584  // API call, and error handling.
 15585  //
 15586  // This method is useful when you want to inject custom logic or configuration
 15587  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 15588  //
 15589  //
 15590  //    // Example sending a request using the PutAppInstanceRetentionSettingsRequest method.
 15591  //    req, resp := client.PutAppInstanceRetentionSettingsRequest(params)
 15592  //
 15593  //    err := req.Send()
 15594  //    if err == nil { // resp is now filled
 15595  //        fmt.Println(resp)
 15596  //    }
 15597  //
 15598  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutAppInstanceRetentionSettings
 15599  func (c *Chime) PutAppInstanceRetentionSettingsRequest(input *PutAppInstanceRetentionSettingsInput) (req *request.Request, output *PutAppInstanceRetentionSettingsOutput) {
 15600  	op := &request.Operation{
 15601  		Name:       opPutAppInstanceRetentionSettings,
 15602  		HTTPMethod: "PUT",
 15603  		HTTPPath:   "/app-instances/{appInstanceArn}/retention-settings",
 15604  	}
 15605  
 15606  	if input == nil {
 15607  		input = &PutAppInstanceRetentionSettingsInput{}
 15608  	}
 15609  
 15610  	output = &PutAppInstanceRetentionSettingsOutput{}
 15611  	req = c.newRequest(op, input, output)
 15612  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
 15613  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
 15614  	return
 15615  }
 15616  
 15617  // PutAppInstanceRetentionSettings API operation for Amazon Chime.
 15618  //
 15619  // Sets the amount of time in days that a given AppInstance retains data.
 15620  //
 15621  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 15622  // with awserr.Error's Code and Message methods to get detailed information about
 15623  // the error.
 15624  //
 15625  // See the AWS API reference guide for Amazon Chime's
 15626  // API operation PutAppInstanceRetentionSettings for usage and error information.
 15627  //
 15628  // Returned Error Types:
 15629  //   * UnauthorizedClientException
 15630  //   The client is not currently authorized to make the request.
 15631  //
 15632  //   * NotFoundException
 15633  //   One or more of the resources in the request does not exist in the system.
 15634  //
 15635  //   * BadRequestException
 15636  //   The input parameters don't match the service's restrictions.
 15637  //
 15638  //   * ForbiddenException
 15639  //   The client is permanently forbidden from making the request.
 15640  //
 15641  //   * ConflictException
 15642  //   The request could not be processed because of conflict in the current state
 15643  //   of the resource.
 15644  //
 15645  //   * ThrottledClientException
 15646  //   The client exceeded its request rate limit.
 15647  //
 15648  //   * ServiceUnavailableException
 15649  //   The service is currently unavailable.
 15650  //
 15651  //   * ServiceFailureException
 15652  //   The service encountered an unexpected error.
 15653  //
 15654  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutAppInstanceRetentionSettings
 15655  func (c *Chime) PutAppInstanceRetentionSettings(input *PutAppInstanceRetentionSettingsInput) (*PutAppInstanceRetentionSettingsOutput, error) {
 15656  	req, out := c.PutAppInstanceRetentionSettingsRequest(input)
 15657  	return out, req.Send()
 15658  }
 15659  
 15660  // PutAppInstanceRetentionSettingsWithContext is the same as PutAppInstanceRetentionSettings with the addition of
 15661  // the ability to pass a context and additional request options.
 15662  //
 15663  // See PutAppInstanceRetentionSettings for details on how to use this API operation.
 15664  //
 15665  // The context must be non-nil and will be used for request cancellation. If
 15666  // the context is nil a panic will occur. In the future the SDK may create
 15667  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 15668  // for more information on using Contexts.
 15669  func (c *Chime) PutAppInstanceRetentionSettingsWithContext(ctx aws.Context, input *PutAppInstanceRetentionSettingsInput, opts ...request.Option) (*PutAppInstanceRetentionSettingsOutput, error) {
 15670  	req, out := c.PutAppInstanceRetentionSettingsRequest(input)
 15671  	req.SetContext(ctx)
 15672  	req.ApplyOptions(opts...)
 15673  	return out, req.Send()
 15674  }
 15675  
 15676  const opPutAppInstanceStreamingConfigurations = "PutAppInstanceStreamingConfigurations"
 15677  
 15678  // PutAppInstanceStreamingConfigurationsRequest generates a "aws/request.Request" representing the
 15679  // client's request for the PutAppInstanceStreamingConfigurations operation. The "output" return
 15680  // value will be populated with the request's response once the request completes
 15681  // successfully.
 15682  //
 15683  // Use "Send" method on the returned Request to send the API call to the service.
 15684  // the "output" return value is not valid until after Send returns without error.
 15685  //
 15686  // See PutAppInstanceStreamingConfigurations for more information on using the PutAppInstanceStreamingConfigurations
 15687  // API call, and error handling.
 15688  //
 15689  // This method is useful when you want to inject custom logic or configuration
 15690  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 15691  //
 15692  //
 15693  //    // Example sending a request using the PutAppInstanceStreamingConfigurationsRequest method.
 15694  //    req, resp := client.PutAppInstanceStreamingConfigurationsRequest(params)
 15695  //
 15696  //    err := req.Send()
 15697  //    if err == nil { // resp is now filled
 15698  //        fmt.Println(resp)
 15699  //    }
 15700  //
 15701  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutAppInstanceStreamingConfigurations
 15702  func (c *Chime) PutAppInstanceStreamingConfigurationsRequest(input *PutAppInstanceStreamingConfigurationsInput) (req *request.Request, output *PutAppInstanceStreamingConfigurationsOutput) {
 15703  	op := &request.Operation{
 15704  		Name:       opPutAppInstanceStreamingConfigurations,
 15705  		HTTPMethod: "PUT",
 15706  		HTTPPath:   "/app-instances/{appInstanceArn}/streaming-configurations",
 15707  	}
 15708  
 15709  	if input == nil {
 15710  		input = &PutAppInstanceStreamingConfigurationsInput{}
 15711  	}
 15712  
 15713  	output = &PutAppInstanceStreamingConfigurationsOutput{}
 15714  	req = c.newRequest(op, input, output)
 15715  	return
 15716  }
 15717  
 15718  // PutAppInstanceStreamingConfigurations API operation for Amazon Chime.
 15719  //
 15720  // The data streaming configurations of an AppInstance.
 15721  //
 15722  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 15723  // with awserr.Error's Code and Message methods to get detailed information about
 15724  // the error.
 15725  //
 15726  // See the AWS API reference guide for Amazon Chime's
 15727  // API operation PutAppInstanceStreamingConfigurations for usage and error information.
 15728  //
 15729  // Returned Error Types:
 15730  //   * NotFoundException
 15731  //   One or more of the resources in the request does not exist in the system.
 15732  //
 15733  //   * BadRequestException
 15734  //   The input parameters don't match the service's restrictions.
 15735  //
 15736  //   * ForbiddenException
 15737  //   The client is permanently forbidden from making the request.
 15738  //
 15739  //   * UnauthorizedClientException
 15740  //   The client is not currently authorized to make the request.
 15741  //
 15742  //   * ThrottledClientException
 15743  //   The client exceeded its request rate limit.
 15744  //
 15745  //   * ServiceUnavailableException
 15746  //   The service is currently unavailable.
 15747  //
 15748  //   * ServiceFailureException
 15749  //   The service encountered an unexpected error.
 15750  //
 15751  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutAppInstanceStreamingConfigurations
 15752  func (c *Chime) PutAppInstanceStreamingConfigurations(input *PutAppInstanceStreamingConfigurationsInput) (*PutAppInstanceStreamingConfigurationsOutput, error) {
 15753  	req, out := c.PutAppInstanceStreamingConfigurationsRequest(input)
 15754  	return out, req.Send()
 15755  }
 15756  
 15757  // PutAppInstanceStreamingConfigurationsWithContext is the same as PutAppInstanceStreamingConfigurations with the addition of
 15758  // the ability to pass a context and additional request options.
 15759  //
 15760  // See PutAppInstanceStreamingConfigurations for details on how to use this API operation.
 15761  //
 15762  // The context must be non-nil and will be used for request cancellation. If
 15763  // the context is nil a panic will occur. In the future the SDK may create
 15764  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 15765  // for more information on using Contexts.
 15766  func (c *Chime) PutAppInstanceStreamingConfigurationsWithContext(ctx aws.Context, input *PutAppInstanceStreamingConfigurationsInput, opts ...request.Option) (*PutAppInstanceStreamingConfigurationsOutput, error) {
 15767  	req, out := c.PutAppInstanceStreamingConfigurationsRequest(input)
 15768  	req.SetContext(ctx)
 15769  	req.ApplyOptions(opts...)
 15770  	return out, req.Send()
 15771  }
 15772  
 15773  const opPutEventsConfiguration = "PutEventsConfiguration"
 15774  
 15775  // PutEventsConfigurationRequest generates a "aws/request.Request" representing the
 15776  // client's request for the PutEventsConfiguration operation. The "output" return
 15777  // value will be populated with the request's response once the request completes
 15778  // successfully.
 15779  //
 15780  // Use "Send" method on the returned Request to send the API call to the service.
 15781  // the "output" return value is not valid until after Send returns without error.
 15782  //
 15783  // See PutEventsConfiguration for more information on using the PutEventsConfiguration
 15784  // API call, and error handling.
 15785  //
 15786  // This method is useful when you want to inject custom logic or configuration
 15787  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 15788  //
 15789  //
 15790  //    // Example sending a request using the PutEventsConfigurationRequest method.
 15791  //    req, resp := client.PutEventsConfigurationRequest(params)
 15792  //
 15793  //    err := req.Send()
 15794  //    if err == nil { // resp is now filled
 15795  //        fmt.Println(resp)
 15796  //    }
 15797  //
 15798  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutEventsConfiguration
 15799  func (c *Chime) PutEventsConfigurationRequest(input *PutEventsConfigurationInput) (req *request.Request, output *PutEventsConfigurationOutput) {
 15800  	op := &request.Operation{
 15801  		Name:       opPutEventsConfiguration,
 15802  		HTTPMethod: "PUT",
 15803  		HTTPPath:   "/accounts/{accountId}/bots/{botId}/events-configuration",
 15804  	}
 15805  
 15806  	if input == nil {
 15807  		input = &PutEventsConfigurationInput{}
 15808  	}
 15809  
 15810  	output = &PutEventsConfigurationOutput{}
 15811  	req = c.newRequest(op, input, output)
 15812  	return
 15813  }
 15814  
 15815  // PutEventsConfiguration API operation for Amazon Chime.
 15816  //
 15817  // Creates an events configuration that allows a bot to receive outgoing events
 15818  // sent by Amazon Chime. Choose either an HTTPS endpoint or a Lambda function
 15819  // ARN. For more information, see Bot.
 15820  //
 15821  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 15822  // with awserr.Error's Code and Message methods to get detailed information about
 15823  // the error.
 15824  //
 15825  // See the AWS API reference guide for Amazon Chime's
 15826  // API operation PutEventsConfiguration for usage and error information.
 15827  //
 15828  // Returned Error Types:
 15829  //   * ServiceUnavailableException
 15830  //   The service is currently unavailable.
 15831  //
 15832  //   * ServiceFailureException
 15833  //   The service encountered an unexpected error.
 15834  //
 15835  //   * ForbiddenException
 15836  //   The client is permanently forbidden from making the request.
 15837  //
 15838  //   * BadRequestException
 15839  //   The input parameters don't match the service's restrictions.
 15840  //
 15841  //   * UnauthorizedClientException
 15842  //   The client is not currently authorized to make the request.
 15843  //
 15844  //   * ResourceLimitExceededException
 15845  //   The request exceeds the resource limit.
 15846  //
 15847  //   * NotFoundException
 15848  //   One or more of the resources in the request does not exist in the system.
 15849  //
 15850  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutEventsConfiguration
 15851  func (c *Chime) PutEventsConfiguration(input *PutEventsConfigurationInput) (*PutEventsConfigurationOutput, error) {
 15852  	req, out := c.PutEventsConfigurationRequest(input)
 15853  	return out, req.Send()
 15854  }
 15855  
 15856  // PutEventsConfigurationWithContext is the same as PutEventsConfiguration with the addition of
 15857  // the ability to pass a context and additional request options.
 15858  //
 15859  // See PutEventsConfiguration for details on how to use this API operation.
 15860  //
 15861  // The context must be non-nil and will be used for request cancellation. If
 15862  // the context is nil a panic will occur. In the future the SDK may create
 15863  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 15864  // for more information on using Contexts.
 15865  func (c *Chime) PutEventsConfigurationWithContext(ctx aws.Context, input *PutEventsConfigurationInput, opts ...request.Option) (*PutEventsConfigurationOutput, error) {
 15866  	req, out := c.PutEventsConfigurationRequest(input)
 15867  	req.SetContext(ctx)
 15868  	req.ApplyOptions(opts...)
 15869  	return out, req.Send()
 15870  }
 15871  
 15872  const opPutRetentionSettings = "PutRetentionSettings"
 15873  
 15874  // PutRetentionSettingsRequest generates a "aws/request.Request" representing the
 15875  // client's request for the PutRetentionSettings operation. The "output" return
 15876  // value will be populated with the request's response once the request completes
 15877  // successfully.
 15878  //
 15879  // Use "Send" method on the returned Request to send the API call to the service.
 15880  // the "output" return value is not valid until after Send returns without error.
 15881  //
 15882  // See PutRetentionSettings for more information on using the PutRetentionSettings
 15883  // API call, and error handling.
 15884  //
 15885  // This method is useful when you want to inject custom logic or configuration
 15886  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 15887  //
 15888  //
 15889  //    // Example sending a request using the PutRetentionSettingsRequest method.
 15890  //    req, resp := client.PutRetentionSettingsRequest(params)
 15891  //
 15892  //    err := req.Send()
 15893  //    if err == nil { // resp is now filled
 15894  //        fmt.Println(resp)
 15895  //    }
 15896  //
 15897  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutRetentionSettings
 15898  func (c *Chime) PutRetentionSettingsRequest(input *PutRetentionSettingsInput) (req *request.Request, output *PutRetentionSettingsOutput) {
 15899  	op := &request.Operation{
 15900  		Name:       opPutRetentionSettings,
 15901  		HTTPMethod: "PUT",
 15902  		HTTPPath:   "/accounts/{accountId}/retention-settings",
 15903  	}
 15904  
 15905  	if input == nil {
 15906  		input = &PutRetentionSettingsInput{}
 15907  	}
 15908  
 15909  	output = &PutRetentionSettingsOutput{}
 15910  	req = c.newRequest(op, input, output)
 15911  	return
 15912  }
 15913  
 15914  // PutRetentionSettings API operation for Amazon Chime.
 15915  //
 15916  // Puts retention settings for the specified Amazon Chime Enterprise account.
 15917  // We recommend using AWS CloudTrail to monitor usage of this API for your account.
 15918  // For more information, see Logging Amazon Chime API Calls with AWS CloudTrail
 15919  // (https://docs.aws.amazon.com/chime/latest/ag/cloudtrail.html) in the Amazon
 15920  // Chime Administration Guide.
 15921  //
 15922  // To turn off existing retention settings, remove the number of days from the
 15923  // corresponding RetentionDays field in the RetentionSettings object. For more
 15924  // information about retention settings, see Managing Chat Retention Policies
 15925  // (https://docs.aws.amazon.com/chime/latest/ag/chat-retention.html) in the
 15926  // Amazon Chime Administration Guide.
 15927  //
 15928  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 15929  // with awserr.Error's Code and Message methods to get detailed information about
 15930  // the error.
 15931  //
 15932  // See the AWS API reference guide for Amazon Chime's
 15933  // API operation PutRetentionSettings for usage and error information.
 15934  //
 15935  // Returned Error Types:
 15936  //   * UnauthorizedClientException
 15937  //   The client is not currently authorized to make the request.
 15938  //
 15939  //   * NotFoundException
 15940  //   One or more of the resources in the request does not exist in the system.
 15941  //
 15942  //   * BadRequestException
 15943  //   The input parameters don't match the service's restrictions.
 15944  //
 15945  //   * ForbiddenException
 15946  //   The client is permanently forbidden from making the request.
 15947  //
 15948  //   * ConflictException
 15949  //   The request could not be processed because of conflict in the current state
 15950  //   of the resource.
 15951  //
 15952  //   * ThrottledClientException
 15953  //   The client exceeded its request rate limit.
 15954  //
 15955  //   * ServiceUnavailableException
 15956  //   The service is currently unavailable.
 15957  //
 15958  //   * ServiceFailureException
 15959  //   The service encountered an unexpected error.
 15960  //
 15961  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutRetentionSettings
 15962  func (c *Chime) PutRetentionSettings(input *PutRetentionSettingsInput) (*PutRetentionSettingsOutput, error) {
 15963  	req, out := c.PutRetentionSettingsRequest(input)
 15964  	return out, req.Send()
 15965  }
 15966  
 15967  // PutRetentionSettingsWithContext is the same as PutRetentionSettings with the addition of
 15968  // the ability to pass a context and additional request options.
 15969  //
 15970  // See PutRetentionSettings for details on how to use this API operation.
 15971  //
 15972  // The context must be non-nil and will be used for request cancellation. If
 15973  // the context is nil a panic will occur. In the future the SDK may create
 15974  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 15975  // for more information on using Contexts.
 15976  func (c *Chime) PutRetentionSettingsWithContext(ctx aws.Context, input *PutRetentionSettingsInput, opts ...request.Option) (*PutRetentionSettingsOutput, error) {
 15977  	req, out := c.PutRetentionSettingsRequest(input)
 15978  	req.SetContext(ctx)
 15979  	req.ApplyOptions(opts...)
 15980  	return out, req.Send()
 15981  }
 15982  
 15983  const opPutSipMediaApplicationLoggingConfiguration = "PutSipMediaApplicationLoggingConfiguration"
 15984  
 15985  // PutSipMediaApplicationLoggingConfigurationRequest generates a "aws/request.Request" representing the
 15986  // client's request for the PutSipMediaApplicationLoggingConfiguration operation. The "output" return
 15987  // value will be populated with the request's response once the request completes
 15988  // successfully.
 15989  //
 15990  // Use "Send" method on the returned Request to send the API call to the service.
 15991  // the "output" return value is not valid until after Send returns without error.
 15992  //
 15993  // See PutSipMediaApplicationLoggingConfiguration for more information on using the PutSipMediaApplicationLoggingConfiguration
 15994  // API call, and error handling.
 15995  //
 15996  // This method is useful when you want to inject custom logic or configuration
 15997  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 15998  //
 15999  //
 16000  //    // Example sending a request using the PutSipMediaApplicationLoggingConfigurationRequest method.
 16001  //    req, resp := client.PutSipMediaApplicationLoggingConfigurationRequest(params)
 16002  //
 16003  //    err := req.Send()
 16004  //    if err == nil { // resp is now filled
 16005  //        fmt.Println(resp)
 16006  //    }
 16007  //
 16008  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutSipMediaApplicationLoggingConfiguration
 16009  func (c *Chime) PutSipMediaApplicationLoggingConfigurationRequest(input *PutSipMediaApplicationLoggingConfigurationInput) (req *request.Request, output *PutSipMediaApplicationLoggingConfigurationOutput) {
 16010  	op := &request.Operation{
 16011  		Name:       opPutSipMediaApplicationLoggingConfiguration,
 16012  		HTTPMethod: "PUT",
 16013  		HTTPPath:   "/sip-media-applications/{sipMediaApplicationId}/logging-configuration",
 16014  	}
 16015  
 16016  	if input == nil {
 16017  		input = &PutSipMediaApplicationLoggingConfigurationInput{}
 16018  	}
 16019  
 16020  	output = &PutSipMediaApplicationLoggingConfigurationOutput{}
 16021  	req = c.newRequest(op, input, output)
 16022  	return
 16023  }
 16024  
 16025  // PutSipMediaApplicationLoggingConfiguration API operation for Amazon Chime.
 16026  //
 16027  // Updates the logging configuration for the specified SIP media application.
 16028  //
 16029  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 16030  // with awserr.Error's Code and Message methods to get detailed information about
 16031  // the error.
 16032  //
 16033  // See the AWS API reference guide for Amazon Chime's
 16034  // API operation PutSipMediaApplicationLoggingConfiguration for usage and error information.
 16035  //
 16036  // Returned Error Types:
 16037  //   * UnauthorizedClientException
 16038  //   The client is not currently authorized to make the request.
 16039  //
 16040  //   * NotFoundException
 16041  //   One or more of the resources in the request does not exist in the system.
 16042  //
 16043  //   * ForbiddenException
 16044  //   The client is permanently forbidden from making the request.
 16045  //
 16046  //   * BadRequestException
 16047  //   The input parameters don't match the service's restrictions.
 16048  //
 16049  //   * ThrottledClientException
 16050  //   The client exceeded its request rate limit.
 16051  //
 16052  //   * ServiceUnavailableException
 16053  //   The service is currently unavailable.
 16054  //
 16055  //   * ServiceFailureException
 16056  //   The service encountered an unexpected error.
 16057  //
 16058  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutSipMediaApplicationLoggingConfiguration
 16059  func (c *Chime) PutSipMediaApplicationLoggingConfiguration(input *PutSipMediaApplicationLoggingConfigurationInput) (*PutSipMediaApplicationLoggingConfigurationOutput, error) {
 16060  	req, out := c.PutSipMediaApplicationLoggingConfigurationRequest(input)
 16061  	return out, req.Send()
 16062  }
 16063  
 16064  // PutSipMediaApplicationLoggingConfigurationWithContext is the same as PutSipMediaApplicationLoggingConfiguration with the addition of
 16065  // the ability to pass a context and additional request options.
 16066  //
 16067  // See PutSipMediaApplicationLoggingConfiguration for details on how to use this API operation.
 16068  //
 16069  // The context must be non-nil and will be used for request cancellation. If
 16070  // the context is nil a panic will occur. In the future the SDK may create
 16071  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 16072  // for more information on using Contexts.
 16073  func (c *Chime) PutSipMediaApplicationLoggingConfigurationWithContext(ctx aws.Context, input *PutSipMediaApplicationLoggingConfigurationInput, opts ...request.Option) (*PutSipMediaApplicationLoggingConfigurationOutput, error) {
 16074  	req, out := c.PutSipMediaApplicationLoggingConfigurationRequest(input)
 16075  	req.SetContext(ctx)
 16076  	req.ApplyOptions(opts...)
 16077  	return out, req.Send()
 16078  }
 16079  
 16080  const opPutVoiceConnectorEmergencyCallingConfiguration = "PutVoiceConnectorEmergencyCallingConfiguration"
 16081  
 16082  // PutVoiceConnectorEmergencyCallingConfigurationRequest generates a "aws/request.Request" representing the
 16083  // client's request for the PutVoiceConnectorEmergencyCallingConfiguration operation. The "output" return
 16084  // value will be populated with the request's response once the request completes
 16085  // successfully.
 16086  //
 16087  // Use "Send" method on the returned Request to send the API call to the service.
 16088  // the "output" return value is not valid until after Send returns without error.
 16089  //
 16090  // See PutVoiceConnectorEmergencyCallingConfiguration for more information on using the PutVoiceConnectorEmergencyCallingConfiguration
 16091  // API call, and error handling.
 16092  //
 16093  // This method is useful when you want to inject custom logic or configuration
 16094  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 16095  //
 16096  //
 16097  //    // Example sending a request using the PutVoiceConnectorEmergencyCallingConfigurationRequest method.
 16098  //    req, resp := client.PutVoiceConnectorEmergencyCallingConfigurationRequest(params)
 16099  //
 16100  //    err := req.Send()
 16101  //    if err == nil { // resp is now filled
 16102  //        fmt.Println(resp)
 16103  //    }
 16104  //
 16105  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorEmergencyCallingConfiguration
 16106  func (c *Chime) PutVoiceConnectorEmergencyCallingConfigurationRequest(input *PutVoiceConnectorEmergencyCallingConfigurationInput) (req *request.Request, output *PutVoiceConnectorEmergencyCallingConfigurationOutput) {
 16107  	op := &request.Operation{
 16108  		Name:       opPutVoiceConnectorEmergencyCallingConfiguration,
 16109  		HTTPMethod: "PUT",
 16110  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/emergency-calling-configuration",
 16111  	}
 16112  
 16113  	if input == nil {
 16114  		input = &PutVoiceConnectorEmergencyCallingConfigurationInput{}
 16115  	}
 16116  
 16117  	output = &PutVoiceConnectorEmergencyCallingConfigurationOutput{}
 16118  	req = c.newRequest(op, input, output)
 16119  	return
 16120  }
 16121  
 16122  // PutVoiceConnectorEmergencyCallingConfiguration API operation for Amazon Chime.
 16123  //
 16124  // Puts emergency calling configuration details to the specified Amazon Chime
 16125  // Voice Connector, such as emergency phone numbers and calling countries. Origination
 16126  // and termination settings must be enabled for the Amazon Chime Voice Connector
 16127  // before emergency calling can be configured.
 16128  //
 16129  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 16130  // with awserr.Error's Code and Message methods to get detailed information about
 16131  // the error.
 16132  //
 16133  // See the AWS API reference guide for Amazon Chime's
 16134  // API operation PutVoiceConnectorEmergencyCallingConfiguration for usage and error information.
 16135  //
 16136  // Returned Error Types:
 16137  //   * UnauthorizedClientException
 16138  //   The client is not currently authorized to make the request.
 16139  //
 16140  //   * NotFoundException
 16141  //   One or more of the resources in the request does not exist in the system.
 16142  //
 16143  //   * ForbiddenException
 16144  //   The client is permanently forbidden from making the request.
 16145  //
 16146  //   * BadRequestException
 16147  //   The input parameters don't match the service's restrictions.
 16148  //
 16149  //   * ThrottledClientException
 16150  //   The client exceeded its request rate limit.
 16151  //
 16152  //   * ServiceUnavailableException
 16153  //   The service is currently unavailable.
 16154  //
 16155  //   * ServiceFailureException
 16156  //   The service encountered an unexpected error.
 16157  //
 16158  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorEmergencyCallingConfiguration
 16159  func (c *Chime) PutVoiceConnectorEmergencyCallingConfiguration(input *PutVoiceConnectorEmergencyCallingConfigurationInput) (*PutVoiceConnectorEmergencyCallingConfigurationOutput, error) {
 16160  	req, out := c.PutVoiceConnectorEmergencyCallingConfigurationRequest(input)
 16161  	return out, req.Send()
 16162  }
 16163  
 16164  // PutVoiceConnectorEmergencyCallingConfigurationWithContext is the same as PutVoiceConnectorEmergencyCallingConfiguration with the addition of
 16165  // the ability to pass a context and additional request options.
 16166  //
 16167  // See PutVoiceConnectorEmergencyCallingConfiguration for details on how to use this API operation.
 16168  //
 16169  // The context must be non-nil and will be used for request cancellation. If
 16170  // the context is nil a panic will occur. In the future the SDK may create
 16171  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 16172  // for more information on using Contexts.
 16173  func (c *Chime) PutVoiceConnectorEmergencyCallingConfigurationWithContext(ctx aws.Context, input *PutVoiceConnectorEmergencyCallingConfigurationInput, opts ...request.Option) (*PutVoiceConnectorEmergencyCallingConfigurationOutput, error) {
 16174  	req, out := c.PutVoiceConnectorEmergencyCallingConfigurationRequest(input)
 16175  	req.SetContext(ctx)
 16176  	req.ApplyOptions(opts...)
 16177  	return out, req.Send()
 16178  }
 16179  
 16180  const opPutVoiceConnectorLoggingConfiguration = "PutVoiceConnectorLoggingConfiguration"
 16181  
 16182  // PutVoiceConnectorLoggingConfigurationRequest generates a "aws/request.Request" representing the
 16183  // client's request for the PutVoiceConnectorLoggingConfiguration operation. The "output" return
 16184  // value will be populated with the request's response once the request completes
 16185  // successfully.
 16186  //
 16187  // Use "Send" method on the returned Request to send the API call to the service.
 16188  // the "output" return value is not valid until after Send returns without error.
 16189  //
 16190  // See PutVoiceConnectorLoggingConfiguration for more information on using the PutVoiceConnectorLoggingConfiguration
 16191  // API call, and error handling.
 16192  //
 16193  // This method is useful when you want to inject custom logic or configuration
 16194  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 16195  //
 16196  //
 16197  //    // Example sending a request using the PutVoiceConnectorLoggingConfigurationRequest method.
 16198  //    req, resp := client.PutVoiceConnectorLoggingConfigurationRequest(params)
 16199  //
 16200  //    err := req.Send()
 16201  //    if err == nil { // resp is now filled
 16202  //        fmt.Println(resp)
 16203  //    }
 16204  //
 16205  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorLoggingConfiguration
 16206  func (c *Chime) PutVoiceConnectorLoggingConfigurationRequest(input *PutVoiceConnectorLoggingConfigurationInput) (req *request.Request, output *PutVoiceConnectorLoggingConfigurationOutput) {
 16207  	op := &request.Operation{
 16208  		Name:       opPutVoiceConnectorLoggingConfiguration,
 16209  		HTTPMethod: "PUT",
 16210  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/logging-configuration",
 16211  	}
 16212  
 16213  	if input == nil {
 16214  		input = &PutVoiceConnectorLoggingConfigurationInput{}
 16215  	}
 16216  
 16217  	output = &PutVoiceConnectorLoggingConfigurationOutput{}
 16218  	req = c.newRequest(op, input, output)
 16219  	return
 16220  }
 16221  
 16222  // PutVoiceConnectorLoggingConfiguration API operation for Amazon Chime.
 16223  //
 16224  // Adds a logging configuration for the specified Amazon Chime Voice Connector.
 16225  // The logging configuration specifies whether SIP message logs are enabled
 16226  // for sending to Amazon CloudWatch Logs.
 16227  //
 16228  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 16229  // with awserr.Error's Code and Message methods to get detailed information about
 16230  // the error.
 16231  //
 16232  // See the AWS API reference guide for Amazon Chime's
 16233  // API operation PutVoiceConnectorLoggingConfiguration for usage and error information.
 16234  //
 16235  // Returned Error Types:
 16236  //   * UnauthorizedClientException
 16237  //   The client is not currently authorized to make the request.
 16238  //
 16239  //   * NotFoundException
 16240  //   One or more of the resources in the request does not exist in the system.
 16241  //
 16242  //   * ForbiddenException
 16243  //   The client is permanently forbidden from making the request.
 16244  //
 16245  //   * BadRequestException
 16246  //   The input parameters don't match the service's restrictions.
 16247  //
 16248  //   * ThrottledClientException
 16249  //   The client exceeded its request rate limit.
 16250  //
 16251  //   * ServiceUnavailableException
 16252  //   The service is currently unavailable.
 16253  //
 16254  //   * ServiceFailureException
 16255  //   The service encountered an unexpected error.
 16256  //
 16257  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorLoggingConfiguration
 16258  func (c *Chime) PutVoiceConnectorLoggingConfiguration(input *PutVoiceConnectorLoggingConfigurationInput) (*PutVoiceConnectorLoggingConfigurationOutput, error) {
 16259  	req, out := c.PutVoiceConnectorLoggingConfigurationRequest(input)
 16260  	return out, req.Send()
 16261  }
 16262  
 16263  // PutVoiceConnectorLoggingConfigurationWithContext is the same as PutVoiceConnectorLoggingConfiguration with the addition of
 16264  // the ability to pass a context and additional request options.
 16265  //
 16266  // See PutVoiceConnectorLoggingConfiguration for details on how to use this API operation.
 16267  //
 16268  // The context must be non-nil and will be used for request cancellation. If
 16269  // the context is nil a panic will occur. In the future the SDK may create
 16270  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 16271  // for more information on using Contexts.
 16272  func (c *Chime) PutVoiceConnectorLoggingConfigurationWithContext(ctx aws.Context, input *PutVoiceConnectorLoggingConfigurationInput, opts ...request.Option) (*PutVoiceConnectorLoggingConfigurationOutput, error) {
 16273  	req, out := c.PutVoiceConnectorLoggingConfigurationRequest(input)
 16274  	req.SetContext(ctx)
 16275  	req.ApplyOptions(opts...)
 16276  	return out, req.Send()
 16277  }
 16278  
 16279  const opPutVoiceConnectorOrigination = "PutVoiceConnectorOrigination"
 16280  
 16281  // PutVoiceConnectorOriginationRequest generates a "aws/request.Request" representing the
 16282  // client's request for the PutVoiceConnectorOrigination operation. The "output" return
 16283  // value will be populated with the request's response once the request completes
 16284  // successfully.
 16285  //
 16286  // Use "Send" method on the returned Request to send the API call to the service.
 16287  // the "output" return value is not valid until after Send returns without error.
 16288  //
 16289  // See PutVoiceConnectorOrigination for more information on using the PutVoiceConnectorOrigination
 16290  // API call, and error handling.
 16291  //
 16292  // This method is useful when you want to inject custom logic or configuration
 16293  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 16294  //
 16295  //
 16296  //    // Example sending a request using the PutVoiceConnectorOriginationRequest method.
 16297  //    req, resp := client.PutVoiceConnectorOriginationRequest(params)
 16298  //
 16299  //    err := req.Send()
 16300  //    if err == nil { // resp is now filled
 16301  //        fmt.Println(resp)
 16302  //    }
 16303  //
 16304  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorOrigination
 16305  func (c *Chime) PutVoiceConnectorOriginationRequest(input *PutVoiceConnectorOriginationInput) (req *request.Request, output *PutVoiceConnectorOriginationOutput) {
 16306  	op := &request.Operation{
 16307  		Name:       opPutVoiceConnectorOrigination,
 16308  		HTTPMethod: "PUT",
 16309  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/origination",
 16310  	}
 16311  
 16312  	if input == nil {
 16313  		input = &PutVoiceConnectorOriginationInput{}
 16314  	}
 16315  
 16316  	output = &PutVoiceConnectorOriginationOutput{}
 16317  	req = c.newRequest(op, input, output)
 16318  	return
 16319  }
 16320  
 16321  // PutVoiceConnectorOrigination API operation for Amazon Chime.
 16322  //
 16323  // Adds origination settings for the specified Amazon Chime Voice Connector.
 16324  //
 16325  // If emergency calling is configured for the Amazon Chime Voice Connector,
 16326  // it must be deleted prior to turning off origination settings.
 16327  //
 16328  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 16329  // with awserr.Error's Code and Message methods to get detailed information about
 16330  // the error.
 16331  //
 16332  // See the AWS API reference guide for Amazon Chime's
 16333  // API operation PutVoiceConnectorOrigination for usage and error information.
 16334  //
 16335  // Returned Error Types:
 16336  //   * UnauthorizedClientException
 16337  //   The client is not currently authorized to make the request.
 16338  //
 16339  //   * NotFoundException
 16340  //   One or more of the resources in the request does not exist in the system.
 16341  //
 16342  //   * ForbiddenException
 16343  //   The client is permanently forbidden from making the request.
 16344  //
 16345  //   * BadRequestException
 16346  //   The input parameters don't match the service's restrictions.
 16347  //
 16348  //   * ThrottledClientException
 16349  //   The client exceeded its request rate limit.
 16350  //
 16351  //   * ServiceUnavailableException
 16352  //   The service is currently unavailable.
 16353  //
 16354  //   * ServiceFailureException
 16355  //   The service encountered an unexpected error.
 16356  //
 16357  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorOrigination
 16358  func (c *Chime) PutVoiceConnectorOrigination(input *PutVoiceConnectorOriginationInput) (*PutVoiceConnectorOriginationOutput, error) {
 16359  	req, out := c.PutVoiceConnectorOriginationRequest(input)
 16360  	return out, req.Send()
 16361  }
 16362  
 16363  // PutVoiceConnectorOriginationWithContext is the same as PutVoiceConnectorOrigination with the addition of
 16364  // the ability to pass a context and additional request options.
 16365  //
 16366  // See PutVoiceConnectorOrigination for details on how to use this API operation.
 16367  //
 16368  // The context must be non-nil and will be used for request cancellation. If
 16369  // the context is nil a panic will occur. In the future the SDK may create
 16370  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 16371  // for more information on using Contexts.
 16372  func (c *Chime) PutVoiceConnectorOriginationWithContext(ctx aws.Context, input *PutVoiceConnectorOriginationInput, opts ...request.Option) (*PutVoiceConnectorOriginationOutput, error) {
 16373  	req, out := c.PutVoiceConnectorOriginationRequest(input)
 16374  	req.SetContext(ctx)
 16375  	req.ApplyOptions(opts...)
 16376  	return out, req.Send()
 16377  }
 16378  
 16379  const opPutVoiceConnectorProxy = "PutVoiceConnectorProxy"
 16380  
 16381  // PutVoiceConnectorProxyRequest generates a "aws/request.Request" representing the
 16382  // client's request for the PutVoiceConnectorProxy operation. The "output" return
 16383  // value will be populated with the request's response once the request completes
 16384  // successfully.
 16385  //
 16386  // Use "Send" method on the returned Request to send the API call to the service.
 16387  // the "output" return value is not valid until after Send returns without error.
 16388  //
 16389  // See PutVoiceConnectorProxy for more information on using the PutVoiceConnectorProxy
 16390  // API call, and error handling.
 16391  //
 16392  // This method is useful when you want to inject custom logic or configuration
 16393  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 16394  //
 16395  //
 16396  //    // Example sending a request using the PutVoiceConnectorProxyRequest method.
 16397  //    req, resp := client.PutVoiceConnectorProxyRequest(params)
 16398  //
 16399  //    err := req.Send()
 16400  //    if err == nil { // resp is now filled
 16401  //        fmt.Println(resp)
 16402  //    }
 16403  //
 16404  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorProxy
 16405  func (c *Chime) PutVoiceConnectorProxyRequest(input *PutVoiceConnectorProxyInput) (req *request.Request, output *PutVoiceConnectorProxyOutput) {
 16406  	op := &request.Operation{
 16407  		Name:       opPutVoiceConnectorProxy,
 16408  		HTTPMethod: "PUT",
 16409  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/programmable-numbers/proxy",
 16410  	}
 16411  
 16412  	if input == nil {
 16413  		input = &PutVoiceConnectorProxyInput{}
 16414  	}
 16415  
 16416  	output = &PutVoiceConnectorProxyOutput{}
 16417  	req = c.newRequest(op, input, output)
 16418  	return
 16419  }
 16420  
 16421  // PutVoiceConnectorProxy API operation for Amazon Chime.
 16422  //
 16423  // Puts the specified proxy configuration to the specified Amazon Chime Voice
 16424  // Connector.
 16425  //
 16426  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 16427  // with awserr.Error's Code and Message methods to get detailed information about
 16428  // the error.
 16429  //
 16430  // See the AWS API reference guide for Amazon Chime's
 16431  // API operation PutVoiceConnectorProxy for usage and error information.
 16432  //
 16433  // Returned Error Types:
 16434  //   * UnauthorizedClientException
 16435  //   The client is not currently authorized to make the request.
 16436  //
 16437  //   * AccessDeniedException
 16438  //   You don't have permissions to perform the requested operation.
 16439  //
 16440  //   * NotFoundException
 16441  //   One or more of the resources in the request does not exist in the system.
 16442  //
 16443  //   * ForbiddenException
 16444  //   The client is permanently forbidden from making the request.
 16445  //
 16446  //   * BadRequestException
 16447  //   The input parameters don't match the service's restrictions.
 16448  //
 16449  //   * ThrottledClientException
 16450  //   The client exceeded its request rate limit.
 16451  //
 16452  //   * ServiceUnavailableException
 16453  //   The service is currently unavailable.
 16454  //
 16455  //   * ServiceFailureException
 16456  //   The service encountered an unexpected error.
 16457  //
 16458  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorProxy
 16459  func (c *Chime) PutVoiceConnectorProxy(input *PutVoiceConnectorProxyInput) (*PutVoiceConnectorProxyOutput, error) {
 16460  	req, out := c.PutVoiceConnectorProxyRequest(input)
 16461  	return out, req.Send()
 16462  }
 16463  
 16464  // PutVoiceConnectorProxyWithContext is the same as PutVoiceConnectorProxy with the addition of
 16465  // the ability to pass a context and additional request options.
 16466  //
 16467  // See PutVoiceConnectorProxy for details on how to use this API operation.
 16468  //
 16469  // The context must be non-nil and will be used for request cancellation. If
 16470  // the context is nil a panic will occur. In the future the SDK may create
 16471  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 16472  // for more information on using Contexts.
 16473  func (c *Chime) PutVoiceConnectorProxyWithContext(ctx aws.Context, input *PutVoiceConnectorProxyInput, opts ...request.Option) (*PutVoiceConnectorProxyOutput, error) {
 16474  	req, out := c.PutVoiceConnectorProxyRequest(input)
 16475  	req.SetContext(ctx)
 16476  	req.ApplyOptions(opts...)
 16477  	return out, req.Send()
 16478  }
 16479  
 16480  const opPutVoiceConnectorStreamingConfiguration = "PutVoiceConnectorStreamingConfiguration"
 16481  
 16482  // PutVoiceConnectorStreamingConfigurationRequest generates a "aws/request.Request" representing the
 16483  // client's request for the PutVoiceConnectorStreamingConfiguration operation. The "output" return
 16484  // value will be populated with the request's response once the request completes
 16485  // successfully.
 16486  //
 16487  // Use "Send" method on the returned Request to send the API call to the service.
 16488  // the "output" return value is not valid until after Send returns without error.
 16489  //
 16490  // See PutVoiceConnectorStreamingConfiguration for more information on using the PutVoiceConnectorStreamingConfiguration
 16491  // API call, and error handling.
 16492  //
 16493  // This method is useful when you want to inject custom logic or configuration
 16494  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 16495  //
 16496  //
 16497  //    // Example sending a request using the PutVoiceConnectorStreamingConfigurationRequest method.
 16498  //    req, resp := client.PutVoiceConnectorStreamingConfigurationRequest(params)
 16499  //
 16500  //    err := req.Send()
 16501  //    if err == nil { // resp is now filled
 16502  //        fmt.Println(resp)
 16503  //    }
 16504  //
 16505  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorStreamingConfiguration
 16506  func (c *Chime) PutVoiceConnectorStreamingConfigurationRequest(input *PutVoiceConnectorStreamingConfigurationInput) (req *request.Request, output *PutVoiceConnectorStreamingConfigurationOutput) {
 16507  	op := &request.Operation{
 16508  		Name:       opPutVoiceConnectorStreamingConfiguration,
 16509  		HTTPMethod: "PUT",
 16510  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/streaming-configuration",
 16511  	}
 16512  
 16513  	if input == nil {
 16514  		input = &PutVoiceConnectorStreamingConfigurationInput{}
 16515  	}
 16516  
 16517  	output = &PutVoiceConnectorStreamingConfigurationOutput{}
 16518  	req = c.newRequest(op, input, output)
 16519  	return
 16520  }
 16521  
 16522  // PutVoiceConnectorStreamingConfiguration API operation for Amazon Chime.
 16523  //
 16524  // Adds a streaming configuration for the specified Amazon Chime Voice Connector.
 16525  // The streaming configuration specifies whether media streaming is enabled
 16526  // for sending to Indonesians. It also sets the retention period, in hours,
 16527  // for the Amazon Kinesis data.
 16528  //
 16529  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 16530  // with awserr.Error's Code and Message methods to get detailed information about
 16531  // the error.
 16532  //
 16533  // See the AWS API reference guide for Amazon Chime's
 16534  // API operation PutVoiceConnectorStreamingConfiguration for usage and error information.
 16535  //
 16536  // Returned Error Types:
 16537  //   * UnauthorizedClientException
 16538  //   The client is not currently authorized to make the request.
 16539  //
 16540  //   * NotFoundException
 16541  //   One or more of the resources in the request does not exist in the system.
 16542  //
 16543  //   * ForbiddenException
 16544  //   The client is permanently forbidden from making the request.
 16545  //
 16546  //   * BadRequestException
 16547  //   The input parameters don't match the service's restrictions.
 16548  //
 16549  //   * ThrottledClientException
 16550  //   The client exceeded its request rate limit.
 16551  //
 16552  //   * ServiceUnavailableException
 16553  //   The service is currently unavailable.
 16554  //
 16555  //   * ServiceFailureException
 16556  //   The service encountered an unexpected error.
 16557  //
 16558  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorStreamingConfiguration
 16559  func (c *Chime) PutVoiceConnectorStreamingConfiguration(input *PutVoiceConnectorStreamingConfigurationInput) (*PutVoiceConnectorStreamingConfigurationOutput, error) {
 16560  	req, out := c.PutVoiceConnectorStreamingConfigurationRequest(input)
 16561  	return out, req.Send()
 16562  }
 16563  
 16564  // PutVoiceConnectorStreamingConfigurationWithContext is the same as PutVoiceConnectorStreamingConfiguration with the addition of
 16565  // the ability to pass a context and additional request options.
 16566  //
 16567  // See PutVoiceConnectorStreamingConfiguration for details on how to use this API operation.
 16568  //
 16569  // The context must be non-nil and will be used for request cancellation. If
 16570  // the context is nil a panic will occur. In the future the SDK may create
 16571  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 16572  // for more information on using Contexts.
 16573  func (c *Chime) PutVoiceConnectorStreamingConfigurationWithContext(ctx aws.Context, input *PutVoiceConnectorStreamingConfigurationInput, opts ...request.Option) (*PutVoiceConnectorStreamingConfigurationOutput, error) {
 16574  	req, out := c.PutVoiceConnectorStreamingConfigurationRequest(input)
 16575  	req.SetContext(ctx)
 16576  	req.ApplyOptions(opts...)
 16577  	return out, req.Send()
 16578  }
 16579  
 16580  const opPutVoiceConnectorTermination = "PutVoiceConnectorTermination"
 16581  
 16582  // PutVoiceConnectorTerminationRequest generates a "aws/request.Request" representing the
 16583  // client's request for the PutVoiceConnectorTermination operation. The "output" return
 16584  // value will be populated with the request's response once the request completes
 16585  // successfully.
 16586  //
 16587  // Use "Send" method on the returned Request to send the API call to the service.
 16588  // the "output" return value is not valid until after Send returns without error.
 16589  //
 16590  // See PutVoiceConnectorTermination for more information on using the PutVoiceConnectorTermination
 16591  // API call, and error handling.
 16592  //
 16593  // This method is useful when you want to inject custom logic or configuration
 16594  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 16595  //
 16596  //
 16597  //    // Example sending a request using the PutVoiceConnectorTerminationRequest method.
 16598  //    req, resp := client.PutVoiceConnectorTerminationRequest(params)
 16599  //
 16600  //    err := req.Send()
 16601  //    if err == nil { // resp is now filled
 16602  //        fmt.Println(resp)
 16603  //    }
 16604  //
 16605  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorTermination
 16606  func (c *Chime) PutVoiceConnectorTerminationRequest(input *PutVoiceConnectorTerminationInput) (req *request.Request, output *PutVoiceConnectorTerminationOutput) {
 16607  	op := &request.Operation{
 16608  		Name:       opPutVoiceConnectorTermination,
 16609  		HTTPMethod: "PUT",
 16610  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/termination",
 16611  	}
 16612  
 16613  	if input == nil {
 16614  		input = &PutVoiceConnectorTerminationInput{}
 16615  	}
 16616  
 16617  	output = &PutVoiceConnectorTerminationOutput{}
 16618  	req = c.newRequest(op, input, output)
 16619  	return
 16620  }
 16621  
 16622  // PutVoiceConnectorTermination API operation for Amazon Chime.
 16623  //
 16624  // Adds termination settings for the specified Amazon Chime Voice Connector.
 16625  //
 16626  // If emergency calling is configured for the Amazon Chime Voice Connector,
 16627  // it must be deleted prior to turning off termination settings.
 16628  //
 16629  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 16630  // with awserr.Error's Code and Message methods to get detailed information about
 16631  // the error.
 16632  //
 16633  // See the AWS API reference guide for Amazon Chime's
 16634  // API operation PutVoiceConnectorTermination for usage and error information.
 16635  //
 16636  // Returned Error Types:
 16637  //   * UnauthorizedClientException
 16638  //   The client is not currently authorized to make the request.
 16639  //
 16640  //   * NotFoundException
 16641  //   One or more of the resources in the request does not exist in the system.
 16642  //
 16643  //   * ForbiddenException
 16644  //   The client is permanently forbidden from making the request.
 16645  //
 16646  //   * BadRequestException
 16647  //   The input parameters don't match the service's restrictions.
 16648  //
 16649  //   * AccessDeniedException
 16650  //   You don't have permissions to perform the requested operation.
 16651  //
 16652  //   * ThrottledClientException
 16653  //   The client exceeded its request rate limit.
 16654  //
 16655  //   * ServiceUnavailableException
 16656  //   The service is currently unavailable.
 16657  //
 16658  //   * ServiceFailureException
 16659  //   The service encountered an unexpected error.
 16660  //
 16661  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorTermination
 16662  func (c *Chime) PutVoiceConnectorTermination(input *PutVoiceConnectorTerminationInput) (*PutVoiceConnectorTerminationOutput, error) {
 16663  	req, out := c.PutVoiceConnectorTerminationRequest(input)
 16664  	return out, req.Send()
 16665  }
 16666  
 16667  // PutVoiceConnectorTerminationWithContext is the same as PutVoiceConnectorTermination with the addition of
 16668  // the ability to pass a context and additional request options.
 16669  //
 16670  // See PutVoiceConnectorTermination for details on how to use this API operation.
 16671  //
 16672  // The context must be non-nil and will be used for request cancellation. If
 16673  // the context is nil a panic will occur. In the future the SDK may create
 16674  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 16675  // for more information on using Contexts.
 16676  func (c *Chime) PutVoiceConnectorTerminationWithContext(ctx aws.Context, input *PutVoiceConnectorTerminationInput, opts ...request.Option) (*PutVoiceConnectorTerminationOutput, error) {
 16677  	req, out := c.PutVoiceConnectorTerminationRequest(input)
 16678  	req.SetContext(ctx)
 16679  	req.ApplyOptions(opts...)
 16680  	return out, req.Send()
 16681  }
 16682  
 16683  const opPutVoiceConnectorTerminationCredentials = "PutVoiceConnectorTerminationCredentials"
 16684  
 16685  // PutVoiceConnectorTerminationCredentialsRequest generates a "aws/request.Request" representing the
 16686  // client's request for the PutVoiceConnectorTerminationCredentials operation. The "output" return
 16687  // value will be populated with the request's response once the request completes
 16688  // successfully.
 16689  //
 16690  // Use "Send" method on the returned Request to send the API call to the service.
 16691  // the "output" return value is not valid until after Send returns without error.
 16692  //
 16693  // See PutVoiceConnectorTerminationCredentials for more information on using the PutVoiceConnectorTerminationCredentials
 16694  // API call, and error handling.
 16695  //
 16696  // This method is useful when you want to inject custom logic or configuration
 16697  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 16698  //
 16699  //
 16700  //    // Example sending a request using the PutVoiceConnectorTerminationCredentialsRequest method.
 16701  //    req, resp := client.PutVoiceConnectorTerminationCredentialsRequest(params)
 16702  //
 16703  //    err := req.Send()
 16704  //    if err == nil { // resp is now filled
 16705  //        fmt.Println(resp)
 16706  //    }
 16707  //
 16708  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorTerminationCredentials
 16709  func (c *Chime) PutVoiceConnectorTerminationCredentialsRequest(input *PutVoiceConnectorTerminationCredentialsInput) (req *request.Request, output *PutVoiceConnectorTerminationCredentialsOutput) {
 16710  	op := &request.Operation{
 16711  		Name:       opPutVoiceConnectorTerminationCredentials,
 16712  		HTTPMethod: "POST",
 16713  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/termination/credentials?operation=put",
 16714  	}
 16715  
 16716  	if input == nil {
 16717  		input = &PutVoiceConnectorTerminationCredentialsInput{}
 16718  	}
 16719  
 16720  	output = &PutVoiceConnectorTerminationCredentialsOutput{}
 16721  	req = c.newRequest(op, input, output)
 16722  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
 16723  	return
 16724  }
 16725  
 16726  // PutVoiceConnectorTerminationCredentials API operation for Amazon Chime.
 16727  //
 16728  // Adds termination SIP credentials for the specified Amazon Chime Voice Connector.
 16729  //
 16730  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 16731  // with awserr.Error's Code and Message methods to get detailed information about
 16732  // the error.
 16733  //
 16734  // See the AWS API reference guide for Amazon Chime's
 16735  // API operation PutVoiceConnectorTerminationCredentials for usage and error information.
 16736  //
 16737  // Returned Error Types:
 16738  //   * UnauthorizedClientException
 16739  //   The client is not currently authorized to make the request.
 16740  //
 16741  //   * NotFoundException
 16742  //   One or more of the resources in the request does not exist in the system.
 16743  //
 16744  //   * ForbiddenException
 16745  //   The client is permanently forbidden from making the request.
 16746  //
 16747  //   * BadRequestException
 16748  //   The input parameters don't match the service's restrictions.
 16749  //
 16750  //   * ThrottledClientException
 16751  //   The client exceeded its request rate limit.
 16752  //
 16753  //   * ServiceUnavailableException
 16754  //   The service is currently unavailable.
 16755  //
 16756  //   * ServiceFailureException
 16757  //   The service encountered an unexpected error.
 16758  //
 16759  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorTerminationCredentials
 16760  func (c *Chime) PutVoiceConnectorTerminationCredentials(input *PutVoiceConnectorTerminationCredentialsInput) (*PutVoiceConnectorTerminationCredentialsOutput, error) {
 16761  	req, out := c.PutVoiceConnectorTerminationCredentialsRequest(input)
 16762  	return out, req.Send()
 16763  }
 16764  
 16765  // PutVoiceConnectorTerminationCredentialsWithContext is the same as PutVoiceConnectorTerminationCredentials with the addition of
 16766  // the ability to pass a context and additional request options.
 16767  //
 16768  // See PutVoiceConnectorTerminationCredentials for details on how to use this API operation.
 16769  //
 16770  // The context must be non-nil and will be used for request cancellation. If
 16771  // the context is nil a panic will occur. In the future the SDK may create
 16772  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 16773  // for more information on using Contexts.
 16774  func (c *Chime) PutVoiceConnectorTerminationCredentialsWithContext(ctx aws.Context, input *PutVoiceConnectorTerminationCredentialsInput, opts ...request.Option) (*PutVoiceConnectorTerminationCredentialsOutput, error) {
 16775  	req, out := c.PutVoiceConnectorTerminationCredentialsRequest(input)
 16776  	req.SetContext(ctx)
 16777  	req.ApplyOptions(opts...)
 16778  	return out, req.Send()
 16779  }
 16780  
 16781  const opRedactChannelMessage = "RedactChannelMessage"
 16782  
 16783  // RedactChannelMessageRequest generates a "aws/request.Request" representing the
 16784  // client's request for the RedactChannelMessage operation. The "output" return
 16785  // value will be populated with the request's response once the request completes
 16786  // successfully.
 16787  //
 16788  // Use "Send" method on the returned Request to send the API call to the service.
 16789  // the "output" return value is not valid until after Send returns without error.
 16790  //
 16791  // See RedactChannelMessage for more information on using the RedactChannelMessage
 16792  // API call, and error handling.
 16793  //
 16794  // This method is useful when you want to inject custom logic or configuration
 16795  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 16796  //
 16797  //
 16798  //    // Example sending a request using the RedactChannelMessageRequest method.
 16799  //    req, resp := client.RedactChannelMessageRequest(params)
 16800  //
 16801  //    err := req.Send()
 16802  //    if err == nil { // resp is now filled
 16803  //        fmt.Println(resp)
 16804  //    }
 16805  //
 16806  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactChannelMessage
 16807  func (c *Chime) RedactChannelMessageRequest(input *RedactChannelMessageInput) (req *request.Request, output *RedactChannelMessageOutput) {
 16808  	op := &request.Operation{
 16809  		Name:       opRedactChannelMessage,
 16810  		HTTPMethod: "POST",
 16811  		HTTPPath:   "/channels/{channelArn}/messages/{messageId}?operation=redact",
 16812  	}
 16813  
 16814  	if input == nil {
 16815  		input = &RedactChannelMessageInput{}
 16816  	}
 16817  
 16818  	output = &RedactChannelMessageOutput{}
 16819  	req = c.newRequest(op, input, output)
 16820  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
 16821  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
 16822  	return
 16823  }
 16824  
 16825  // RedactChannelMessage API operation for Amazon Chime.
 16826  //
 16827  // Redacts message content, but not metadata. The message exists in the back
 16828  // end, but the action returns null content, and the state shows as redacted.
 16829  //
 16830  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
 16831  // of the user that makes the API call as the value in the header.
 16832  //
 16833  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 16834  // with awserr.Error's Code and Message methods to get detailed information about
 16835  // the error.
 16836  //
 16837  // See the AWS API reference guide for Amazon Chime's
 16838  // API operation RedactChannelMessage for usage and error information.
 16839  //
 16840  // Returned Error Types:
 16841  //   * BadRequestException
 16842  //   The input parameters don't match the service's restrictions.
 16843  //
 16844  //   * ForbiddenException
 16845  //   The client is permanently forbidden from making the request.
 16846  //
 16847  //   * UnauthorizedClientException
 16848  //   The client is not currently authorized to make the request.
 16849  //
 16850  //   * ThrottledClientException
 16851  //   The client exceeded its request rate limit.
 16852  //
 16853  //   * ServiceUnavailableException
 16854  //   The service is currently unavailable.
 16855  //
 16856  //   * ServiceFailureException
 16857  //   The service encountered an unexpected error.
 16858  //
 16859  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactChannelMessage
 16860  func (c *Chime) RedactChannelMessage(input *RedactChannelMessageInput) (*RedactChannelMessageOutput, error) {
 16861  	req, out := c.RedactChannelMessageRequest(input)
 16862  	return out, req.Send()
 16863  }
 16864  
 16865  // RedactChannelMessageWithContext is the same as RedactChannelMessage with the addition of
 16866  // the ability to pass a context and additional request options.
 16867  //
 16868  // See RedactChannelMessage for details on how to use this API operation.
 16869  //
 16870  // The context must be non-nil and will be used for request cancellation. If
 16871  // the context is nil a panic will occur. In the future the SDK may create
 16872  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 16873  // for more information on using Contexts.
 16874  func (c *Chime) RedactChannelMessageWithContext(ctx aws.Context, input *RedactChannelMessageInput, opts ...request.Option) (*RedactChannelMessageOutput, error) {
 16875  	req, out := c.RedactChannelMessageRequest(input)
 16876  	req.SetContext(ctx)
 16877  	req.ApplyOptions(opts...)
 16878  	return out, req.Send()
 16879  }
 16880  
 16881  const opRedactConversationMessage = "RedactConversationMessage"
 16882  
 16883  // RedactConversationMessageRequest generates a "aws/request.Request" representing the
 16884  // client's request for the RedactConversationMessage operation. The "output" return
 16885  // value will be populated with the request's response once the request completes
 16886  // successfully.
 16887  //
 16888  // Use "Send" method on the returned Request to send the API call to the service.
 16889  // the "output" return value is not valid until after Send returns without error.
 16890  //
 16891  // See RedactConversationMessage for more information on using the RedactConversationMessage
 16892  // API call, and error handling.
 16893  //
 16894  // This method is useful when you want to inject custom logic or configuration
 16895  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 16896  //
 16897  //
 16898  //    // Example sending a request using the RedactConversationMessageRequest method.
 16899  //    req, resp := client.RedactConversationMessageRequest(params)
 16900  //
 16901  //    err := req.Send()
 16902  //    if err == nil { // resp is now filled
 16903  //        fmt.Println(resp)
 16904  //    }
 16905  //
 16906  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactConversationMessage
 16907  func (c *Chime) RedactConversationMessageRequest(input *RedactConversationMessageInput) (req *request.Request, output *RedactConversationMessageOutput) {
 16908  	op := &request.Operation{
 16909  		Name:       opRedactConversationMessage,
 16910  		HTTPMethod: "POST",
 16911  		HTTPPath:   "/accounts/{accountId}/conversations/{conversationId}/messages/{messageId}?operation=redact",
 16912  	}
 16913  
 16914  	if input == nil {
 16915  		input = &RedactConversationMessageInput{}
 16916  	}
 16917  
 16918  	output = &RedactConversationMessageOutput{}
 16919  	req = c.newRequest(op, input, output)
 16920  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
 16921  	return
 16922  }
 16923  
 16924  // RedactConversationMessage API operation for Amazon Chime.
 16925  //
 16926  // Redacts the specified message from the specified Amazon Chime conversation.
 16927  //
 16928  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 16929  // with awserr.Error's Code and Message methods to get detailed information about
 16930  // the error.
 16931  //
 16932  // See the AWS API reference guide for Amazon Chime's
 16933  // API operation RedactConversationMessage for usage and error information.
 16934  //
 16935  // Returned Error Types:
 16936  //   * NotFoundException
 16937  //   One or more of the resources in the request does not exist in the system.
 16938  //
 16939  //   * ForbiddenException
 16940  //   The client is permanently forbidden from making the request.
 16941  //
 16942  //   * UnauthorizedClientException
 16943  //   The client is not currently authorized to make the request.
 16944  //
 16945  //   * ThrottledClientException
 16946  //   The client exceeded its request rate limit.
 16947  //
 16948  //   * BadRequestException
 16949  //   The input parameters don't match the service's restrictions.
 16950  //
 16951  //   * ServiceUnavailableException
 16952  //   The service is currently unavailable.
 16953  //
 16954  //   * ServiceFailureException
 16955  //   The service encountered an unexpected error.
 16956  //
 16957  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactConversationMessage
 16958  func (c *Chime) RedactConversationMessage(input *RedactConversationMessageInput) (*RedactConversationMessageOutput, error) {
 16959  	req, out := c.RedactConversationMessageRequest(input)
 16960  	return out, req.Send()
 16961  }
 16962  
 16963  // RedactConversationMessageWithContext is the same as RedactConversationMessage with the addition of
 16964  // the ability to pass a context and additional request options.
 16965  //
 16966  // See RedactConversationMessage for details on how to use this API operation.
 16967  //
 16968  // The context must be non-nil and will be used for request cancellation. If
 16969  // the context is nil a panic will occur. In the future the SDK may create
 16970  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 16971  // for more information on using Contexts.
 16972  func (c *Chime) RedactConversationMessageWithContext(ctx aws.Context, input *RedactConversationMessageInput, opts ...request.Option) (*RedactConversationMessageOutput, error) {
 16973  	req, out := c.RedactConversationMessageRequest(input)
 16974  	req.SetContext(ctx)
 16975  	req.ApplyOptions(opts...)
 16976  	return out, req.Send()
 16977  }
 16978  
 16979  const opRedactRoomMessage = "RedactRoomMessage"
 16980  
 16981  // RedactRoomMessageRequest generates a "aws/request.Request" representing the
 16982  // client's request for the RedactRoomMessage operation. The "output" return
 16983  // value will be populated with the request's response once the request completes
 16984  // successfully.
 16985  //
 16986  // Use "Send" method on the returned Request to send the API call to the service.
 16987  // the "output" return value is not valid until after Send returns without error.
 16988  //
 16989  // See RedactRoomMessage for more information on using the RedactRoomMessage
 16990  // API call, and error handling.
 16991  //
 16992  // This method is useful when you want to inject custom logic or configuration
 16993  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 16994  //
 16995  //
 16996  //    // Example sending a request using the RedactRoomMessageRequest method.
 16997  //    req, resp := client.RedactRoomMessageRequest(params)
 16998  //
 16999  //    err := req.Send()
 17000  //    if err == nil { // resp is now filled
 17001  //        fmt.Println(resp)
 17002  //    }
 17003  //
 17004  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactRoomMessage
 17005  func (c *Chime) RedactRoomMessageRequest(input *RedactRoomMessageInput) (req *request.Request, output *RedactRoomMessageOutput) {
 17006  	op := &request.Operation{
 17007  		Name:       opRedactRoomMessage,
 17008  		HTTPMethod: "POST",
 17009  		HTTPPath:   "/accounts/{accountId}/rooms/{roomId}/messages/{messageId}?operation=redact",
 17010  	}
 17011  
 17012  	if input == nil {
 17013  		input = &RedactRoomMessageInput{}
 17014  	}
 17015  
 17016  	output = &RedactRoomMessageOutput{}
 17017  	req = c.newRequest(op, input, output)
 17018  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
 17019  	return
 17020  }
 17021  
 17022  // RedactRoomMessage API operation for Amazon Chime.
 17023  //
 17024  // Redacts the specified message from the specified Amazon Chime channel.
 17025  //
 17026  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 17027  // with awserr.Error's Code and Message methods to get detailed information about
 17028  // the error.
 17029  //
 17030  // See the AWS API reference guide for Amazon Chime's
 17031  // API operation RedactRoomMessage for usage and error information.
 17032  //
 17033  // Returned Error Types:
 17034  //   * NotFoundException
 17035  //   One or more of the resources in the request does not exist in the system.
 17036  //
 17037  //   * ForbiddenException
 17038  //   The client is permanently forbidden from making the request.
 17039  //
 17040  //   * UnauthorizedClientException
 17041  //   The client is not currently authorized to make the request.
 17042  //
 17043  //   * ThrottledClientException
 17044  //   The client exceeded its request rate limit.
 17045  //
 17046  //   * BadRequestException
 17047  //   The input parameters don't match the service's restrictions.
 17048  //
 17049  //   * ServiceUnavailableException
 17050  //   The service is currently unavailable.
 17051  //
 17052  //   * ServiceFailureException
 17053  //   The service encountered an unexpected error.
 17054  //
 17055  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactRoomMessage
 17056  func (c *Chime) RedactRoomMessage(input *RedactRoomMessageInput) (*RedactRoomMessageOutput, error) {
 17057  	req, out := c.RedactRoomMessageRequest(input)
 17058  	return out, req.Send()
 17059  }
 17060  
 17061  // RedactRoomMessageWithContext is the same as RedactRoomMessage with the addition of
 17062  // the ability to pass a context and additional request options.
 17063  //
 17064  // See RedactRoomMessage for details on how to use this API operation.
 17065  //
 17066  // The context must be non-nil and will be used for request cancellation. If
 17067  // the context is nil a panic will occur. In the future the SDK may create
 17068  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 17069  // for more information on using Contexts.
 17070  func (c *Chime) RedactRoomMessageWithContext(ctx aws.Context, input *RedactRoomMessageInput, opts ...request.Option) (*RedactRoomMessageOutput, error) {
 17071  	req, out := c.RedactRoomMessageRequest(input)
 17072  	req.SetContext(ctx)
 17073  	req.ApplyOptions(opts...)
 17074  	return out, req.Send()
 17075  }
 17076  
 17077  const opRegenerateSecurityToken = "RegenerateSecurityToken"
 17078  
 17079  // RegenerateSecurityTokenRequest generates a "aws/request.Request" representing the
 17080  // client's request for the RegenerateSecurityToken operation. The "output" return
 17081  // value will be populated with the request's response once the request completes
 17082  // successfully.
 17083  //
 17084  // Use "Send" method on the returned Request to send the API call to the service.
 17085  // the "output" return value is not valid until after Send returns without error.
 17086  //
 17087  // See RegenerateSecurityToken for more information on using the RegenerateSecurityToken
 17088  // API call, and error handling.
 17089  //
 17090  // This method is useful when you want to inject custom logic or configuration
 17091  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 17092  //
 17093  //
 17094  //    // Example sending a request using the RegenerateSecurityTokenRequest method.
 17095  //    req, resp := client.RegenerateSecurityTokenRequest(params)
 17096  //
 17097  //    err := req.Send()
 17098  //    if err == nil { // resp is now filled
 17099  //        fmt.Println(resp)
 17100  //    }
 17101  //
 17102  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RegenerateSecurityToken
 17103  func (c *Chime) RegenerateSecurityTokenRequest(input *RegenerateSecurityTokenInput) (req *request.Request, output *RegenerateSecurityTokenOutput) {
 17104  	op := &request.Operation{
 17105  		Name:       opRegenerateSecurityToken,
 17106  		HTTPMethod: "POST",
 17107  		HTTPPath:   "/accounts/{accountId}/bots/{botId}?operation=regenerate-security-token",
 17108  	}
 17109  
 17110  	if input == nil {
 17111  		input = &RegenerateSecurityTokenInput{}
 17112  	}
 17113  
 17114  	output = &RegenerateSecurityTokenOutput{}
 17115  	req = c.newRequest(op, input, output)
 17116  	return
 17117  }
 17118  
 17119  // RegenerateSecurityToken API operation for Amazon Chime.
 17120  //
 17121  // Regenerates the security token for a bot.
 17122  //
 17123  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 17124  // with awserr.Error's Code and Message methods to get detailed information about
 17125  // the error.
 17126  //
 17127  // See the AWS API reference guide for Amazon Chime's
 17128  // API operation RegenerateSecurityToken for usage and error information.
 17129  //
 17130  // Returned Error Types:
 17131  //   * ServiceUnavailableException
 17132  //   The service is currently unavailable.
 17133  //
 17134  //   * ServiceFailureException
 17135  //   The service encountered an unexpected error.
 17136  //
 17137  //   * ForbiddenException
 17138  //   The client is permanently forbidden from making the request.
 17139  //
 17140  //   * BadRequestException
 17141  //   The input parameters don't match the service's restrictions.
 17142  //
 17143  //   * UnauthorizedClientException
 17144  //   The client is not currently authorized to make the request.
 17145  //
 17146  //   * NotFoundException
 17147  //   One or more of the resources in the request does not exist in the system.
 17148  //
 17149  //   * ThrottledClientException
 17150  //   The client exceeded its request rate limit.
 17151  //
 17152  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RegenerateSecurityToken
 17153  func (c *Chime) RegenerateSecurityToken(input *RegenerateSecurityTokenInput) (*RegenerateSecurityTokenOutput, error) {
 17154  	req, out := c.RegenerateSecurityTokenRequest(input)
 17155  	return out, req.Send()
 17156  }
 17157  
 17158  // RegenerateSecurityTokenWithContext is the same as RegenerateSecurityToken with the addition of
 17159  // the ability to pass a context and additional request options.
 17160  //
 17161  // See RegenerateSecurityToken for details on how to use this API operation.
 17162  //
 17163  // The context must be non-nil and will be used for request cancellation. If
 17164  // the context is nil a panic will occur. In the future the SDK may create
 17165  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 17166  // for more information on using Contexts.
 17167  func (c *Chime) RegenerateSecurityTokenWithContext(ctx aws.Context, input *RegenerateSecurityTokenInput, opts ...request.Option) (*RegenerateSecurityTokenOutput, error) {
 17168  	req, out := c.RegenerateSecurityTokenRequest(input)
 17169  	req.SetContext(ctx)
 17170  	req.ApplyOptions(opts...)
 17171  	return out, req.Send()
 17172  }
 17173  
 17174  const opResetPersonalPIN = "ResetPersonalPIN"
 17175  
 17176  // ResetPersonalPINRequest generates a "aws/request.Request" representing the
 17177  // client's request for the ResetPersonalPIN operation. The "output" return
 17178  // value will be populated with the request's response once the request completes
 17179  // successfully.
 17180  //
 17181  // Use "Send" method on the returned Request to send the API call to the service.
 17182  // the "output" return value is not valid until after Send returns without error.
 17183  //
 17184  // See ResetPersonalPIN for more information on using the ResetPersonalPIN
 17185  // API call, and error handling.
 17186  //
 17187  // This method is useful when you want to inject custom logic or configuration
 17188  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 17189  //
 17190  //
 17191  //    // Example sending a request using the ResetPersonalPINRequest method.
 17192  //    req, resp := client.ResetPersonalPINRequest(params)
 17193  //
 17194  //    err := req.Send()
 17195  //    if err == nil { // resp is now filled
 17196  //        fmt.Println(resp)
 17197  //    }
 17198  //
 17199  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ResetPersonalPIN
 17200  func (c *Chime) ResetPersonalPINRequest(input *ResetPersonalPINInput) (req *request.Request, output *ResetPersonalPINOutput) {
 17201  	op := &request.Operation{
 17202  		Name:       opResetPersonalPIN,
 17203  		HTTPMethod: "POST",
 17204  		HTTPPath:   "/accounts/{accountId}/users/{userId}?operation=reset-personal-pin",
 17205  	}
 17206  
 17207  	if input == nil {
 17208  		input = &ResetPersonalPINInput{}
 17209  	}
 17210  
 17211  	output = &ResetPersonalPINOutput{}
 17212  	req = c.newRequest(op, input, output)
 17213  	return
 17214  }
 17215  
 17216  // ResetPersonalPIN API operation for Amazon Chime.
 17217  //
 17218  // Resets the personal meeting PIN for the specified user on an Amazon Chime
 17219  // account. Returns the User object with the updated personal meeting PIN.
 17220  //
 17221  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 17222  // with awserr.Error's Code and Message methods to get detailed information about
 17223  // the error.
 17224  //
 17225  // See the AWS API reference guide for Amazon Chime's
 17226  // API operation ResetPersonalPIN for usage and error information.
 17227  //
 17228  // Returned Error Types:
 17229  //   * UnauthorizedClientException
 17230  //   The client is not currently authorized to make the request.
 17231  //
 17232  //   * NotFoundException
 17233  //   One or more of the resources in the request does not exist in the system.
 17234  //
 17235  //   * ForbiddenException
 17236  //   The client is permanently forbidden from making the request.
 17237  //
 17238  //   * BadRequestException
 17239  //   The input parameters don't match the service's restrictions.
 17240  //
 17241  //   * ThrottledClientException
 17242  //   The client exceeded its request rate limit.
 17243  //
 17244  //   * ServiceUnavailableException
 17245  //   The service is currently unavailable.
 17246  //
 17247  //   * ServiceFailureException
 17248  //   The service encountered an unexpected error.
 17249  //
 17250  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ResetPersonalPIN
 17251  func (c *Chime) ResetPersonalPIN(input *ResetPersonalPINInput) (*ResetPersonalPINOutput, error) {
 17252  	req, out := c.ResetPersonalPINRequest(input)
 17253  	return out, req.Send()
 17254  }
 17255  
 17256  // ResetPersonalPINWithContext is the same as ResetPersonalPIN with the addition of
 17257  // the ability to pass a context and additional request options.
 17258  //
 17259  // See ResetPersonalPIN for details on how to use this API operation.
 17260  //
 17261  // The context must be non-nil and will be used for request cancellation. If
 17262  // the context is nil a panic will occur. In the future the SDK may create
 17263  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 17264  // for more information on using Contexts.
 17265  func (c *Chime) ResetPersonalPINWithContext(ctx aws.Context, input *ResetPersonalPINInput, opts ...request.Option) (*ResetPersonalPINOutput, error) {
 17266  	req, out := c.ResetPersonalPINRequest(input)
 17267  	req.SetContext(ctx)
 17268  	req.ApplyOptions(opts...)
 17269  	return out, req.Send()
 17270  }
 17271  
 17272  const opRestorePhoneNumber = "RestorePhoneNumber"
 17273  
 17274  // RestorePhoneNumberRequest generates a "aws/request.Request" representing the
 17275  // client's request for the RestorePhoneNumber operation. The "output" return
 17276  // value will be populated with the request's response once the request completes
 17277  // successfully.
 17278  //
 17279  // Use "Send" method on the returned Request to send the API call to the service.
 17280  // the "output" return value is not valid until after Send returns without error.
 17281  //
 17282  // See RestorePhoneNumber for more information on using the RestorePhoneNumber
 17283  // API call, and error handling.
 17284  //
 17285  // This method is useful when you want to inject custom logic or configuration
 17286  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 17287  //
 17288  //
 17289  //    // Example sending a request using the RestorePhoneNumberRequest method.
 17290  //    req, resp := client.RestorePhoneNumberRequest(params)
 17291  //
 17292  //    err := req.Send()
 17293  //    if err == nil { // resp is now filled
 17294  //        fmt.Println(resp)
 17295  //    }
 17296  //
 17297  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RestorePhoneNumber
 17298  func (c *Chime) RestorePhoneNumberRequest(input *RestorePhoneNumberInput) (req *request.Request, output *RestorePhoneNumberOutput) {
 17299  	op := &request.Operation{
 17300  		Name:       opRestorePhoneNumber,
 17301  		HTTPMethod: "POST",
 17302  		HTTPPath:   "/phone-numbers/{phoneNumberId}?operation=restore",
 17303  	}
 17304  
 17305  	if input == nil {
 17306  		input = &RestorePhoneNumberInput{}
 17307  	}
 17308  
 17309  	output = &RestorePhoneNumberOutput{}
 17310  	req = c.newRequest(op, input, output)
 17311  	return
 17312  }
 17313  
 17314  // RestorePhoneNumber API operation for Amazon Chime.
 17315  //
 17316  // Moves a phone number from the Deletion queue back into the phone number Inventory.
 17317  //
 17318  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 17319  // with awserr.Error's Code and Message methods to get detailed information about
 17320  // the error.
 17321  //
 17322  // See the AWS API reference guide for Amazon Chime's
 17323  // API operation RestorePhoneNumber for usage and error information.
 17324  //
 17325  // Returned Error Types:
 17326  //   * UnauthorizedClientException
 17327  //   The client is not currently authorized to make the request.
 17328  //
 17329  //   * NotFoundException
 17330  //   One or more of the resources in the request does not exist in the system.
 17331  //
 17332  //   * ForbiddenException
 17333  //   The client is permanently forbidden from making the request.
 17334  //
 17335  //   * BadRequestException
 17336  //   The input parameters don't match the service's restrictions.
 17337  //
 17338  //   * ThrottledClientException
 17339  //   The client exceeded its request rate limit.
 17340  //
 17341  //   * ResourceLimitExceededException
 17342  //   The request exceeds the resource limit.
 17343  //
 17344  //   * ServiceUnavailableException
 17345  //   The service is currently unavailable.
 17346  //
 17347  //   * ServiceFailureException
 17348  //   The service encountered an unexpected error.
 17349  //
 17350  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RestorePhoneNumber
 17351  func (c *Chime) RestorePhoneNumber(input *RestorePhoneNumberInput) (*RestorePhoneNumberOutput, error) {
 17352  	req, out := c.RestorePhoneNumberRequest(input)
 17353  	return out, req.Send()
 17354  }
 17355  
 17356  // RestorePhoneNumberWithContext is the same as RestorePhoneNumber with the addition of
 17357  // the ability to pass a context and additional request options.
 17358  //
 17359  // See RestorePhoneNumber for details on how to use this API operation.
 17360  //
 17361  // The context must be non-nil and will be used for request cancellation. If
 17362  // the context is nil a panic will occur. In the future the SDK may create
 17363  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 17364  // for more information on using Contexts.
 17365  func (c *Chime) RestorePhoneNumberWithContext(ctx aws.Context, input *RestorePhoneNumberInput, opts ...request.Option) (*RestorePhoneNumberOutput, error) {
 17366  	req, out := c.RestorePhoneNumberRequest(input)
 17367  	req.SetContext(ctx)
 17368  	req.ApplyOptions(opts...)
 17369  	return out, req.Send()
 17370  }
 17371  
 17372  const opSearchAvailablePhoneNumbers = "SearchAvailablePhoneNumbers"
 17373  
 17374  // SearchAvailablePhoneNumbersRequest generates a "aws/request.Request" representing the
 17375  // client's request for the SearchAvailablePhoneNumbers operation. The "output" return
 17376  // value will be populated with the request's response once the request completes
 17377  // successfully.
 17378  //
 17379  // Use "Send" method on the returned Request to send the API call to the service.
 17380  // the "output" return value is not valid until after Send returns without error.
 17381  //
 17382  // See SearchAvailablePhoneNumbers for more information on using the SearchAvailablePhoneNumbers
 17383  // API call, and error handling.
 17384  //
 17385  // This method is useful when you want to inject custom logic or configuration
 17386  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 17387  //
 17388  //
 17389  //    // Example sending a request using the SearchAvailablePhoneNumbersRequest method.
 17390  //    req, resp := client.SearchAvailablePhoneNumbersRequest(params)
 17391  //
 17392  //    err := req.Send()
 17393  //    if err == nil { // resp is now filled
 17394  //        fmt.Println(resp)
 17395  //    }
 17396  //
 17397  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/SearchAvailablePhoneNumbers
 17398  func (c *Chime) SearchAvailablePhoneNumbersRequest(input *SearchAvailablePhoneNumbersInput) (req *request.Request, output *SearchAvailablePhoneNumbersOutput) {
 17399  	op := &request.Operation{
 17400  		Name:       opSearchAvailablePhoneNumbers,
 17401  		HTTPMethod: "GET",
 17402  		HTTPPath:   "/search?type=phone-numbers",
 17403  		Paginator: &request.Paginator{
 17404  			InputTokens:     []string{"NextToken"},
 17405  			OutputTokens:    []string{"NextToken"},
 17406  			LimitToken:      "MaxResults",
 17407  			TruncationToken: "",
 17408  		},
 17409  	}
 17410  
 17411  	if input == nil {
 17412  		input = &SearchAvailablePhoneNumbersInput{}
 17413  	}
 17414  
 17415  	output = &SearchAvailablePhoneNumbersOutput{}
 17416  	req = c.newRequest(op, input, output)
 17417  	return
 17418  }
 17419  
 17420  // SearchAvailablePhoneNumbers API operation for Amazon Chime.
 17421  //
 17422  // Searches for phone numbers that can be ordered. For US numbers, provide at
 17423  // least one of the following search filters: AreaCode, City, State, or TollFreePrefix.
 17424  // If you provide City, you must also provide State. Numbers outside the US
 17425  // only support the PhoneNumberType filter, which you must use.
 17426  //
 17427  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 17428  // with awserr.Error's Code and Message methods to get detailed information about
 17429  // the error.
 17430  //
 17431  // See the AWS API reference guide for Amazon Chime's
 17432  // API operation SearchAvailablePhoneNumbers for usage and error information.
 17433  //
 17434  // Returned Error Types:
 17435  //   * BadRequestException
 17436  //   The input parameters don't match the service's restrictions.
 17437  //
 17438  //   * ForbiddenException
 17439  //   The client is permanently forbidden from making the request.
 17440  //
 17441  //   * AccessDeniedException
 17442  //   You don't have permissions to perform the requested operation.
 17443  //
 17444  //   * UnauthorizedClientException
 17445  //   The client is not currently authorized to make the request.
 17446  //
 17447  //   * ThrottledClientException
 17448  //   The client exceeded its request rate limit.
 17449  //
 17450  //   * ServiceUnavailableException
 17451  //   The service is currently unavailable.
 17452  //
 17453  //   * ServiceFailureException
 17454  //   The service encountered an unexpected error.
 17455  //
 17456  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/SearchAvailablePhoneNumbers
 17457  func (c *Chime) SearchAvailablePhoneNumbers(input *SearchAvailablePhoneNumbersInput) (*SearchAvailablePhoneNumbersOutput, error) {
 17458  	req, out := c.SearchAvailablePhoneNumbersRequest(input)
 17459  	return out, req.Send()
 17460  }
 17461  
 17462  // SearchAvailablePhoneNumbersWithContext is the same as SearchAvailablePhoneNumbers with the addition of
 17463  // the ability to pass a context and additional request options.
 17464  //
 17465  // See SearchAvailablePhoneNumbers for details on how to use this API operation.
 17466  //
 17467  // The context must be non-nil and will be used for request cancellation. If
 17468  // the context is nil a panic will occur. In the future the SDK may create
 17469  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 17470  // for more information on using Contexts.
 17471  func (c *Chime) SearchAvailablePhoneNumbersWithContext(ctx aws.Context, input *SearchAvailablePhoneNumbersInput, opts ...request.Option) (*SearchAvailablePhoneNumbersOutput, error) {
 17472  	req, out := c.SearchAvailablePhoneNumbersRequest(input)
 17473  	req.SetContext(ctx)
 17474  	req.ApplyOptions(opts...)
 17475  	return out, req.Send()
 17476  }
 17477  
 17478  // SearchAvailablePhoneNumbersPages iterates over the pages of a SearchAvailablePhoneNumbers operation,
 17479  // calling the "fn" function with the response data for each page. To stop
 17480  // iterating, return false from the fn function.
 17481  //
 17482  // See SearchAvailablePhoneNumbers method for more information on how to use this operation.
 17483  //
 17484  // Note: This operation can generate multiple requests to a service.
 17485  //
 17486  //    // Example iterating over at most 3 pages of a SearchAvailablePhoneNumbers operation.
 17487  //    pageNum := 0
 17488  //    err := client.SearchAvailablePhoneNumbersPages(params,
 17489  //        func(page *chime.SearchAvailablePhoneNumbersOutput, lastPage bool) bool {
 17490  //            pageNum++
 17491  //            fmt.Println(page)
 17492  //            return pageNum <= 3
 17493  //        })
 17494  //
 17495  func (c *Chime) SearchAvailablePhoneNumbersPages(input *SearchAvailablePhoneNumbersInput, fn func(*SearchAvailablePhoneNumbersOutput, bool) bool) error {
 17496  	return c.SearchAvailablePhoneNumbersPagesWithContext(aws.BackgroundContext(), input, fn)
 17497  }
 17498  
 17499  // SearchAvailablePhoneNumbersPagesWithContext same as SearchAvailablePhoneNumbersPages except
 17500  // it takes a Context and allows setting request options on the pages.
 17501  //
 17502  // The context must be non-nil and will be used for request cancellation. If
 17503  // the context is nil a panic will occur. In the future the SDK may create
 17504  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 17505  // for more information on using Contexts.
 17506  func (c *Chime) SearchAvailablePhoneNumbersPagesWithContext(ctx aws.Context, input *SearchAvailablePhoneNumbersInput, fn func(*SearchAvailablePhoneNumbersOutput, bool) bool, opts ...request.Option) error {
 17507  	p := request.Pagination{
 17508  		NewRequest: func() (*request.Request, error) {
 17509  			var inCpy *SearchAvailablePhoneNumbersInput
 17510  			if input != nil {
 17511  				tmp := *input
 17512  				inCpy = &tmp
 17513  			}
 17514  			req, _ := c.SearchAvailablePhoneNumbersRequest(inCpy)
 17515  			req.SetContext(ctx)
 17516  			req.ApplyOptions(opts...)
 17517  			return req, nil
 17518  		},
 17519  	}
 17520  
 17521  	for p.Next() {
 17522  		if !fn(p.Page().(*SearchAvailablePhoneNumbersOutput), !p.HasNextPage()) {
 17523  			break
 17524  		}
 17525  	}
 17526  
 17527  	return p.Err()
 17528  }
 17529  
 17530  const opSendChannelMessage = "SendChannelMessage"
 17531  
 17532  // SendChannelMessageRequest generates a "aws/request.Request" representing the
 17533  // client's request for the SendChannelMessage operation. The "output" return
 17534  // value will be populated with the request's response once the request completes
 17535  // successfully.
 17536  //
 17537  // Use "Send" method on the returned Request to send the API call to the service.
 17538  // the "output" return value is not valid until after Send returns without error.
 17539  //
 17540  // See SendChannelMessage for more information on using the SendChannelMessage
 17541  // API call, and error handling.
 17542  //
 17543  // This method is useful when you want to inject custom logic or configuration
 17544  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 17545  //
 17546  //
 17547  //    // Example sending a request using the SendChannelMessageRequest method.
 17548  //    req, resp := client.SendChannelMessageRequest(params)
 17549  //
 17550  //    err := req.Send()
 17551  //    if err == nil { // resp is now filled
 17552  //        fmt.Println(resp)
 17553  //    }
 17554  //
 17555  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/SendChannelMessage
 17556  func (c *Chime) SendChannelMessageRequest(input *SendChannelMessageInput) (req *request.Request, output *SendChannelMessageOutput) {
 17557  	op := &request.Operation{
 17558  		Name:       opSendChannelMessage,
 17559  		HTTPMethod: "POST",
 17560  		HTTPPath:   "/channels/{channelArn}/messages",
 17561  	}
 17562  
 17563  	if input == nil {
 17564  		input = &SendChannelMessageInput{}
 17565  	}
 17566  
 17567  	output = &SendChannelMessageOutput{}
 17568  	req = c.newRequest(op, input, output)
 17569  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
 17570  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
 17571  	return
 17572  }
 17573  
 17574  // SendChannelMessage API operation for Amazon Chime.
 17575  //
 17576  // Sends a message to a particular channel that the member is a part of.
 17577  //
 17578  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
 17579  // of the user that makes the API call as the value in the header.
 17580  //
 17581  // Also, STANDARD messages can contain 4KB of data and the 1KB of metadata.
 17582  // CONTROL messages can contain 30 bytes of data and no metadata.
 17583  //
 17584  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 17585  // with awserr.Error's Code and Message methods to get detailed information about
 17586  // the error.
 17587  //
 17588  // See the AWS API reference guide for Amazon Chime's
 17589  // API operation SendChannelMessage for usage and error information.
 17590  //
 17591  // Returned Error Types:
 17592  //   * BadRequestException
 17593  //   The input parameters don't match the service's restrictions.
 17594  //
 17595  //   * ConflictException
 17596  //   The request could not be processed because of conflict in the current state
 17597  //   of the resource.
 17598  //
 17599  //   * ForbiddenException
 17600  //   The client is permanently forbidden from making the request.
 17601  //
 17602  //   * UnauthorizedClientException
 17603  //   The client is not currently authorized to make the request.
 17604  //
 17605  //   * ThrottledClientException
 17606  //   The client exceeded its request rate limit.
 17607  //
 17608  //   * ServiceUnavailableException
 17609  //   The service is currently unavailable.
 17610  //
 17611  //   * ServiceFailureException
 17612  //   The service encountered an unexpected error.
 17613  //
 17614  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/SendChannelMessage
 17615  func (c *Chime) SendChannelMessage(input *SendChannelMessageInput) (*SendChannelMessageOutput, error) {
 17616  	req, out := c.SendChannelMessageRequest(input)
 17617  	return out, req.Send()
 17618  }
 17619  
 17620  // SendChannelMessageWithContext is the same as SendChannelMessage with the addition of
 17621  // the ability to pass a context and additional request options.
 17622  //
 17623  // See SendChannelMessage for details on how to use this API operation.
 17624  //
 17625  // The context must be non-nil and will be used for request cancellation. If
 17626  // the context is nil a panic will occur. In the future the SDK may create
 17627  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 17628  // for more information on using Contexts.
 17629  func (c *Chime) SendChannelMessageWithContext(ctx aws.Context, input *SendChannelMessageInput, opts ...request.Option) (*SendChannelMessageOutput, error) {
 17630  	req, out := c.SendChannelMessageRequest(input)
 17631  	req.SetContext(ctx)
 17632  	req.ApplyOptions(opts...)
 17633  	return out, req.Send()
 17634  }
 17635  
 17636  const opStartMeetingTranscription = "StartMeetingTranscription"
 17637  
 17638  // StartMeetingTranscriptionRequest generates a "aws/request.Request" representing the
 17639  // client's request for the StartMeetingTranscription operation. The "output" return
 17640  // value will be populated with the request's response once the request completes
 17641  // successfully.
 17642  //
 17643  // Use "Send" method on the returned Request to send the API call to the service.
 17644  // the "output" return value is not valid until after Send returns without error.
 17645  //
 17646  // See StartMeetingTranscription for more information on using the StartMeetingTranscription
 17647  // API call, and error handling.
 17648  //
 17649  // This method is useful when you want to inject custom logic or configuration
 17650  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 17651  //
 17652  //
 17653  //    // Example sending a request using the StartMeetingTranscriptionRequest method.
 17654  //    req, resp := client.StartMeetingTranscriptionRequest(params)
 17655  //
 17656  //    err := req.Send()
 17657  //    if err == nil { // resp is now filled
 17658  //        fmt.Println(resp)
 17659  //    }
 17660  //
 17661  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/StartMeetingTranscription
 17662  func (c *Chime) StartMeetingTranscriptionRequest(input *StartMeetingTranscriptionInput) (req *request.Request, output *StartMeetingTranscriptionOutput) {
 17663  	op := &request.Operation{
 17664  		Name:       opStartMeetingTranscription,
 17665  		HTTPMethod: "POST",
 17666  		HTTPPath:   "/meetings/{meetingId}/transcription?operation=start",
 17667  	}
 17668  
 17669  	if input == nil {
 17670  		input = &StartMeetingTranscriptionInput{}
 17671  	}
 17672  
 17673  	output = &StartMeetingTranscriptionOutput{}
 17674  	req = c.newRequest(op, input, output)
 17675  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
 17676  	return
 17677  }
 17678  
 17679  // StartMeetingTranscription API operation for Amazon Chime.
 17680  //
 17681  // Starts transcription for the specified meetingId.
 17682  //
 17683  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 17684  // with awserr.Error's Code and Message methods to get detailed information about
 17685  // the error.
 17686  //
 17687  // See the AWS API reference guide for Amazon Chime's
 17688  // API operation StartMeetingTranscription for usage and error information.
 17689  //
 17690  // Returned Error Types:
 17691  //   * NotFoundException
 17692  //   One or more of the resources in the request does not exist in the system.
 17693  //
 17694  //   * ForbiddenException
 17695  //   The client is permanently forbidden from making the request.
 17696  //
 17697  //   * BadRequestException
 17698  //   The input parameters don't match the service's restrictions.
 17699  //
 17700  //   * ResourceLimitExceededException
 17701  //   The request exceeds the resource limit.
 17702  //
 17703  //   * ThrottledClientException
 17704  //   The client exceeded its request rate limit.
 17705  //
 17706  //   * UnauthorizedClientException
 17707  //   The client is not currently authorized to make the request.
 17708  //
 17709  //   * UnprocessableEntityException
 17710  //   The request was well-formed but was unable to be followed due to semantic
 17711  //   errors.
 17712  //
 17713  //   * ServiceUnavailableException
 17714  //   The service is currently unavailable.
 17715  //
 17716  //   * ServiceFailureException
 17717  //   The service encountered an unexpected error.
 17718  //
 17719  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/StartMeetingTranscription
 17720  func (c *Chime) StartMeetingTranscription(input *StartMeetingTranscriptionInput) (*StartMeetingTranscriptionOutput, error) {
 17721  	req, out := c.StartMeetingTranscriptionRequest(input)
 17722  	return out, req.Send()
 17723  }
 17724  
 17725  // StartMeetingTranscriptionWithContext is the same as StartMeetingTranscription with the addition of
 17726  // the ability to pass a context and additional request options.
 17727  //
 17728  // See StartMeetingTranscription for details on how to use this API operation.
 17729  //
 17730  // The context must be non-nil and will be used for request cancellation. If
 17731  // the context is nil a panic will occur. In the future the SDK may create
 17732  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 17733  // for more information on using Contexts.
 17734  func (c *Chime) StartMeetingTranscriptionWithContext(ctx aws.Context, input *StartMeetingTranscriptionInput, opts ...request.Option) (*StartMeetingTranscriptionOutput, error) {
 17735  	req, out := c.StartMeetingTranscriptionRequest(input)
 17736  	req.SetContext(ctx)
 17737  	req.ApplyOptions(opts...)
 17738  	return out, req.Send()
 17739  }
 17740  
 17741  const opStopMeetingTranscription = "StopMeetingTranscription"
 17742  
 17743  // StopMeetingTranscriptionRequest generates a "aws/request.Request" representing the
 17744  // client's request for the StopMeetingTranscription operation. The "output" return
 17745  // value will be populated with the request's response once the request completes
 17746  // successfully.
 17747  //
 17748  // Use "Send" method on the returned Request to send the API call to the service.
 17749  // the "output" return value is not valid until after Send returns without error.
 17750  //
 17751  // See StopMeetingTranscription for more information on using the StopMeetingTranscription
 17752  // API call, and error handling.
 17753  //
 17754  // This method is useful when you want to inject custom logic or configuration
 17755  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 17756  //
 17757  //
 17758  //    // Example sending a request using the StopMeetingTranscriptionRequest method.
 17759  //    req, resp := client.StopMeetingTranscriptionRequest(params)
 17760  //
 17761  //    err := req.Send()
 17762  //    if err == nil { // resp is now filled
 17763  //        fmt.Println(resp)
 17764  //    }
 17765  //
 17766  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/StopMeetingTranscription
 17767  func (c *Chime) StopMeetingTranscriptionRequest(input *StopMeetingTranscriptionInput) (req *request.Request, output *StopMeetingTranscriptionOutput) {
 17768  	op := &request.Operation{
 17769  		Name:       opStopMeetingTranscription,
 17770  		HTTPMethod: "POST",
 17771  		HTTPPath:   "/meetings/{meetingId}/transcription?operation=stop",
 17772  	}
 17773  
 17774  	if input == nil {
 17775  		input = &StopMeetingTranscriptionInput{}
 17776  	}
 17777  
 17778  	output = &StopMeetingTranscriptionOutput{}
 17779  	req = c.newRequest(op, input, output)
 17780  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
 17781  	return
 17782  }
 17783  
 17784  // StopMeetingTranscription API operation for Amazon Chime.
 17785  //
 17786  // Stops transcription for the specified meetingId.
 17787  //
 17788  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 17789  // with awserr.Error's Code and Message methods to get detailed information about
 17790  // the error.
 17791  //
 17792  // See the AWS API reference guide for Amazon Chime's
 17793  // API operation StopMeetingTranscription for usage and error information.
 17794  //
 17795  // Returned Error Types:
 17796  //   * ForbiddenException
 17797  //   The client is permanently forbidden from making the request.
 17798  //
 17799  //   * NotFoundException
 17800  //   One or more of the resources in the request does not exist in the system.
 17801  //
 17802  //   * BadRequestException
 17803  //   The input parameters don't match the service's restrictions.
 17804  //
 17805  //   * ThrottledClientException
 17806  //   The client exceeded its request rate limit.
 17807  //
 17808  //   * UnauthorizedClientException
 17809  //   The client is not currently authorized to make the request.
 17810  //
 17811  //   * UnprocessableEntityException
 17812  //   The request was well-formed but was unable to be followed due to semantic
 17813  //   errors.
 17814  //
 17815  //   * ServiceUnavailableException
 17816  //   The service is currently unavailable.
 17817  //
 17818  //   * ServiceFailureException
 17819  //   The service encountered an unexpected error.
 17820  //
 17821  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/StopMeetingTranscription
 17822  func (c *Chime) StopMeetingTranscription(input *StopMeetingTranscriptionInput) (*StopMeetingTranscriptionOutput, error) {
 17823  	req, out := c.StopMeetingTranscriptionRequest(input)
 17824  	return out, req.Send()
 17825  }
 17826  
 17827  // StopMeetingTranscriptionWithContext is the same as StopMeetingTranscription with the addition of
 17828  // the ability to pass a context and additional request options.
 17829  //
 17830  // See StopMeetingTranscription for details on how to use this API operation.
 17831  //
 17832  // The context must be non-nil and will be used for request cancellation. If
 17833  // the context is nil a panic will occur. In the future the SDK may create
 17834  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 17835  // for more information on using Contexts.
 17836  func (c *Chime) StopMeetingTranscriptionWithContext(ctx aws.Context, input *StopMeetingTranscriptionInput, opts ...request.Option) (*StopMeetingTranscriptionOutput, error) {
 17837  	req, out := c.StopMeetingTranscriptionRequest(input)
 17838  	req.SetContext(ctx)
 17839  	req.ApplyOptions(opts...)
 17840  	return out, req.Send()
 17841  }
 17842  
 17843  const opTagAttendee = "TagAttendee"
 17844  
 17845  // TagAttendeeRequest generates a "aws/request.Request" representing the
 17846  // client's request for the TagAttendee operation. The "output" return
 17847  // value will be populated with the request's response once the request completes
 17848  // successfully.
 17849  //
 17850  // Use "Send" method on the returned Request to send the API call to the service.
 17851  // the "output" return value is not valid until after Send returns without error.
 17852  //
 17853  // See TagAttendee for more information on using the TagAttendee
 17854  // API call, and error handling.
 17855  //
 17856  // This method is useful when you want to inject custom logic or configuration
 17857  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 17858  //
 17859  //
 17860  //    // Example sending a request using the TagAttendeeRequest method.
 17861  //    req, resp := client.TagAttendeeRequest(params)
 17862  //
 17863  //    err := req.Send()
 17864  //    if err == nil { // resp is now filled
 17865  //        fmt.Println(resp)
 17866  //    }
 17867  //
 17868  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/TagAttendee
 17869  func (c *Chime) TagAttendeeRequest(input *TagAttendeeInput) (req *request.Request, output *TagAttendeeOutput) {
 17870  	op := &request.Operation{
 17871  		Name:       opTagAttendee,
 17872  		HTTPMethod: "POST",
 17873  		HTTPPath:   "/meetings/{meetingId}/attendees/{attendeeId}/tags?operation=add",
 17874  	}
 17875  
 17876  	if input == nil {
 17877  		input = &TagAttendeeInput{}
 17878  	}
 17879  
 17880  	output = &TagAttendeeOutput{}
 17881  	req = c.newRequest(op, input, output)
 17882  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
 17883  	return
 17884  }
 17885  
 17886  // TagAttendee API operation for Amazon Chime.
 17887  //
 17888  // Applies the specified tags to the specified Amazon Chime SDK attendee.
 17889  //
 17890  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 17891  // with awserr.Error's Code and Message methods to get detailed information about
 17892  // the error.
 17893  //
 17894  // See the AWS API reference guide for Amazon Chime's
 17895  // API operation TagAttendee for usage and error information.
 17896  //
 17897  // Returned Error Types:
 17898  //   * BadRequestException
 17899  //   The input parameters don't match the service's restrictions.
 17900  //
 17901  //   * ForbiddenException
 17902  //   The client is permanently forbidden from making the request.
 17903  //
 17904  //   * NotFoundException
 17905  //   One or more of the resources in the request does not exist in the system.
 17906  //
 17907  //   * ResourceLimitExceededException
 17908  //   The request exceeds the resource limit.
 17909  //
 17910  //   * ThrottledClientException
 17911  //   The client exceeded its request rate limit.
 17912  //
 17913  //   * UnauthorizedClientException
 17914  //   The client is not currently authorized to make the request.
 17915  //
 17916  //   * ServiceUnavailableException
 17917  //   The service is currently unavailable.
 17918  //
 17919  //   * ServiceFailureException
 17920  //   The service encountered an unexpected error.
 17921  //
 17922  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/TagAttendee
 17923  func (c *Chime) TagAttendee(input *TagAttendeeInput) (*TagAttendeeOutput, error) {
 17924  	req, out := c.TagAttendeeRequest(input)
 17925  	return out, req.Send()
 17926  }
 17927  
 17928  // TagAttendeeWithContext is the same as TagAttendee with the addition of
 17929  // the ability to pass a context and additional request options.
 17930  //
 17931  // See TagAttendee for details on how to use this API operation.
 17932  //
 17933  // The context must be non-nil and will be used for request cancellation. If
 17934  // the context is nil a panic will occur. In the future the SDK may create
 17935  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 17936  // for more information on using Contexts.
 17937  func (c *Chime) TagAttendeeWithContext(ctx aws.Context, input *TagAttendeeInput, opts ...request.Option) (*TagAttendeeOutput, error) {
 17938  	req, out := c.TagAttendeeRequest(input)
 17939  	req.SetContext(ctx)
 17940  	req.ApplyOptions(opts...)
 17941  	return out, req.Send()
 17942  }
 17943  
 17944  const opTagMeeting = "TagMeeting"
 17945  
 17946  // TagMeetingRequest generates a "aws/request.Request" representing the
 17947  // client's request for the TagMeeting operation. The "output" return
 17948  // value will be populated with the request's response once the request completes
 17949  // successfully.
 17950  //
 17951  // Use "Send" method on the returned Request to send the API call to the service.
 17952  // the "output" return value is not valid until after Send returns without error.
 17953  //
 17954  // See TagMeeting for more information on using the TagMeeting
 17955  // API call, and error handling.
 17956  //
 17957  // This method is useful when you want to inject custom logic or configuration
 17958  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 17959  //
 17960  //
 17961  //    // Example sending a request using the TagMeetingRequest method.
 17962  //    req, resp := client.TagMeetingRequest(params)
 17963  //
 17964  //    err := req.Send()
 17965  //    if err == nil { // resp is now filled
 17966  //        fmt.Println(resp)
 17967  //    }
 17968  //
 17969  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/TagMeeting
 17970  func (c *Chime) TagMeetingRequest(input *TagMeetingInput) (req *request.Request, output *TagMeetingOutput) {
 17971  	op := &request.Operation{
 17972  		Name:       opTagMeeting,
 17973  		HTTPMethod: "POST",
 17974  		HTTPPath:   "/meetings/{meetingId}/tags?operation=add",
 17975  	}
 17976  
 17977  	if input == nil {
 17978  		input = &TagMeetingInput{}
 17979  	}
 17980  
 17981  	output = &TagMeetingOutput{}
 17982  	req = c.newRequest(op, input, output)
 17983  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
 17984  	return
 17985  }
 17986  
 17987  // TagMeeting API operation for Amazon Chime.
 17988  //
 17989  // Applies the specified tags to the specified Amazon Chime SDK meeting.
 17990  //
 17991  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 17992  // with awserr.Error's Code and Message methods to get detailed information about
 17993  // the error.
 17994  //
 17995  // See the AWS API reference guide for Amazon Chime's
 17996  // API operation TagMeeting for usage and error information.
 17997  //
 17998  // Returned Error Types:
 17999  //   * BadRequestException
 18000  //   The input parameters don't match the service's restrictions.
 18001  //
 18002  //   * ForbiddenException
 18003  //   The client is permanently forbidden from making the request.
 18004  //
 18005  //   * NotFoundException
 18006  //   One or more of the resources in the request does not exist in the system.
 18007  //
 18008  //   * ResourceLimitExceededException
 18009  //   The request exceeds the resource limit.
 18010  //
 18011  //   * ThrottledClientException
 18012  //   The client exceeded its request rate limit.
 18013  //
 18014  //   * UnauthorizedClientException
 18015  //   The client is not currently authorized to make the request.
 18016  //
 18017  //   * ServiceUnavailableException
 18018  //   The service is currently unavailable.
 18019  //
 18020  //   * ServiceFailureException
 18021  //   The service encountered an unexpected error.
 18022  //
 18023  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/TagMeeting
 18024  func (c *Chime) TagMeeting(input *TagMeetingInput) (*TagMeetingOutput, error) {
 18025  	req, out := c.TagMeetingRequest(input)
 18026  	return out, req.Send()
 18027  }
 18028  
 18029  // TagMeetingWithContext is the same as TagMeeting with the addition of
 18030  // the ability to pass a context and additional request options.
 18031  //
 18032  // See TagMeeting for details on how to use this API operation.
 18033  //
 18034  // The context must be non-nil and will be used for request cancellation. If
 18035  // the context is nil a panic will occur. In the future the SDK may create
 18036  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 18037  // for more information on using Contexts.
 18038  func (c *Chime) TagMeetingWithContext(ctx aws.Context, input *TagMeetingInput, opts ...request.Option) (*TagMeetingOutput, error) {
 18039  	req, out := c.TagMeetingRequest(input)
 18040  	req.SetContext(ctx)
 18041  	req.ApplyOptions(opts...)
 18042  	return out, req.Send()
 18043  }
 18044  
 18045  const opTagResource = "TagResource"
 18046  
 18047  // TagResourceRequest generates a "aws/request.Request" representing the
 18048  // client's request for the TagResource operation. The "output" return
 18049  // value will be populated with the request's response once the request completes
 18050  // successfully.
 18051  //
 18052  // Use "Send" method on the returned Request to send the API call to the service.
 18053  // the "output" return value is not valid until after Send returns without error.
 18054  //
 18055  // See TagResource for more information on using the TagResource
 18056  // API call, and error handling.
 18057  //
 18058  // This method is useful when you want to inject custom logic or configuration
 18059  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 18060  //
 18061  //
 18062  //    // Example sending a request using the TagResourceRequest method.
 18063  //    req, resp := client.TagResourceRequest(params)
 18064  //
 18065  //    err := req.Send()
 18066  //    if err == nil { // resp is now filled
 18067  //        fmt.Println(resp)
 18068  //    }
 18069  //
 18070  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/TagResource
 18071  func (c *Chime) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
 18072  	op := &request.Operation{
 18073  		Name:       opTagResource,
 18074  		HTTPMethod: "POST",
 18075  		HTTPPath:   "/tags?operation=tag-resource",
 18076  	}
 18077  
 18078  	if input == nil {
 18079  		input = &TagResourceInput{}
 18080  	}
 18081  
 18082  	output = &TagResourceOutput{}
 18083  	req = c.newRequest(op, input, output)
 18084  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
 18085  	return
 18086  }
 18087  
 18088  // TagResource API operation for Amazon Chime.
 18089  //
 18090  // Applies the specified tags to the specified Amazon Chime SDK meeting resource.
 18091  //
 18092  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 18093  // with awserr.Error's Code and Message methods to get detailed information about
 18094  // the error.
 18095  //
 18096  // See the AWS API reference guide for Amazon Chime's
 18097  // API operation TagResource for usage and error information.
 18098  //
 18099  // Returned Error Types:
 18100  //   * BadRequestException
 18101  //   The input parameters don't match the service's restrictions.
 18102  //
 18103  //   * ForbiddenException
 18104  //   The client is permanently forbidden from making the request.
 18105  //
 18106  //   * NotFoundException
 18107  //   One or more of the resources in the request does not exist in the system.
 18108  //
 18109  //   * UnauthorizedClientException
 18110  //   The client is not currently authorized to make the request.
 18111  //
 18112  //   * ServiceUnavailableException
 18113  //   The service is currently unavailable.
 18114  //
 18115  //   * ServiceFailureException
 18116  //   The service encountered an unexpected error.
 18117  //
 18118  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/TagResource
 18119  func (c *Chime) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
 18120  	req, out := c.TagResourceRequest(input)
 18121  	return out, req.Send()
 18122  }
 18123  
 18124  // TagResourceWithContext is the same as TagResource with the addition of
 18125  // the ability to pass a context and additional request options.
 18126  //
 18127  // See TagResource for details on how to use this API operation.
 18128  //
 18129  // The context must be non-nil and will be used for request cancellation. If
 18130  // the context is nil a panic will occur. In the future the SDK may create
 18131  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 18132  // for more information on using Contexts.
 18133  func (c *Chime) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
 18134  	req, out := c.TagResourceRequest(input)
 18135  	req.SetContext(ctx)
 18136  	req.ApplyOptions(opts...)
 18137  	return out, req.Send()
 18138  }
 18139  
 18140  const opUntagAttendee = "UntagAttendee"
 18141  
 18142  // UntagAttendeeRequest generates a "aws/request.Request" representing the
 18143  // client's request for the UntagAttendee operation. The "output" return
 18144  // value will be populated with the request's response once the request completes
 18145  // successfully.
 18146  //
 18147  // Use "Send" method on the returned Request to send the API call to the service.
 18148  // the "output" return value is not valid until after Send returns without error.
 18149  //
 18150  // See UntagAttendee for more information on using the UntagAttendee
 18151  // API call, and error handling.
 18152  //
 18153  // This method is useful when you want to inject custom logic or configuration
 18154  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 18155  //
 18156  //
 18157  //    // Example sending a request using the UntagAttendeeRequest method.
 18158  //    req, resp := client.UntagAttendeeRequest(params)
 18159  //
 18160  //    err := req.Send()
 18161  //    if err == nil { // resp is now filled
 18162  //        fmt.Println(resp)
 18163  //    }
 18164  //
 18165  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UntagAttendee
 18166  func (c *Chime) UntagAttendeeRequest(input *UntagAttendeeInput) (req *request.Request, output *UntagAttendeeOutput) {
 18167  	op := &request.Operation{
 18168  		Name:       opUntagAttendee,
 18169  		HTTPMethod: "POST",
 18170  		HTTPPath:   "/meetings/{meetingId}/attendees/{attendeeId}/tags?operation=delete",
 18171  	}
 18172  
 18173  	if input == nil {
 18174  		input = &UntagAttendeeInput{}
 18175  	}
 18176  
 18177  	output = &UntagAttendeeOutput{}
 18178  	req = c.newRequest(op, input, output)
 18179  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
 18180  	return
 18181  }
 18182  
 18183  // UntagAttendee API operation for Amazon Chime.
 18184  //
 18185  // Untags the specified tags from the specified Amazon Chime SDK attendee.
 18186  //
 18187  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 18188  // with awserr.Error's Code and Message methods to get detailed information about
 18189  // the error.
 18190  //
 18191  // See the AWS API reference guide for Amazon Chime's
 18192  // API operation UntagAttendee for usage and error information.
 18193  //
 18194  // Returned Error Types:
 18195  //   * BadRequestException
 18196  //   The input parameters don't match the service's restrictions.
 18197  //
 18198  //   * ForbiddenException
 18199  //   The client is permanently forbidden from making the request.
 18200  //
 18201  //   * ThrottledClientException
 18202  //   The client exceeded its request rate limit.
 18203  //
 18204  //   * NotFoundException
 18205  //   One or more of the resources in the request does not exist in the system.
 18206  //
 18207  //   * UnauthorizedClientException
 18208  //   The client is not currently authorized to make the request.
 18209  //
 18210  //   * ServiceUnavailableException
 18211  //   The service is currently unavailable.
 18212  //
 18213  //   * ServiceFailureException
 18214  //   The service encountered an unexpected error.
 18215  //
 18216  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UntagAttendee
 18217  func (c *Chime) UntagAttendee(input *UntagAttendeeInput) (*UntagAttendeeOutput, error) {
 18218  	req, out := c.UntagAttendeeRequest(input)
 18219  	return out, req.Send()
 18220  }
 18221  
 18222  // UntagAttendeeWithContext is the same as UntagAttendee with the addition of
 18223  // the ability to pass a context and additional request options.
 18224  //
 18225  // See UntagAttendee for details on how to use this API operation.
 18226  //
 18227  // The context must be non-nil and will be used for request cancellation. If
 18228  // the context is nil a panic will occur. In the future the SDK may create
 18229  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 18230  // for more information on using Contexts.
 18231  func (c *Chime) UntagAttendeeWithContext(ctx aws.Context, input *UntagAttendeeInput, opts ...request.Option) (*UntagAttendeeOutput, error) {
 18232  	req, out := c.UntagAttendeeRequest(input)
 18233  	req.SetContext(ctx)
 18234  	req.ApplyOptions(opts...)
 18235  	return out, req.Send()
 18236  }
 18237  
 18238  const opUntagMeeting = "UntagMeeting"
 18239  
 18240  // UntagMeetingRequest generates a "aws/request.Request" representing the
 18241  // client's request for the UntagMeeting operation. The "output" return
 18242  // value will be populated with the request's response once the request completes
 18243  // successfully.
 18244  //
 18245  // Use "Send" method on the returned Request to send the API call to the service.
 18246  // the "output" return value is not valid until after Send returns without error.
 18247  //
 18248  // See UntagMeeting for more information on using the UntagMeeting
 18249  // API call, and error handling.
 18250  //
 18251  // This method is useful when you want to inject custom logic or configuration
 18252  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 18253  //
 18254  //
 18255  //    // Example sending a request using the UntagMeetingRequest method.
 18256  //    req, resp := client.UntagMeetingRequest(params)
 18257  //
 18258  //    err := req.Send()
 18259  //    if err == nil { // resp is now filled
 18260  //        fmt.Println(resp)
 18261  //    }
 18262  //
 18263  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UntagMeeting
 18264  func (c *Chime) UntagMeetingRequest(input *UntagMeetingInput) (req *request.Request, output *UntagMeetingOutput) {
 18265  	op := &request.Operation{
 18266  		Name:       opUntagMeeting,
 18267  		HTTPMethod: "POST",
 18268  		HTTPPath:   "/meetings/{meetingId}/tags?operation=delete",
 18269  	}
 18270  
 18271  	if input == nil {
 18272  		input = &UntagMeetingInput{}
 18273  	}
 18274  
 18275  	output = &UntagMeetingOutput{}
 18276  	req = c.newRequest(op, input, output)
 18277  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
 18278  	return
 18279  }
 18280  
 18281  // UntagMeeting API operation for Amazon Chime.
 18282  //
 18283  // Untags the specified tags from the specified Amazon Chime SDK meeting.
 18284  //
 18285  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 18286  // with awserr.Error's Code and Message methods to get detailed information about
 18287  // the error.
 18288  //
 18289  // See the AWS API reference guide for Amazon Chime's
 18290  // API operation UntagMeeting for usage and error information.
 18291  //
 18292  // Returned Error Types:
 18293  //   * BadRequestException
 18294  //   The input parameters don't match the service's restrictions.
 18295  //
 18296  //   * ForbiddenException
 18297  //   The client is permanently forbidden from making the request.
 18298  //
 18299  //   * ThrottledClientException
 18300  //   The client exceeded its request rate limit.
 18301  //
 18302  //   * NotFoundException
 18303  //   One or more of the resources in the request does not exist in the system.
 18304  //
 18305  //   * UnauthorizedClientException
 18306  //   The client is not currently authorized to make the request.
 18307  //
 18308  //   * ServiceUnavailableException
 18309  //   The service is currently unavailable.
 18310  //
 18311  //   * ServiceFailureException
 18312  //   The service encountered an unexpected error.
 18313  //
 18314  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UntagMeeting
 18315  func (c *Chime) UntagMeeting(input *UntagMeetingInput) (*UntagMeetingOutput, error) {
 18316  	req, out := c.UntagMeetingRequest(input)
 18317  	return out, req.Send()
 18318  }
 18319  
 18320  // UntagMeetingWithContext is the same as UntagMeeting with the addition of
 18321  // the ability to pass a context and additional request options.
 18322  //
 18323  // See UntagMeeting for details on how to use this API operation.
 18324  //
 18325  // The context must be non-nil and will be used for request cancellation. If
 18326  // the context is nil a panic will occur. In the future the SDK may create
 18327  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 18328  // for more information on using Contexts.
 18329  func (c *Chime) UntagMeetingWithContext(ctx aws.Context, input *UntagMeetingInput, opts ...request.Option) (*UntagMeetingOutput, error) {
 18330  	req, out := c.UntagMeetingRequest(input)
 18331  	req.SetContext(ctx)
 18332  	req.ApplyOptions(opts...)
 18333  	return out, req.Send()
 18334  }
 18335  
 18336  const opUntagResource = "UntagResource"
 18337  
 18338  // UntagResourceRequest generates a "aws/request.Request" representing the
 18339  // client's request for the UntagResource operation. The "output" return
 18340  // value will be populated with the request's response once the request completes
 18341  // successfully.
 18342  //
 18343  // Use "Send" method on the returned Request to send the API call to the service.
 18344  // the "output" return value is not valid until after Send returns without error.
 18345  //
 18346  // See UntagResource for more information on using the UntagResource
 18347  // API call, and error handling.
 18348  //
 18349  // This method is useful when you want to inject custom logic or configuration
 18350  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 18351  //
 18352  //
 18353  //    // Example sending a request using the UntagResourceRequest method.
 18354  //    req, resp := client.UntagResourceRequest(params)
 18355  //
 18356  //    err := req.Send()
 18357  //    if err == nil { // resp is now filled
 18358  //        fmt.Println(resp)
 18359  //    }
 18360  //
 18361  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UntagResource
 18362  func (c *Chime) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
 18363  	op := &request.Operation{
 18364  		Name:       opUntagResource,
 18365  		HTTPMethod: "POST",
 18366  		HTTPPath:   "/tags?operation=untag-resource",
 18367  	}
 18368  
 18369  	if input == nil {
 18370  		input = &UntagResourceInput{}
 18371  	}
 18372  
 18373  	output = &UntagResourceOutput{}
 18374  	req = c.newRequest(op, input, output)
 18375  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
 18376  	return
 18377  }
 18378  
 18379  // UntagResource API operation for Amazon Chime.
 18380  //
 18381  // Untags the specified tags from the specified Amazon Chime SDK meeting resource.
 18382  //
 18383  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 18384  // with awserr.Error's Code and Message methods to get detailed information about
 18385  // the error.
 18386  //
 18387  // See the AWS API reference guide for Amazon Chime's
 18388  // API operation UntagResource for usage and error information.
 18389  //
 18390  // Returned Error Types:
 18391  //   * BadRequestException
 18392  //   The input parameters don't match the service's restrictions.
 18393  //
 18394  //   * ForbiddenException
 18395  //   The client is permanently forbidden from making the request.
 18396  //
 18397  //   * NotFoundException
 18398  //   One or more of the resources in the request does not exist in the system.
 18399  //
 18400  //   * UnauthorizedClientException
 18401  //   The client is not currently authorized to make the request.
 18402  //
 18403  //   * ServiceUnavailableException
 18404  //   The service is currently unavailable.
 18405  //
 18406  //   * ServiceFailureException
 18407  //   The service encountered an unexpected error.
 18408  //
 18409  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UntagResource
 18410  func (c *Chime) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
 18411  	req, out := c.UntagResourceRequest(input)
 18412  	return out, req.Send()
 18413  }
 18414  
 18415  // UntagResourceWithContext is the same as UntagResource with the addition of
 18416  // the ability to pass a context and additional request options.
 18417  //
 18418  // See UntagResource for details on how to use this API operation.
 18419  //
 18420  // The context must be non-nil and will be used for request cancellation. If
 18421  // the context is nil a panic will occur. In the future the SDK may create
 18422  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 18423  // for more information on using Contexts.
 18424  func (c *Chime) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
 18425  	req, out := c.UntagResourceRequest(input)
 18426  	req.SetContext(ctx)
 18427  	req.ApplyOptions(opts...)
 18428  	return out, req.Send()
 18429  }
 18430  
 18431  const opUpdateAccount = "UpdateAccount"
 18432  
 18433  // UpdateAccountRequest generates a "aws/request.Request" representing the
 18434  // client's request for the UpdateAccount operation. The "output" return
 18435  // value will be populated with the request's response once the request completes
 18436  // successfully.
 18437  //
 18438  // Use "Send" method on the returned Request to send the API call to the service.
 18439  // the "output" return value is not valid until after Send returns without error.
 18440  //
 18441  // See UpdateAccount for more information on using the UpdateAccount
 18442  // API call, and error handling.
 18443  //
 18444  // This method is useful when you want to inject custom logic or configuration
 18445  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 18446  //
 18447  //
 18448  //    // Example sending a request using the UpdateAccountRequest method.
 18449  //    req, resp := client.UpdateAccountRequest(params)
 18450  //
 18451  //    err := req.Send()
 18452  //    if err == nil { // resp is now filled
 18453  //        fmt.Println(resp)
 18454  //    }
 18455  //
 18456  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAccount
 18457  func (c *Chime) UpdateAccountRequest(input *UpdateAccountInput) (req *request.Request, output *UpdateAccountOutput) {
 18458  	op := &request.Operation{
 18459  		Name:       opUpdateAccount,
 18460  		HTTPMethod: "POST",
 18461  		HTTPPath:   "/accounts/{accountId}",
 18462  	}
 18463  
 18464  	if input == nil {
 18465  		input = &UpdateAccountInput{}
 18466  	}
 18467  
 18468  	output = &UpdateAccountOutput{}
 18469  	req = c.newRequest(op, input, output)
 18470  	return
 18471  }
 18472  
 18473  // UpdateAccount API operation for Amazon Chime.
 18474  //
 18475  // Updates account details for the specified Amazon Chime account. Currently,
 18476  // only account name and default license updates are supported for this action.
 18477  //
 18478  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 18479  // with awserr.Error's Code and Message methods to get detailed information about
 18480  // the error.
 18481  //
 18482  // See the AWS API reference guide for Amazon Chime's
 18483  // API operation UpdateAccount for usage and error information.
 18484  //
 18485  // Returned Error Types:
 18486  //   * UnauthorizedClientException
 18487  //   The client is not currently authorized to make the request.
 18488  //
 18489  //   * NotFoundException
 18490  //   One or more of the resources in the request does not exist in the system.
 18491  //
 18492  //   * ForbiddenException
 18493  //   The client is permanently forbidden from making the request.
 18494  //
 18495  //   * BadRequestException
 18496  //   The input parameters don't match the service's restrictions.
 18497  //
 18498  //   * ThrottledClientException
 18499  //   The client exceeded its request rate limit.
 18500  //
 18501  //   * ServiceUnavailableException
 18502  //   The service is currently unavailable.
 18503  //
 18504  //   * ServiceFailureException
 18505  //   The service encountered an unexpected error.
 18506  //
 18507  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAccount
 18508  func (c *Chime) UpdateAccount(input *UpdateAccountInput) (*UpdateAccountOutput, error) {
 18509  	req, out := c.UpdateAccountRequest(input)
 18510  	return out, req.Send()
 18511  }
 18512  
 18513  // UpdateAccountWithContext is the same as UpdateAccount with the addition of
 18514  // the ability to pass a context and additional request options.
 18515  //
 18516  // See UpdateAccount for details on how to use this API operation.
 18517  //
 18518  // The context must be non-nil and will be used for request cancellation. If
 18519  // the context is nil a panic will occur. In the future the SDK may create
 18520  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 18521  // for more information on using Contexts.
 18522  func (c *Chime) UpdateAccountWithContext(ctx aws.Context, input *UpdateAccountInput, opts ...request.Option) (*UpdateAccountOutput, error) {
 18523  	req, out := c.UpdateAccountRequest(input)
 18524  	req.SetContext(ctx)
 18525  	req.ApplyOptions(opts...)
 18526  	return out, req.Send()
 18527  }
 18528  
 18529  const opUpdateAccountSettings = "UpdateAccountSettings"
 18530  
 18531  // UpdateAccountSettingsRequest generates a "aws/request.Request" representing the
 18532  // client's request for the UpdateAccountSettings operation. The "output" return
 18533  // value will be populated with the request's response once the request completes
 18534  // successfully.
 18535  //
 18536  // Use "Send" method on the returned Request to send the API call to the service.
 18537  // the "output" return value is not valid until after Send returns without error.
 18538  //
 18539  // See UpdateAccountSettings for more information on using the UpdateAccountSettings
 18540  // API call, and error handling.
 18541  //
 18542  // This method is useful when you want to inject custom logic or configuration
 18543  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 18544  //
 18545  //
 18546  //    // Example sending a request using the UpdateAccountSettingsRequest method.
 18547  //    req, resp := client.UpdateAccountSettingsRequest(params)
 18548  //
 18549  //    err := req.Send()
 18550  //    if err == nil { // resp is now filled
 18551  //        fmt.Println(resp)
 18552  //    }
 18553  //
 18554  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAccountSettings
 18555  func (c *Chime) UpdateAccountSettingsRequest(input *UpdateAccountSettingsInput) (req *request.Request, output *UpdateAccountSettingsOutput) {
 18556  	op := &request.Operation{
 18557  		Name:       opUpdateAccountSettings,
 18558  		HTTPMethod: "PUT",
 18559  		HTTPPath:   "/accounts/{accountId}/settings",
 18560  	}
 18561  
 18562  	if input == nil {
 18563  		input = &UpdateAccountSettingsInput{}
 18564  	}
 18565  
 18566  	output = &UpdateAccountSettingsOutput{}
 18567  	req = c.newRequest(op, input, output)
 18568  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
 18569  	return
 18570  }
 18571  
 18572  // UpdateAccountSettings API operation for Amazon Chime.
 18573  //
 18574  // Updates the settings for the specified Amazon Chime account. You can update
 18575  // settings for remote control of shared screens, or for the dial-out option.
 18576  // For more information about these settings, see Use the Policies Page (https://docs.aws.amazon.com/chime/latest/ag/policies.html)
 18577  // in the Amazon Chime Administration Guide.
 18578  //
 18579  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 18580  // with awserr.Error's Code and Message methods to get detailed information about
 18581  // the error.
 18582  //
 18583  // See the AWS API reference guide for Amazon Chime's
 18584  // API operation UpdateAccountSettings for usage and error information.
 18585  //
 18586  // Returned Error Types:
 18587  //   * UnauthorizedClientException
 18588  //   The client is not currently authorized to make the request.
 18589  //
 18590  //   * NotFoundException
 18591  //   One or more of the resources in the request does not exist in the system.
 18592  //
 18593  //   * BadRequestException
 18594  //   The input parameters don't match the service's restrictions.
 18595  //
 18596  //   * ForbiddenException
 18597  //   The client is permanently forbidden from making the request.
 18598  //
 18599  //   * ConflictException
 18600  //   The request could not be processed because of conflict in the current state
 18601  //   of the resource.
 18602  //
 18603  //   * ThrottledClientException
 18604  //   The client exceeded its request rate limit.
 18605  //
 18606  //   * ServiceUnavailableException
 18607  //   The service is currently unavailable.
 18608  //
 18609  //   * ServiceFailureException
 18610  //   The service encountered an unexpected error.
 18611  //
 18612  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAccountSettings
 18613  func (c *Chime) UpdateAccountSettings(input *UpdateAccountSettingsInput) (*UpdateAccountSettingsOutput, error) {
 18614  	req, out := c.UpdateAccountSettingsRequest(input)
 18615  	return out, req.Send()
 18616  }
 18617  
 18618  // UpdateAccountSettingsWithContext is the same as UpdateAccountSettings with the addition of
 18619  // the ability to pass a context and additional request options.
 18620  //
 18621  // See UpdateAccountSettings for details on how to use this API operation.
 18622  //
 18623  // The context must be non-nil and will be used for request cancellation. If
 18624  // the context is nil a panic will occur. In the future the SDK may create
 18625  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 18626  // for more information on using Contexts.
 18627  func (c *Chime) UpdateAccountSettingsWithContext(ctx aws.Context, input *UpdateAccountSettingsInput, opts ...request.Option) (*UpdateAccountSettingsOutput, error) {
 18628  	req, out := c.UpdateAccountSettingsRequest(input)
 18629  	req.SetContext(ctx)
 18630  	req.ApplyOptions(opts...)
 18631  	return out, req.Send()
 18632  }
 18633  
 18634  const opUpdateAppInstance = "UpdateAppInstance"
 18635  
 18636  // UpdateAppInstanceRequest generates a "aws/request.Request" representing the
 18637  // client's request for the UpdateAppInstance operation. The "output" return
 18638  // value will be populated with the request's response once the request completes
 18639  // successfully.
 18640  //
 18641  // Use "Send" method on the returned Request to send the API call to the service.
 18642  // the "output" return value is not valid until after Send returns without error.
 18643  //
 18644  // See UpdateAppInstance for more information on using the UpdateAppInstance
 18645  // API call, and error handling.
 18646  //
 18647  // This method is useful when you want to inject custom logic or configuration
 18648  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 18649  //
 18650  //
 18651  //    // Example sending a request using the UpdateAppInstanceRequest method.
 18652  //    req, resp := client.UpdateAppInstanceRequest(params)
 18653  //
 18654  //    err := req.Send()
 18655  //    if err == nil { // resp is now filled
 18656  //        fmt.Println(resp)
 18657  //    }
 18658  //
 18659  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAppInstance
 18660  func (c *Chime) UpdateAppInstanceRequest(input *UpdateAppInstanceInput) (req *request.Request, output *UpdateAppInstanceOutput) {
 18661  	op := &request.Operation{
 18662  		Name:       opUpdateAppInstance,
 18663  		HTTPMethod: "PUT",
 18664  		HTTPPath:   "/app-instances/{appInstanceArn}",
 18665  	}
 18666  
 18667  	if input == nil {
 18668  		input = &UpdateAppInstanceInput{}
 18669  	}
 18670  
 18671  	output = &UpdateAppInstanceOutput{}
 18672  	req = c.newRequest(op, input, output)
 18673  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
 18674  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
 18675  	return
 18676  }
 18677  
 18678  // UpdateAppInstance API operation for Amazon Chime.
 18679  //
 18680  // Updates AppInstance metadata.
 18681  //
 18682  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 18683  // with awserr.Error's Code and Message methods to get detailed information about
 18684  // the error.
 18685  //
 18686  // See the AWS API reference guide for Amazon Chime's
 18687  // API operation UpdateAppInstance for usage and error information.
 18688  //
 18689  // Returned Error Types:
 18690  //   * BadRequestException
 18691  //   The input parameters don't match the service's restrictions.
 18692  //
 18693  //   * ConflictException
 18694  //   The request could not be processed because of conflict in the current state
 18695  //   of the resource.
 18696  //
 18697  //   * ForbiddenException
 18698  //   The client is permanently forbidden from making the request.
 18699  //
 18700  //   * ThrottledClientException
 18701  //   The client exceeded its request rate limit.
 18702  //
 18703  //   * UnauthorizedClientException
 18704  //   The client is not currently authorized to make the request.
 18705  //
 18706  //   * ServiceUnavailableException
 18707  //   The service is currently unavailable.
 18708  //
 18709  //   * ServiceFailureException
 18710  //   The service encountered an unexpected error.
 18711  //
 18712  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAppInstance
 18713  func (c *Chime) UpdateAppInstance(input *UpdateAppInstanceInput) (*UpdateAppInstanceOutput, error) {
 18714  	req, out := c.UpdateAppInstanceRequest(input)
 18715  	return out, req.Send()
 18716  }
 18717  
 18718  // UpdateAppInstanceWithContext is the same as UpdateAppInstance with the addition of
 18719  // the ability to pass a context and additional request options.
 18720  //
 18721  // See UpdateAppInstance for details on how to use this API operation.
 18722  //
 18723  // The context must be non-nil and will be used for request cancellation. If
 18724  // the context is nil a panic will occur. In the future the SDK may create
 18725  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 18726  // for more information on using Contexts.
 18727  func (c *Chime) UpdateAppInstanceWithContext(ctx aws.Context, input *UpdateAppInstanceInput, opts ...request.Option) (*UpdateAppInstanceOutput, error) {
 18728  	req, out := c.UpdateAppInstanceRequest(input)
 18729  	req.SetContext(ctx)
 18730  	req.ApplyOptions(opts...)
 18731  	return out, req.Send()
 18732  }
 18733  
 18734  const opUpdateAppInstanceUser = "UpdateAppInstanceUser"
 18735  
 18736  // UpdateAppInstanceUserRequest generates a "aws/request.Request" representing the
 18737  // client's request for the UpdateAppInstanceUser operation. The "output" return
 18738  // value will be populated with the request's response once the request completes
 18739  // successfully.
 18740  //
 18741  // Use "Send" method on the returned Request to send the API call to the service.
 18742  // the "output" return value is not valid until after Send returns without error.
 18743  //
 18744  // See UpdateAppInstanceUser for more information on using the UpdateAppInstanceUser
 18745  // API call, and error handling.
 18746  //
 18747  // This method is useful when you want to inject custom logic or configuration
 18748  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 18749  //
 18750  //
 18751  //    // Example sending a request using the UpdateAppInstanceUserRequest method.
 18752  //    req, resp := client.UpdateAppInstanceUserRequest(params)
 18753  //
 18754  //    err := req.Send()
 18755  //    if err == nil { // resp is now filled
 18756  //        fmt.Println(resp)
 18757  //    }
 18758  //
 18759  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAppInstanceUser
 18760  func (c *Chime) UpdateAppInstanceUserRequest(input *UpdateAppInstanceUserInput) (req *request.Request, output *UpdateAppInstanceUserOutput) {
 18761  	op := &request.Operation{
 18762  		Name:       opUpdateAppInstanceUser,
 18763  		HTTPMethod: "PUT",
 18764  		HTTPPath:   "/app-instance-users/{appInstanceUserArn}",
 18765  	}
 18766  
 18767  	if input == nil {
 18768  		input = &UpdateAppInstanceUserInput{}
 18769  	}
 18770  
 18771  	output = &UpdateAppInstanceUserOutput{}
 18772  	req = c.newRequest(op, input, output)
 18773  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("identity-", nil))
 18774  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
 18775  	return
 18776  }
 18777  
 18778  // UpdateAppInstanceUser API operation for Amazon Chime.
 18779  //
 18780  // Updates the details of an AppInstanceUser. You can update names and metadata.
 18781  //
 18782  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 18783  // with awserr.Error's Code and Message methods to get detailed information about
 18784  // the error.
 18785  //
 18786  // See the AWS API reference guide for Amazon Chime's
 18787  // API operation UpdateAppInstanceUser for usage and error information.
 18788  //
 18789  // Returned Error Types:
 18790  //   * BadRequestException
 18791  //   The input parameters don't match the service's restrictions.
 18792  //
 18793  //   * ConflictException
 18794  //   The request could not be processed because of conflict in the current state
 18795  //   of the resource.
 18796  //
 18797  //   * ForbiddenException
 18798  //   The client is permanently forbidden from making the request.
 18799  //
 18800  //   * ThrottledClientException
 18801  //   The client exceeded its request rate limit.
 18802  //
 18803  //   * UnauthorizedClientException
 18804  //   The client is not currently authorized to make the request.
 18805  //
 18806  //   * ServiceUnavailableException
 18807  //   The service is currently unavailable.
 18808  //
 18809  //   * ServiceFailureException
 18810  //   The service encountered an unexpected error.
 18811  //
 18812  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAppInstanceUser
 18813  func (c *Chime) UpdateAppInstanceUser(input *UpdateAppInstanceUserInput) (*UpdateAppInstanceUserOutput, error) {
 18814  	req, out := c.UpdateAppInstanceUserRequest(input)
 18815  	return out, req.Send()
 18816  }
 18817  
 18818  // UpdateAppInstanceUserWithContext is the same as UpdateAppInstanceUser with the addition of
 18819  // the ability to pass a context and additional request options.
 18820  //
 18821  // See UpdateAppInstanceUser for details on how to use this API operation.
 18822  //
 18823  // The context must be non-nil and will be used for request cancellation. If
 18824  // the context is nil a panic will occur. In the future the SDK may create
 18825  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 18826  // for more information on using Contexts.
 18827  func (c *Chime) UpdateAppInstanceUserWithContext(ctx aws.Context, input *UpdateAppInstanceUserInput, opts ...request.Option) (*UpdateAppInstanceUserOutput, error) {
 18828  	req, out := c.UpdateAppInstanceUserRequest(input)
 18829  	req.SetContext(ctx)
 18830  	req.ApplyOptions(opts...)
 18831  	return out, req.Send()
 18832  }
 18833  
 18834  const opUpdateBot = "UpdateBot"
 18835  
 18836  // UpdateBotRequest generates a "aws/request.Request" representing the
 18837  // client's request for the UpdateBot operation. The "output" return
 18838  // value will be populated with the request's response once the request completes
 18839  // successfully.
 18840  //
 18841  // Use "Send" method on the returned Request to send the API call to the service.
 18842  // the "output" return value is not valid until after Send returns without error.
 18843  //
 18844  // See UpdateBot for more information on using the UpdateBot
 18845  // API call, and error handling.
 18846  //
 18847  // This method is useful when you want to inject custom logic or configuration
 18848  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 18849  //
 18850  //
 18851  //    // Example sending a request using the UpdateBotRequest method.
 18852  //    req, resp := client.UpdateBotRequest(params)
 18853  //
 18854  //    err := req.Send()
 18855  //    if err == nil { // resp is now filled
 18856  //        fmt.Println(resp)
 18857  //    }
 18858  //
 18859  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateBot
 18860  func (c *Chime) UpdateBotRequest(input *UpdateBotInput) (req *request.Request, output *UpdateBotOutput) {
 18861  	op := &request.Operation{
 18862  		Name:       opUpdateBot,
 18863  		HTTPMethod: "POST",
 18864  		HTTPPath:   "/accounts/{accountId}/bots/{botId}",
 18865  	}
 18866  
 18867  	if input == nil {
 18868  		input = &UpdateBotInput{}
 18869  	}
 18870  
 18871  	output = &UpdateBotOutput{}
 18872  	req = c.newRequest(op, input, output)
 18873  	return
 18874  }
 18875  
 18876  // UpdateBot API operation for Amazon Chime.
 18877  //
 18878  // Updates the status of the specified bot, such as starting or stopping the
 18879  // bot from running in your Amazon Chime Enterprise account.
 18880  //
 18881  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 18882  // with awserr.Error's Code and Message methods to get detailed information about
 18883  // the error.
 18884  //
 18885  // See the AWS API reference guide for Amazon Chime's
 18886  // API operation UpdateBot for usage and error information.
 18887  //
 18888  // Returned Error Types:
 18889  //   * ServiceUnavailableException
 18890  //   The service is currently unavailable.
 18891  //
 18892  //   * ServiceFailureException
 18893  //   The service encountered an unexpected error.
 18894  //
 18895  //   * ForbiddenException
 18896  //   The client is permanently forbidden from making the request.
 18897  //
 18898  //   * BadRequestException
 18899  //   The input parameters don't match the service's restrictions.
 18900  //
 18901  //   * UnauthorizedClientException
 18902  //   The client is not currently authorized to make the request.
 18903  //
 18904  //   * NotFoundException
 18905  //   One or more of the resources in the request does not exist in the system.
 18906  //
 18907  //   * ThrottledClientException
 18908  //   The client exceeded its request rate limit.
 18909  //
 18910  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateBot
 18911  func (c *Chime) UpdateBot(input *UpdateBotInput) (*UpdateBotOutput, error) {
 18912  	req, out := c.UpdateBotRequest(input)
 18913  	return out, req.Send()
 18914  }
 18915  
 18916  // UpdateBotWithContext is the same as UpdateBot with the addition of
 18917  // the ability to pass a context and additional request options.
 18918  //
 18919  // See UpdateBot for details on how to use this API operation.
 18920  //
 18921  // The context must be non-nil and will be used for request cancellation. If
 18922  // the context is nil a panic will occur. In the future the SDK may create
 18923  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 18924  // for more information on using Contexts.
 18925  func (c *Chime) UpdateBotWithContext(ctx aws.Context, input *UpdateBotInput, opts ...request.Option) (*UpdateBotOutput, error) {
 18926  	req, out := c.UpdateBotRequest(input)
 18927  	req.SetContext(ctx)
 18928  	req.ApplyOptions(opts...)
 18929  	return out, req.Send()
 18930  }
 18931  
 18932  const opUpdateChannel = "UpdateChannel"
 18933  
 18934  // UpdateChannelRequest generates a "aws/request.Request" representing the
 18935  // client's request for the UpdateChannel operation. The "output" return
 18936  // value will be populated with the request's response once the request completes
 18937  // successfully.
 18938  //
 18939  // Use "Send" method on the returned Request to send the API call to the service.
 18940  // the "output" return value is not valid until after Send returns without error.
 18941  //
 18942  // See UpdateChannel for more information on using the UpdateChannel
 18943  // API call, and error handling.
 18944  //
 18945  // This method is useful when you want to inject custom logic or configuration
 18946  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 18947  //
 18948  //
 18949  //    // Example sending a request using the UpdateChannelRequest method.
 18950  //    req, resp := client.UpdateChannelRequest(params)
 18951  //
 18952  //    err := req.Send()
 18953  //    if err == nil { // resp is now filled
 18954  //        fmt.Println(resp)
 18955  //    }
 18956  //
 18957  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateChannel
 18958  func (c *Chime) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput) {
 18959  	op := &request.Operation{
 18960  		Name:       opUpdateChannel,
 18961  		HTTPMethod: "PUT",
 18962  		HTTPPath:   "/channels/{channelArn}",
 18963  	}
 18964  
 18965  	if input == nil {
 18966  		input = &UpdateChannelInput{}
 18967  	}
 18968  
 18969  	output = &UpdateChannelOutput{}
 18970  	req = c.newRequest(op, input, output)
 18971  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
 18972  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
 18973  	return
 18974  }
 18975  
 18976  // UpdateChannel API operation for Amazon Chime.
 18977  //
 18978  // Update a channel's attributes.
 18979  //
 18980  // Restriction: You can't change a channel's privacy.
 18981  //
 18982  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
 18983  // of the user that makes the API call as the value in the header.
 18984  //
 18985  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 18986  // with awserr.Error's Code and Message methods to get detailed information about
 18987  // the error.
 18988  //
 18989  // See the AWS API reference guide for Amazon Chime's
 18990  // API operation UpdateChannel for usage and error information.
 18991  //
 18992  // Returned Error Types:
 18993  //   * BadRequestException
 18994  //   The input parameters don't match the service's restrictions.
 18995  //
 18996  //   * ForbiddenException
 18997  //   The client is permanently forbidden from making the request.
 18998  //
 18999  //   * ConflictException
 19000  //   The request could not be processed because of conflict in the current state
 19001  //   of the resource.
 19002  //
 19003  //   * UnauthorizedClientException
 19004  //   The client is not currently authorized to make the request.
 19005  //
 19006  //   * ThrottledClientException
 19007  //   The client exceeded its request rate limit.
 19008  //
 19009  //   * ServiceUnavailableException
 19010  //   The service is currently unavailable.
 19011  //
 19012  //   * ServiceFailureException
 19013  //   The service encountered an unexpected error.
 19014  //
 19015  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateChannel
 19016  func (c *Chime) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error) {
 19017  	req, out := c.UpdateChannelRequest(input)
 19018  	return out, req.Send()
 19019  }
 19020  
 19021  // UpdateChannelWithContext is the same as UpdateChannel with the addition of
 19022  // the ability to pass a context and additional request options.
 19023  //
 19024  // See UpdateChannel for details on how to use this API operation.
 19025  //
 19026  // The context must be non-nil and will be used for request cancellation. If
 19027  // the context is nil a panic will occur. In the future the SDK may create
 19028  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 19029  // for more information on using Contexts.
 19030  func (c *Chime) UpdateChannelWithContext(ctx aws.Context, input *UpdateChannelInput, opts ...request.Option) (*UpdateChannelOutput, error) {
 19031  	req, out := c.UpdateChannelRequest(input)
 19032  	req.SetContext(ctx)
 19033  	req.ApplyOptions(opts...)
 19034  	return out, req.Send()
 19035  }
 19036  
 19037  const opUpdateChannelMessage = "UpdateChannelMessage"
 19038  
 19039  // UpdateChannelMessageRequest generates a "aws/request.Request" representing the
 19040  // client's request for the UpdateChannelMessage operation. The "output" return
 19041  // value will be populated with the request's response once the request completes
 19042  // successfully.
 19043  //
 19044  // Use "Send" method on the returned Request to send the API call to the service.
 19045  // the "output" return value is not valid until after Send returns without error.
 19046  //
 19047  // See UpdateChannelMessage for more information on using the UpdateChannelMessage
 19048  // API call, and error handling.
 19049  //
 19050  // This method is useful when you want to inject custom logic or configuration
 19051  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 19052  //
 19053  //
 19054  //    // Example sending a request using the UpdateChannelMessageRequest method.
 19055  //    req, resp := client.UpdateChannelMessageRequest(params)
 19056  //
 19057  //    err := req.Send()
 19058  //    if err == nil { // resp is now filled
 19059  //        fmt.Println(resp)
 19060  //    }
 19061  //
 19062  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateChannelMessage
 19063  func (c *Chime) UpdateChannelMessageRequest(input *UpdateChannelMessageInput) (req *request.Request, output *UpdateChannelMessageOutput) {
 19064  	op := &request.Operation{
 19065  		Name:       opUpdateChannelMessage,
 19066  		HTTPMethod: "PUT",
 19067  		HTTPPath:   "/channels/{channelArn}/messages/{messageId}",
 19068  	}
 19069  
 19070  	if input == nil {
 19071  		input = &UpdateChannelMessageInput{}
 19072  	}
 19073  
 19074  	output = &UpdateChannelMessageOutput{}
 19075  	req = c.newRequest(op, input, output)
 19076  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
 19077  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
 19078  	return
 19079  }
 19080  
 19081  // UpdateChannelMessage API operation for Amazon Chime.
 19082  //
 19083  // Updates the content of a message.
 19084  //
 19085  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
 19086  // of the user that makes the API call as the value in the header.
 19087  //
 19088  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 19089  // with awserr.Error's Code and Message methods to get detailed information about
 19090  // the error.
 19091  //
 19092  // See the AWS API reference guide for Amazon Chime's
 19093  // API operation UpdateChannelMessage for usage and error information.
 19094  //
 19095  // Returned Error Types:
 19096  //   * BadRequestException
 19097  //   The input parameters don't match the service's restrictions.
 19098  //
 19099  //   * ConflictException
 19100  //   The request could not be processed because of conflict in the current state
 19101  //   of the resource.
 19102  //
 19103  //   * ForbiddenException
 19104  //   The client is permanently forbidden from making the request.
 19105  //
 19106  //   * UnauthorizedClientException
 19107  //   The client is not currently authorized to make the request.
 19108  //
 19109  //   * ThrottledClientException
 19110  //   The client exceeded its request rate limit.
 19111  //
 19112  //   * ServiceUnavailableException
 19113  //   The service is currently unavailable.
 19114  //
 19115  //   * ServiceFailureException
 19116  //   The service encountered an unexpected error.
 19117  //
 19118  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateChannelMessage
 19119  func (c *Chime) UpdateChannelMessage(input *UpdateChannelMessageInput) (*UpdateChannelMessageOutput, error) {
 19120  	req, out := c.UpdateChannelMessageRequest(input)
 19121  	return out, req.Send()
 19122  }
 19123  
 19124  // UpdateChannelMessageWithContext is the same as UpdateChannelMessage with the addition of
 19125  // the ability to pass a context and additional request options.
 19126  //
 19127  // See UpdateChannelMessage for details on how to use this API operation.
 19128  //
 19129  // The context must be non-nil and will be used for request cancellation. If
 19130  // the context is nil a panic will occur. In the future the SDK may create
 19131  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 19132  // for more information on using Contexts.
 19133  func (c *Chime) UpdateChannelMessageWithContext(ctx aws.Context, input *UpdateChannelMessageInput, opts ...request.Option) (*UpdateChannelMessageOutput, error) {
 19134  	req, out := c.UpdateChannelMessageRequest(input)
 19135  	req.SetContext(ctx)
 19136  	req.ApplyOptions(opts...)
 19137  	return out, req.Send()
 19138  }
 19139  
 19140  const opUpdateChannelReadMarker = "UpdateChannelReadMarker"
 19141  
 19142  // UpdateChannelReadMarkerRequest generates a "aws/request.Request" representing the
 19143  // client's request for the UpdateChannelReadMarker operation. The "output" return
 19144  // value will be populated with the request's response once the request completes
 19145  // successfully.
 19146  //
 19147  // Use "Send" method on the returned Request to send the API call to the service.
 19148  // the "output" return value is not valid until after Send returns without error.
 19149  //
 19150  // See UpdateChannelReadMarker for more information on using the UpdateChannelReadMarker
 19151  // API call, and error handling.
 19152  //
 19153  // This method is useful when you want to inject custom logic or configuration
 19154  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 19155  //
 19156  //
 19157  //    // Example sending a request using the UpdateChannelReadMarkerRequest method.
 19158  //    req, resp := client.UpdateChannelReadMarkerRequest(params)
 19159  //
 19160  //    err := req.Send()
 19161  //    if err == nil { // resp is now filled
 19162  //        fmt.Println(resp)
 19163  //    }
 19164  //
 19165  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateChannelReadMarker
 19166  func (c *Chime) UpdateChannelReadMarkerRequest(input *UpdateChannelReadMarkerInput) (req *request.Request, output *UpdateChannelReadMarkerOutput) {
 19167  	op := &request.Operation{
 19168  		Name:       opUpdateChannelReadMarker,
 19169  		HTTPMethod: "PUT",
 19170  		HTTPPath:   "/channels/{channelArn}/readMarker",
 19171  	}
 19172  
 19173  	if input == nil {
 19174  		input = &UpdateChannelReadMarkerInput{}
 19175  	}
 19176  
 19177  	output = &UpdateChannelReadMarkerOutput{}
 19178  	req = c.newRequest(op, input, output)
 19179  	req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("messaging-", nil))
 19180  	req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler)
 19181  	return
 19182  }
 19183  
 19184  // UpdateChannelReadMarker API operation for Amazon Chime.
 19185  //
 19186  // The details of the time when a user last read messages in a channel.
 19187  //
 19188  // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
 19189  // of the user that makes the API call as the value in the header.
 19190  //
 19191  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 19192  // with awserr.Error's Code and Message methods to get detailed information about
 19193  // the error.
 19194  //
 19195  // See the AWS API reference guide for Amazon Chime's
 19196  // API operation UpdateChannelReadMarker for usage and error information.
 19197  //
 19198  // Returned Error Types:
 19199  //   * BadRequestException
 19200  //   The input parameters don't match the service's restrictions.
 19201  //
 19202  //   * ForbiddenException
 19203  //   The client is permanently forbidden from making the request.
 19204  //
 19205  //   * ConflictException
 19206  //   The request could not be processed because of conflict in the current state
 19207  //   of the resource.
 19208  //
 19209  //   * UnauthorizedClientException
 19210  //   The client is not currently authorized to make the request.
 19211  //
 19212  //   * ThrottledClientException
 19213  //   The client exceeded its request rate limit.
 19214  //
 19215  //   * ServiceUnavailableException
 19216  //   The service is currently unavailable.
 19217  //
 19218  //   * ServiceFailureException
 19219  //   The service encountered an unexpected error.
 19220  //
 19221  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateChannelReadMarker
 19222  func (c *Chime) UpdateChannelReadMarker(input *UpdateChannelReadMarkerInput) (*UpdateChannelReadMarkerOutput, error) {
 19223  	req, out := c.UpdateChannelReadMarkerRequest(input)
 19224  	return out, req.Send()
 19225  }
 19226  
 19227  // UpdateChannelReadMarkerWithContext is the same as UpdateChannelReadMarker with the addition of
 19228  // the ability to pass a context and additional request options.
 19229  //
 19230  // See UpdateChannelReadMarker for details on how to use this API operation.
 19231  //
 19232  // The context must be non-nil and will be used for request cancellation. If
 19233  // the context is nil a panic will occur. In the future the SDK may create
 19234  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 19235  // for more information on using Contexts.
 19236  func (c *Chime) UpdateChannelReadMarkerWithContext(ctx aws.Context, input *UpdateChannelReadMarkerInput, opts ...request.Option) (*UpdateChannelReadMarkerOutput, error) {
 19237  	req, out := c.UpdateChannelReadMarkerRequest(input)
 19238  	req.SetContext(ctx)
 19239  	req.ApplyOptions(opts...)
 19240  	return out, req.Send()
 19241  }
 19242  
 19243  const opUpdateGlobalSettings = "UpdateGlobalSettings"
 19244  
 19245  // UpdateGlobalSettingsRequest generates a "aws/request.Request" representing the
 19246  // client's request for the UpdateGlobalSettings operation. The "output" return
 19247  // value will be populated with the request's response once the request completes
 19248  // successfully.
 19249  //
 19250  // Use "Send" method on the returned Request to send the API call to the service.
 19251  // the "output" return value is not valid until after Send returns without error.
 19252  //
 19253  // See UpdateGlobalSettings for more information on using the UpdateGlobalSettings
 19254  // API call, and error handling.
 19255  //
 19256  // This method is useful when you want to inject custom logic or configuration
 19257  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 19258  //
 19259  //
 19260  //    // Example sending a request using the UpdateGlobalSettingsRequest method.
 19261  //    req, resp := client.UpdateGlobalSettingsRequest(params)
 19262  //
 19263  //    err := req.Send()
 19264  //    if err == nil { // resp is now filled
 19265  //        fmt.Println(resp)
 19266  //    }
 19267  //
 19268  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateGlobalSettings
 19269  func (c *Chime) UpdateGlobalSettingsRequest(input *UpdateGlobalSettingsInput) (req *request.Request, output *UpdateGlobalSettingsOutput) {
 19270  	op := &request.Operation{
 19271  		Name:       opUpdateGlobalSettings,
 19272  		HTTPMethod: "PUT",
 19273  		HTTPPath:   "/settings",
 19274  	}
 19275  
 19276  	if input == nil {
 19277  		input = &UpdateGlobalSettingsInput{}
 19278  	}
 19279  
 19280  	output = &UpdateGlobalSettingsOutput{}
 19281  	req = c.newRequest(op, input, output)
 19282  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
 19283  	return
 19284  }
 19285  
 19286  // UpdateGlobalSettings API operation for Amazon Chime.
 19287  //
 19288  // Updates global settings for the administrator's AWS account, such as Amazon
 19289  // Chime Business Calling and Amazon Chime Voice Connector settings.
 19290  //
 19291  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 19292  // with awserr.Error's Code and Message methods to get detailed information about
 19293  // the error.
 19294  //
 19295  // See the AWS API reference guide for Amazon Chime's
 19296  // API operation UpdateGlobalSettings for usage and error information.
 19297  //
 19298  // Returned Error Types:
 19299  //   * UnauthorizedClientException
 19300  //   The client is not currently authorized to make the request.
 19301  //
 19302  //   * ForbiddenException
 19303  //   The client is permanently forbidden from making the request.
 19304  //
 19305  //   * BadRequestException
 19306  //   The input parameters don't match the service's restrictions.
 19307  //
 19308  //   * ThrottledClientException
 19309  //   The client exceeded its request rate limit.
 19310  //
 19311  //   * ServiceUnavailableException
 19312  //   The service is currently unavailable.
 19313  //
 19314  //   * ServiceFailureException
 19315  //   The service encountered an unexpected error.
 19316  //
 19317  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateGlobalSettings
 19318  func (c *Chime) UpdateGlobalSettings(input *UpdateGlobalSettingsInput) (*UpdateGlobalSettingsOutput, error) {
 19319  	req, out := c.UpdateGlobalSettingsRequest(input)
 19320  	return out, req.Send()
 19321  }
 19322  
 19323  // UpdateGlobalSettingsWithContext is the same as UpdateGlobalSettings with the addition of
 19324  // the ability to pass a context and additional request options.
 19325  //
 19326  // See UpdateGlobalSettings for details on how to use this API operation.
 19327  //
 19328  // The context must be non-nil and will be used for request cancellation. If
 19329  // the context is nil a panic will occur. In the future the SDK may create
 19330  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 19331  // for more information on using Contexts.
 19332  func (c *Chime) UpdateGlobalSettingsWithContext(ctx aws.Context, input *UpdateGlobalSettingsInput, opts ...request.Option) (*UpdateGlobalSettingsOutput, error) {
 19333  	req, out := c.UpdateGlobalSettingsRequest(input)
 19334  	req.SetContext(ctx)
 19335  	req.ApplyOptions(opts...)
 19336  	return out, req.Send()
 19337  }
 19338  
 19339  const opUpdatePhoneNumber = "UpdatePhoneNumber"
 19340  
 19341  // UpdatePhoneNumberRequest generates a "aws/request.Request" representing the
 19342  // client's request for the UpdatePhoneNumber operation. The "output" return
 19343  // value will be populated with the request's response once the request completes
 19344  // successfully.
 19345  //
 19346  // Use "Send" method on the returned Request to send the API call to the service.
 19347  // the "output" return value is not valid until after Send returns without error.
 19348  //
 19349  // See UpdatePhoneNumber for more information on using the UpdatePhoneNumber
 19350  // API call, and error handling.
 19351  //
 19352  // This method is useful when you want to inject custom logic or configuration
 19353  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 19354  //
 19355  //
 19356  //    // Example sending a request using the UpdatePhoneNumberRequest method.
 19357  //    req, resp := client.UpdatePhoneNumberRequest(params)
 19358  //
 19359  //    err := req.Send()
 19360  //    if err == nil { // resp is now filled
 19361  //        fmt.Println(resp)
 19362  //    }
 19363  //
 19364  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdatePhoneNumber
 19365  func (c *Chime) UpdatePhoneNumberRequest(input *UpdatePhoneNumberInput) (req *request.Request, output *UpdatePhoneNumberOutput) {
 19366  	op := &request.Operation{
 19367  		Name:       opUpdatePhoneNumber,
 19368  		HTTPMethod: "POST",
 19369  		HTTPPath:   "/phone-numbers/{phoneNumberId}",
 19370  	}
 19371  
 19372  	if input == nil {
 19373  		input = &UpdatePhoneNumberInput{}
 19374  	}
 19375  
 19376  	output = &UpdatePhoneNumberOutput{}
 19377  	req = c.newRequest(op, input, output)
 19378  	return
 19379  }
 19380  
 19381  // UpdatePhoneNumber API operation for Amazon Chime.
 19382  //
 19383  // Updates phone number details, such as product type or calling name, for the
 19384  // specified phone number ID. You can update one phone number detail at a time.
 19385  // For example, you can update either the product type or the calling name in
 19386  // one action.
 19387  //
 19388  // For toll-free numbers, you cannot use the Amazon Chime Business Calling product
 19389  // type. For numbers outside the U.S., you must use the Amazon Chime SIP Media
 19390  // Application Dial-In product type.
 19391  //
 19392  // Updates to outbound calling names can take 72 hours to complete. Pending
 19393  // updates to outbound calling names must be complete before you can request
 19394  // another update.
 19395  //
 19396  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 19397  // with awserr.Error's Code and Message methods to get detailed information about
 19398  // the error.
 19399  //
 19400  // See the AWS API reference guide for Amazon Chime's
 19401  // API operation UpdatePhoneNumber for usage and error information.
 19402  //
 19403  // Returned Error Types:
 19404  //   * UnauthorizedClientException
 19405  //   The client is not currently authorized to make the request.
 19406  //
 19407  //   * NotFoundException
 19408  //   One or more of the resources in the request does not exist in the system.
 19409  //
 19410  //   * ForbiddenException
 19411  //   The client is permanently forbidden from making the request.
 19412  //
 19413  //   * BadRequestException
 19414  //   The input parameters don't match the service's restrictions.
 19415  //
 19416  //   * ThrottledClientException
 19417  //   The client exceeded its request rate limit.
 19418  //
 19419  //   * ConflictException
 19420  //   The request could not be processed because of conflict in the current state
 19421  //   of the resource.
 19422  //
 19423  //   * ServiceUnavailableException
 19424  //   The service is currently unavailable.
 19425  //
 19426  //   * ServiceFailureException
 19427  //   The service encountered an unexpected error.
 19428  //
 19429  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdatePhoneNumber
 19430  func (c *Chime) UpdatePhoneNumber(input *UpdatePhoneNumberInput) (*UpdatePhoneNumberOutput, error) {
 19431  	req, out := c.UpdatePhoneNumberRequest(input)
 19432  	return out, req.Send()
 19433  }
 19434  
 19435  // UpdatePhoneNumberWithContext is the same as UpdatePhoneNumber with the addition of
 19436  // the ability to pass a context and additional request options.
 19437  //
 19438  // See UpdatePhoneNumber for details on how to use this API operation.
 19439  //
 19440  // The context must be non-nil and will be used for request cancellation. If
 19441  // the context is nil a panic will occur. In the future the SDK may create
 19442  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 19443  // for more information on using Contexts.
 19444  func (c *Chime) UpdatePhoneNumberWithContext(ctx aws.Context, input *UpdatePhoneNumberInput, opts ...request.Option) (*UpdatePhoneNumberOutput, error) {
 19445  	req, out := c.UpdatePhoneNumberRequest(input)
 19446  	req.SetContext(ctx)
 19447  	req.ApplyOptions(opts...)
 19448  	return out, req.Send()
 19449  }
 19450  
 19451  const opUpdatePhoneNumberSettings = "UpdatePhoneNumberSettings"
 19452  
 19453  // UpdatePhoneNumberSettingsRequest generates a "aws/request.Request" representing the
 19454  // client's request for the UpdatePhoneNumberSettings operation. The "output" return
 19455  // value will be populated with the request's response once the request completes
 19456  // successfully.
 19457  //
 19458  // Use "Send" method on the returned Request to send the API call to the service.
 19459  // the "output" return value is not valid until after Send returns without error.
 19460  //
 19461  // See UpdatePhoneNumberSettings for more information on using the UpdatePhoneNumberSettings
 19462  // API call, and error handling.
 19463  //
 19464  // This method is useful when you want to inject custom logic or configuration
 19465  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 19466  //
 19467  //
 19468  //    // Example sending a request using the UpdatePhoneNumberSettingsRequest method.
 19469  //    req, resp := client.UpdatePhoneNumberSettingsRequest(params)
 19470  //
 19471  //    err := req.Send()
 19472  //    if err == nil { // resp is now filled
 19473  //        fmt.Println(resp)
 19474  //    }
 19475  //
 19476  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdatePhoneNumberSettings
 19477  func (c *Chime) UpdatePhoneNumberSettingsRequest(input *UpdatePhoneNumberSettingsInput) (req *request.Request, output *UpdatePhoneNumberSettingsOutput) {
 19478  	op := &request.Operation{
 19479  		Name:       opUpdatePhoneNumberSettings,
 19480  		HTTPMethod: "PUT",
 19481  		HTTPPath:   "/settings/phone-number",
 19482  	}
 19483  
 19484  	if input == nil {
 19485  		input = &UpdatePhoneNumberSettingsInput{}
 19486  	}
 19487  
 19488  	output = &UpdatePhoneNumberSettingsOutput{}
 19489  	req = c.newRequest(op, input, output)
 19490  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
 19491  	return
 19492  }
 19493  
 19494  // UpdatePhoneNumberSettings API operation for Amazon Chime.
 19495  //
 19496  // Updates the phone number settings for the administrator's AWS account, such
 19497  // as the default outbound calling name. You can update the default outbound
 19498  // calling name once every seven days. Outbound calling names can take up to
 19499  // 72 hours to update.
 19500  //
 19501  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 19502  // with awserr.Error's Code and Message methods to get detailed information about
 19503  // the error.
 19504  //
 19505  // See the AWS API reference guide for Amazon Chime's
 19506  // API operation UpdatePhoneNumberSettings for usage and error information.
 19507  //
 19508  // Returned Error Types:
 19509  //   * UnauthorizedClientException
 19510  //   The client is not currently authorized to make the request.
 19511  //
 19512  //   * ForbiddenException
 19513  //   The client is permanently forbidden from making the request.
 19514  //
 19515  //   * BadRequestException
 19516  //   The input parameters don't match the service's restrictions.
 19517  //
 19518  //   * ThrottledClientException
 19519  //   The client exceeded its request rate limit.
 19520  //
 19521  //   * ServiceUnavailableException
 19522  //   The service is currently unavailable.
 19523  //
 19524  //   * ServiceFailureException
 19525  //   The service encountered an unexpected error.
 19526  //
 19527  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdatePhoneNumberSettings
 19528  func (c *Chime) UpdatePhoneNumberSettings(input *UpdatePhoneNumberSettingsInput) (*UpdatePhoneNumberSettingsOutput, error) {
 19529  	req, out := c.UpdatePhoneNumberSettingsRequest(input)
 19530  	return out, req.Send()
 19531  }
 19532  
 19533  // UpdatePhoneNumberSettingsWithContext is the same as UpdatePhoneNumberSettings with the addition of
 19534  // the ability to pass a context and additional request options.
 19535  //
 19536  // See UpdatePhoneNumberSettings for details on how to use this API operation.
 19537  //
 19538  // The context must be non-nil and will be used for request cancellation. If
 19539  // the context is nil a panic will occur. In the future the SDK may create
 19540  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 19541  // for more information on using Contexts.
 19542  func (c *Chime) UpdatePhoneNumberSettingsWithContext(ctx aws.Context, input *UpdatePhoneNumberSettingsInput, opts ...request.Option) (*UpdatePhoneNumberSettingsOutput, error) {
 19543  	req, out := c.UpdatePhoneNumberSettingsRequest(input)
 19544  	req.SetContext(ctx)
 19545  	req.ApplyOptions(opts...)
 19546  	return out, req.Send()
 19547  }
 19548  
 19549  const opUpdateProxySession = "UpdateProxySession"
 19550  
 19551  // UpdateProxySessionRequest generates a "aws/request.Request" representing the
 19552  // client's request for the UpdateProxySession operation. The "output" return
 19553  // value will be populated with the request's response once the request completes
 19554  // successfully.
 19555  //
 19556  // Use "Send" method on the returned Request to send the API call to the service.
 19557  // the "output" return value is not valid until after Send returns without error.
 19558  //
 19559  // See UpdateProxySession for more information on using the UpdateProxySession
 19560  // API call, and error handling.
 19561  //
 19562  // This method is useful when you want to inject custom logic or configuration
 19563  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 19564  //
 19565  //
 19566  //    // Example sending a request using the UpdateProxySessionRequest method.
 19567  //    req, resp := client.UpdateProxySessionRequest(params)
 19568  //
 19569  //    err := req.Send()
 19570  //    if err == nil { // resp is now filled
 19571  //        fmt.Println(resp)
 19572  //    }
 19573  //
 19574  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateProxySession
 19575  func (c *Chime) UpdateProxySessionRequest(input *UpdateProxySessionInput) (req *request.Request, output *UpdateProxySessionOutput) {
 19576  	op := &request.Operation{
 19577  		Name:       opUpdateProxySession,
 19578  		HTTPMethod: "POST",
 19579  		HTTPPath:   "/voice-connectors/{voiceConnectorId}/proxy-sessions/{proxySessionId}",
 19580  	}
 19581  
 19582  	if input == nil {
 19583  		input = &UpdateProxySessionInput{}
 19584  	}
 19585  
 19586  	output = &UpdateProxySessionOutput{}
 19587  	req = c.newRequest(op, input, output)
 19588  	return
 19589  }
 19590  
 19591  // UpdateProxySession API operation for Amazon Chime.
 19592  //
 19593  // Updates the specified proxy session details, such as voice or SMS capabilities.
 19594  //
 19595  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 19596  // with awserr.Error's Code and Message methods to get detailed information about
 19597  // the error.
 19598  //
 19599  // See the AWS API reference guide for Amazon Chime's
 19600  // API operation UpdateProxySession for usage and error information.
 19601  //
 19602  // Returned Error Types:
 19603  //   * UnauthorizedClientException
 19604  //   The client is not currently authorized to make the request.
 19605  //
 19606  //   * NotFoundException
 19607  //   One or more of the resources in the request does not exist in the system.
 19608  //
 19609  //   * ForbiddenException
 19610  //   The client is permanently forbidden from making the request.
 19611  //
 19612  //   * BadRequestException
 19613  //   The input parameters don't match the service's restrictions.
 19614  //
 19615  //   * ThrottledClientException
 19616  //   The client exceeded its request rate limit.
 19617  //
 19618  //   * ServiceUnavailableException
 19619  //   The service is currently unavailable.
 19620  //
 19621  //   * ServiceFailureException
 19622  //   The service encountered an unexpected error.
 19623  //
 19624  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateProxySession
 19625  func (c *Chime) UpdateProxySession(input *UpdateProxySessionInput) (*UpdateProxySessionOutput, error) {
 19626  	req, out := c.UpdateProxySessionRequest(input)
 19627  	return out, req.Send()
 19628  }
 19629  
 19630  // UpdateProxySessionWithContext is the same as UpdateProxySession with the addition of
 19631  // the ability to pass a context and additional request options.
 19632  //
 19633  // See UpdateProxySession for details on how to use this API operation.
 19634  //
 19635  // The context must be non-nil and will be used for request cancellation. If
 19636  // the context is nil a panic will occur. In the future the SDK may create
 19637  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 19638  // for more information on using Contexts.
 19639  func (c *Chime) UpdateProxySessionWithContext(ctx aws.Context, input *UpdateProxySessionInput, opts ...request.Option) (*UpdateProxySessionOutput, error) {
 19640  	req, out := c.UpdateProxySessionRequest(input)
 19641  	req.SetContext(ctx)
 19642  	req.ApplyOptions(opts...)
 19643  	return out, req.Send()
 19644  }
 19645  
 19646  const opUpdateRoom = "UpdateRoom"
 19647  
 19648  // UpdateRoomRequest generates a "aws/request.Request" representing the
 19649  // client's request for the UpdateRoom operation. The "output" return
 19650  // value will be populated with the request's response once the request completes
 19651  // successfully.
 19652  //
 19653  // Use "Send" method on the returned Request to send the API call to the service.
 19654  // the "output" return value is not valid until after Send returns without error.
 19655  //
 19656  // See UpdateRoom for more information on using the UpdateRoom
 19657  // API call, and error handling.
 19658  //
 19659  // This method is useful when you want to inject custom logic or configuration
 19660  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 19661  //
 19662  //
 19663  //    // Example sending a request using the UpdateRoomRequest method.
 19664  //    req, resp := client.UpdateRoomRequest(params)
 19665  //
 19666  //    err := req.Send()
 19667  //    if err == nil { // resp is now filled
 19668  //        fmt.Println(resp)
 19669  //    }
 19670  //
 19671  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateRoom
 19672  func (c *Chime) UpdateRoomRequest(input *UpdateRoomInput) (req *request.Request, output *UpdateRoomOutput) {
 19673  	op := &request.Operation{
 19674  		Name:       opUpdateRoom,
 19675  		HTTPMethod: "POST",
 19676  		HTTPPath:   "/accounts/{accountId}/rooms/{roomId}",
 19677  	}
 19678  
 19679  	if input == nil {
 19680  		input = &UpdateRoomInput{}
 19681  	}
 19682  
 19683  	output = &UpdateRoomOutput{}
 19684  	req = c.newRequest(op, input, output)
 19685  	return
 19686  }
 19687  
 19688  // UpdateRoom API operation for Amazon Chime.
 19689  //
 19690  // Updates room details, such as the room name, for a room in an Amazon Chime
 19691  // Enterprise account.
 19692  //
 19693  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 19694  // with awserr.Error's Code and Message methods to get detailed information about
 19695  // the error.
 19696  //
 19697  // See the AWS API reference guide for Amazon Chime's
 19698  // API operation UpdateRoom for usage and error information.
 19699  //
 19700  // Returned Error Types:
 19701  //   * BadRequestException
 19702  //   The input parameters don't match the service's restrictions.
 19703  //
 19704  //   * ForbiddenException
 19705  //   The client is permanently forbidden from making the request.
 19706  //
 19707  //   * NotFoundException
 19708  //   One or more of the resources in the request does not exist in the system.
 19709  //
 19710  //   * UnauthorizedClientException
 19711  //   The client is not currently authorized to make the request.
 19712  //
 19713  //   * ThrottledClientException
 19714  //   The client exceeded its request rate limit.
 19715  //
 19716  //   * ServiceUnavailableException
 19717  //   The service is currently unavailable.
 19718  //
 19719  //   * ServiceFailureException
 19720  //   The service encountered an unexpected error.
 19721  //
 19722  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateRoom
 19723  func (c *Chime) UpdateRoom(input *UpdateRoomInput) (*UpdateRoomOutput, error) {
 19724  	req, out := c.UpdateRoomRequest(input)
 19725  	return out, req.Send()
 19726  }
 19727  
 19728  // UpdateRoomWithContext is the same as UpdateRoom with the addition of
 19729  // the ability to pass a context and additional request options.
 19730  //
 19731  // See UpdateRoom for details on how to use this API operation.
 19732  //
 19733  // The context must be non-nil and will be used for request cancellation. If
 19734  // the context is nil a panic will occur. In the future the SDK may create
 19735  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 19736  // for more information on using Contexts.
 19737  func (c *Chime) UpdateRoomWithContext(ctx aws.Context, input *UpdateRoomInput, opts ...request.Option) (*UpdateRoomOutput, error) {
 19738  	req, out := c.UpdateRoomRequest(input)
 19739  	req.SetContext(ctx)
 19740  	req.ApplyOptions(opts...)
 19741  	return out, req.Send()
 19742  }
 19743  
 19744  const opUpdateRoomMembership = "UpdateRoomMembership"
 19745  
 19746  // UpdateRoomMembershipRequest generates a "aws/request.Request" representing the
 19747  // client's request for the UpdateRoomMembership operation. The "output" return
 19748  // value will be populated with the request's response once the request completes
 19749  // successfully.
 19750  //
 19751  // Use "Send" method on the returned Request to send the API call to the service.
 19752  // the "output" return value is not valid until after Send returns without error.
 19753  //
 19754  // See UpdateRoomMembership for more information on using the UpdateRoomMembership
 19755  // API call, and error handling.
 19756  //
 19757  // This method is useful when you want to inject custom logic or configuration
 19758  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 19759  //
 19760  //
 19761  //    // Example sending a request using the UpdateRoomMembershipRequest method.
 19762  //    req, resp := client.UpdateRoomMembershipRequest(params)
 19763  //
 19764  //    err := req.Send()
 19765  //    if err == nil { // resp is now filled
 19766  //        fmt.Println(resp)
 19767  //    }
 19768  //
 19769  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateRoomMembership
 19770  func (c *Chime) UpdateRoomMembershipRequest(input *UpdateRoomMembershipInput) (req *request.Request, output *UpdateRoomMembershipOutput) {
 19771  	op := &request.Operation{
 19772  		Name:       opUpdateRoomMembership,
 19773  		HTTPMethod: "POST",
 19774  		HTTPPath:   "/accounts/{accountId}/rooms/{roomId}/memberships/{memberId}",
 19775  	}
 19776  
 19777  	if input == nil {
 19778  		input = &UpdateRoomMembershipInput{}
 19779  	}
 19780  
 19781  	output = &UpdateRoomMembershipOutput{}
 19782  	req = c.newRequest(op, input, output)
 19783  	return
 19784  }
 19785  
 19786  // UpdateRoomMembership API operation for Amazon Chime.
 19787  //
 19788  // Updates room membership details, such as the member role, for a room in an
 19789  // Amazon Chime Enterprise account. The member role designates whether the member
 19790  // is a chat room administrator or a general chat room member. The member role
 19791  // can be updated only for user IDs.
 19792  //
 19793  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 19794  // with awserr.Error's Code and Message methods to get detailed information about
 19795  // the error.
 19796  //
 19797  // See the AWS API reference guide for Amazon Chime's
 19798  // API operation UpdateRoomMembership for usage and error information.
 19799  //
 19800  // Returned Error Types:
 19801  //   * UnauthorizedClientException
 19802  //   The client is not currently authorized to make the request.
 19803  //
 19804  //   * NotFoundException
 19805  //   One or more of the resources in the request does not exist in the system.
 19806  //
 19807  //   * BadRequestException
 19808  //   The input parameters don't match the service's restrictions.
 19809  //
 19810  //   * ForbiddenException
 19811  //   The client is permanently forbidden from making the request.
 19812  //
 19813  //   * ThrottledClientException
 19814  //   The client exceeded its request rate limit.
 19815  //
 19816  //   * ServiceUnavailableException
 19817  //   The service is currently unavailable.
 19818  //
 19819  //   * ServiceFailureException
 19820  //   The service encountered an unexpected error.
 19821  //
 19822  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateRoomMembership
 19823  func (c *Chime) UpdateRoomMembership(input *UpdateRoomMembershipInput) (*UpdateRoomMembershipOutput, error) {
 19824  	req, out := c.UpdateRoomMembershipRequest(input)
 19825  	return out, req.Send()
 19826  }
 19827  
 19828  // UpdateRoomMembershipWithContext is the same as UpdateRoomMembership with the addition of
 19829  // the ability to pass a context and additional request options.
 19830  //
 19831  // See UpdateRoomMembership for details on how to use this API operation.
 19832  //
 19833  // The context must be non-nil and will be used for request cancellation. If
 19834  // the context is nil a panic will occur. In the future the SDK may create
 19835  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 19836  // for more information on using Contexts.
 19837  func (c *Chime) UpdateRoomMembershipWithContext(ctx aws.Context, input *UpdateRoomMembershipInput, opts ...request.Option) (*UpdateRoomMembershipOutput, error) {
 19838  	req, out := c.UpdateRoomMembershipRequest(input)
 19839  	req.SetContext(ctx)
 19840  	req.ApplyOptions(opts...)
 19841  	return out, req.Send()
 19842  }
 19843  
 19844  const opUpdateSipMediaApplication = "UpdateSipMediaApplication"
 19845  
 19846  // UpdateSipMediaApplicationRequest generates a "aws/request.Request" representing the
 19847  // client's request for the UpdateSipMediaApplication operation. The "output" return
 19848  // value will be populated with the request's response once the request completes
 19849  // successfully.
 19850  //
 19851  // Use "Send" method on the returned Request to send the API call to the service.
 19852  // the "output" return value is not valid until after Send returns without error.
 19853  //
 19854  // See UpdateSipMediaApplication for more information on using the UpdateSipMediaApplication
 19855  // API call, and error handling.
 19856  //
 19857  // This method is useful when you want to inject custom logic or configuration
 19858  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 19859  //
 19860  //
 19861  //    // Example sending a request using the UpdateSipMediaApplicationRequest method.
 19862  //    req, resp := client.UpdateSipMediaApplicationRequest(params)
 19863  //
 19864  //    err := req.Send()
 19865  //    if err == nil { // resp is now filled
 19866  //        fmt.Println(resp)
 19867  //    }
 19868  //
 19869  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipMediaApplication
 19870  func (c *Chime) UpdateSipMediaApplicationRequest(input *UpdateSipMediaApplicationInput) (req *request.Request, output *UpdateSipMediaApplicationOutput) {
 19871  	op := &request.Operation{
 19872  		Name:       opUpdateSipMediaApplication,
 19873  		HTTPMethod: "PUT",
 19874  		HTTPPath:   "/sip-media-applications/{sipMediaApplicationId}",
 19875  	}
 19876  
 19877  	if input == nil {
 19878  		input = &UpdateSipMediaApplicationInput{}
 19879  	}
 19880  
 19881  	output = &UpdateSipMediaApplicationOutput{}
 19882  	req = c.newRequest(op, input, output)
 19883  	return
 19884  }
 19885  
 19886  // UpdateSipMediaApplication API operation for Amazon Chime.
 19887  //
 19888  // Updates the details of the specified SIP media application.
 19889  //
 19890  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 19891  // with awserr.Error's Code and Message methods to get detailed information about
 19892  // the error.
 19893  //
 19894  // See the AWS API reference guide for Amazon Chime's
 19895  // API operation UpdateSipMediaApplication for usage and error information.
 19896  //
 19897  // Returned Error Types:
 19898  //   * UnauthorizedClientException
 19899  //   The client is not currently authorized to make the request.
 19900  //
 19901  //   * NotFoundException
 19902  //   One or more of the resources in the request does not exist in the system.
 19903  //
 19904  //   * ForbiddenException
 19905  //   The client is permanently forbidden from making the request.
 19906  //
 19907  //   * BadRequestException
 19908  //   The input parameters don't match the service's restrictions.
 19909  //
 19910  //   * ConflictException
 19911  //   The request could not be processed because of conflict in the current state
 19912  //   of the resource.
 19913  //
 19914  //   * ThrottledClientException
 19915  //   The client exceeded its request rate limit.
 19916  //
 19917  //   * ServiceUnavailableException
 19918  //   The service is currently unavailable.
 19919  //
 19920  //   * ServiceFailureException
 19921  //   The service encountered an unexpected error.
 19922  //
 19923  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipMediaApplication
 19924  func (c *Chime) UpdateSipMediaApplication(input *UpdateSipMediaApplicationInput) (*UpdateSipMediaApplicationOutput, error) {
 19925  	req, out := c.UpdateSipMediaApplicationRequest(input)
 19926  	return out, req.Send()
 19927  }
 19928  
 19929  // UpdateSipMediaApplicationWithContext is the same as UpdateSipMediaApplication with the addition of
 19930  // the ability to pass a context and additional request options.
 19931  //
 19932  // See UpdateSipMediaApplication for details on how to use this API operation.
 19933  //
 19934  // The context must be non-nil and will be used for request cancellation. If
 19935  // the context is nil a panic will occur. In the future the SDK may create
 19936  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 19937  // for more information on using Contexts.
 19938  func (c *Chime) UpdateSipMediaApplicationWithContext(ctx aws.Context, input *UpdateSipMediaApplicationInput, opts ...request.Option) (*UpdateSipMediaApplicationOutput, error) {
 19939  	req, out := c.UpdateSipMediaApplicationRequest(input)
 19940  	req.SetContext(ctx)
 19941  	req.ApplyOptions(opts...)
 19942  	return out, req.Send()
 19943  }
 19944  
 19945  const opUpdateSipMediaApplicationCall = "UpdateSipMediaApplicationCall"
 19946  
 19947  // UpdateSipMediaApplicationCallRequest generates a "aws/request.Request" representing the
 19948  // client's request for the UpdateSipMediaApplicationCall operation. The "output" return
 19949  // value will be populated with the request's response once the request completes
 19950  // successfully.
 19951  //
 19952  // Use "Send" method on the returned Request to send the API call to the service.
 19953  // the "output" return value is not valid until after Send returns without error.
 19954  //
 19955  // See UpdateSipMediaApplicationCall for more information on using the UpdateSipMediaApplicationCall
 19956  // API call, and error handling.
 19957  //
 19958  // This method is useful when you want to inject custom logic or configuration
 19959  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 19960  //
 19961  //
 19962  //    // Example sending a request using the UpdateSipMediaApplicationCallRequest method.
 19963  //    req, resp := client.UpdateSipMediaApplicationCallRequest(params)
 19964  //
 19965  //    err := req.Send()
 19966  //    if err == nil { // resp is now filled
 19967  //        fmt.Println(resp)
 19968  //    }
 19969  //
 19970  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipMediaApplicationCall
 19971  func (c *Chime) UpdateSipMediaApplicationCallRequest(input *UpdateSipMediaApplicationCallInput) (req *request.Request, output *UpdateSipMediaApplicationCallOutput) {
 19972  	op := &request.Operation{
 19973  		Name:       opUpdateSipMediaApplicationCall,
 19974  		HTTPMethod: "POST",
 19975  		HTTPPath:   "/sip-media-applications/{sipMediaApplicationId}/calls/{transactionId}",
 19976  	}
 19977  
 19978  	if input == nil {
 19979  		input = &UpdateSipMediaApplicationCallInput{}
 19980  	}
 19981  
 19982  	output = &UpdateSipMediaApplicationCallOutput{}
 19983  	req = c.newRequest(op, input, output)
 19984  	return
 19985  }
 19986  
 19987  // UpdateSipMediaApplicationCall API operation for Amazon Chime.
 19988  //
 19989  // Allows you to trigger a Lambda function at any time while a call is active,
 19990  // and replace the current actions with new actions returned by the invocation.
 19991  //
 19992  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 19993  // with awserr.Error's Code and Message methods to get detailed information about
 19994  // the error.
 19995  //
 19996  // See the AWS API reference guide for Amazon Chime's
 19997  // API operation UpdateSipMediaApplicationCall for usage and error information.
 19998  //
 19999  // Returned Error Types:
 20000  //   * BadRequestException
 20001  //   The input parameters don't match the service's restrictions.
 20002  //
 20003  //   * NotFoundException
 20004  //   One or more of the resources in the request does not exist in the system.
 20005  //
 20006  //   * ForbiddenException
 20007  //   The client is permanently forbidden from making the request.
 20008  //
 20009  //   * ResourceLimitExceededException
 20010  //   The request exceeds the resource limit.
 20011  //
 20012  //   * ThrottledClientException
 20013  //   The client exceeded its request rate limit.
 20014  //
 20015  //   * UnauthorizedClientException
 20016  //   The client is not currently authorized to make the request.
 20017  //
 20018  //   * ServiceUnavailableException
 20019  //   The service is currently unavailable.
 20020  //
 20021  //   * ServiceFailureException
 20022  //   The service encountered an unexpected error.
 20023  //
 20024  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipMediaApplicationCall
 20025  func (c *Chime) UpdateSipMediaApplicationCall(input *UpdateSipMediaApplicationCallInput) (*UpdateSipMediaApplicationCallOutput, error) {
 20026  	req, out := c.UpdateSipMediaApplicationCallRequest(input)
 20027  	return out, req.Send()
 20028  }
 20029  
 20030  // UpdateSipMediaApplicationCallWithContext is the same as UpdateSipMediaApplicationCall with the addition of
 20031  // the ability to pass a context and additional request options.
 20032  //
 20033  // See UpdateSipMediaApplicationCall for details on how to use this API operation.
 20034  //
 20035  // The context must be non-nil and will be used for request cancellation. If
 20036  // the context is nil a panic will occur. In the future the SDK may create
 20037  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 20038  // for more information on using Contexts.
 20039  func (c *Chime) UpdateSipMediaApplicationCallWithContext(ctx aws.Context, input *UpdateSipMediaApplicationCallInput, opts ...request.Option) (*UpdateSipMediaApplicationCallOutput, error) {
 20040  	req, out := c.UpdateSipMediaApplicationCallRequest(input)
 20041  	req.SetContext(ctx)
 20042  	req.ApplyOptions(opts...)
 20043  	return out, req.Send()
 20044  }
 20045  
 20046  const opUpdateSipRule = "UpdateSipRule"
 20047  
 20048  // UpdateSipRuleRequest generates a "aws/request.Request" representing the
 20049  // client's request for the UpdateSipRule operation. The "output" return
 20050  // value will be populated with the request's response once the request completes
 20051  // successfully.
 20052  //
 20053  // Use "Send" method on the returned Request to send the API call to the service.
 20054  // the "output" return value is not valid until after Send returns without error.
 20055  //
 20056  // See UpdateSipRule for more information on using the UpdateSipRule
 20057  // API call, and error handling.
 20058  //
 20059  // This method is useful when you want to inject custom logic or configuration
 20060  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 20061  //
 20062  //
 20063  //    // Example sending a request using the UpdateSipRuleRequest method.
 20064  //    req, resp := client.UpdateSipRuleRequest(params)
 20065  //
 20066  //    err := req.Send()
 20067  //    if err == nil { // resp is now filled
 20068  //        fmt.Println(resp)
 20069  //    }
 20070  //
 20071  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipRule
 20072  func (c *Chime) UpdateSipRuleRequest(input *UpdateSipRuleInput) (req *request.Request, output *UpdateSipRuleOutput) {
 20073  	op := &request.Operation{
 20074  		Name:       opUpdateSipRule,
 20075  		HTTPMethod: "PUT",
 20076  		HTTPPath:   "/sip-rules/{sipRuleId}",
 20077  	}
 20078  
 20079  	if input == nil {
 20080  		input = &UpdateSipRuleInput{}
 20081  	}
 20082  
 20083  	output = &UpdateSipRuleOutput{}
 20084  	req = c.newRequest(op, input, output)
 20085  	return
 20086  }
 20087  
 20088  // UpdateSipRule API operation for Amazon Chime.
 20089  //
 20090  // Updates the details of the specified SIP rule.
 20091  //
 20092  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 20093  // with awserr.Error's Code and Message methods to get detailed information about
 20094  // the error.
 20095  //
 20096  // See the AWS API reference guide for Amazon Chime's
 20097  // API operation UpdateSipRule for usage and error information.
 20098  //
 20099  // Returned Error Types:
 20100  //   * UnauthorizedClientException
 20101  //   The client is not currently authorized to make the request.
 20102  //
 20103  //   * NotFoundException
 20104  //   One or more of the resources in the request does not exist in the system.
 20105  //
 20106  //   * ForbiddenException
 20107  //   The client is permanently forbidden from making the request.
 20108  //
 20109  //   * BadRequestException
 20110  //   The input parameters don't match the service's restrictions.
 20111  //
 20112  //   * ConflictException
 20113  //   The request could not be processed because of conflict in the current state
 20114  //   of the resource.
 20115  //
 20116  //   * ThrottledClientException
 20117  //   The client exceeded its request rate limit.
 20118  //
 20119  //   * ResourceLimitExceededException
 20120  //   The request exceeds the resource limit.
 20121  //
 20122  //   * ServiceUnavailableException
 20123  //   The service is currently unavailable.
 20124  //
 20125  //   * ServiceFailureException
 20126  //   The service encountered an unexpected error.
 20127  //
 20128  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipRule
 20129  func (c *Chime) UpdateSipRule(input *UpdateSipRuleInput) (*UpdateSipRuleOutput, error) {
 20130  	req, out := c.UpdateSipRuleRequest(input)
 20131  	return out, req.Send()
 20132  }
 20133  
 20134  // UpdateSipRuleWithContext is the same as UpdateSipRule with the addition of
 20135  // the ability to pass a context and additional request options.
 20136  //
 20137  // See UpdateSipRule for details on how to use this API operation.
 20138  //
 20139  // The context must be non-nil and will be used for request cancellation. If
 20140  // the context is nil a panic will occur. In the future the SDK may create
 20141  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 20142  // for more information on using Contexts.
 20143  func (c *Chime) UpdateSipRuleWithContext(ctx aws.Context, input *UpdateSipRuleInput, opts ...request.Option) (*UpdateSipRuleOutput, error) {
 20144  	req, out := c.UpdateSipRuleRequest(input)
 20145  	req.SetContext(ctx)
 20146  	req.ApplyOptions(opts...)
 20147  	return out, req.Send()
 20148  }
 20149  
 20150  const opUpdateUser = "UpdateUser"
 20151  
 20152  // UpdateUserRequest generates a "aws/request.Request" representing the
 20153  // client's request for the UpdateUser operation. The "output" return
 20154  // value will be populated with the request's response once the request completes
 20155  // successfully.
 20156  //
 20157  // Use "Send" method on the returned Request to send the API call to the service.
 20158  // the "output" return value is not valid until after Send returns without error.
 20159  //
 20160  // See UpdateUser for more information on using the UpdateUser
 20161  // API call, and error handling.
 20162  //
 20163  // This method is useful when you want to inject custom logic or configuration
 20164  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 20165  //
 20166  //
 20167  //    // Example sending a request using the UpdateUserRequest method.
 20168  //    req, resp := client.UpdateUserRequest(params)
 20169  //
 20170  //    err := req.Send()
 20171  //    if err == nil { // resp is now filled
 20172  //        fmt.Println(resp)
 20173  //    }
 20174  //
 20175  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateUser
 20176  func (c *Chime) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, output *UpdateUserOutput) {
 20177  	op := &request.Operation{
 20178  		Name:       opUpdateUser,
 20179  		HTTPMethod: "POST",
 20180  		HTTPPath:   "/accounts/{accountId}/users/{userId}",
 20181  	}
 20182  
 20183  	if input == nil {
 20184  		input = &UpdateUserInput{}
 20185  	}
 20186  
 20187  	output = &UpdateUserOutput{}
 20188  	req = c.newRequest(op, input, output)
 20189  	return
 20190  }
 20191  
 20192  // UpdateUser API operation for Amazon Chime.
 20193  //
 20194  // Updates user details for a specified user ID. Currently, only LicenseType
 20195  // updates are supported for this action.
 20196  //
 20197  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 20198  // with awserr.Error's Code and Message methods to get detailed information about
 20199  // the error.
 20200  //
 20201  // See the AWS API reference guide for Amazon Chime's
 20202  // API operation UpdateUser for usage and error information.
 20203  //
 20204  // Returned Error Types:
 20205  //   * UnauthorizedClientException
 20206  //   The client is not currently authorized to make the request.
 20207  //
 20208  //   * NotFoundException
 20209  //   One or more of the resources in the request does not exist in the system.
 20210  //
 20211  //   * ForbiddenException
 20212  //   The client is permanently forbidden from making the request.
 20213  //
 20214  //   * BadRequestException
 20215  //   The input parameters don't match the service's restrictions.
 20216  //
 20217  //   * ThrottledClientException
 20218  //   The client exceeded its request rate limit.
 20219  //
 20220  //   * ServiceUnavailableException
 20221  //   The service is currently unavailable.
 20222  //
 20223  //   * ServiceFailureException
 20224  //   The service encountered an unexpected error.
 20225  //
 20226  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateUser
 20227  func (c *Chime) UpdateUser(input *UpdateUserInput) (*UpdateUserOutput, error) {
 20228  	req, out := c.UpdateUserRequest(input)
 20229  	return out, req.Send()
 20230  }
 20231  
 20232  // UpdateUserWithContext is the same as UpdateUser with the addition of
 20233  // the ability to pass a context and additional request options.
 20234  //
 20235  // See UpdateUser for details on how to use this API operation.
 20236  //
 20237  // The context must be non-nil and will be used for request cancellation. If
 20238  // the context is nil a panic will occur. In the future the SDK may create
 20239  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 20240  // for more information on using Contexts.
 20241  func (c *Chime) UpdateUserWithContext(ctx aws.Context, input *UpdateUserInput, opts ...request.Option) (*UpdateUserOutput, error) {
 20242  	req, out := c.UpdateUserRequest(input)
 20243  	req.SetContext(ctx)
 20244  	req.ApplyOptions(opts...)
 20245  	return out, req.Send()
 20246  }
 20247  
 20248  const opUpdateUserSettings = "UpdateUserSettings"
 20249  
 20250  // UpdateUserSettingsRequest generates a "aws/request.Request" representing the
 20251  // client's request for the UpdateUserSettings operation. The "output" return
 20252  // value will be populated with the request's response once the request completes
 20253  // successfully.
 20254  //
 20255  // Use "Send" method on the returned Request to send the API call to the service.
 20256  // the "output" return value is not valid until after Send returns without error.
 20257  //
 20258  // See UpdateUserSettings for more information on using the UpdateUserSettings
 20259  // API call, and error handling.
 20260  //
 20261  // This method is useful when you want to inject custom logic or configuration
 20262  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 20263  //
 20264  //
 20265  //    // Example sending a request using the UpdateUserSettingsRequest method.
 20266  //    req, resp := client.UpdateUserSettingsRequest(params)
 20267  //
 20268  //    err := req.Send()
 20269  //    if err == nil { // resp is now filled
 20270  //        fmt.Println(resp)
 20271  //    }
 20272  //
 20273  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateUserSettings
 20274  func (c *Chime) UpdateUserSettingsRequest(input *UpdateUserSettingsInput) (req *request.Request, output *UpdateUserSettingsOutput) {
 20275  	op := &request.Operation{
 20276  		Name:       opUpdateUserSettings,
 20277  		HTTPMethod: "PUT",
 20278  		HTTPPath:   "/accounts/{accountId}/users/{userId}/settings",
 20279  	}
 20280  
 20281  	if input == nil {
 20282  		input = &UpdateUserSettingsInput{}
 20283  	}
 20284  
 20285  	output = &UpdateUserSettingsOutput{}
 20286  	req = c.newRequest(op, input, output)
 20287  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
 20288  	return
 20289  }
 20290  
 20291  // UpdateUserSettings API operation for Amazon Chime.
 20292  //
 20293  // Updates the settings for the specified user, such as phone number settings.
 20294  //
 20295  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 20296  // with awserr.Error's Code and Message methods to get detailed information about
 20297  // the error.
 20298  //
 20299  // See the AWS API reference guide for Amazon Chime's
 20300  // API operation UpdateUserSettings for usage and error information.
 20301  //
 20302  // Returned Error Types:
 20303  //   * UnauthorizedClientException
 20304  //   The client is not currently authorized to make the request.
 20305  //
 20306  //   * NotFoundException
 20307  //   One or more of the resources in the request does not exist in the system.
 20308  //
 20309  //   * ForbiddenException
 20310  //   The client is permanently forbidden from making the request.
 20311  //
 20312  //   * BadRequestException
 20313  //   The input parameters don't match the service's restrictions.
 20314  //
 20315  //   * ThrottledClientException
 20316  //   The client exceeded its request rate limit.
 20317  //
 20318  //   * ServiceUnavailableException
 20319  //   The service is currently unavailable.
 20320  //
 20321  //   * ServiceFailureException
 20322  //   The service encountered an unexpected error.
 20323  //
 20324  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateUserSettings
 20325  func (c *Chime) UpdateUserSettings(input *UpdateUserSettingsInput) (*UpdateUserSettingsOutput, error) {
 20326  	req, out := c.UpdateUserSettingsRequest(input)
 20327  	return out, req.Send()
 20328  }
 20329  
 20330  // UpdateUserSettingsWithContext is the same as UpdateUserSettings with the addition of
 20331  // the ability to pass a context and additional request options.
 20332  //
 20333  // See UpdateUserSettings for details on how to use this API operation.
 20334  //
 20335  // The context must be non-nil and will be used for request cancellation. If
 20336  // the context is nil a panic will occur. In the future the SDK may create
 20337  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 20338  // for more information on using Contexts.
 20339  func (c *Chime) UpdateUserSettingsWithContext(ctx aws.Context, input *UpdateUserSettingsInput, opts ...request.Option) (*UpdateUserSettingsOutput, error) {
 20340  	req, out := c.UpdateUserSettingsRequest(input)
 20341  	req.SetContext(ctx)
 20342  	req.ApplyOptions(opts...)
 20343  	return out, req.Send()
 20344  }
 20345  
 20346  const opUpdateVoiceConnector = "UpdateVoiceConnector"
 20347  
 20348  // UpdateVoiceConnectorRequest generates a "aws/request.Request" representing the
 20349  // client's request for the UpdateVoiceConnector operation. The "output" return
 20350  // value will be populated with the request's response once the request completes
 20351  // successfully.
 20352  //
 20353  // Use "Send" method on the returned Request to send the API call to the service.
 20354  // the "output" return value is not valid until after Send returns without error.
 20355  //
 20356  // See UpdateVoiceConnector for more information on using the UpdateVoiceConnector
 20357  // API call, and error handling.
 20358  //
 20359  // This method is useful when you want to inject custom logic or configuration
 20360  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 20361  //
 20362  //
 20363  //    // Example sending a request using the UpdateVoiceConnectorRequest method.
 20364  //    req, resp := client.UpdateVoiceConnectorRequest(params)
 20365  //
 20366  //    err := req.Send()
 20367  //    if err == nil { // resp is now filled
 20368  //        fmt.Println(resp)
 20369  //    }
 20370  //
 20371  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateVoiceConnector
 20372  func (c *Chime) UpdateVoiceConnectorRequest(input *UpdateVoiceConnectorInput) (req *request.Request, output *UpdateVoiceConnectorOutput) {
 20373  	op := &request.Operation{
 20374  		Name:       opUpdateVoiceConnector,
 20375  		HTTPMethod: "PUT",
 20376  		HTTPPath:   "/voice-connectors/{voiceConnectorId}",
 20377  	}
 20378  
 20379  	if input == nil {
 20380  		input = &UpdateVoiceConnectorInput{}
 20381  	}
 20382  
 20383  	output = &UpdateVoiceConnectorOutput{}
 20384  	req = c.newRequest(op, input, output)
 20385  	return
 20386  }
 20387  
 20388  // UpdateVoiceConnector API operation for Amazon Chime.
 20389  //
 20390  // Updates details for the specified Amazon Chime Voice Connector.
 20391  //
 20392  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 20393  // with awserr.Error's Code and Message methods to get detailed information about
 20394  // the error.
 20395  //
 20396  // See the AWS API reference guide for Amazon Chime's
 20397  // API operation UpdateVoiceConnector for usage and error information.
 20398  //
 20399  // Returned Error Types:
 20400  //   * UnauthorizedClientException
 20401  //   The client is not currently authorized to make the request.
 20402  //
 20403  //   * NotFoundException
 20404  //   One or more of the resources in the request does not exist in the system.
 20405  //
 20406  //   * ForbiddenException
 20407  //   The client is permanently forbidden from making the request.
 20408  //
 20409  //   * BadRequestException
 20410  //   The input parameters don't match the service's restrictions.
 20411  //
 20412  //   * ThrottledClientException
 20413  //   The client exceeded its request rate limit.
 20414  //
 20415  //   * ServiceUnavailableException
 20416  //   The service is currently unavailable.
 20417  //
 20418  //   * ServiceFailureException
 20419  //   The service encountered an unexpected error.
 20420  //
 20421  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateVoiceConnector
 20422  func (c *Chime) UpdateVoiceConnector(input *UpdateVoiceConnectorInput) (*UpdateVoiceConnectorOutput, error) {
 20423  	req, out := c.UpdateVoiceConnectorRequest(input)
 20424  	return out, req.Send()
 20425  }
 20426  
 20427  // UpdateVoiceConnectorWithContext is the same as UpdateVoiceConnector with the addition of
 20428  // the ability to pass a context and additional request options.
 20429  //
 20430  // See UpdateVoiceConnector for details on how to use this API operation.
 20431  //
 20432  // The context must be non-nil and will be used for request cancellation. If
 20433  // the context is nil a panic will occur. In the future the SDK may create
 20434  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 20435  // for more information on using Contexts.
 20436  func (c *Chime) UpdateVoiceConnectorWithContext(ctx aws.Context, input *UpdateVoiceConnectorInput, opts ...request.Option) (*UpdateVoiceConnectorOutput, error) {
 20437  	req, out := c.UpdateVoiceConnectorRequest(input)
 20438  	req.SetContext(ctx)
 20439  	req.ApplyOptions(opts...)
 20440  	return out, req.Send()
 20441  }
 20442  
 20443  const opUpdateVoiceConnectorGroup = "UpdateVoiceConnectorGroup"
 20444  
 20445  // UpdateVoiceConnectorGroupRequest generates a "aws/request.Request" representing the
 20446  // client's request for the UpdateVoiceConnectorGroup operation. The "output" return
 20447  // value will be populated with the request's response once the request completes
 20448  // successfully.
 20449  //
 20450  // Use "Send" method on the returned Request to send the API call to the service.
 20451  // the "output" return value is not valid until after Send returns without error.
 20452  //
 20453  // See UpdateVoiceConnectorGroup for more information on using the UpdateVoiceConnectorGroup
 20454  // API call, and error handling.
 20455  //
 20456  // This method is useful when you want to inject custom logic or configuration
 20457  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 20458  //
 20459  //
 20460  //    // Example sending a request using the UpdateVoiceConnectorGroupRequest method.
 20461  //    req, resp := client.UpdateVoiceConnectorGroupRequest(params)
 20462  //
 20463  //    err := req.Send()
 20464  //    if err == nil { // resp is now filled
 20465  //        fmt.Println(resp)
 20466  //    }
 20467  //
 20468  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateVoiceConnectorGroup
 20469  func (c *Chime) UpdateVoiceConnectorGroupRequest(input *UpdateVoiceConnectorGroupInput) (req *request.Request, output *UpdateVoiceConnectorGroupOutput) {
 20470  	op := &request.Operation{
 20471  		Name:       opUpdateVoiceConnectorGroup,
 20472  		HTTPMethod: "PUT",
 20473  		HTTPPath:   "/voice-connector-groups/{voiceConnectorGroupId}",
 20474  	}
 20475  
 20476  	if input == nil {
 20477  		input = &UpdateVoiceConnectorGroupInput{}
 20478  	}
 20479  
 20480  	output = &UpdateVoiceConnectorGroupOutput{}
 20481  	req = c.newRequest(op, input, output)
 20482  	return
 20483  }
 20484  
 20485  // UpdateVoiceConnectorGroup API operation for Amazon Chime.
 20486  //
 20487  // Updates details of the specified Amazon Chime Voice Connector group, such
 20488  // as the name and Amazon Chime Voice Connector priority ranking.
 20489  //
 20490  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 20491  // with awserr.Error's Code and Message methods to get detailed information about
 20492  // the error.
 20493  //
 20494  // See the AWS API reference guide for Amazon Chime's
 20495  // API operation UpdateVoiceConnectorGroup for usage and error information.
 20496  //
 20497  // Returned Error Types:
 20498  //   * UnauthorizedClientException
 20499  //   The client is not currently authorized to make the request.
 20500  //
 20501  //   * NotFoundException
 20502  //   One or more of the resources in the request does not exist in the system.
 20503  //
 20504  //   * ForbiddenException
 20505  //   The client is permanently forbidden from making the request.
 20506  //
 20507  //   * BadRequestException
 20508  //   The input parameters don't match the service's restrictions.
 20509  //
 20510  //   * ConflictException
 20511  //   The request could not be processed because of conflict in the current state
 20512  //   of the resource.
 20513  //
 20514  //   * ThrottledClientException
 20515  //   The client exceeded its request rate limit.
 20516  //
 20517  //   * ServiceUnavailableException
 20518  //   The service is currently unavailable.
 20519  //
 20520  //   * ServiceFailureException
 20521  //   The service encountered an unexpected error.
 20522  //
 20523  // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateVoiceConnectorGroup
 20524  func (c *Chime) UpdateVoiceConnectorGroup(input *UpdateVoiceConnectorGroupInput) (*UpdateVoiceConnectorGroupOutput, error) {
 20525  	req, out := c.UpdateVoiceConnectorGroupRequest(input)
 20526  	return out, req.Send()
 20527  }
 20528  
 20529  // UpdateVoiceConnectorGroupWithContext is the same as UpdateVoiceConnectorGroup with the addition of
 20530  // the ability to pass a context and additional request options.
 20531  //
 20532  // See UpdateVoiceConnectorGroup for details on how to use this API operation.
 20533  //
 20534  // The context must be non-nil and will be used for request cancellation. If
 20535  // the context is nil a panic will occur. In the future the SDK may create
 20536  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 20537  // for more information on using Contexts.
 20538  func (c *Chime) UpdateVoiceConnectorGroupWithContext(ctx aws.Context, input *UpdateVoiceConnectorGroupInput, opts ...request.Option) (*UpdateVoiceConnectorGroupOutput, error) {
 20539  	req, out := c.UpdateVoiceConnectorGroupRequest(input)
 20540  	req.SetContext(ctx)
 20541  	req.ApplyOptions(opts...)
 20542  	return out, req.Send()
 20543  }
 20544  
 20545  // You don't have permissions to perform the requested operation.
 20546  type AccessDeniedException struct {
 20547  	_            struct{}                  `type:"structure"`
 20548  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 20549  
 20550  	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
 20551  
 20552  	Message_ *string `locationName:"Message" type:"string"`
 20553  }
 20554  
 20555  // String returns the string representation.
 20556  //
 20557  // API parameter values that are decorated as "sensitive" in the API will not
 20558  // be included in the string output. The member name will be present, but the
 20559  // value will be replaced with "sensitive".
 20560  func (s AccessDeniedException) String() string {
 20561  	return awsutil.Prettify(s)
 20562  }
 20563  
 20564  // GoString returns the string representation.
 20565  //
 20566  // API parameter values that are decorated as "sensitive" in the API will not
 20567  // be included in the string output. The member name will be present, but the
 20568  // value will be replaced with "sensitive".
 20569  func (s AccessDeniedException) GoString() string {
 20570  	return s.String()
 20571  }
 20572  
 20573  func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
 20574  	return &AccessDeniedException{
 20575  		RespMetadata: v,
 20576  	}
 20577  }
 20578  
 20579  // Code returns the exception type name.
 20580  func (s *AccessDeniedException) Code() string {
 20581  	return "AccessDeniedException"
 20582  }
 20583  
 20584  // Message returns the exception's message.
 20585  func (s *AccessDeniedException) Message() string {
 20586  	if s.Message_ != nil {
 20587  		return *s.Message_
 20588  	}
 20589  	return ""
 20590  }
 20591  
 20592  // OrigErr always returns nil, satisfies awserr.Error interface.
 20593  func (s *AccessDeniedException) OrigErr() error {
 20594  	return nil
 20595  }
 20596  
 20597  func (s *AccessDeniedException) Error() string {
 20598  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 20599  }
 20600  
 20601  // Status code returns the HTTP status code for the request's response error.
 20602  func (s *AccessDeniedException) StatusCode() int {
 20603  	return s.RespMetadata.StatusCode
 20604  }
 20605  
 20606  // RequestID returns the service's response RequestID for request.
 20607  func (s *AccessDeniedException) RequestID() string {
 20608  	return s.RespMetadata.RequestID
 20609  }
 20610  
 20611  // The Amazon Chime account details. An AWS account can have multiple Amazon
 20612  // Chime accounts.
 20613  type Account struct {
 20614  	_ struct{} `type:"structure"`
 20615  
 20616  	// The Amazon Chime account ID.
 20617  	//
 20618  	// AccountId is a required field
 20619  	AccountId *string `type:"string" required:"true"`
 20620  
 20621  	// The status of the account.
 20622  	AccountStatus *string `type:"string" enum:"AccountStatus"`
 20623  
 20624  	// The Amazon Chime account type. For more information about different account
 20625  	// types, see Managing Your Amazon Chime Accounts (https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html)
 20626  	// in the Amazon Chime Administration Guide.
 20627  	AccountType *string `type:"string" enum:"AccountType"`
 20628  
 20629  	// The AWS account ID.
 20630  	//
 20631  	// AwsAccountId is a required field
 20632  	AwsAccountId *string `type:"string" required:"true"`
 20633  
 20634  	// The Amazon Chime account creation timestamp, in ISO 8601 format.
 20635  	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 20636  
 20637  	// The default license for the Amazon Chime account.
 20638  	DefaultLicense *string `type:"string" enum:"License"`
 20639  
 20640  	// The Amazon Chime account name.
 20641  	//
 20642  	// Name is a required field
 20643  	Name *string `type:"string" required:"true"`
 20644  
 20645  	// The sign-in delegate groups associated with the account.
 20646  	SigninDelegateGroups []*SigninDelegateGroup `type:"list"`
 20647  
 20648  	// Supported licenses for the Amazon Chime account.
 20649  	SupportedLicenses []*string `type:"list"`
 20650  }
 20651  
 20652  // String returns the string representation.
 20653  //
 20654  // API parameter values that are decorated as "sensitive" in the API will not
 20655  // be included in the string output. The member name will be present, but the
 20656  // value will be replaced with "sensitive".
 20657  func (s Account) String() string {
 20658  	return awsutil.Prettify(s)
 20659  }
 20660  
 20661  // GoString returns the string representation.
 20662  //
 20663  // API parameter values that are decorated as "sensitive" in the API will not
 20664  // be included in the string output. The member name will be present, but the
 20665  // value will be replaced with "sensitive".
 20666  func (s Account) GoString() string {
 20667  	return s.String()
 20668  }
 20669  
 20670  // SetAccountId sets the AccountId field's value.
 20671  func (s *Account) SetAccountId(v string) *Account {
 20672  	s.AccountId = &v
 20673  	return s
 20674  }
 20675  
 20676  // SetAccountStatus sets the AccountStatus field's value.
 20677  func (s *Account) SetAccountStatus(v string) *Account {
 20678  	s.AccountStatus = &v
 20679  	return s
 20680  }
 20681  
 20682  // SetAccountType sets the AccountType field's value.
 20683  func (s *Account) SetAccountType(v string) *Account {
 20684  	s.AccountType = &v
 20685  	return s
 20686  }
 20687  
 20688  // SetAwsAccountId sets the AwsAccountId field's value.
 20689  func (s *Account) SetAwsAccountId(v string) *Account {
 20690  	s.AwsAccountId = &v
 20691  	return s
 20692  }
 20693  
 20694  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 20695  func (s *Account) SetCreatedTimestamp(v time.Time) *Account {
 20696  	s.CreatedTimestamp = &v
 20697  	return s
 20698  }
 20699  
 20700  // SetDefaultLicense sets the DefaultLicense field's value.
 20701  func (s *Account) SetDefaultLicense(v string) *Account {
 20702  	s.DefaultLicense = &v
 20703  	return s
 20704  }
 20705  
 20706  // SetName sets the Name field's value.
 20707  func (s *Account) SetName(v string) *Account {
 20708  	s.Name = &v
 20709  	return s
 20710  }
 20711  
 20712  // SetSigninDelegateGroups sets the SigninDelegateGroups field's value.
 20713  func (s *Account) SetSigninDelegateGroups(v []*SigninDelegateGroup) *Account {
 20714  	s.SigninDelegateGroups = v
 20715  	return s
 20716  }
 20717  
 20718  // SetSupportedLicenses sets the SupportedLicenses field's value.
 20719  func (s *Account) SetSupportedLicenses(v []*string) *Account {
 20720  	s.SupportedLicenses = v
 20721  	return s
 20722  }
 20723  
 20724  // Settings related to the Amazon Chime account. This includes settings that
 20725  // start or stop remote control of shared screens, or start or stop the dial-out
 20726  // option in the Amazon Chime web application. For more information about these
 20727  // settings, see Use the Policies Page (https://docs.aws.amazon.com/chime/latest/ag/policies.html)
 20728  // in the Amazon Chime Administration Guide.
 20729  type AccountSettings struct {
 20730  	_ struct{} `type:"structure"`
 20731  
 20732  	// Setting that stops or starts remote control of shared screens during meetings.
 20733  	DisableRemoteControl *bool `type:"boolean"`
 20734  
 20735  	// Setting that allows meeting participants to choose the Call me at a phone
 20736  	// number option. For more information, see Join a Meeting without the Amazon
 20737  	// Chime App (https://docs.aws.amazon.com/chime/latest/ug/chime-join-meeting.html).
 20738  	EnableDialOut *bool `type:"boolean"`
 20739  }
 20740  
 20741  // String returns the string representation.
 20742  //
 20743  // API parameter values that are decorated as "sensitive" in the API will not
 20744  // be included in the string output. The member name will be present, but the
 20745  // value will be replaced with "sensitive".
 20746  func (s AccountSettings) String() string {
 20747  	return awsutil.Prettify(s)
 20748  }
 20749  
 20750  // GoString returns the string representation.
 20751  //
 20752  // API parameter values that are decorated as "sensitive" in the API will not
 20753  // be included in the string output. The member name will be present, but the
 20754  // value will be replaced with "sensitive".
 20755  func (s AccountSettings) GoString() string {
 20756  	return s.String()
 20757  }
 20758  
 20759  // SetDisableRemoteControl sets the DisableRemoteControl field's value.
 20760  func (s *AccountSettings) SetDisableRemoteControl(v bool) *AccountSettings {
 20761  	s.DisableRemoteControl = &v
 20762  	return s
 20763  }
 20764  
 20765  // SetEnableDialOut sets the EnableDialOut field's value.
 20766  func (s *AccountSettings) SetEnableDialOut(v bool) *AccountSettings {
 20767  	s.EnableDialOut = &v
 20768  	return s
 20769  }
 20770  
 20771  // The Alexa for Business metadata associated with an Amazon Chime user, used
 20772  // to integrate Alexa for Business with a device.
 20773  type AlexaForBusinessMetadata struct {
 20774  	_ struct{} `type:"structure"`
 20775  
 20776  	// The ARN of the room resource.
 20777  	//
 20778  	// AlexaForBusinessRoomArn is a sensitive parameter and its value will be
 20779  	// replaced with "sensitive" in string returned by AlexaForBusinessMetadata's
 20780  	// String and GoString methods.
 20781  	AlexaForBusinessRoomArn *string `type:"string" sensitive:"true"`
 20782  
 20783  	// Starts or stops Alexa for Business.
 20784  	IsAlexaForBusinessEnabled *bool `type:"boolean"`
 20785  }
 20786  
 20787  // String returns the string representation.
 20788  //
 20789  // API parameter values that are decorated as "sensitive" in the API will not
 20790  // be included in the string output. The member name will be present, but the
 20791  // value will be replaced with "sensitive".
 20792  func (s AlexaForBusinessMetadata) String() string {
 20793  	return awsutil.Prettify(s)
 20794  }
 20795  
 20796  // GoString returns the string representation.
 20797  //
 20798  // API parameter values that are decorated as "sensitive" in the API will not
 20799  // be included in the string output. The member name will be present, but the
 20800  // value will be replaced with "sensitive".
 20801  func (s AlexaForBusinessMetadata) GoString() string {
 20802  	return s.String()
 20803  }
 20804  
 20805  // SetAlexaForBusinessRoomArn sets the AlexaForBusinessRoomArn field's value.
 20806  func (s *AlexaForBusinessMetadata) SetAlexaForBusinessRoomArn(v string) *AlexaForBusinessMetadata {
 20807  	s.AlexaForBusinessRoomArn = &v
 20808  	return s
 20809  }
 20810  
 20811  // SetIsAlexaForBusinessEnabled sets the IsAlexaForBusinessEnabled field's value.
 20812  func (s *AlexaForBusinessMetadata) SetIsAlexaForBusinessEnabled(v bool) *AlexaForBusinessMetadata {
 20813  	s.IsAlexaForBusinessEnabled = &v
 20814  	return s
 20815  }
 20816  
 20817  // The details of an AppInstance, an instance of an Amazon Chime SDK messaging
 20818  // application.
 20819  type AppInstance struct {
 20820  	_ struct{} `type:"structure"`
 20821  
 20822  	// The ARN of the messaging instance.
 20823  	AppInstanceArn *string `min:"5" type:"string"`
 20824  
 20825  	// The time at which an AppInstance was created. In epoch milliseconds.
 20826  	CreatedTimestamp *time.Time `type:"timestamp"`
 20827  
 20828  	// The time an AppInstance was last updated. In epoch milliseconds.
 20829  	LastUpdatedTimestamp *time.Time `type:"timestamp"`
 20830  
 20831  	// The metadata of an AppInstance.
 20832  	//
 20833  	// Metadata is a sensitive parameter and its value will be
 20834  	// replaced with "sensitive" in string returned by AppInstance's
 20835  	// String and GoString methods.
 20836  	Metadata *string `type:"string" sensitive:"true"`
 20837  
 20838  	// The name of an AppInstance.
 20839  	//
 20840  	// Name is a sensitive parameter and its value will be
 20841  	// replaced with "sensitive" in string returned by AppInstance's
 20842  	// String and GoString methods.
 20843  	Name *string `min:"1" type:"string" sensitive:"true"`
 20844  }
 20845  
 20846  // String returns the string representation.
 20847  //
 20848  // API parameter values that are decorated as "sensitive" in the API will not
 20849  // be included in the string output. The member name will be present, but the
 20850  // value will be replaced with "sensitive".
 20851  func (s AppInstance) String() string {
 20852  	return awsutil.Prettify(s)
 20853  }
 20854  
 20855  // GoString returns the string representation.
 20856  //
 20857  // API parameter values that are decorated as "sensitive" in the API will not
 20858  // be included in the string output. The member name will be present, but the
 20859  // value will be replaced with "sensitive".
 20860  func (s AppInstance) GoString() string {
 20861  	return s.String()
 20862  }
 20863  
 20864  // SetAppInstanceArn sets the AppInstanceArn field's value.
 20865  func (s *AppInstance) SetAppInstanceArn(v string) *AppInstance {
 20866  	s.AppInstanceArn = &v
 20867  	return s
 20868  }
 20869  
 20870  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 20871  func (s *AppInstance) SetCreatedTimestamp(v time.Time) *AppInstance {
 20872  	s.CreatedTimestamp = &v
 20873  	return s
 20874  }
 20875  
 20876  // SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
 20877  func (s *AppInstance) SetLastUpdatedTimestamp(v time.Time) *AppInstance {
 20878  	s.LastUpdatedTimestamp = &v
 20879  	return s
 20880  }
 20881  
 20882  // SetMetadata sets the Metadata field's value.
 20883  func (s *AppInstance) SetMetadata(v string) *AppInstance {
 20884  	s.Metadata = &v
 20885  	return s
 20886  }
 20887  
 20888  // SetName sets the Name field's value.
 20889  func (s *AppInstance) SetName(v string) *AppInstance {
 20890  	s.Name = &v
 20891  	return s
 20892  }
 20893  
 20894  // The details of an AppInstanceAdmin.
 20895  type AppInstanceAdmin struct {
 20896  	_ struct{} `type:"structure"`
 20897  
 20898  	// The AppInstanceAdmin data.
 20899  	Admin *Identity `type:"structure"`
 20900  
 20901  	// The ARN of the AppInstance for which the user is an administrator.
 20902  	AppInstanceArn *string `min:"5" type:"string"`
 20903  
 20904  	// The time at which an administrator was created.
 20905  	CreatedTimestamp *time.Time `type:"timestamp"`
 20906  }
 20907  
 20908  // String returns the string representation.
 20909  //
 20910  // API parameter values that are decorated as "sensitive" in the API will not
 20911  // be included in the string output. The member name will be present, but the
 20912  // value will be replaced with "sensitive".
 20913  func (s AppInstanceAdmin) String() string {
 20914  	return awsutil.Prettify(s)
 20915  }
 20916  
 20917  // GoString returns the string representation.
 20918  //
 20919  // API parameter values that are decorated as "sensitive" in the API will not
 20920  // be included in the string output. The member name will be present, but the
 20921  // value will be replaced with "sensitive".
 20922  func (s AppInstanceAdmin) GoString() string {
 20923  	return s.String()
 20924  }
 20925  
 20926  // SetAdmin sets the Admin field's value.
 20927  func (s *AppInstanceAdmin) SetAdmin(v *Identity) *AppInstanceAdmin {
 20928  	s.Admin = v
 20929  	return s
 20930  }
 20931  
 20932  // SetAppInstanceArn sets the AppInstanceArn field's value.
 20933  func (s *AppInstanceAdmin) SetAppInstanceArn(v string) *AppInstanceAdmin {
 20934  	s.AppInstanceArn = &v
 20935  	return s
 20936  }
 20937  
 20938  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 20939  func (s *AppInstanceAdmin) SetCreatedTimestamp(v time.Time) *AppInstanceAdmin {
 20940  	s.CreatedTimestamp = &v
 20941  	return s
 20942  }
 20943  
 20944  // Summary of the details of an AppInstanceAdmin.
 20945  type AppInstanceAdminSummary struct {
 20946  	_ struct{} `type:"structure"`
 20947  
 20948  	// The details of the AppInstanceAdmin.
 20949  	Admin *Identity `type:"structure"`
 20950  }
 20951  
 20952  // String returns the string representation.
 20953  //
 20954  // API parameter values that are decorated as "sensitive" in the API will not
 20955  // be included in the string output. The member name will be present, but the
 20956  // value will be replaced with "sensitive".
 20957  func (s AppInstanceAdminSummary) String() string {
 20958  	return awsutil.Prettify(s)
 20959  }
 20960  
 20961  // GoString returns the string representation.
 20962  //
 20963  // API parameter values that are decorated as "sensitive" in the API will not
 20964  // be included in the string output. The member name will be present, but the
 20965  // value will be replaced with "sensitive".
 20966  func (s AppInstanceAdminSummary) GoString() string {
 20967  	return s.String()
 20968  }
 20969  
 20970  // SetAdmin sets the Admin field's value.
 20971  func (s *AppInstanceAdminSummary) SetAdmin(v *Identity) *AppInstanceAdminSummary {
 20972  	s.Admin = v
 20973  	return s
 20974  }
 20975  
 20976  // The details of the data-retention settings for an AppInstance.
 20977  type AppInstanceRetentionSettings struct {
 20978  	_ struct{} `type:"structure"`
 20979  
 20980  	// The length of time in days to retain the messages in a channel.
 20981  	ChannelRetentionSettings *ChannelRetentionSettings `type:"structure"`
 20982  }
 20983  
 20984  // String returns the string representation.
 20985  //
 20986  // API parameter values that are decorated as "sensitive" in the API will not
 20987  // be included in the string output. The member name will be present, but the
 20988  // value will be replaced with "sensitive".
 20989  func (s AppInstanceRetentionSettings) String() string {
 20990  	return awsutil.Prettify(s)
 20991  }
 20992  
 20993  // GoString returns the string representation.
 20994  //
 20995  // API parameter values that are decorated as "sensitive" in the API will not
 20996  // be included in the string output. The member name will be present, but the
 20997  // value will be replaced with "sensitive".
 20998  func (s AppInstanceRetentionSettings) GoString() string {
 20999  	return s.String()
 21000  }
 21001  
 21002  // Validate inspects the fields of the type to determine if they are valid.
 21003  func (s *AppInstanceRetentionSettings) Validate() error {
 21004  	invalidParams := request.ErrInvalidParams{Context: "AppInstanceRetentionSettings"}
 21005  	if s.ChannelRetentionSettings != nil {
 21006  		if err := s.ChannelRetentionSettings.Validate(); err != nil {
 21007  			invalidParams.AddNested("ChannelRetentionSettings", err.(request.ErrInvalidParams))
 21008  		}
 21009  	}
 21010  
 21011  	if invalidParams.Len() > 0 {
 21012  		return invalidParams
 21013  	}
 21014  	return nil
 21015  }
 21016  
 21017  // SetChannelRetentionSettings sets the ChannelRetentionSettings field's value.
 21018  func (s *AppInstanceRetentionSettings) SetChannelRetentionSettings(v *ChannelRetentionSettings) *AppInstanceRetentionSettings {
 21019  	s.ChannelRetentionSettings = v
 21020  	return s
 21021  }
 21022  
 21023  // The details of the streaming configuration of an AppInstance.
 21024  type AppInstanceStreamingConfiguration struct {
 21025  	_ struct{} `type:"structure"`
 21026  
 21027  	// The type of data to be streamed.
 21028  	//
 21029  	// AppInstanceDataType is a required field
 21030  	AppInstanceDataType *string `type:"string" required:"true" enum:"AppInstanceDataType"`
 21031  
 21032  	// The resource ARN.
 21033  	//
 21034  	// ResourceArn is a sensitive parameter and its value will be
 21035  	// replaced with "sensitive" in string returned by AppInstanceStreamingConfiguration's
 21036  	// String and GoString methods.
 21037  	//
 21038  	// ResourceArn is a required field
 21039  	ResourceArn *string `min:"1" type:"string" required:"true" sensitive:"true"`
 21040  }
 21041  
 21042  // String returns the string representation.
 21043  //
 21044  // API parameter values that are decorated as "sensitive" in the API will not
 21045  // be included in the string output. The member name will be present, but the
 21046  // value will be replaced with "sensitive".
 21047  func (s AppInstanceStreamingConfiguration) String() string {
 21048  	return awsutil.Prettify(s)
 21049  }
 21050  
 21051  // GoString returns the string representation.
 21052  //
 21053  // API parameter values that are decorated as "sensitive" in the API will not
 21054  // be included in the string output. The member name will be present, but the
 21055  // value will be replaced with "sensitive".
 21056  func (s AppInstanceStreamingConfiguration) GoString() string {
 21057  	return s.String()
 21058  }
 21059  
 21060  // Validate inspects the fields of the type to determine if they are valid.
 21061  func (s *AppInstanceStreamingConfiguration) Validate() error {
 21062  	invalidParams := request.ErrInvalidParams{Context: "AppInstanceStreamingConfiguration"}
 21063  	if s.AppInstanceDataType == nil {
 21064  		invalidParams.Add(request.NewErrParamRequired("AppInstanceDataType"))
 21065  	}
 21066  	if s.ResourceArn == nil {
 21067  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
 21068  	}
 21069  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
 21070  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
 21071  	}
 21072  
 21073  	if invalidParams.Len() > 0 {
 21074  		return invalidParams
 21075  	}
 21076  	return nil
 21077  }
 21078  
 21079  // SetAppInstanceDataType sets the AppInstanceDataType field's value.
 21080  func (s *AppInstanceStreamingConfiguration) SetAppInstanceDataType(v string) *AppInstanceStreamingConfiguration {
 21081  	s.AppInstanceDataType = &v
 21082  	return s
 21083  }
 21084  
 21085  // SetResourceArn sets the ResourceArn field's value.
 21086  func (s *AppInstanceStreamingConfiguration) SetResourceArn(v string) *AppInstanceStreamingConfiguration {
 21087  	s.ResourceArn = &v
 21088  	return s
 21089  }
 21090  
 21091  // Summary of the data for an AppInstance.
 21092  type AppInstanceSummary struct {
 21093  	_ struct{} `type:"structure"`
 21094  
 21095  	// The AppInstance ARN.
 21096  	AppInstanceArn *string `min:"5" type:"string"`
 21097  
 21098  	// The metadata of the AppInstance.
 21099  	//
 21100  	// Metadata is a sensitive parameter and its value will be
 21101  	// replaced with "sensitive" in string returned by AppInstanceSummary's
 21102  	// String and GoString methods.
 21103  	Metadata *string `type:"string" sensitive:"true"`
 21104  
 21105  	// The name of the AppInstance.
 21106  	//
 21107  	// Name is a sensitive parameter and its value will be
 21108  	// replaced with "sensitive" in string returned by AppInstanceSummary's
 21109  	// String and GoString methods.
 21110  	Name *string `min:"1" type:"string" sensitive:"true"`
 21111  }
 21112  
 21113  // String returns the string representation.
 21114  //
 21115  // API parameter values that are decorated as "sensitive" in the API will not
 21116  // be included in the string output. The member name will be present, but the
 21117  // value will be replaced with "sensitive".
 21118  func (s AppInstanceSummary) String() string {
 21119  	return awsutil.Prettify(s)
 21120  }
 21121  
 21122  // GoString returns the string representation.
 21123  //
 21124  // API parameter values that are decorated as "sensitive" in the API will not
 21125  // be included in the string output. The member name will be present, but the
 21126  // value will be replaced with "sensitive".
 21127  func (s AppInstanceSummary) GoString() string {
 21128  	return s.String()
 21129  }
 21130  
 21131  // SetAppInstanceArn sets the AppInstanceArn field's value.
 21132  func (s *AppInstanceSummary) SetAppInstanceArn(v string) *AppInstanceSummary {
 21133  	s.AppInstanceArn = &v
 21134  	return s
 21135  }
 21136  
 21137  // SetMetadata sets the Metadata field's value.
 21138  func (s *AppInstanceSummary) SetMetadata(v string) *AppInstanceSummary {
 21139  	s.Metadata = &v
 21140  	return s
 21141  }
 21142  
 21143  // SetName sets the Name field's value.
 21144  func (s *AppInstanceSummary) SetName(v string) *AppInstanceSummary {
 21145  	s.Name = &v
 21146  	return s
 21147  }
 21148  
 21149  // The details of an AppInstanceUser.
 21150  type AppInstanceUser struct {
 21151  	_ struct{} `type:"structure"`
 21152  
 21153  	// The ARN of the AppInstanceUser.
 21154  	AppInstanceUserArn *string `min:"5" type:"string"`
 21155  
 21156  	// The time at which the AppInstanceUser was created.
 21157  	CreatedTimestamp *time.Time `type:"timestamp"`
 21158  
 21159  	// The time at which the AppInstanceUser was last updated.
 21160  	LastUpdatedTimestamp *time.Time `type:"timestamp"`
 21161  
 21162  	// The metadata of the AppInstanceUser.
 21163  	//
 21164  	// Metadata is a sensitive parameter and its value will be
 21165  	// replaced with "sensitive" in string returned by AppInstanceUser's
 21166  	// String and GoString methods.
 21167  	Metadata *string `type:"string" sensitive:"true"`
 21168  
 21169  	// The name of the AppInstanceUser.
 21170  	//
 21171  	// Name is a sensitive parameter and its value will be
 21172  	// replaced with "sensitive" in string returned by AppInstanceUser's
 21173  	// String and GoString methods.
 21174  	Name *string `min:"1" type:"string" sensitive:"true"`
 21175  }
 21176  
 21177  // String returns the string representation.
 21178  //
 21179  // API parameter values that are decorated as "sensitive" in the API will not
 21180  // be included in the string output. The member name will be present, but the
 21181  // value will be replaced with "sensitive".
 21182  func (s AppInstanceUser) String() string {
 21183  	return awsutil.Prettify(s)
 21184  }
 21185  
 21186  // GoString returns the string representation.
 21187  //
 21188  // API parameter values that are decorated as "sensitive" in the API will not
 21189  // be included in the string output. The member name will be present, but the
 21190  // value will be replaced with "sensitive".
 21191  func (s AppInstanceUser) GoString() string {
 21192  	return s.String()
 21193  }
 21194  
 21195  // SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
 21196  func (s *AppInstanceUser) SetAppInstanceUserArn(v string) *AppInstanceUser {
 21197  	s.AppInstanceUserArn = &v
 21198  	return s
 21199  }
 21200  
 21201  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 21202  func (s *AppInstanceUser) SetCreatedTimestamp(v time.Time) *AppInstanceUser {
 21203  	s.CreatedTimestamp = &v
 21204  	return s
 21205  }
 21206  
 21207  // SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
 21208  func (s *AppInstanceUser) SetLastUpdatedTimestamp(v time.Time) *AppInstanceUser {
 21209  	s.LastUpdatedTimestamp = &v
 21210  	return s
 21211  }
 21212  
 21213  // SetMetadata sets the Metadata field's value.
 21214  func (s *AppInstanceUser) SetMetadata(v string) *AppInstanceUser {
 21215  	s.Metadata = &v
 21216  	return s
 21217  }
 21218  
 21219  // SetName sets the Name field's value.
 21220  func (s *AppInstanceUser) SetName(v string) *AppInstanceUser {
 21221  	s.Name = &v
 21222  	return s
 21223  }
 21224  
 21225  // Summary of the membership details of an AppInstanceUser.
 21226  type AppInstanceUserMembershipSummary struct {
 21227  	_ struct{} `type:"structure"`
 21228  
 21229  	// The time at which a message was last read.
 21230  	ReadMarkerTimestamp *time.Time `type:"timestamp"`
 21231  
 21232  	// The type of ChannelMembership.
 21233  	Type *string `type:"string" enum:"ChannelMembershipType"`
 21234  }
 21235  
 21236  // String returns the string representation.
 21237  //
 21238  // API parameter values that are decorated as "sensitive" in the API will not
 21239  // be included in the string output. The member name will be present, but the
 21240  // value will be replaced with "sensitive".
 21241  func (s AppInstanceUserMembershipSummary) String() string {
 21242  	return awsutil.Prettify(s)
 21243  }
 21244  
 21245  // GoString returns the string representation.
 21246  //
 21247  // API parameter values that are decorated as "sensitive" in the API will not
 21248  // be included in the string output. The member name will be present, but the
 21249  // value will be replaced with "sensitive".
 21250  func (s AppInstanceUserMembershipSummary) GoString() string {
 21251  	return s.String()
 21252  }
 21253  
 21254  // SetReadMarkerTimestamp sets the ReadMarkerTimestamp field's value.
 21255  func (s *AppInstanceUserMembershipSummary) SetReadMarkerTimestamp(v time.Time) *AppInstanceUserMembershipSummary {
 21256  	s.ReadMarkerTimestamp = &v
 21257  	return s
 21258  }
 21259  
 21260  // SetType sets the Type field's value.
 21261  func (s *AppInstanceUserMembershipSummary) SetType(v string) *AppInstanceUserMembershipSummary {
 21262  	s.Type = &v
 21263  	return s
 21264  }
 21265  
 21266  // Summary of the details of an AppInstanceUser.
 21267  type AppInstanceUserSummary struct {
 21268  	_ struct{} `type:"structure"`
 21269  
 21270  	// The ARN of the AppInstanceUser.
 21271  	AppInstanceUserArn *string `min:"5" type:"string"`
 21272  
 21273  	// The metadata of the AppInstanceUser.
 21274  	//
 21275  	// Metadata is a sensitive parameter and its value will be
 21276  	// replaced with "sensitive" in string returned by AppInstanceUserSummary's
 21277  	// String and GoString methods.
 21278  	Metadata *string `type:"string" sensitive:"true"`
 21279  
 21280  	// The name of an AppInstanceUser.
 21281  	//
 21282  	// Name is a sensitive parameter and its value will be
 21283  	// replaced with "sensitive" in string returned by AppInstanceUserSummary's
 21284  	// String and GoString methods.
 21285  	Name *string `min:"1" type:"string" sensitive:"true"`
 21286  }
 21287  
 21288  // String returns the string representation.
 21289  //
 21290  // API parameter values that are decorated as "sensitive" in the API will not
 21291  // be included in the string output. The member name will be present, but the
 21292  // value will be replaced with "sensitive".
 21293  func (s AppInstanceUserSummary) String() string {
 21294  	return awsutil.Prettify(s)
 21295  }
 21296  
 21297  // GoString returns the string representation.
 21298  //
 21299  // API parameter values that are decorated as "sensitive" in the API will not
 21300  // be included in the string output. The member name will be present, but the
 21301  // value will be replaced with "sensitive".
 21302  func (s AppInstanceUserSummary) GoString() string {
 21303  	return s.String()
 21304  }
 21305  
 21306  // SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
 21307  func (s *AppInstanceUserSummary) SetAppInstanceUserArn(v string) *AppInstanceUserSummary {
 21308  	s.AppInstanceUserArn = &v
 21309  	return s
 21310  }
 21311  
 21312  // SetMetadata sets the Metadata field's value.
 21313  func (s *AppInstanceUserSummary) SetMetadata(v string) *AppInstanceUserSummary {
 21314  	s.Metadata = &v
 21315  	return s
 21316  }
 21317  
 21318  // SetName sets the Name field's value.
 21319  func (s *AppInstanceUserSummary) SetName(v string) *AppInstanceUserSummary {
 21320  	s.Name = &v
 21321  	return s
 21322  }
 21323  
 21324  // The configuration for the artifacts.
 21325  type ArtifactsConfiguration struct {
 21326  	_ struct{} `type:"structure"`
 21327  
 21328  	// The configuration for the audio artifacts.
 21329  	//
 21330  	// Audio is a required field
 21331  	Audio *AudioArtifactsConfiguration `type:"structure" required:"true"`
 21332  
 21333  	// The configuration for the content artifacts.
 21334  	//
 21335  	// Content is a required field
 21336  	Content *ContentArtifactsConfiguration `type:"structure" required:"true"`
 21337  
 21338  	// The configuration for the video artifacts.
 21339  	//
 21340  	// Video is a required field
 21341  	Video *VideoArtifactsConfiguration `type:"structure" required:"true"`
 21342  }
 21343  
 21344  // String returns the string representation.
 21345  //
 21346  // API parameter values that are decorated as "sensitive" in the API will not
 21347  // be included in the string output. The member name will be present, but the
 21348  // value will be replaced with "sensitive".
 21349  func (s ArtifactsConfiguration) String() string {
 21350  	return awsutil.Prettify(s)
 21351  }
 21352  
 21353  // GoString returns the string representation.
 21354  //
 21355  // API parameter values that are decorated as "sensitive" in the API will not
 21356  // be included in the string output. The member name will be present, but the
 21357  // value will be replaced with "sensitive".
 21358  func (s ArtifactsConfiguration) GoString() string {
 21359  	return s.String()
 21360  }
 21361  
 21362  // Validate inspects the fields of the type to determine if they are valid.
 21363  func (s *ArtifactsConfiguration) Validate() error {
 21364  	invalidParams := request.ErrInvalidParams{Context: "ArtifactsConfiguration"}
 21365  	if s.Audio == nil {
 21366  		invalidParams.Add(request.NewErrParamRequired("Audio"))
 21367  	}
 21368  	if s.Content == nil {
 21369  		invalidParams.Add(request.NewErrParamRequired("Content"))
 21370  	}
 21371  	if s.Video == nil {
 21372  		invalidParams.Add(request.NewErrParamRequired("Video"))
 21373  	}
 21374  	if s.Audio != nil {
 21375  		if err := s.Audio.Validate(); err != nil {
 21376  			invalidParams.AddNested("Audio", err.(request.ErrInvalidParams))
 21377  		}
 21378  	}
 21379  	if s.Content != nil {
 21380  		if err := s.Content.Validate(); err != nil {
 21381  			invalidParams.AddNested("Content", err.(request.ErrInvalidParams))
 21382  		}
 21383  	}
 21384  	if s.Video != nil {
 21385  		if err := s.Video.Validate(); err != nil {
 21386  			invalidParams.AddNested("Video", err.(request.ErrInvalidParams))
 21387  		}
 21388  	}
 21389  
 21390  	if invalidParams.Len() > 0 {
 21391  		return invalidParams
 21392  	}
 21393  	return nil
 21394  }
 21395  
 21396  // SetAudio sets the Audio field's value.
 21397  func (s *ArtifactsConfiguration) SetAudio(v *AudioArtifactsConfiguration) *ArtifactsConfiguration {
 21398  	s.Audio = v
 21399  	return s
 21400  }
 21401  
 21402  // SetContent sets the Content field's value.
 21403  func (s *ArtifactsConfiguration) SetContent(v *ContentArtifactsConfiguration) *ArtifactsConfiguration {
 21404  	s.Content = v
 21405  	return s
 21406  }
 21407  
 21408  // SetVideo sets the Video field's value.
 21409  func (s *ArtifactsConfiguration) SetVideo(v *VideoArtifactsConfiguration) *ArtifactsConfiguration {
 21410  	s.Video = v
 21411  	return s
 21412  }
 21413  
 21414  type AssociatePhoneNumberWithUserInput struct {
 21415  	_ struct{} `type:"structure"`
 21416  
 21417  	// The Amazon Chime account ID.
 21418  	//
 21419  	// AccountId is a required field
 21420  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 21421  
 21422  	// The phone number, in E.164 format.
 21423  	//
 21424  	// E164PhoneNumber is a sensitive parameter and its value will be
 21425  	// replaced with "sensitive" in string returned by AssociatePhoneNumberWithUserInput's
 21426  	// String and GoString methods.
 21427  	//
 21428  	// E164PhoneNumber is a required field
 21429  	E164PhoneNumber *string `type:"string" required:"true" sensitive:"true"`
 21430  
 21431  	// The user ID.
 21432  	//
 21433  	// UserId is a required field
 21434  	UserId *string `location:"uri" locationName:"userId" type:"string" required:"true"`
 21435  }
 21436  
 21437  // String returns the string representation.
 21438  //
 21439  // API parameter values that are decorated as "sensitive" in the API will not
 21440  // be included in the string output. The member name will be present, but the
 21441  // value will be replaced with "sensitive".
 21442  func (s AssociatePhoneNumberWithUserInput) String() string {
 21443  	return awsutil.Prettify(s)
 21444  }
 21445  
 21446  // GoString returns the string representation.
 21447  //
 21448  // API parameter values that are decorated as "sensitive" in the API will not
 21449  // be included in the string output. The member name will be present, but the
 21450  // value will be replaced with "sensitive".
 21451  func (s AssociatePhoneNumberWithUserInput) GoString() string {
 21452  	return s.String()
 21453  }
 21454  
 21455  // Validate inspects the fields of the type to determine if they are valid.
 21456  func (s *AssociatePhoneNumberWithUserInput) Validate() error {
 21457  	invalidParams := request.ErrInvalidParams{Context: "AssociatePhoneNumberWithUserInput"}
 21458  	if s.AccountId == nil {
 21459  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 21460  	}
 21461  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 21462  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 21463  	}
 21464  	if s.E164PhoneNumber == nil {
 21465  		invalidParams.Add(request.NewErrParamRequired("E164PhoneNumber"))
 21466  	}
 21467  	if s.UserId == nil {
 21468  		invalidParams.Add(request.NewErrParamRequired("UserId"))
 21469  	}
 21470  	if s.UserId != nil && len(*s.UserId) < 1 {
 21471  		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
 21472  	}
 21473  
 21474  	if invalidParams.Len() > 0 {
 21475  		return invalidParams
 21476  	}
 21477  	return nil
 21478  }
 21479  
 21480  // SetAccountId sets the AccountId field's value.
 21481  func (s *AssociatePhoneNumberWithUserInput) SetAccountId(v string) *AssociatePhoneNumberWithUserInput {
 21482  	s.AccountId = &v
 21483  	return s
 21484  }
 21485  
 21486  // SetE164PhoneNumber sets the E164PhoneNumber field's value.
 21487  func (s *AssociatePhoneNumberWithUserInput) SetE164PhoneNumber(v string) *AssociatePhoneNumberWithUserInput {
 21488  	s.E164PhoneNumber = &v
 21489  	return s
 21490  }
 21491  
 21492  // SetUserId sets the UserId field's value.
 21493  func (s *AssociatePhoneNumberWithUserInput) SetUserId(v string) *AssociatePhoneNumberWithUserInput {
 21494  	s.UserId = &v
 21495  	return s
 21496  }
 21497  
 21498  type AssociatePhoneNumberWithUserOutput struct {
 21499  	_ struct{} `type:"structure" nopayload:"true"`
 21500  }
 21501  
 21502  // String returns the string representation.
 21503  //
 21504  // API parameter values that are decorated as "sensitive" in the API will not
 21505  // be included in the string output. The member name will be present, but the
 21506  // value will be replaced with "sensitive".
 21507  func (s AssociatePhoneNumberWithUserOutput) String() string {
 21508  	return awsutil.Prettify(s)
 21509  }
 21510  
 21511  // GoString returns the string representation.
 21512  //
 21513  // API parameter values that are decorated as "sensitive" in the API will not
 21514  // be included in the string output. The member name will be present, but the
 21515  // value will be replaced with "sensitive".
 21516  func (s AssociatePhoneNumberWithUserOutput) GoString() string {
 21517  	return s.String()
 21518  }
 21519  
 21520  type AssociatePhoneNumbersWithVoiceConnectorGroupInput struct {
 21521  	_ struct{} `type:"structure"`
 21522  
 21523  	// List of phone numbers, in E.164 format.
 21524  	//
 21525  	// E164PhoneNumbers is a required field
 21526  	E164PhoneNumbers []*string `type:"list" required:"true"`
 21527  
 21528  	// If true, associates the provided phone numbers with the provided Amazon Chime
 21529  	// Voice Connector Group and removes any previously existing associations. If
 21530  	// false, does not associate any phone numbers that have previously existing
 21531  	// associations.
 21532  	ForceAssociate *bool `type:"boolean"`
 21533  
 21534  	// The Amazon Chime Voice Connector group ID.
 21535  	//
 21536  	// VoiceConnectorGroupId is a required field
 21537  	VoiceConnectorGroupId *string `location:"uri" locationName:"voiceConnectorGroupId" type:"string" required:"true"`
 21538  }
 21539  
 21540  // String returns the string representation.
 21541  //
 21542  // API parameter values that are decorated as "sensitive" in the API will not
 21543  // be included in the string output. The member name will be present, but the
 21544  // value will be replaced with "sensitive".
 21545  func (s AssociatePhoneNumbersWithVoiceConnectorGroupInput) String() string {
 21546  	return awsutil.Prettify(s)
 21547  }
 21548  
 21549  // GoString returns the string representation.
 21550  //
 21551  // API parameter values that are decorated as "sensitive" in the API will not
 21552  // be included in the string output. The member name will be present, but the
 21553  // value will be replaced with "sensitive".
 21554  func (s AssociatePhoneNumbersWithVoiceConnectorGroupInput) GoString() string {
 21555  	return s.String()
 21556  }
 21557  
 21558  // Validate inspects the fields of the type to determine if they are valid.
 21559  func (s *AssociatePhoneNumbersWithVoiceConnectorGroupInput) Validate() error {
 21560  	invalidParams := request.ErrInvalidParams{Context: "AssociatePhoneNumbersWithVoiceConnectorGroupInput"}
 21561  	if s.E164PhoneNumbers == nil {
 21562  		invalidParams.Add(request.NewErrParamRequired("E164PhoneNumbers"))
 21563  	}
 21564  	if s.VoiceConnectorGroupId == nil {
 21565  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorGroupId"))
 21566  	}
 21567  	if s.VoiceConnectorGroupId != nil && len(*s.VoiceConnectorGroupId) < 1 {
 21568  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorGroupId", 1))
 21569  	}
 21570  
 21571  	if invalidParams.Len() > 0 {
 21572  		return invalidParams
 21573  	}
 21574  	return nil
 21575  }
 21576  
 21577  // SetE164PhoneNumbers sets the E164PhoneNumbers field's value.
 21578  func (s *AssociatePhoneNumbersWithVoiceConnectorGroupInput) SetE164PhoneNumbers(v []*string) *AssociatePhoneNumbersWithVoiceConnectorGroupInput {
 21579  	s.E164PhoneNumbers = v
 21580  	return s
 21581  }
 21582  
 21583  // SetForceAssociate sets the ForceAssociate field's value.
 21584  func (s *AssociatePhoneNumbersWithVoiceConnectorGroupInput) SetForceAssociate(v bool) *AssociatePhoneNumbersWithVoiceConnectorGroupInput {
 21585  	s.ForceAssociate = &v
 21586  	return s
 21587  }
 21588  
 21589  // SetVoiceConnectorGroupId sets the VoiceConnectorGroupId field's value.
 21590  func (s *AssociatePhoneNumbersWithVoiceConnectorGroupInput) SetVoiceConnectorGroupId(v string) *AssociatePhoneNumbersWithVoiceConnectorGroupInput {
 21591  	s.VoiceConnectorGroupId = &v
 21592  	return s
 21593  }
 21594  
 21595  type AssociatePhoneNumbersWithVoiceConnectorGroupOutput struct {
 21596  	_ struct{} `type:"structure"`
 21597  
 21598  	// If the action fails for one or more of the phone numbers in the request,
 21599  	// a list of the phone numbers is returned, along with error codes and error
 21600  	// messages.
 21601  	PhoneNumberErrors []*PhoneNumberError `type:"list"`
 21602  }
 21603  
 21604  // String returns the string representation.
 21605  //
 21606  // API parameter values that are decorated as "sensitive" in the API will not
 21607  // be included in the string output. The member name will be present, but the
 21608  // value will be replaced with "sensitive".
 21609  func (s AssociatePhoneNumbersWithVoiceConnectorGroupOutput) String() string {
 21610  	return awsutil.Prettify(s)
 21611  }
 21612  
 21613  // GoString returns the string representation.
 21614  //
 21615  // API parameter values that are decorated as "sensitive" in the API will not
 21616  // be included in the string output. The member name will be present, but the
 21617  // value will be replaced with "sensitive".
 21618  func (s AssociatePhoneNumbersWithVoiceConnectorGroupOutput) GoString() string {
 21619  	return s.String()
 21620  }
 21621  
 21622  // SetPhoneNumberErrors sets the PhoneNumberErrors field's value.
 21623  func (s *AssociatePhoneNumbersWithVoiceConnectorGroupOutput) SetPhoneNumberErrors(v []*PhoneNumberError) *AssociatePhoneNumbersWithVoiceConnectorGroupOutput {
 21624  	s.PhoneNumberErrors = v
 21625  	return s
 21626  }
 21627  
 21628  type AssociatePhoneNumbersWithVoiceConnectorInput struct {
 21629  	_ struct{} `type:"structure"`
 21630  
 21631  	// List of phone numbers, in E.164 format.
 21632  	//
 21633  	// E164PhoneNumbers is a required field
 21634  	E164PhoneNumbers []*string `type:"list" required:"true"`
 21635  
 21636  	// If true, associates the provided phone numbers with the provided Amazon Chime
 21637  	// Voice Connector and removes any previously existing associations. If false,
 21638  	// does not associate any phone numbers that have previously existing associations.
 21639  	ForceAssociate *bool `type:"boolean"`
 21640  
 21641  	// The Amazon Chime Voice Connector ID.
 21642  	//
 21643  	// VoiceConnectorId is a required field
 21644  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 21645  }
 21646  
 21647  // String returns the string representation.
 21648  //
 21649  // API parameter values that are decorated as "sensitive" in the API will not
 21650  // be included in the string output. The member name will be present, but the
 21651  // value will be replaced with "sensitive".
 21652  func (s AssociatePhoneNumbersWithVoiceConnectorInput) String() string {
 21653  	return awsutil.Prettify(s)
 21654  }
 21655  
 21656  // GoString returns the string representation.
 21657  //
 21658  // API parameter values that are decorated as "sensitive" in the API will not
 21659  // be included in the string output. The member name will be present, but the
 21660  // value will be replaced with "sensitive".
 21661  func (s AssociatePhoneNumbersWithVoiceConnectorInput) GoString() string {
 21662  	return s.String()
 21663  }
 21664  
 21665  // Validate inspects the fields of the type to determine if they are valid.
 21666  func (s *AssociatePhoneNumbersWithVoiceConnectorInput) Validate() error {
 21667  	invalidParams := request.ErrInvalidParams{Context: "AssociatePhoneNumbersWithVoiceConnectorInput"}
 21668  	if s.E164PhoneNumbers == nil {
 21669  		invalidParams.Add(request.NewErrParamRequired("E164PhoneNumbers"))
 21670  	}
 21671  	if s.VoiceConnectorId == nil {
 21672  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 21673  	}
 21674  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 21675  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 21676  	}
 21677  
 21678  	if invalidParams.Len() > 0 {
 21679  		return invalidParams
 21680  	}
 21681  	return nil
 21682  }
 21683  
 21684  // SetE164PhoneNumbers sets the E164PhoneNumbers field's value.
 21685  func (s *AssociatePhoneNumbersWithVoiceConnectorInput) SetE164PhoneNumbers(v []*string) *AssociatePhoneNumbersWithVoiceConnectorInput {
 21686  	s.E164PhoneNumbers = v
 21687  	return s
 21688  }
 21689  
 21690  // SetForceAssociate sets the ForceAssociate field's value.
 21691  func (s *AssociatePhoneNumbersWithVoiceConnectorInput) SetForceAssociate(v bool) *AssociatePhoneNumbersWithVoiceConnectorInput {
 21692  	s.ForceAssociate = &v
 21693  	return s
 21694  }
 21695  
 21696  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 21697  func (s *AssociatePhoneNumbersWithVoiceConnectorInput) SetVoiceConnectorId(v string) *AssociatePhoneNumbersWithVoiceConnectorInput {
 21698  	s.VoiceConnectorId = &v
 21699  	return s
 21700  }
 21701  
 21702  type AssociatePhoneNumbersWithVoiceConnectorOutput struct {
 21703  	_ struct{} `type:"structure"`
 21704  
 21705  	// If the action fails for one or more of the phone numbers in the request,
 21706  	// a list of the phone numbers is returned, along with error codes and error
 21707  	// messages.
 21708  	PhoneNumberErrors []*PhoneNumberError `type:"list"`
 21709  }
 21710  
 21711  // String returns the string representation.
 21712  //
 21713  // API parameter values that are decorated as "sensitive" in the API will not
 21714  // be included in the string output. The member name will be present, but the
 21715  // value will be replaced with "sensitive".
 21716  func (s AssociatePhoneNumbersWithVoiceConnectorOutput) String() string {
 21717  	return awsutil.Prettify(s)
 21718  }
 21719  
 21720  // GoString returns the string representation.
 21721  //
 21722  // API parameter values that are decorated as "sensitive" in the API will not
 21723  // be included in the string output. The member name will be present, but the
 21724  // value will be replaced with "sensitive".
 21725  func (s AssociatePhoneNumbersWithVoiceConnectorOutput) GoString() string {
 21726  	return s.String()
 21727  }
 21728  
 21729  // SetPhoneNumberErrors sets the PhoneNumberErrors field's value.
 21730  func (s *AssociatePhoneNumbersWithVoiceConnectorOutput) SetPhoneNumberErrors(v []*PhoneNumberError) *AssociatePhoneNumbersWithVoiceConnectorOutput {
 21731  	s.PhoneNumberErrors = v
 21732  	return s
 21733  }
 21734  
 21735  type AssociateSigninDelegateGroupsWithAccountInput struct {
 21736  	_ struct{} `type:"structure"`
 21737  
 21738  	// The Amazon Chime account ID.
 21739  	//
 21740  	// AccountId is a required field
 21741  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 21742  
 21743  	// The sign-in delegate groups.
 21744  	//
 21745  	// SigninDelegateGroups is a required field
 21746  	SigninDelegateGroups []*SigninDelegateGroup `type:"list" required:"true"`
 21747  }
 21748  
 21749  // String returns the string representation.
 21750  //
 21751  // API parameter values that are decorated as "sensitive" in the API will not
 21752  // be included in the string output. The member name will be present, but the
 21753  // value will be replaced with "sensitive".
 21754  func (s AssociateSigninDelegateGroupsWithAccountInput) String() string {
 21755  	return awsutil.Prettify(s)
 21756  }
 21757  
 21758  // GoString returns the string representation.
 21759  //
 21760  // API parameter values that are decorated as "sensitive" in the API will not
 21761  // be included in the string output. The member name will be present, but the
 21762  // value will be replaced with "sensitive".
 21763  func (s AssociateSigninDelegateGroupsWithAccountInput) GoString() string {
 21764  	return s.String()
 21765  }
 21766  
 21767  // Validate inspects the fields of the type to determine if they are valid.
 21768  func (s *AssociateSigninDelegateGroupsWithAccountInput) Validate() error {
 21769  	invalidParams := request.ErrInvalidParams{Context: "AssociateSigninDelegateGroupsWithAccountInput"}
 21770  	if s.AccountId == nil {
 21771  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 21772  	}
 21773  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 21774  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 21775  	}
 21776  	if s.SigninDelegateGroups == nil {
 21777  		invalidParams.Add(request.NewErrParamRequired("SigninDelegateGroups"))
 21778  	}
 21779  
 21780  	if invalidParams.Len() > 0 {
 21781  		return invalidParams
 21782  	}
 21783  	return nil
 21784  }
 21785  
 21786  // SetAccountId sets the AccountId field's value.
 21787  func (s *AssociateSigninDelegateGroupsWithAccountInput) SetAccountId(v string) *AssociateSigninDelegateGroupsWithAccountInput {
 21788  	s.AccountId = &v
 21789  	return s
 21790  }
 21791  
 21792  // SetSigninDelegateGroups sets the SigninDelegateGroups field's value.
 21793  func (s *AssociateSigninDelegateGroupsWithAccountInput) SetSigninDelegateGroups(v []*SigninDelegateGroup) *AssociateSigninDelegateGroupsWithAccountInput {
 21794  	s.SigninDelegateGroups = v
 21795  	return s
 21796  }
 21797  
 21798  type AssociateSigninDelegateGroupsWithAccountOutput struct {
 21799  	_ struct{} `type:"structure" nopayload:"true"`
 21800  }
 21801  
 21802  // String returns the string representation.
 21803  //
 21804  // API parameter values that are decorated as "sensitive" in the API will not
 21805  // be included in the string output. The member name will be present, but the
 21806  // value will be replaced with "sensitive".
 21807  func (s AssociateSigninDelegateGroupsWithAccountOutput) String() string {
 21808  	return awsutil.Prettify(s)
 21809  }
 21810  
 21811  // GoString returns the string representation.
 21812  //
 21813  // API parameter values that are decorated as "sensitive" in the API will not
 21814  // be included in the string output. The member name will be present, but the
 21815  // value will be replaced with "sensitive".
 21816  func (s AssociateSigninDelegateGroupsWithAccountOutput) GoString() string {
 21817  	return s.String()
 21818  }
 21819  
 21820  // An Amazon Chime SDK meeting attendee. Includes a unique AttendeeId and JoinToken
 21821  // . The JoinToken allows a client to authenticate and join as the specified
 21822  // attendee. The JoinToken expires when the meeting ends or when DeleteAttendee
 21823  // is called. After that, the attendee is unable to join the meeting.
 21824  //
 21825  // We recommend securely transferring each JoinToken from your server application
 21826  // to the client so that no other client has access to the token except for
 21827  // the one authorized to represent the attendee.
 21828  type Attendee struct {
 21829  	_ struct{} `type:"structure"`
 21830  
 21831  	// The Amazon Chime SDK attendee ID.
 21832  	AttendeeId *string `type:"string"`
 21833  
 21834  	// The Amazon Chime SDK external user ID. An idempotency token. Links the attendee
 21835  	// to an identity managed by a builder application.
 21836  	//
 21837  	// ExternalUserId is a sensitive parameter and its value will be
 21838  	// replaced with "sensitive" in string returned by Attendee's
 21839  	// String and GoString methods.
 21840  	ExternalUserId *string `min:"2" type:"string" sensitive:"true"`
 21841  
 21842  	// The join token used by the Amazon Chime SDK attendee.
 21843  	//
 21844  	// JoinToken is a sensitive parameter and its value will be
 21845  	// replaced with "sensitive" in string returned by Attendee's
 21846  	// String and GoString methods.
 21847  	JoinToken *string `min:"2" type:"string" sensitive:"true"`
 21848  }
 21849  
 21850  // String returns the string representation.
 21851  //
 21852  // API parameter values that are decorated as "sensitive" in the API will not
 21853  // be included in the string output. The member name will be present, but the
 21854  // value will be replaced with "sensitive".
 21855  func (s Attendee) String() string {
 21856  	return awsutil.Prettify(s)
 21857  }
 21858  
 21859  // GoString returns the string representation.
 21860  //
 21861  // API parameter values that are decorated as "sensitive" in the API will not
 21862  // be included in the string output. The member name will be present, but the
 21863  // value will be replaced with "sensitive".
 21864  func (s Attendee) GoString() string {
 21865  	return s.String()
 21866  }
 21867  
 21868  // SetAttendeeId sets the AttendeeId field's value.
 21869  func (s *Attendee) SetAttendeeId(v string) *Attendee {
 21870  	s.AttendeeId = &v
 21871  	return s
 21872  }
 21873  
 21874  // SetExternalUserId sets the ExternalUserId field's value.
 21875  func (s *Attendee) SetExternalUserId(v string) *Attendee {
 21876  	s.ExternalUserId = &v
 21877  	return s
 21878  }
 21879  
 21880  // SetJoinToken sets the JoinToken field's value.
 21881  func (s *Attendee) SetJoinToken(v string) *Attendee {
 21882  	s.JoinToken = &v
 21883  	return s
 21884  }
 21885  
 21886  // The audio artifact configuration object.
 21887  type AudioArtifactsConfiguration struct {
 21888  	_ struct{} `type:"structure"`
 21889  
 21890  	// The MUX type of the audio artifact configuration object.
 21891  	//
 21892  	// MuxType is a required field
 21893  	MuxType *string `type:"string" required:"true" enum:"AudioMuxType"`
 21894  }
 21895  
 21896  // String returns the string representation.
 21897  //
 21898  // API parameter values that are decorated as "sensitive" in the API will not
 21899  // be included in the string output. The member name will be present, but the
 21900  // value will be replaced with "sensitive".
 21901  func (s AudioArtifactsConfiguration) String() string {
 21902  	return awsutil.Prettify(s)
 21903  }
 21904  
 21905  // GoString returns the string representation.
 21906  //
 21907  // API parameter values that are decorated as "sensitive" in the API will not
 21908  // be included in the string output. The member name will be present, but the
 21909  // value will be replaced with "sensitive".
 21910  func (s AudioArtifactsConfiguration) GoString() string {
 21911  	return s.String()
 21912  }
 21913  
 21914  // Validate inspects the fields of the type to determine if they are valid.
 21915  func (s *AudioArtifactsConfiguration) Validate() error {
 21916  	invalidParams := request.ErrInvalidParams{Context: "AudioArtifactsConfiguration"}
 21917  	if s.MuxType == nil {
 21918  		invalidParams.Add(request.NewErrParamRequired("MuxType"))
 21919  	}
 21920  
 21921  	if invalidParams.Len() > 0 {
 21922  		return invalidParams
 21923  	}
 21924  	return nil
 21925  }
 21926  
 21927  // SetMuxType sets the MuxType field's value.
 21928  func (s *AudioArtifactsConfiguration) SetMuxType(v string) *AudioArtifactsConfiguration {
 21929  	s.MuxType = &v
 21930  	return s
 21931  }
 21932  
 21933  // The input parameters don't match the service's restrictions.
 21934  type BadRequestException struct {
 21935  	_            struct{}                  `type:"structure"`
 21936  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 21937  
 21938  	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
 21939  
 21940  	Message_ *string `locationName:"Message" type:"string"`
 21941  }
 21942  
 21943  // String returns the string representation.
 21944  //
 21945  // API parameter values that are decorated as "sensitive" in the API will not
 21946  // be included in the string output. The member name will be present, but the
 21947  // value will be replaced with "sensitive".
 21948  func (s BadRequestException) String() string {
 21949  	return awsutil.Prettify(s)
 21950  }
 21951  
 21952  // GoString returns the string representation.
 21953  //
 21954  // API parameter values that are decorated as "sensitive" in the API will not
 21955  // be included in the string output. The member name will be present, but the
 21956  // value will be replaced with "sensitive".
 21957  func (s BadRequestException) GoString() string {
 21958  	return s.String()
 21959  }
 21960  
 21961  func newErrorBadRequestException(v protocol.ResponseMetadata) error {
 21962  	return &BadRequestException{
 21963  		RespMetadata: v,
 21964  	}
 21965  }
 21966  
 21967  // Code returns the exception type name.
 21968  func (s *BadRequestException) Code() string {
 21969  	return "BadRequestException"
 21970  }
 21971  
 21972  // Message returns the exception's message.
 21973  func (s *BadRequestException) Message() string {
 21974  	if s.Message_ != nil {
 21975  		return *s.Message_
 21976  	}
 21977  	return ""
 21978  }
 21979  
 21980  // OrigErr always returns nil, satisfies awserr.Error interface.
 21981  func (s *BadRequestException) OrigErr() error {
 21982  	return nil
 21983  }
 21984  
 21985  func (s *BadRequestException) Error() string {
 21986  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 21987  }
 21988  
 21989  // Status code returns the HTTP status code for the request's response error.
 21990  func (s *BadRequestException) StatusCode() int {
 21991  	return s.RespMetadata.StatusCode
 21992  }
 21993  
 21994  // RequestID returns the service's response RequestID for request.
 21995  func (s *BadRequestException) RequestID() string {
 21996  	return s.RespMetadata.RequestID
 21997  }
 21998  
 21999  // The membership information, including member ARNs, the channel ARN, and membership
 22000  // types.
 22001  type BatchChannelMemberships struct {
 22002  	_ struct{} `type:"structure"`
 22003  
 22004  	// The ARN of the channel to which you're adding users.
 22005  	ChannelArn *string `min:"5" type:"string"`
 22006  
 22007  	// The identifier of the member who invited another member.
 22008  	InvitedBy *Identity `type:"structure"`
 22009  
 22010  	// The users successfully added to the request.
 22011  	Members []*Identity `type:"list"`
 22012  
 22013  	// The membership types set for the channel users.
 22014  	Type *string `type:"string" enum:"ChannelMembershipType"`
 22015  }
 22016  
 22017  // String returns the string representation.
 22018  //
 22019  // API parameter values that are decorated as "sensitive" in the API will not
 22020  // be included in the string output. The member name will be present, but the
 22021  // value will be replaced with "sensitive".
 22022  func (s BatchChannelMemberships) String() string {
 22023  	return awsutil.Prettify(s)
 22024  }
 22025  
 22026  // GoString returns the string representation.
 22027  //
 22028  // API parameter values that are decorated as "sensitive" in the API will not
 22029  // be included in the string output. The member name will be present, but the
 22030  // value will be replaced with "sensitive".
 22031  func (s BatchChannelMemberships) GoString() string {
 22032  	return s.String()
 22033  }
 22034  
 22035  // SetChannelArn sets the ChannelArn field's value.
 22036  func (s *BatchChannelMemberships) SetChannelArn(v string) *BatchChannelMemberships {
 22037  	s.ChannelArn = &v
 22038  	return s
 22039  }
 22040  
 22041  // SetInvitedBy sets the InvitedBy field's value.
 22042  func (s *BatchChannelMemberships) SetInvitedBy(v *Identity) *BatchChannelMemberships {
 22043  	s.InvitedBy = v
 22044  	return s
 22045  }
 22046  
 22047  // SetMembers sets the Members field's value.
 22048  func (s *BatchChannelMemberships) SetMembers(v []*Identity) *BatchChannelMemberships {
 22049  	s.Members = v
 22050  	return s
 22051  }
 22052  
 22053  // SetType sets the Type field's value.
 22054  func (s *BatchChannelMemberships) SetType(v string) *BatchChannelMemberships {
 22055  	s.Type = &v
 22056  	return s
 22057  }
 22058  
 22059  type BatchCreateAttendeeInput struct {
 22060  	_ struct{} `type:"structure"`
 22061  
 22062  	// The request containing the attendees to create.
 22063  	//
 22064  	// Attendees is a required field
 22065  	Attendees []*CreateAttendeeRequestItem `type:"list" required:"true"`
 22066  
 22067  	// The Amazon Chime SDK meeting ID.
 22068  	//
 22069  	// MeetingId is a required field
 22070  	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
 22071  }
 22072  
 22073  // String returns the string representation.
 22074  //
 22075  // API parameter values that are decorated as "sensitive" in the API will not
 22076  // be included in the string output. The member name will be present, but the
 22077  // value will be replaced with "sensitive".
 22078  func (s BatchCreateAttendeeInput) String() string {
 22079  	return awsutil.Prettify(s)
 22080  }
 22081  
 22082  // GoString returns the string representation.
 22083  //
 22084  // API parameter values that are decorated as "sensitive" in the API will not
 22085  // be included in the string output. The member name will be present, but the
 22086  // value will be replaced with "sensitive".
 22087  func (s BatchCreateAttendeeInput) GoString() string {
 22088  	return s.String()
 22089  }
 22090  
 22091  // Validate inspects the fields of the type to determine if they are valid.
 22092  func (s *BatchCreateAttendeeInput) Validate() error {
 22093  	invalidParams := request.ErrInvalidParams{Context: "BatchCreateAttendeeInput"}
 22094  	if s.Attendees == nil {
 22095  		invalidParams.Add(request.NewErrParamRequired("Attendees"))
 22096  	}
 22097  	if s.MeetingId == nil {
 22098  		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
 22099  	}
 22100  	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
 22101  		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
 22102  	}
 22103  	if s.Attendees != nil {
 22104  		for i, v := range s.Attendees {
 22105  			if v == nil {
 22106  				continue
 22107  			}
 22108  			if err := v.Validate(); err != nil {
 22109  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Attendees", i), err.(request.ErrInvalidParams))
 22110  			}
 22111  		}
 22112  	}
 22113  
 22114  	if invalidParams.Len() > 0 {
 22115  		return invalidParams
 22116  	}
 22117  	return nil
 22118  }
 22119  
 22120  // SetAttendees sets the Attendees field's value.
 22121  func (s *BatchCreateAttendeeInput) SetAttendees(v []*CreateAttendeeRequestItem) *BatchCreateAttendeeInput {
 22122  	s.Attendees = v
 22123  	return s
 22124  }
 22125  
 22126  // SetMeetingId sets the MeetingId field's value.
 22127  func (s *BatchCreateAttendeeInput) SetMeetingId(v string) *BatchCreateAttendeeInput {
 22128  	s.MeetingId = &v
 22129  	return s
 22130  }
 22131  
 22132  type BatchCreateAttendeeOutput struct {
 22133  	_ struct{} `type:"structure"`
 22134  
 22135  	// The attendee information, including attendees IDs and join tokens.
 22136  	Attendees []*Attendee `type:"list"`
 22137  
 22138  	// If the action fails for one or more of the attendees in the request, a list
 22139  	// of the attendees is returned, along with error codes and error messages.
 22140  	Errors []*CreateAttendeeError `type:"list"`
 22141  }
 22142  
 22143  // String returns the string representation.
 22144  //
 22145  // API parameter values that are decorated as "sensitive" in the API will not
 22146  // be included in the string output. The member name will be present, but the
 22147  // value will be replaced with "sensitive".
 22148  func (s BatchCreateAttendeeOutput) String() string {
 22149  	return awsutil.Prettify(s)
 22150  }
 22151  
 22152  // GoString returns the string representation.
 22153  //
 22154  // API parameter values that are decorated as "sensitive" in the API will not
 22155  // be included in the string output. The member name will be present, but the
 22156  // value will be replaced with "sensitive".
 22157  func (s BatchCreateAttendeeOutput) GoString() string {
 22158  	return s.String()
 22159  }
 22160  
 22161  // SetAttendees sets the Attendees field's value.
 22162  func (s *BatchCreateAttendeeOutput) SetAttendees(v []*Attendee) *BatchCreateAttendeeOutput {
 22163  	s.Attendees = v
 22164  	return s
 22165  }
 22166  
 22167  // SetErrors sets the Errors field's value.
 22168  func (s *BatchCreateAttendeeOutput) SetErrors(v []*CreateAttendeeError) *BatchCreateAttendeeOutput {
 22169  	s.Errors = v
 22170  	return s
 22171  }
 22172  
 22173  // A list of failed member ARNs, error codes, and error messages.
 22174  type BatchCreateChannelMembershipError struct {
 22175  	_ struct{} `type:"structure"`
 22176  
 22177  	// The error code.
 22178  	ErrorCode *string `type:"string" enum:"ErrorCode"`
 22179  
 22180  	// The error message.
 22181  	ErrorMessage *string `type:"string"`
 22182  
 22183  	// The ARN of the member that the service couldn't add.
 22184  	MemberArn *string `min:"5" type:"string"`
 22185  }
 22186  
 22187  // String returns the string representation.
 22188  //
 22189  // API parameter values that are decorated as "sensitive" in the API will not
 22190  // be included in the string output. The member name will be present, but the
 22191  // value will be replaced with "sensitive".
 22192  func (s BatchCreateChannelMembershipError) String() string {
 22193  	return awsutil.Prettify(s)
 22194  }
 22195  
 22196  // GoString returns the string representation.
 22197  //
 22198  // API parameter values that are decorated as "sensitive" in the API will not
 22199  // be included in the string output. The member name will be present, but the
 22200  // value will be replaced with "sensitive".
 22201  func (s BatchCreateChannelMembershipError) GoString() string {
 22202  	return s.String()
 22203  }
 22204  
 22205  // SetErrorCode sets the ErrorCode field's value.
 22206  func (s *BatchCreateChannelMembershipError) SetErrorCode(v string) *BatchCreateChannelMembershipError {
 22207  	s.ErrorCode = &v
 22208  	return s
 22209  }
 22210  
 22211  // SetErrorMessage sets the ErrorMessage field's value.
 22212  func (s *BatchCreateChannelMembershipError) SetErrorMessage(v string) *BatchCreateChannelMembershipError {
 22213  	s.ErrorMessage = &v
 22214  	return s
 22215  }
 22216  
 22217  // SetMemberArn sets the MemberArn field's value.
 22218  func (s *BatchCreateChannelMembershipError) SetMemberArn(v string) *BatchCreateChannelMembershipError {
 22219  	s.MemberArn = &v
 22220  	return s
 22221  }
 22222  
 22223  type BatchCreateChannelMembershipInput struct {
 22224  	_ struct{} `type:"structure"`
 22225  
 22226  	// The ARN of the channel to which you're adding users.
 22227  	//
 22228  	// ChannelArn is a required field
 22229  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 22230  
 22231  	// The AppInstanceUserArn of the user that makes the API call.
 22232  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 22233  
 22234  	// The ARNs of the members you want to add to the channel.
 22235  	//
 22236  	// MemberArns is a required field
 22237  	MemberArns []*string `min:"1" type:"list" required:"true"`
 22238  
 22239  	// The membership type of a user, DEFAULT or HIDDEN. Default members are always
 22240  	// returned as part of ListChannelMemberships. Hidden members are only returned
 22241  	// if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden
 22242  	// members are not returned. This is only supported by moderators.
 22243  	Type *string `type:"string" enum:"ChannelMembershipType"`
 22244  }
 22245  
 22246  // String returns the string representation.
 22247  //
 22248  // API parameter values that are decorated as "sensitive" in the API will not
 22249  // be included in the string output. The member name will be present, but the
 22250  // value will be replaced with "sensitive".
 22251  func (s BatchCreateChannelMembershipInput) String() string {
 22252  	return awsutil.Prettify(s)
 22253  }
 22254  
 22255  // GoString returns the string representation.
 22256  //
 22257  // API parameter values that are decorated as "sensitive" in the API will not
 22258  // be included in the string output. The member name will be present, but the
 22259  // value will be replaced with "sensitive".
 22260  func (s BatchCreateChannelMembershipInput) GoString() string {
 22261  	return s.String()
 22262  }
 22263  
 22264  // Validate inspects the fields of the type to determine if they are valid.
 22265  func (s *BatchCreateChannelMembershipInput) Validate() error {
 22266  	invalidParams := request.ErrInvalidParams{Context: "BatchCreateChannelMembershipInput"}
 22267  	if s.ChannelArn == nil {
 22268  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 22269  	}
 22270  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 22271  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 22272  	}
 22273  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 22274  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 22275  	}
 22276  	if s.MemberArns == nil {
 22277  		invalidParams.Add(request.NewErrParamRequired("MemberArns"))
 22278  	}
 22279  	if s.MemberArns != nil && len(s.MemberArns) < 1 {
 22280  		invalidParams.Add(request.NewErrParamMinLen("MemberArns", 1))
 22281  	}
 22282  
 22283  	if invalidParams.Len() > 0 {
 22284  		return invalidParams
 22285  	}
 22286  	return nil
 22287  }
 22288  
 22289  // SetChannelArn sets the ChannelArn field's value.
 22290  func (s *BatchCreateChannelMembershipInput) SetChannelArn(v string) *BatchCreateChannelMembershipInput {
 22291  	s.ChannelArn = &v
 22292  	return s
 22293  }
 22294  
 22295  // SetChimeBearer sets the ChimeBearer field's value.
 22296  func (s *BatchCreateChannelMembershipInput) SetChimeBearer(v string) *BatchCreateChannelMembershipInput {
 22297  	s.ChimeBearer = &v
 22298  	return s
 22299  }
 22300  
 22301  // SetMemberArns sets the MemberArns field's value.
 22302  func (s *BatchCreateChannelMembershipInput) SetMemberArns(v []*string) *BatchCreateChannelMembershipInput {
 22303  	s.MemberArns = v
 22304  	return s
 22305  }
 22306  
 22307  // SetType sets the Type field's value.
 22308  func (s *BatchCreateChannelMembershipInput) SetType(v string) *BatchCreateChannelMembershipInput {
 22309  	s.Type = &v
 22310  	return s
 22311  }
 22312  
 22313  type BatchCreateChannelMembershipOutput struct {
 22314  	_ struct{} `type:"structure"`
 22315  
 22316  	// The list of channel memberships in the response.
 22317  	BatchChannelMemberships *BatchChannelMemberships `type:"structure"`
 22318  
 22319  	// If the action fails for one or more of the memberships in the request, a
 22320  	// list of the memberships is returned, along with error codes and error messages.
 22321  	Errors []*BatchCreateChannelMembershipError `type:"list"`
 22322  }
 22323  
 22324  // String returns the string representation.
 22325  //
 22326  // API parameter values that are decorated as "sensitive" in the API will not
 22327  // be included in the string output. The member name will be present, but the
 22328  // value will be replaced with "sensitive".
 22329  func (s BatchCreateChannelMembershipOutput) String() string {
 22330  	return awsutil.Prettify(s)
 22331  }
 22332  
 22333  // GoString returns the string representation.
 22334  //
 22335  // API parameter values that are decorated as "sensitive" in the API will not
 22336  // be included in the string output. The member name will be present, but the
 22337  // value will be replaced with "sensitive".
 22338  func (s BatchCreateChannelMembershipOutput) GoString() string {
 22339  	return s.String()
 22340  }
 22341  
 22342  // SetBatchChannelMemberships sets the BatchChannelMemberships field's value.
 22343  func (s *BatchCreateChannelMembershipOutput) SetBatchChannelMemberships(v *BatchChannelMemberships) *BatchCreateChannelMembershipOutput {
 22344  	s.BatchChannelMemberships = v
 22345  	return s
 22346  }
 22347  
 22348  // SetErrors sets the Errors field's value.
 22349  func (s *BatchCreateChannelMembershipOutput) SetErrors(v []*BatchCreateChannelMembershipError) *BatchCreateChannelMembershipOutput {
 22350  	s.Errors = v
 22351  	return s
 22352  }
 22353  
 22354  type BatchCreateRoomMembershipInput struct {
 22355  	_ struct{} `type:"structure"`
 22356  
 22357  	// The Amazon Chime account ID.
 22358  	//
 22359  	// AccountId is a required field
 22360  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 22361  
 22362  	// The list of membership items.
 22363  	//
 22364  	// MembershipItemList is a required field
 22365  	MembershipItemList []*MembershipItem `type:"list" required:"true"`
 22366  
 22367  	// The room ID.
 22368  	//
 22369  	// RoomId is a required field
 22370  	RoomId *string `location:"uri" locationName:"roomId" type:"string" required:"true"`
 22371  }
 22372  
 22373  // String returns the string representation.
 22374  //
 22375  // API parameter values that are decorated as "sensitive" in the API will not
 22376  // be included in the string output. The member name will be present, but the
 22377  // value will be replaced with "sensitive".
 22378  func (s BatchCreateRoomMembershipInput) String() string {
 22379  	return awsutil.Prettify(s)
 22380  }
 22381  
 22382  // GoString returns the string representation.
 22383  //
 22384  // API parameter values that are decorated as "sensitive" in the API will not
 22385  // be included in the string output. The member name will be present, but the
 22386  // value will be replaced with "sensitive".
 22387  func (s BatchCreateRoomMembershipInput) GoString() string {
 22388  	return s.String()
 22389  }
 22390  
 22391  // Validate inspects the fields of the type to determine if they are valid.
 22392  func (s *BatchCreateRoomMembershipInput) Validate() error {
 22393  	invalidParams := request.ErrInvalidParams{Context: "BatchCreateRoomMembershipInput"}
 22394  	if s.AccountId == nil {
 22395  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 22396  	}
 22397  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 22398  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 22399  	}
 22400  	if s.MembershipItemList == nil {
 22401  		invalidParams.Add(request.NewErrParamRequired("MembershipItemList"))
 22402  	}
 22403  	if s.RoomId == nil {
 22404  		invalidParams.Add(request.NewErrParamRequired("RoomId"))
 22405  	}
 22406  	if s.RoomId != nil && len(*s.RoomId) < 1 {
 22407  		invalidParams.Add(request.NewErrParamMinLen("RoomId", 1))
 22408  	}
 22409  
 22410  	if invalidParams.Len() > 0 {
 22411  		return invalidParams
 22412  	}
 22413  	return nil
 22414  }
 22415  
 22416  // SetAccountId sets the AccountId field's value.
 22417  func (s *BatchCreateRoomMembershipInput) SetAccountId(v string) *BatchCreateRoomMembershipInput {
 22418  	s.AccountId = &v
 22419  	return s
 22420  }
 22421  
 22422  // SetMembershipItemList sets the MembershipItemList field's value.
 22423  func (s *BatchCreateRoomMembershipInput) SetMembershipItemList(v []*MembershipItem) *BatchCreateRoomMembershipInput {
 22424  	s.MembershipItemList = v
 22425  	return s
 22426  }
 22427  
 22428  // SetRoomId sets the RoomId field's value.
 22429  func (s *BatchCreateRoomMembershipInput) SetRoomId(v string) *BatchCreateRoomMembershipInput {
 22430  	s.RoomId = &v
 22431  	return s
 22432  }
 22433  
 22434  type BatchCreateRoomMembershipOutput struct {
 22435  	_ struct{} `type:"structure"`
 22436  
 22437  	// If the action fails for one or more of the member IDs in the request, a list
 22438  	// of the member IDs is returned, along with error codes and error messages.
 22439  	Errors []*MemberError `type:"list"`
 22440  }
 22441  
 22442  // String returns the string representation.
 22443  //
 22444  // API parameter values that are decorated as "sensitive" in the API will not
 22445  // be included in the string output. The member name will be present, but the
 22446  // value will be replaced with "sensitive".
 22447  func (s BatchCreateRoomMembershipOutput) String() string {
 22448  	return awsutil.Prettify(s)
 22449  }
 22450  
 22451  // GoString returns the string representation.
 22452  //
 22453  // API parameter values that are decorated as "sensitive" in the API will not
 22454  // be included in the string output. The member name will be present, but the
 22455  // value will be replaced with "sensitive".
 22456  func (s BatchCreateRoomMembershipOutput) GoString() string {
 22457  	return s.String()
 22458  }
 22459  
 22460  // SetErrors sets the Errors field's value.
 22461  func (s *BatchCreateRoomMembershipOutput) SetErrors(v []*MemberError) *BatchCreateRoomMembershipOutput {
 22462  	s.Errors = v
 22463  	return s
 22464  }
 22465  
 22466  type BatchDeletePhoneNumberInput struct {
 22467  	_ struct{} `type:"structure"`
 22468  
 22469  	// List of phone number IDs.
 22470  	//
 22471  	// PhoneNumberIds is a required field
 22472  	PhoneNumberIds []*string `min:"1" type:"list" required:"true"`
 22473  }
 22474  
 22475  // String returns the string representation.
 22476  //
 22477  // API parameter values that are decorated as "sensitive" in the API will not
 22478  // be included in the string output. The member name will be present, but the
 22479  // value will be replaced with "sensitive".
 22480  func (s BatchDeletePhoneNumberInput) String() string {
 22481  	return awsutil.Prettify(s)
 22482  }
 22483  
 22484  // GoString returns the string representation.
 22485  //
 22486  // API parameter values that are decorated as "sensitive" in the API will not
 22487  // be included in the string output. The member name will be present, but the
 22488  // value will be replaced with "sensitive".
 22489  func (s BatchDeletePhoneNumberInput) GoString() string {
 22490  	return s.String()
 22491  }
 22492  
 22493  // Validate inspects the fields of the type to determine if they are valid.
 22494  func (s *BatchDeletePhoneNumberInput) Validate() error {
 22495  	invalidParams := request.ErrInvalidParams{Context: "BatchDeletePhoneNumberInput"}
 22496  	if s.PhoneNumberIds == nil {
 22497  		invalidParams.Add(request.NewErrParamRequired("PhoneNumberIds"))
 22498  	}
 22499  	if s.PhoneNumberIds != nil && len(s.PhoneNumberIds) < 1 {
 22500  		invalidParams.Add(request.NewErrParamMinLen("PhoneNumberIds", 1))
 22501  	}
 22502  
 22503  	if invalidParams.Len() > 0 {
 22504  		return invalidParams
 22505  	}
 22506  	return nil
 22507  }
 22508  
 22509  // SetPhoneNumberIds sets the PhoneNumberIds field's value.
 22510  func (s *BatchDeletePhoneNumberInput) SetPhoneNumberIds(v []*string) *BatchDeletePhoneNumberInput {
 22511  	s.PhoneNumberIds = v
 22512  	return s
 22513  }
 22514  
 22515  type BatchDeletePhoneNumberOutput struct {
 22516  	_ struct{} `type:"structure"`
 22517  
 22518  	// If the action fails for one or more of the phone numbers in the request,
 22519  	// a list of the phone numbers is returned, along with error codes and error
 22520  	// messages.
 22521  	PhoneNumberErrors []*PhoneNumberError `type:"list"`
 22522  }
 22523  
 22524  // String returns the string representation.
 22525  //
 22526  // API parameter values that are decorated as "sensitive" in the API will not
 22527  // be included in the string output. The member name will be present, but the
 22528  // value will be replaced with "sensitive".
 22529  func (s BatchDeletePhoneNumberOutput) String() string {
 22530  	return awsutil.Prettify(s)
 22531  }
 22532  
 22533  // GoString returns the string representation.
 22534  //
 22535  // API parameter values that are decorated as "sensitive" in the API will not
 22536  // be included in the string output. The member name will be present, but the
 22537  // value will be replaced with "sensitive".
 22538  func (s BatchDeletePhoneNumberOutput) GoString() string {
 22539  	return s.String()
 22540  }
 22541  
 22542  // SetPhoneNumberErrors sets the PhoneNumberErrors field's value.
 22543  func (s *BatchDeletePhoneNumberOutput) SetPhoneNumberErrors(v []*PhoneNumberError) *BatchDeletePhoneNumberOutput {
 22544  	s.PhoneNumberErrors = v
 22545  	return s
 22546  }
 22547  
 22548  type BatchSuspendUserInput struct {
 22549  	_ struct{} `type:"structure"`
 22550  
 22551  	// The Amazon Chime account ID.
 22552  	//
 22553  	// AccountId is a required field
 22554  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 22555  
 22556  	// The request containing the user IDs to suspend.
 22557  	//
 22558  	// UserIdList is a required field
 22559  	UserIdList []*string `type:"list" required:"true"`
 22560  }
 22561  
 22562  // String returns the string representation.
 22563  //
 22564  // API parameter values that are decorated as "sensitive" in the API will not
 22565  // be included in the string output. The member name will be present, but the
 22566  // value will be replaced with "sensitive".
 22567  func (s BatchSuspendUserInput) String() string {
 22568  	return awsutil.Prettify(s)
 22569  }
 22570  
 22571  // GoString returns the string representation.
 22572  //
 22573  // API parameter values that are decorated as "sensitive" in the API will not
 22574  // be included in the string output. The member name will be present, but the
 22575  // value will be replaced with "sensitive".
 22576  func (s BatchSuspendUserInput) GoString() string {
 22577  	return s.String()
 22578  }
 22579  
 22580  // Validate inspects the fields of the type to determine if they are valid.
 22581  func (s *BatchSuspendUserInput) Validate() error {
 22582  	invalidParams := request.ErrInvalidParams{Context: "BatchSuspendUserInput"}
 22583  	if s.AccountId == nil {
 22584  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 22585  	}
 22586  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 22587  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 22588  	}
 22589  	if s.UserIdList == nil {
 22590  		invalidParams.Add(request.NewErrParamRequired("UserIdList"))
 22591  	}
 22592  
 22593  	if invalidParams.Len() > 0 {
 22594  		return invalidParams
 22595  	}
 22596  	return nil
 22597  }
 22598  
 22599  // SetAccountId sets the AccountId field's value.
 22600  func (s *BatchSuspendUserInput) SetAccountId(v string) *BatchSuspendUserInput {
 22601  	s.AccountId = &v
 22602  	return s
 22603  }
 22604  
 22605  // SetUserIdList sets the UserIdList field's value.
 22606  func (s *BatchSuspendUserInput) SetUserIdList(v []*string) *BatchSuspendUserInput {
 22607  	s.UserIdList = v
 22608  	return s
 22609  }
 22610  
 22611  type BatchSuspendUserOutput struct {
 22612  	_ struct{} `type:"structure"`
 22613  
 22614  	// If the BatchSuspendUser action fails for one or more of the user IDs in the
 22615  	// request, a list of the user IDs is returned, along with error codes and error
 22616  	// messages.
 22617  	UserErrors []*UserError `type:"list"`
 22618  }
 22619  
 22620  // String returns the string representation.
 22621  //
 22622  // API parameter values that are decorated as "sensitive" in the API will not
 22623  // be included in the string output. The member name will be present, but the
 22624  // value will be replaced with "sensitive".
 22625  func (s BatchSuspendUserOutput) String() string {
 22626  	return awsutil.Prettify(s)
 22627  }
 22628  
 22629  // GoString returns the string representation.
 22630  //
 22631  // API parameter values that are decorated as "sensitive" in the API will not
 22632  // be included in the string output. The member name will be present, but the
 22633  // value will be replaced with "sensitive".
 22634  func (s BatchSuspendUserOutput) GoString() string {
 22635  	return s.String()
 22636  }
 22637  
 22638  // SetUserErrors sets the UserErrors field's value.
 22639  func (s *BatchSuspendUserOutput) SetUserErrors(v []*UserError) *BatchSuspendUserOutput {
 22640  	s.UserErrors = v
 22641  	return s
 22642  }
 22643  
 22644  type BatchUnsuspendUserInput struct {
 22645  	_ struct{} `type:"structure"`
 22646  
 22647  	// The Amazon Chime account ID.
 22648  	//
 22649  	// AccountId is a required field
 22650  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 22651  
 22652  	// The request containing the user IDs to unsuspend.
 22653  	//
 22654  	// UserIdList is a required field
 22655  	UserIdList []*string `type:"list" required:"true"`
 22656  }
 22657  
 22658  // String returns the string representation.
 22659  //
 22660  // API parameter values that are decorated as "sensitive" in the API will not
 22661  // be included in the string output. The member name will be present, but the
 22662  // value will be replaced with "sensitive".
 22663  func (s BatchUnsuspendUserInput) String() string {
 22664  	return awsutil.Prettify(s)
 22665  }
 22666  
 22667  // GoString returns the string representation.
 22668  //
 22669  // API parameter values that are decorated as "sensitive" in the API will not
 22670  // be included in the string output. The member name will be present, but the
 22671  // value will be replaced with "sensitive".
 22672  func (s BatchUnsuspendUserInput) GoString() string {
 22673  	return s.String()
 22674  }
 22675  
 22676  // Validate inspects the fields of the type to determine if they are valid.
 22677  func (s *BatchUnsuspendUserInput) Validate() error {
 22678  	invalidParams := request.ErrInvalidParams{Context: "BatchUnsuspendUserInput"}
 22679  	if s.AccountId == nil {
 22680  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 22681  	}
 22682  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 22683  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 22684  	}
 22685  	if s.UserIdList == nil {
 22686  		invalidParams.Add(request.NewErrParamRequired("UserIdList"))
 22687  	}
 22688  
 22689  	if invalidParams.Len() > 0 {
 22690  		return invalidParams
 22691  	}
 22692  	return nil
 22693  }
 22694  
 22695  // SetAccountId sets the AccountId field's value.
 22696  func (s *BatchUnsuspendUserInput) SetAccountId(v string) *BatchUnsuspendUserInput {
 22697  	s.AccountId = &v
 22698  	return s
 22699  }
 22700  
 22701  // SetUserIdList sets the UserIdList field's value.
 22702  func (s *BatchUnsuspendUserInput) SetUserIdList(v []*string) *BatchUnsuspendUserInput {
 22703  	s.UserIdList = v
 22704  	return s
 22705  }
 22706  
 22707  type BatchUnsuspendUserOutput struct {
 22708  	_ struct{} `type:"structure"`
 22709  
 22710  	// If the BatchUnsuspendUser action fails for one or more of the user IDs in
 22711  	// the request, a list of the user IDs is returned, along with error codes and
 22712  	// error messages.
 22713  	UserErrors []*UserError `type:"list"`
 22714  }
 22715  
 22716  // String returns the string representation.
 22717  //
 22718  // API parameter values that are decorated as "sensitive" in the API will not
 22719  // be included in the string output. The member name will be present, but the
 22720  // value will be replaced with "sensitive".
 22721  func (s BatchUnsuspendUserOutput) String() string {
 22722  	return awsutil.Prettify(s)
 22723  }
 22724  
 22725  // GoString returns the string representation.
 22726  //
 22727  // API parameter values that are decorated as "sensitive" in the API will not
 22728  // be included in the string output. The member name will be present, but the
 22729  // value will be replaced with "sensitive".
 22730  func (s BatchUnsuspendUserOutput) GoString() string {
 22731  	return s.String()
 22732  }
 22733  
 22734  // SetUserErrors sets the UserErrors field's value.
 22735  func (s *BatchUnsuspendUserOutput) SetUserErrors(v []*UserError) *BatchUnsuspendUserOutput {
 22736  	s.UserErrors = v
 22737  	return s
 22738  }
 22739  
 22740  type BatchUpdatePhoneNumberInput struct {
 22741  	_ struct{} `type:"structure"`
 22742  
 22743  	// The request containing the phone number IDs and product types or calling
 22744  	// names to update.
 22745  	//
 22746  	// UpdatePhoneNumberRequestItems is a required field
 22747  	UpdatePhoneNumberRequestItems []*UpdatePhoneNumberRequestItem `type:"list" required:"true"`
 22748  }
 22749  
 22750  // String returns the string representation.
 22751  //
 22752  // API parameter values that are decorated as "sensitive" in the API will not
 22753  // be included in the string output. The member name will be present, but the
 22754  // value will be replaced with "sensitive".
 22755  func (s BatchUpdatePhoneNumberInput) String() string {
 22756  	return awsutil.Prettify(s)
 22757  }
 22758  
 22759  // GoString returns the string representation.
 22760  //
 22761  // API parameter values that are decorated as "sensitive" in the API will not
 22762  // be included in the string output. The member name will be present, but the
 22763  // value will be replaced with "sensitive".
 22764  func (s BatchUpdatePhoneNumberInput) GoString() string {
 22765  	return s.String()
 22766  }
 22767  
 22768  // Validate inspects the fields of the type to determine if they are valid.
 22769  func (s *BatchUpdatePhoneNumberInput) Validate() error {
 22770  	invalidParams := request.ErrInvalidParams{Context: "BatchUpdatePhoneNumberInput"}
 22771  	if s.UpdatePhoneNumberRequestItems == nil {
 22772  		invalidParams.Add(request.NewErrParamRequired("UpdatePhoneNumberRequestItems"))
 22773  	}
 22774  	if s.UpdatePhoneNumberRequestItems != nil {
 22775  		for i, v := range s.UpdatePhoneNumberRequestItems {
 22776  			if v == nil {
 22777  				continue
 22778  			}
 22779  			if err := v.Validate(); err != nil {
 22780  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UpdatePhoneNumberRequestItems", i), err.(request.ErrInvalidParams))
 22781  			}
 22782  		}
 22783  	}
 22784  
 22785  	if invalidParams.Len() > 0 {
 22786  		return invalidParams
 22787  	}
 22788  	return nil
 22789  }
 22790  
 22791  // SetUpdatePhoneNumberRequestItems sets the UpdatePhoneNumberRequestItems field's value.
 22792  func (s *BatchUpdatePhoneNumberInput) SetUpdatePhoneNumberRequestItems(v []*UpdatePhoneNumberRequestItem) *BatchUpdatePhoneNumberInput {
 22793  	s.UpdatePhoneNumberRequestItems = v
 22794  	return s
 22795  }
 22796  
 22797  type BatchUpdatePhoneNumberOutput struct {
 22798  	_ struct{} `type:"structure"`
 22799  
 22800  	// If the action fails for one or more of the phone numbers in the request,
 22801  	// a list of the phone numbers is returned, along with error codes and error
 22802  	// messages.
 22803  	PhoneNumberErrors []*PhoneNumberError `type:"list"`
 22804  }
 22805  
 22806  // String returns the string representation.
 22807  //
 22808  // API parameter values that are decorated as "sensitive" in the API will not
 22809  // be included in the string output. The member name will be present, but the
 22810  // value will be replaced with "sensitive".
 22811  func (s BatchUpdatePhoneNumberOutput) String() string {
 22812  	return awsutil.Prettify(s)
 22813  }
 22814  
 22815  // GoString returns the string representation.
 22816  //
 22817  // API parameter values that are decorated as "sensitive" in the API will not
 22818  // be included in the string output. The member name will be present, but the
 22819  // value will be replaced with "sensitive".
 22820  func (s BatchUpdatePhoneNumberOutput) GoString() string {
 22821  	return s.String()
 22822  }
 22823  
 22824  // SetPhoneNumberErrors sets the PhoneNumberErrors field's value.
 22825  func (s *BatchUpdatePhoneNumberOutput) SetPhoneNumberErrors(v []*PhoneNumberError) *BatchUpdatePhoneNumberOutput {
 22826  	s.PhoneNumberErrors = v
 22827  	return s
 22828  }
 22829  
 22830  type BatchUpdateUserInput struct {
 22831  	_ struct{} `type:"structure"`
 22832  
 22833  	// The Amazon Chime account ID.
 22834  	//
 22835  	// AccountId is a required field
 22836  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 22837  
 22838  	// The request containing the user IDs and details to update.
 22839  	//
 22840  	// UpdateUserRequestItems is a required field
 22841  	UpdateUserRequestItems []*UpdateUserRequestItem `type:"list" required:"true"`
 22842  }
 22843  
 22844  // String returns the string representation.
 22845  //
 22846  // API parameter values that are decorated as "sensitive" in the API will not
 22847  // be included in the string output. The member name will be present, but the
 22848  // value will be replaced with "sensitive".
 22849  func (s BatchUpdateUserInput) String() string {
 22850  	return awsutil.Prettify(s)
 22851  }
 22852  
 22853  // GoString returns the string representation.
 22854  //
 22855  // API parameter values that are decorated as "sensitive" in the API will not
 22856  // be included in the string output. The member name will be present, but the
 22857  // value will be replaced with "sensitive".
 22858  func (s BatchUpdateUserInput) GoString() string {
 22859  	return s.String()
 22860  }
 22861  
 22862  // Validate inspects the fields of the type to determine if they are valid.
 22863  func (s *BatchUpdateUserInput) Validate() error {
 22864  	invalidParams := request.ErrInvalidParams{Context: "BatchUpdateUserInput"}
 22865  	if s.AccountId == nil {
 22866  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 22867  	}
 22868  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 22869  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 22870  	}
 22871  	if s.UpdateUserRequestItems == nil {
 22872  		invalidParams.Add(request.NewErrParamRequired("UpdateUserRequestItems"))
 22873  	}
 22874  	if s.UpdateUserRequestItems != nil {
 22875  		for i, v := range s.UpdateUserRequestItems {
 22876  			if v == nil {
 22877  				continue
 22878  			}
 22879  			if err := v.Validate(); err != nil {
 22880  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UpdateUserRequestItems", i), err.(request.ErrInvalidParams))
 22881  			}
 22882  		}
 22883  	}
 22884  
 22885  	if invalidParams.Len() > 0 {
 22886  		return invalidParams
 22887  	}
 22888  	return nil
 22889  }
 22890  
 22891  // SetAccountId sets the AccountId field's value.
 22892  func (s *BatchUpdateUserInput) SetAccountId(v string) *BatchUpdateUserInput {
 22893  	s.AccountId = &v
 22894  	return s
 22895  }
 22896  
 22897  // SetUpdateUserRequestItems sets the UpdateUserRequestItems field's value.
 22898  func (s *BatchUpdateUserInput) SetUpdateUserRequestItems(v []*UpdateUserRequestItem) *BatchUpdateUserInput {
 22899  	s.UpdateUserRequestItems = v
 22900  	return s
 22901  }
 22902  
 22903  type BatchUpdateUserOutput struct {
 22904  	_ struct{} `type:"structure"`
 22905  
 22906  	// If the BatchUpdateUser action fails for one or more of the user IDs in the
 22907  	// request, a list of the user IDs is returned, along with error codes and error
 22908  	// messages.
 22909  	UserErrors []*UserError `type:"list"`
 22910  }
 22911  
 22912  // String returns the string representation.
 22913  //
 22914  // API parameter values that are decorated as "sensitive" in the API will not
 22915  // be included in the string output. The member name will be present, but the
 22916  // value will be replaced with "sensitive".
 22917  func (s BatchUpdateUserOutput) String() string {
 22918  	return awsutil.Prettify(s)
 22919  }
 22920  
 22921  // GoString returns the string representation.
 22922  //
 22923  // API parameter values that are decorated as "sensitive" in the API will not
 22924  // be included in the string output. The member name will be present, but the
 22925  // value will be replaced with "sensitive".
 22926  func (s BatchUpdateUserOutput) GoString() string {
 22927  	return s.String()
 22928  }
 22929  
 22930  // SetUserErrors sets the UserErrors field's value.
 22931  func (s *BatchUpdateUserOutput) SetUserErrors(v []*UserError) *BatchUpdateUserOutput {
 22932  	s.UserErrors = v
 22933  	return s
 22934  }
 22935  
 22936  // A resource that allows Enterprise account administrators to configure an
 22937  // interface to receive events from Amazon Chime.
 22938  type Bot struct {
 22939  	_ struct{} `type:"structure"`
 22940  
 22941  	// The bot email address.
 22942  	//
 22943  	// BotEmail is a sensitive parameter and its value will be
 22944  	// replaced with "sensitive" in string returned by Bot's
 22945  	// String and GoString methods.
 22946  	BotEmail *string `type:"string" sensitive:"true"`
 22947  
 22948  	// The bot ID.
 22949  	BotId *string `type:"string"`
 22950  
 22951  	// The bot type.
 22952  	BotType *string `type:"string" enum:"BotType"`
 22953  
 22954  	// The bot creation timestamp, in ISO 8601 format.
 22955  	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 22956  
 22957  	// When true, the bot is stopped from running in your account.
 22958  	Disabled *bool `type:"boolean"`
 22959  
 22960  	// The bot display name.
 22961  	//
 22962  	// DisplayName is a sensitive parameter and its value will be
 22963  	// replaced with "sensitive" in string returned by Bot's
 22964  	// String and GoString methods.
 22965  	DisplayName *string `type:"string" sensitive:"true"`
 22966  
 22967  	// The security token used to authenticate Amazon Chime with the outgoing event
 22968  	// endpoint.
 22969  	//
 22970  	// SecurityToken is a sensitive parameter and its value will be
 22971  	// replaced with "sensitive" in string returned by Bot's
 22972  	// String and GoString methods.
 22973  	SecurityToken *string `type:"string" sensitive:"true"`
 22974  
 22975  	// The updated bot timestamp, in ISO 8601 format.
 22976  	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 22977  
 22978  	// The unique ID for the bot user.
 22979  	UserId *string `type:"string"`
 22980  }
 22981  
 22982  // String returns the string representation.
 22983  //
 22984  // API parameter values that are decorated as "sensitive" in the API will not
 22985  // be included in the string output. The member name will be present, but the
 22986  // value will be replaced with "sensitive".
 22987  func (s Bot) String() string {
 22988  	return awsutil.Prettify(s)
 22989  }
 22990  
 22991  // GoString returns the string representation.
 22992  //
 22993  // API parameter values that are decorated as "sensitive" in the API will not
 22994  // be included in the string output. The member name will be present, but the
 22995  // value will be replaced with "sensitive".
 22996  func (s Bot) GoString() string {
 22997  	return s.String()
 22998  }
 22999  
 23000  // SetBotEmail sets the BotEmail field's value.
 23001  func (s *Bot) SetBotEmail(v string) *Bot {
 23002  	s.BotEmail = &v
 23003  	return s
 23004  }
 23005  
 23006  // SetBotId sets the BotId field's value.
 23007  func (s *Bot) SetBotId(v string) *Bot {
 23008  	s.BotId = &v
 23009  	return s
 23010  }
 23011  
 23012  // SetBotType sets the BotType field's value.
 23013  func (s *Bot) SetBotType(v string) *Bot {
 23014  	s.BotType = &v
 23015  	return s
 23016  }
 23017  
 23018  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 23019  func (s *Bot) SetCreatedTimestamp(v time.Time) *Bot {
 23020  	s.CreatedTimestamp = &v
 23021  	return s
 23022  }
 23023  
 23024  // SetDisabled sets the Disabled field's value.
 23025  func (s *Bot) SetDisabled(v bool) *Bot {
 23026  	s.Disabled = &v
 23027  	return s
 23028  }
 23029  
 23030  // SetDisplayName sets the DisplayName field's value.
 23031  func (s *Bot) SetDisplayName(v string) *Bot {
 23032  	s.DisplayName = &v
 23033  	return s
 23034  }
 23035  
 23036  // SetSecurityToken sets the SecurityToken field's value.
 23037  func (s *Bot) SetSecurityToken(v string) *Bot {
 23038  	s.SecurityToken = &v
 23039  	return s
 23040  }
 23041  
 23042  // SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
 23043  func (s *Bot) SetUpdatedTimestamp(v time.Time) *Bot {
 23044  	s.UpdatedTimestamp = &v
 23045  	return s
 23046  }
 23047  
 23048  // SetUserId sets the UserId field's value.
 23049  func (s *Bot) SetUserId(v string) *Bot {
 23050  	s.UserId = &v
 23051  	return s
 23052  }
 23053  
 23054  // The Amazon Chime Business Calling settings for the administrator's AWS account.
 23055  // Includes any Amazon S3 buckets designated for storing call detail records.
 23056  type BusinessCallingSettings struct {
 23057  	_ struct{} `type:"structure"`
 23058  
 23059  	// The Amazon S3 bucket designated for call detail record storage.
 23060  	CdrBucket *string `type:"string"`
 23061  }
 23062  
 23063  // String returns the string representation.
 23064  //
 23065  // API parameter values that are decorated as "sensitive" in the API will not
 23066  // be included in the string output. The member name will be present, but the
 23067  // value will be replaced with "sensitive".
 23068  func (s BusinessCallingSettings) String() string {
 23069  	return awsutil.Prettify(s)
 23070  }
 23071  
 23072  // GoString returns the string representation.
 23073  //
 23074  // API parameter values that are decorated as "sensitive" in the API will not
 23075  // be included in the string output. The member name will be present, but the
 23076  // value will be replaced with "sensitive".
 23077  func (s BusinessCallingSettings) GoString() string {
 23078  	return s.String()
 23079  }
 23080  
 23081  // SetCdrBucket sets the CdrBucket field's value.
 23082  func (s *BusinessCallingSettings) SetCdrBucket(v string) *BusinessCallingSettings {
 23083  	s.CdrBucket = &v
 23084  	return s
 23085  }
 23086  
 23087  // The details of a channel.
 23088  type Channel struct {
 23089  	_ struct{} `type:"structure"`
 23090  
 23091  	// The ARN of the channel.
 23092  	ChannelArn *string `min:"5" type:"string"`
 23093  
 23094  	// The AppInstanceUser who created the channel.
 23095  	CreatedBy *Identity `type:"structure"`
 23096  
 23097  	// The time at which the AppInstanceUser created the channel.
 23098  	CreatedTimestamp *time.Time `type:"timestamp"`
 23099  
 23100  	// The time at which a member sent the last message in the channel.
 23101  	LastMessageTimestamp *time.Time `type:"timestamp"`
 23102  
 23103  	// The time at which a channel was last updated.
 23104  	LastUpdatedTimestamp *time.Time `type:"timestamp"`
 23105  
 23106  	// The channel's metadata.
 23107  	//
 23108  	// Metadata is a sensitive parameter and its value will be
 23109  	// replaced with "sensitive" in string returned by Channel's
 23110  	// String and GoString methods.
 23111  	Metadata *string `type:"string" sensitive:"true"`
 23112  
 23113  	// The mode of the channel.
 23114  	Mode *string `type:"string" enum:"ChannelMode"`
 23115  
 23116  	// The name of the channel.
 23117  	//
 23118  	// Name is a sensitive parameter and its value will be
 23119  	// replaced with "sensitive" in string returned by Channel's
 23120  	// String and GoString methods.
 23121  	Name *string `min:"1" type:"string" sensitive:"true"`
 23122  
 23123  	// The channel's privacy setting.
 23124  	Privacy *string `type:"string" enum:"ChannelPrivacy"`
 23125  }
 23126  
 23127  // String returns the string representation.
 23128  //
 23129  // API parameter values that are decorated as "sensitive" in the API will not
 23130  // be included in the string output. The member name will be present, but the
 23131  // value will be replaced with "sensitive".
 23132  func (s Channel) String() string {
 23133  	return awsutil.Prettify(s)
 23134  }
 23135  
 23136  // GoString returns the string representation.
 23137  //
 23138  // API parameter values that are decorated as "sensitive" in the API will not
 23139  // be included in the string output. The member name will be present, but the
 23140  // value will be replaced with "sensitive".
 23141  func (s Channel) GoString() string {
 23142  	return s.String()
 23143  }
 23144  
 23145  // SetChannelArn sets the ChannelArn field's value.
 23146  func (s *Channel) SetChannelArn(v string) *Channel {
 23147  	s.ChannelArn = &v
 23148  	return s
 23149  }
 23150  
 23151  // SetCreatedBy sets the CreatedBy field's value.
 23152  func (s *Channel) SetCreatedBy(v *Identity) *Channel {
 23153  	s.CreatedBy = v
 23154  	return s
 23155  }
 23156  
 23157  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 23158  func (s *Channel) SetCreatedTimestamp(v time.Time) *Channel {
 23159  	s.CreatedTimestamp = &v
 23160  	return s
 23161  }
 23162  
 23163  // SetLastMessageTimestamp sets the LastMessageTimestamp field's value.
 23164  func (s *Channel) SetLastMessageTimestamp(v time.Time) *Channel {
 23165  	s.LastMessageTimestamp = &v
 23166  	return s
 23167  }
 23168  
 23169  // SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
 23170  func (s *Channel) SetLastUpdatedTimestamp(v time.Time) *Channel {
 23171  	s.LastUpdatedTimestamp = &v
 23172  	return s
 23173  }
 23174  
 23175  // SetMetadata sets the Metadata field's value.
 23176  func (s *Channel) SetMetadata(v string) *Channel {
 23177  	s.Metadata = &v
 23178  	return s
 23179  }
 23180  
 23181  // SetMode sets the Mode field's value.
 23182  func (s *Channel) SetMode(v string) *Channel {
 23183  	s.Mode = &v
 23184  	return s
 23185  }
 23186  
 23187  // SetName sets the Name field's value.
 23188  func (s *Channel) SetName(v string) *Channel {
 23189  	s.Name = &v
 23190  	return s
 23191  }
 23192  
 23193  // SetPrivacy sets the Privacy field's value.
 23194  func (s *Channel) SetPrivacy(v string) *Channel {
 23195  	s.Privacy = &v
 23196  	return s
 23197  }
 23198  
 23199  // The details of a channel ban.
 23200  type ChannelBan struct {
 23201  	_ struct{} `type:"structure"`
 23202  
 23203  	// The ARN of the channel from which a member is being banned.
 23204  	ChannelArn *string `min:"5" type:"string"`
 23205  
 23206  	// The AppInstanceUser who created the ban.
 23207  	CreatedBy *Identity `type:"structure"`
 23208  
 23209  	// The time at which the ban was created.
 23210  	CreatedTimestamp *time.Time `type:"timestamp"`
 23211  
 23212  	// The member being banned from the channel.
 23213  	Member *Identity `type:"structure"`
 23214  }
 23215  
 23216  // String returns the string representation.
 23217  //
 23218  // API parameter values that are decorated as "sensitive" in the API will not
 23219  // be included in the string output. The member name will be present, but the
 23220  // value will be replaced with "sensitive".
 23221  func (s ChannelBan) String() string {
 23222  	return awsutil.Prettify(s)
 23223  }
 23224  
 23225  // GoString returns the string representation.
 23226  //
 23227  // API parameter values that are decorated as "sensitive" in the API will not
 23228  // be included in the string output. The member name will be present, but the
 23229  // value will be replaced with "sensitive".
 23230  func (s ChannelBan) GoString() string {
 23231  	return s.String()
 23232  }
 23233  
 23234  // SetChannelArn sets the ChannelArn field's value.
 23235  func (s *ChannelBan) SetChannelArn(v string) *ChannelBan {
 23236  	s.ChannelArn = &v
 23237  	return s
 23238  }
 23239  
 23240  // SetCreatedBy sets the CreatedBy field's value.
 23241  func (s *ChannelBan) SetCreatedBy(v *Identity) *ChannelBan {
 23242  	s.CreatedBy = v
 23243  	return s
 23244  }
 23245  
 23246  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 23247  func (s *ChannelBan) SetCreatedTimestamp(v time.Time) *ChannelBan {
 23248  	s.CreatedTimestamp = &v
 23249  	return s
 23250  }
 23251  
 23252  // SetMember sets the Member field's value.
 23253  func (s *ChannelBan) SetMember(v *Identity) *ChannelBan {
 23254  	s.Member = v
 23255  	return s
 23256  }
 23257  
 23258  // Summary of the details of a ChannelBan.
 23259  type ChannelBanSummary struct {
 23260  	_ struct{} `type:"structure"`
 23261  
 23262  	// The member being banned from a channel.
 23263  	Member *Identity `type:"structure"`
 23264  }
 23265  
 23266  // String returns the string representation.
 23267  //
 23268  // API parameter values that are decorated as "sensitive" in the API will not
 23269  // be included in the string output. The member name will be present, but the
 23270  // value will be replaced with "sensitive".
 23271  func (s ChannelBanSummary) String() string {
 23272  	return awsutil.Prettify(s)
 23273  }
 23274  
 23275  // GoString returns the string representation.
 23276  //
 23277  // API parameter values that are decorated as "sensitive" in the API will not
 23278  // be included in the string output. The member name will be present, but the
 23279  // value will be replaced with "sensitive".
 23280  func (s ChannelBanSummary) GoString() string {
 23281  	return s.String()
 23282  }
 23283  
 23284  // SetMember sets the Member field's value.
 23285  func (s *ChannelBanSummary) SetMember(v *Identity) *ChannelBanSummary {
 23286  	s.Member = v
 23287  	return s
 23288  }
 23289  
 23290  // The details of a channel member.
 23291  type ChannelMembership struct {
 23292  	_ struct{} `type:"structure"`
 23293  
 23294  	// The ARN of the member's channel.
 23295  	ChannelArn *string `min:"5" type:"string"`
 23296  
 23297  	// The time at which the channel membership was created.
 23298  	CreatedTimestamp *time.Time `type:"timestamp"`
 23299  
 23300  	// The identifier of the member who invited another member.
 23301  	InvitedBy *Identity `type:"structure"`
 23302  
 23303  	// The time at which a channel membership was last updated.
 23304  	LastUpdatedTimestamp *time.Time `type:"timestamp"`
 23305  
 23306  	// The data of the channel member.
 23307  	Member *Identity `type:"structure"`
 23308  
 23309  	// The membership type set for the channel member.
 23310  	Type *string `type:"string" enum:"ChannelMembershipType"`
 23311  }
 23312  
 23313  // String returns the string representation.
 23314  //
 23315  // API parameter values that are decorated as "sensitive" in the API will not
 23316  // be included in the string output. The member name will be present, but the
 23317  // value will be replaced with "sensitive".
 23318  func (s ChannelMembership) String() string {
 23319  	return awsutil.Prettify(s)
 23320  }
 23321  
 23322  // GoString returns the string representation.
 23323  //
 23324  // API parameter values that are decorated as "sensitive" in the API will not
 23325  // be included in the string output. The member name will be present, but the
 23326  // value will be replaced with "sensitive".
 23327  func (s ChannelMembership) GoString() string {
 23328  	return s.String()
 23329  }
 23330  
 23331  // SetChannelArn sets the ChannelArn field's value.
 23332  func (s *ChannelMembership) SetChannelArn(v string) *ChannelMembership {
 23333  	s.ChannelArn = &v
 23334  	return s
 23335  }
 23336  
 23337  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 23338  func (s *ChannelMembership) SetCreatedTimestamp(v time.Time) *ChannelMembership {
 23339  	s.CreatedTimestamp = &v
 23340  	return s
 23341  }
 23342  
 23343  // SetInvitedBy sets the InvitedBy field's value.
 23344  func (s *ChannelMembership) SetInvitedBy(v *Identity) *ChannelMembership {
 23345  	s.InvitedBy = v
 23346  	return s
 23347  }
 23348  
 23349  // SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
 23350  func (s *ChannelMembership) SetLastUpdatedTimestamp(v time.Time) *ChannelMembership {
 23351  	s.LastUpdatedTimestamp = &v
 23352  	return s
 23353  }
 23354  
 23355  // SetMember sets the Member field's value.
 23356  func (s *ChannelMembership) SetMember(v *Identity) *ChannelMembership {
 23357  	s.Member = v
 23358  	return s
 23359  }
 23360  
 23361  // SetType sets the Type field's value.
 23362  func (s *ChannelMembership) SetType(v string) *ChannelMembership {
 23363  	s.Type = &v
 23364  	return s
 23365  }
 23366  
 23367  // Summary of the channel membership details of an AppInstanceUser.
 23368  type ChannelMembershipForAppInstanceUserSummary struct {
 23369  	_ struct{} `type:"structure"`
 23370  
 23371  	// Summary of the membership details of an AppInstanceUser.
 23372  	AppInstanceUserMembershipSummary *AppInstanceUserMembershipSummary `type:"structure"`
 23373  
 23374  	// Summary of the details of a Channel.
 23375  	ChannelSummary *ChannelSummary `type:"structure"`
 23376  }
 23377  
 23378  // String returns the string representation.
 23379  //
 23380  // API parameter values that are decorated as "sensitive" in the API will not
 23381  // be included in the string output. The member name will be present, but the
 23382  // value will be replaced with "sensitive".
 23383  func (s ChannelMembershipForAppInstanceUserSummary) String() string {
 23384  	return awsutil.Prettify(s)
 23385  }
 23386  
 23387  // GoString returns the string representation.
 23388  //
 23389  // API parameter values that are decorated as "sensitive" in the API will not
 23390  // be included in the string output. The member name will be present, but the
 23391  // value will be replaced with "sensitive".
 23392  func (s ChannelMembershipForAppInstanceUserSummary) GoString() string {
 23393  	return s.String()
 23394  }
 23395  
 23396  // SetAppInstanceUserMembershipSummary sets the AppInstanceUserMembershipSummary field's value.
 23397  func (s *ChannelMembershipForAppInstanceUserSummary) SetAppInstanceUserMembershipSummary(v *AppInstanceUserMembershipSummary) *ChannelMembershipForAppInstanceUserSummary {
 23398  	s.AppInstanceUserMembershipSummary = v
 23399  	return s
 23400  }
 23401  
 23402  // SetChannelSummary sets the ChannelSummary field's value.
 23403  func (s *ChannelMembershipForAppInstanceUserSummary) SetChannelSummary(v *ChannelSummary) *ChannelMembershipForAppInstanceUserSummary {
 23404  	s.ChannelSummary = v
 23405  	return s
 23406  }
 23407  
 23408  // Summary of the details of a ChannelMembership.
 23409  type ChannelMembershipSummary struct {
 23410  	_ struct{} `type:"structure"`
 23411  
 23412  	// A member's summary data.
 23413  	Member *Identity `type:"structure"`
 23414  }
 23415  
 23416  // String returns the string representation.
 23417  //
 23418  // API parameter values that are decorated as "sensitive" in the API will not
 23419  // be included in the string output. The member name will be present, but the
 23420  // value will be replaced with "sensitive".
 23421  func (s ChannelMembershipSummary) String() string {
 23422  	return awsutil.Prettify(s)
 23423  }
 23424  
 23425  // GoString returns the string representation.
 23426  //
 23427  // API parameter values that are decorated as "sensitive" in the API will not
 23428  // be included in the string output. The member name will be present, but the
 23429  // value will be replaced with "sensitive".
 23430  func (s ChannelMembershipSummary) GoString() string {
 23431  	return s.String()
 23432  }
 23433  
 23434  // SetMember sets the Member field's value.
 23435  func (s *ChannelMembershipSummary) SetMember(v *Identity) *ChannelMembershipSummary {
 23436  	s.Member = v
 23437  	return s
 23438  }
 23439  
 23440  // The details of a message in a channel.
 23441  type ChannelMessage struct {
 23442  	_ struct{} `type:"structure"`
 23443  
 23444  	// The ARN of the channel.
 23445  	ChannelArn *string `min:"5" type:"string"`
 23446  
 23447  	// The message content.
 23448  	//
 23449  	// Content is a sensitive parameter and its value will be
 23450  	// replaced with "sensitive" in string returned by ChannelMessage's
 23451  	// String and GoString methods.
 23452  	Content *string `type:"string" sensitive:"true"`
 23453  
 23454  	// The time at which the message was created.
 23455  	CreatedTimestamp *time.Time `type:"timestamp"`
 23456  
 23457  	// The time at which a message was edited.
 23458  	LastEditedTimestamp *time.Time `type:"timestamp"`
 23459  
 23460  	// The time at which a message was updated.
 23461  	LastUpdatedTimestamp *time.Time `type:"timestamp"`
 23462  
 23463  	// The ID of a message.
 23464  	MessageId *string `min:"1" type:"string"`
 23465  
 23466  	// The message metadata.
 23467  	//
 23468  	// Metadata is a sensitive parameter and its value will be
 23469  	// replaced with "sensitive" in string returned by ChannelMessage's
 23470  	// String and GoString methods.
 23471  	Metadata *string `type:"string" sensitive:"true"`
 23472  
 23473  	// The persistence setting for a channel message.
 23474  	Persistence *string `type:"string" enum:"ChannelMessagePersistenceType"`
 23475  
 23476  	// Hides the content of a message.
 23477  	Redacted *bool `type:"boolean"`
 23478  
 23479  	// The message sender.
 23480  	Sender *Identity `type:"structure"`
 23481  
 23482  	// The message type.
 23483  	Type *string `type:"string" enum:"ChannelMessageType"`
 23484  }
 23485  
 23486  // String returns the string representation.
 23487  //
 23488  // API parameter values that are decorated as "sensitive" in the API will not
 23489  // be included in the string output. The member name will be present, but the
 23490  // value will be replaced with "sensitive".
 23491  func (s ChannelMessage) String() string {
 23492  	return awsutil.Prettify(s)
 23493  }
 23494  
 23495  // GoString returns the string representation.
 23496  //
 23497  // API parameter values that are decorated as "sensitive" in the API will not
 23498  // be included in the string output. The member name will be present, but the
 23499  // value will be replaced with "sensitive".
 23500  func (s ChannelMessage) GoString() string {
 23501  	return s.String()
 23502  }
 23503  
 23504  // SetChannelArn sets the ChannelArn field's value.
 23505  func (s *ChannelMessage) SetChannelArn(v string) *ChannelMessage {
 23506  	s.ChannelArn = &v
 23507  	return s
 23508  }
 23509  
 23510  // SetContent sets the Content field's value.
 23511  func (s *ChannelMessage) SetContent(v string) *ChannelMessage {
 23512  	s.Content = &v
 23513  	return s
 23514  }
 23515  
 23516  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 23517  func (s *ChannelMessage) SetCreatedTimestamp(v time.Time) *ChannelMessage {
 23518  	s.CreatedTimestamp = &v
 23519  	return s
 23520  }
 23521  
 23522  // SetLastEditedTimestamp sets the LastEditedTimestamp field's value.
 23523  func (s *ChannelMessage) SetLastEditedTimestamp(v time.Time) *ChannelMessage {
 23524  	s.LastEditedTimestamp = &v
 23525  	return s
 23526  }
 23527  
 23528  // SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
 23529  func (s *ChannelMessage) SetLastUpdatedTimestamp(v time.Time) *ChannelMessage {
 23530  	s.LastUpdatedTimestamp = &v
 23531  	return s
 23532  }
 23533  
 23534  // SetMessageId sets the MessageId field's value.
 23535  func (s *ChannelMessage) SetMessageId(v string) *ChannelMessage {
 23536  	s.MessageId = &v
 23537  	return s
 23538  }
 23539  
 23540  // SetMetadata sets the Metadata field's value.
 23541  func (s *ChannelMessage) SetMetadata(v string) *ChannelMessage {
 23542  	s.Metadata = &v
 23543  	return s
 23544  }
 23545  
 23546  // SetPersistence sets the Persistence field's value.
 23547  func (s *ChannelMessage) SetPersistence(v string) *ChannelMessage {
 23548  	s.Persistence = &v
 23549  	return s
 23550  }
 23551  
 23552  // SetRedacted sets the Redacted field's value.
 23553  func (s *ChannelMessage) SetRedacted(v bool) *ChannelMessage {
 23554  	s.Redacted = &v
 23555  	return s
 23556  }
 23557  
 23558  // SetSender sets the Sender field's value.
 23559  func (s *ChannelMessage) SetSender(v *Identity) *ChannelMessage {
 23560  	s.Sender = v
 23561  	return s
 23562  }
 23563  
 23564  // SetType sets the Type field's value.
 23565  func (s *ChannelMessage) SetType(v string) *ChannelMessage {
 23566  	s.Type = &v
 23567  	return s
 23568  }
 23569  
 23570  // Summary of the messages in a Channel.
 23571  type ChannelMessageSummary struct {
 23572  	_ struct{} `type:"structure"`
 23573  
 23574  	// The content of the message.
 23575  	//
 23576  	// Content is a sensitive parameter and its value will be
 23577  	// replaced with "sensitive" in string returned by ChannelMessageSummary's
 23578  	// String and GoString methods.
 23579  	Content *string `type:"string" sensitive:"true"`
 23580  
 23581  	// The time at which the message summary was created.
 23582  	CreatedTimestamp *time.Time `type:"timestamp"`
 23583  
 23584  	// The time at which a message was last edited.
 23585  	LastEditedTimestamp *time.Time `type:"timestamp"`
 23586  
 23587  	// The time at which a message was last updated.
 23588  	LastUpdatedTimestamp *time.Time `type:"timestamp"`
 23589  
 23590  	// The ID of the message.
 23591  	MessageId *string `min:"1" type:"string"`
 23592  
 23593  	// The metadata of the message.
 23594  	//
 23595  	// Metadata is a sensitive parameter and its value will be
 23596  	// replaced with "sensitive" in string returned by ChannelMessageSummary's
 23597  	// String and GoString methods.
 23598  	Metadata *string `type:"string" sensitive:"true"`
 23599  
 23600  	// Indicates whether a message was redacted.
 23601  	Redacted *bool `type:"boolean"`
 23602  
 23603  	// The message sender.
 23604  	Sender *Identity `type:"structure"`
 23605  
 23606  	// The type of message.
 23607  	Type *string `type:"string" enum:"ChannelMessageType"`
 23608  }
 23609  
 23610  // String returns the string representation.
 23611  //
 23612  // API parameter values that are decorated as "sensitive" in the API will not
 23613  // be included in the string output. The member name will be present, but the
 23614  // value will be replaced with "sensitive".
 23615  func (s ChannelMessageSummary) String() string {
 23616  	return awsutil.Prettify(s)
 23617  }
 23618  
 23619  // GoString returns the string representation.
 23620  //
 23621  // API parameter values that are decorated as "sensitive" in the API will not
 23622  // be included in the string output. The member name will be present, but the
 23623  // value will be replaced with "sensitive".
 23624  func (s ChannelMessageSummary) GoString() string {
 23625  	return s.String()
 23626  }
 23627  
 23628  // SetContent sets the Content field's value.
 23629  func (s *ChannelMessageSummary) SetContent(v string) *ChannelMessageSummary {
 23630  	s.Content = &v
 23631  	return s
 23632  }
 23633  
 23634  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 23635  func (s *ChannelMessageSummary) SetCreatedTimestamp(v time.Time) *ChannelMessageSummary {
 23636  	s.CreatedTimestamp = &v
 23637  	return s
 23638  }
 23639  
 23640  // SetLastEditedTimestamp sets the LastEditedTimestamp field's value.
 23641  func (s *ChannelMessageSummary) SetLastEditedTimestamp(v time.Time) *ChannelMessageSummary {
 23642  	s.LastEditedTimestamp = &v
 23643  	return s
 23644  }
 23645  
 23646  // SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.
 23647  func (s *ChannelMessageSummary) SetLastUpdatedTimestamp(v time.Time) *ChannelMessageSummary {
 23648  	s.LastUpdatedTimestamp = &v
 23649  	return s
 23650  }
 23651  
 23652  // SetMessageId sets the MessageId field's value.
 23653  func (s *ChannelMessageSummary) SetMessageId(v string) *ChannelMessageSummary {
 23654  	s.MessageId = &v
 23655  	return s
 23656  }
 23657  
 23658  // SetMetadata sets the Metadata field's value.
 23659  func (s *ChannelMessageSummary) SetMetadata(v string) *ChannelMessageSummary {
 23660  	s.Metadata = &v
 23661  	return s
 23662  }
 23663  
 23664  // SetRedacted sets the Redacted field's value.
 23665  func (s *ChannelMessageSummary) SetRedacted(v bool) *ChannelMessageSummary {
 23666  	s.Redacted = &v
 23667  	return s
 23668  }
 23669  
 23670  // SetSender sets the Sender field's value.
 23671  func (s *ChannelMessageSummary) SetSender(v *Identity) *ChannelMessageSummary {
 23672  	s.Sender = v
 23673  	return s
 23674  }
 23675  
 23676  // SetType sets the Type field's value.
 23677  func (s *ChannelMessageSummary) SetType(v string) *ChannelMessageSummary {
 23678  	s.Type = &v
 23679  	return s
 23680  }
 23681  
 23682  // Summary of the details of a moderated channel.
 23683  type ChannelModeratedByAppInstanceUserSummary struct {
 23684  	_ struct{} `type:"structure"`
 23685  
 23686  	// Summary of the details of a Channel.
 23687  	ChannelSummary *ChannelSummary `type:"structure"`
 23688  }
 23689  
 23690  // String returns the string representation.
 23691  //
 23692  // API parameter values that are decorated as "sensitive" in the API will not
 23693  // be included in the string output. The member name will be present, but the
 23694  // value will be replaced with "sensitive".
 23695  func (s ChannelModeratedByAppInstanceUserSummary) String() string {
 23696  	return awsutil.Prettify(s)
 23697  }
 23698  
 23699  // GoString returns the string representation.
 23700  //
 23701  // API parameter values that are decorated as "sensitive" in the API will not
 23702  // be included in the string output. The member name will be present, but the
 23703  // value will be replaced with "sensitive".
 23704  func (s ChannelModeratedByAppInstanceUserSummary) GoString() string {
 23705  	return s.String()
 23706  }
 23707  
 23708  // SetChannelSummary sets the ChannelSummary field's value.
 23709  func (s *ChannelModeratedByAppInstanceUserSummary) SetChannelSummary(v *ChannelSummary) *ChannelModeratedByAppInstanceUserSummary {
 23710  	s.ChannelSummary = v
 23711  	return s
 23712  }
 23713  
 23714  // The details of a channel moderator.
 23715  type ChannelModerator struct {
 23716  	_ struct{} `type:"structure"`
 23717  
 23718  	// The ARN of the moderator's channel.
 23719  	ChannelArn *string `min:"5" type:"string"`
 23720  
 23721  	// The AppInstanceUser who created the moderator.
 23722  	CreatedBy *Identity `type:"structure"`
 23723  
 23724  	// The time at which the moderator was created.
 23725  	CreatedTimestamp *time.Time `type:"timestamp"`
 23726  
 23727  	// The moderator's data.
 23728  	Moderator *Identity `type:"structure"`
 23729  }
 23730  
 23731  // String returns the string representation.
 23732  //
 23733  // API parameter values that are decorated as "sensitive" in the API will not
 23734  // be included in the string output. The member name will be present, but the
 23735  // value will be replaced with "sensitive".
 23736  func (s ChannelModerator) String() string {
 23737  	return awsutil.Prettify(s)
 23738  }
 23739  
 23740  // GoString returns the string representation.
 23741  //
 23742  // API parameter values that are decorated as "sensitive" in the API will not
 23743  // be included in the string output. The member name will be present, but the
 23744  // value will be replaced with "sensitive".
 23745  func (s ChannelModerator) GoString() string {
 23746  	return s.String()
 23747  }
 23748  
 23749  // SetChannelArn sets the ChannelArn field's value.
 23750  func (s *ChannelModerator) SetChannelArn(v string) *ChannelModerator {
 23751  	s.ChannelArn = &v
 23752  	return s
 23753  }
 23754  
 23755  // SetCreatedBy sets the CreatedBy field's value.
 23756  func (s *ChannelModerator) SetCreatedBy(v *Identity) *ChannelModerator {
 23757  	s.CreatedBy = v
 23758  	return s
 23759  }
 23760  
 23761  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 23762  func (s *ChannelModerator) SetCreatedTimestamp(v time.Time) *ChannelModerator {
 23763  	s.CreatedTimestamp = &v
 23764  	return s
 23765  }
 23766  
 23767  // SetModerator sets the Moderator field's value.
 23768  func (s *ChannelModerator) SetModerator(v *Identity) *ChannelModerator {
 23769  	s.Moderator = v
 23770  	return s
 23771  }
 23772  
 23773  // Summary of the details of a ChannelModerator.
 23774  type ChannelModeratorSummary struct {
 23775  	_ struct{} `type:"structure"`
 23776  
 23777  	// The data for a moderator.
 23778  	Moderator *Identity `type:"structure"`
 23779  }
 23780  
 23781  // String returns the string representation.
 23782  //
 23783  // API parameter values that are decorated as "sensitive" in the API will not
 23784  // be included in the string output. The member name will be present, but the
 23785  // value will be replaced with "sensitive".
 23786  func (s ChannelModeratorSummary) String() string {
 23787  	return awsutil.Prettify(s)
 23788  }
 23789  
 23790  // GoString returns the string representation.
 23791  //
 23792  // API parameter values that are decorated as "sensitive" in the API will not
 23793  // be included in the string output. The member name will be present, but the
 23794  // value will be replaced with "sensitive".
 23795  func (s ChannelModeratorSummary) GoString() string {
 23796  	return s.String()
 23797  }
 23798  
 23799  // SetModerator sets the Moderator field's value.
 23800  func (s *ChannelModeratorSummary) SetModerator(v *Identity) *ChannelModeratorSummary {
 23801  	s.Moderator = v
 23802  	return s
 23803  }
 23804  
 23805  // The details of the retention settings for a channel.
 23806  type ChannelRetentionSettings struct {
 23807  	_ struct{} `type:"structure"`
 23808  
 23809  	// The time in days to retain the messages in a channel.
 23810  	RetentionDays *int64 `min:"1" type:"integer"`
 23811  }
 23812  
 23813  // String returns the string representation.
 23814  //
 23815  // API parameter values that are decorated as "sensitive" in the API will not
 23816  // be included in the string output. The member name will be present, but the
 23817  // value will be replaced with "sensitive".
 23818  func (s ChannelRetentionSettings) String() string {
 23819  	return awsutil.Prettify(s)
 23820  }
 23821  
 23822  // GoString returns the string representation.
 23823  //
 23824  // API parameter values that are decorated as "sensitive" in the API will not
 23825  // be included in the string output. The member name will be present, but the
 23826  // value will be replaced with "sensitive".
 23827  func (s ChannelRetentionSettings) GoString() string {
 23828  	return s.String()
 23829  }
 23830  
 23831  // Validate inspects the fields of the type to determine if they are valid.
 23832  func (s *ChannelRetentionSettings) Validate() error {
 23833  	invalidParams := request.ErrInvalidParams{Context: "ChannelRetentionSettings"}
 23834  	if s.RetentionDays != nil && *s.RetentionDays < 1 {
 23835  		invalidParams.Add(request.NewErrParamMinValue("RetentionDays", 1))
 23836  	}
 23837  
 23838  	if invalidParams.Len() > 0 {
 23839  		return invalidParams
 23840  	}
 23841  	return nil
 23842  }
 23843  
 23844  // SetRetentionDays sets the RetentionDays field's value.
 23845  func (s *ChannelRetentionSettings) SetRetentionDays(v int64) *ChannelRetentionSettings {
 23846  	s.RetentionDays = &v
 23847  	return s
 23848  }
 23849  
 23850  // Summary of the details of a Channel.
 23851  type ChannelSummary struct {
 23852  	_ struct{} `type:"structure"`
 23853  
 23854  	// The ARN of the channel.
 23855  	ChannelArn *string `min:"5" type:"string"`
 23856  
 23857  	// The time at which the last message in a channel was sent.
 23858  	LastMessageTimestamp *time.Time `type:"timestamp"`
 23859  
 23860  	// The metadata of the channel.
 23861  	//
 23862  	// Metadata is a sensitive parameter and its value will be
 23863  	// replaced with "sensitive" in string returned by ChannelSummary's
 23864  	// String and GoString methods.
 23865  	Metadata *string `type:"string" sensitive:"true"`
 23866  
 23867  	// The mode of the channel.
 23868  	Mode *string `type:"string" enum:"ChannelMode"`
 23869  
 23870  	// The name of the channel.
 23871  	//
 23872  	// Name is a sensitive parameter and its value will be
 23873  	// replaced with "sensitive" in string returned by ChannelSummary's
 23874  	// String and GoString methods.
 23875  	Name *string `min:"1" type:"string" sensitive:"true"`
 23876  
 23877  	// The privacy setting of the channel.
 23878  	Privacy *string `type:"string" enum:"ChannelPrivacy"`
 23879  }
 23880  
 23881  // String returns the string representation.
 23882  //
 23883  // API parameter values that are decorated as "sensitive" in the API will not
 23884  // be included in the string output. The member name will be present, but the
 23885  // value will be replaced with "sensitive".
 23886  func (s ChannelSummary) String() string {
 23887  	return awsutil.Prettify(s)
 23888  }
 23889  
 23890  // GoString returns the string representation.
 23891  //
 23892  // API parameter values that are decorated as "sensitive" in the API will not
 23893  // be included in the string output. The member name will be present, but the
 23894  // value will be replaced with "sensitive".
 23895  func (s ChannelSummary) GoString() string {
 23896  	return s.String()
 23897  }
 23898  
 23899  // SetChannelArn sets the ChannelArn field's value.
 23900  func (s *ChannelSummary) SetChannelArn(v string) *ChannelSummary {
 23901  	s.ChannelArn = &v
 23902  	return s
 23903  }
 23904  
 23905  // SetLastMessageTimestamp sets the LastMessageTimestamp field's value.
 23906  func (s *ChannelSummary) SetLastMessageTimestamp(v time.Time) *ChannelSummary {
 23907  	s.LastMessageTimestamp = &v
 23908  	return s
 23909  }
 23910  
 23911  // SetMetadata sets the Metadata field's value.
 23912  func (s *ChannelSummary) SetMetadata(v string) *ChannelSummary {
 23913  	s.Metadata = &v
 23914  	return s
 23915  }
 23916  
 23917  // SetMode sets the Mode field's value.
 23918  func (s *ChannelSummary) SetMode(v string) *ChannelSummary {
 23919  	s.Mode = &v
 23920  	return s
 23921  }
 23922  
 23923  // SetName sets the Name field's value.
 23924  func (s *ChannelSummary) SetName(v string) *ChannelSummary {
 23925  	s.Name = &v
 23926  	return s
 23927  }
 23928  
 23929  // SetPrivacy sets the Privacy field's value.
 23930  func (s *ChannelSummary) SetPrivacy(v string) *ChannelSummary {
 23931  	s.Privacy = &v
 23932  	return s
 23933  }
 23934  
 23935  // The configuration object of the Amazon Chime SDK meeting for a specified
 23936  // media capture pipeline. SourceType must be ChimeSdkMeeting.
 23937  type ChimeSdkMeetingConfiguration struct {
 23938  	_ struct{} `type:"structure"`
 23939  
 23940  	// The configuration for the artifacts in an Amazon Chime SDK meeting.
 23941  	ArtifactsConfiguration *ArtifactsConfiguration `type:"structure"`
 23942  
 23943  	// The source configuration for a specified media capture pipline.
 23944  	SourceConfiguration *SourceConfiguration `type:"structure"`
 23945  }
 23946  
 23947  // String returns the string representation.
 23948  //
 23949  // API parameter values that are decorated as "sensitive" in the API will not
 23950  // be included in the string output. The member name will be present, but the
 23951  // value will be replaced with "sensitive".
 23952  func (s ChimeSdkMeetingConfiguration) String() string {
 23953  	return awsutil.Prettify(s)
 23954  }
 23955  
 23956  // GoString returns the string representation.
 23957  //
 23958  // API parameter values that are decorated as "sensitive" in the API will not
 23959  // be included in the string output. The member name will be present, but the
 23960  // value will be replaced with "sensitive".
 23961  func (s ChimeSdkMeetingConfiguration) GoString() string {
 23962  	return s.String()
 23963  }
 23964  
 23965  // Validate inspects the fields of the type to determine if they are valid.
 23966  func (s *ChimeSdkMeetingConfiguration) Validate() error {
 23967  	invalidParams := request.ErrInvalidParams{Context: "ChimeSdkMeetingConfiguration"}
 23968  	if s.ArtifactsConfiguration != nil {
 23969  		if err := s.ArtifactsConfiguration.Validate(); err != nil {
 23970  			invalidParams.AddNested("ArtifactsConfiguration", err.(request.ErrInvalidParams))
 23971  		}
 23972  	}
 23973  	if s.SourceConfiguration != nil {
 23974  		if err := s.SourceConfiguration.Validate(); err != nil {
 23975  			invalidParams.AddNested("SourceConfiguration", err.(request.ErrInvalidParams))
 23976  		}
 23977  	}
 23978  
 23979  	if invalidParams.Len() > 0 {
 23980  		return invalidParams
 23981  	}
 23982  	return nil
 23983  }
 23984  
 23985  // SetArtifactsConfiguration sets the ArtifactsConfiguration field's value.
 23986  func (s *ChimeSdkMeetingConfiguration) SetArtifactsConfiguration(v *ArtifactsConfiguration) *ChimeSdkMeetingConfiguration {
 23987  	s.ArtifactsConfiguration = v
 23988  	return s
 23989  }
 23990  
 23991  // SetSourceConfiguration sets the SourceConfiguration field's value.
 23992  func (s *ChimeSdkMeetingConfiguration) SetSourceConfiguration(v *SourceConfiguration) *ChimeSdkMeetingConfiguration {
 23993  	s.SourceConfiguration = v
 23994  	return s
 23995  }
 23996  
 23997  // The request could not be processed because of conflict in the current state
 23998  // of the resource.
 23999  type ConflictException struct {
 24000  	_            struct{}                  `type:"structure"`
 24001  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 24002  
 24003  	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
 24004  
 24005  	Message_ *string `locationName:"Message" type:"string"`
 24006  }
 24007  
 24008  // String returns the string representation.
 24009  //
 24010  // API parameter values that are decorated as "sensitive" in the API will not
 24011  // be included in the string output. The member name will be present, but the
 24012  // value will be replaced with "sensitive".
 24013  func (s ConflictException) String() string {
 24014  	return awsutil.Prettify(s)
 24015  }
 24016  
 24017  // GoString returns the string representation.
 24018  //
 24019  // API parameter values that are decorated as "sensitive" in the API will not
 24020  // be included in the string output. The member name will be present, but the
 24021  // value will be replaced with "sensitive".
 24022  func (s ConflictException) GoString() string {
 24023  	return s.String()
 24024  }
 24025  
 24026  func newErrorConflictException(v protocol.ResponseMetadata) error {
 24027  	return &ConflictException{
 24028  		RespMetadata: v,
 24029  	}
 24030  }
 24031  
 24032  // Code returns the exception type name.
 24033  func (s *ConflictException) Code() string {
 24034  	return "ConflictException"
 24035  }
 24036  
 24037  // Message returns the exception's message.
 24038  func (s *ConflictException) Message() string {
 24039  	if s.Message_ != nil {
 24040  		return *s.Message_
 24041  	}
 24042  	return ""
 24043  }
 24044  
 24045  // OrigErr always returns nil, satisfies awserr.Error interface.
 24046  func (s *ConflictException) OrigErr() error {
 24047  	return nil
 24048  }
 24049  
 24050  func (s *ConflictException) Error() string {
 24051  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 24052  }
 24053  
 24054  // Status code returns the HTTP status code for the request's response error.
 24055  func (s *ConflictException) StatusCode() int {
 24056  	return s.RespMetadata.StatusCode
 24057  }
 24058  
 24059  // RequestID returns the service's response RequestID for request.
 24060  func (s *ConflictException) RequestID() string {
 24061  	return s.RespMetadata.RequestID
 24062  }
 24063  
 24064  // The content artifact object.
 24065  type ContentArtifactsConfiguration struct {
 24066  	_ struct{} `type:"structure"`
 24067  
 24068  	// The MUX type of the artifact configuration.
 24069  	MuxType *string `type:"string" enum:"ContentMuxType"`
 24070  
 24071  	// Indicates whether the content artifact is enabled or disabled.
 24072  	//
 24073  	// State is a required field
 24074  	State *string `type:"string" required:"true" enum:"ArtifactsState"`
 24075  }
 24076  
 24077  // String returns the string representation.
 24078  //
 24079  // API parameter values that are decorated as "sensitive" in the API will not
 24080  // be included in the string output. The member name will be present, but the
 24081  // value will be replaced with "sensitive".
 24082  func (s ContentArtifactsConfiguration) String() string {
 24083  	return awsutil.Prettify(s)
 24084  }
 24085  
 24086  // GoString returns the string representation.
 24087  //
 24088  // API parameter values that are decorated as "sensitive" in the API will not
 24089  // be included in the string output. The member name will be present, but the
 24090  // value will be replaced with "sensitive".
 24091  func (s ContentArtifactsConfiguration) GoString() string {
 24092  	return s.String()
 24093  }
 24094  
 24095  // Validate inspects the fields of the type to determine if they are valid.
 24096  func (s *ContentArtifactsConfiguration) Validate() error {
 24097  	invalidParams := request.ErrInvalidParams{Context: "ContentArtifactsConfiguration"}
 24098  	if s.State == nil {
 24099  		invalidParams.Add(request.NewErrParamRequired("State"))
 24100  	}
 24101  
 24102  	if invalidParams.Len() > 0 {
 24103  		return invalidParams
 24104  	}
 24105  	return nil
 24106  }
 24107  
 24108  // SetMuxType sets the MuxType field's value.
 24109  func (s *ContentArtifactsConfiguration) SetMuxType(v string) *ContentArtifactsConfiguration {
 24110  	s.MuxType = &v
 24111  	return s
 24112  }
 24113  
 24114  // SetState sets the State field's value.
 24115  func (s *ContentArtifactsConfiguration) SetState(v string) *ContentArtifactsConfiguration {
 24116  	s.State = &v
 24117  	return s
 24118  }
 24119  
 24120  // The retention settings that determine how long to retain conversation messages
 24121  // for an Amazon Chime Enterprise account.
 24122  type ConversationRetentionSettings struct {
 24123  	_ struct{} `type:"structure"`
 24124  
 24125  	// The number of days for which to retain conversation messages.
 24126  	RetentionDays *int64 `min:"1" type:"integer"`
 24127  }
 24128  
 24129  // String returns the string representation.
 24130  //
 24131  // API parameter values that are decorated as "sensitive" in the API will not
 24132  // be included in the string output. The member name will be present, but the
 24133  // value will be replaced with "sensitive".
 24134  func (s ConversationRetentionSettings) String() string {
 24135  	return awsutil.Prettify(s)
 24136  }
 24137  
 24138  // GoString returns the string representation.
 24139  //
 24140  // API parameter values that are decorated as "sensitive" in the API will not
 24141  // be included in the string output. The member name will be present, but the
 24142  // value will be replaced with "sensitive".
 24143  func (s ConversationRetentionSettings) GoString() string {
 24144  	return s.String()
 24145  }
 24146  
 24147  // Validate inspects the fields of the type to determine if they are valid.
 24148  func (s *ConversationRetentionSettings) Validate() error {
 24149  	invalidParams := request.ErrInvalidParams{Context: "ConversationRetentionSettings"}
 24150  	if s.RetentionDays != nil && *s.RetentionDays < 1 {
 24151  		invalidParams.Add(request.NewErrParamMinValue("RetentionDays", 1))
 24152  	}
 24153  
 24154  	if invalidParams.Len() > 0 {
 24155  		return invalidParams
 24156  	}
 24157  	return nil
 24158  }
 24159  
 24160  // SetRetentionDays sets the RetentionDays field's value.
 24161  func (s *ConversationRetentionSettings) SetRetentionDays(v int64) *ConversationRetentionSettings {
 24162  	s.RetentionDays = &v
 24163  	return s
 24164  }
 24165  
 24166  type CreateAccountInput struct {
 24167  	_ struct{} `type:"structure"`
 24168  
 24169  	// The name of the Amazon Chime account.
 24170  	//
 24171  	// Name is a required field
 24172  	Name *string `min:"1" type:"string" required:"true"`
 24173  }
 24174  
 24175  // String returns the string representation.
 24176  //
 24177  // API parameter values that are decorated as "sensitive" in the API will not
 24178  // be included in the string output. The member name will be present, but the
 24179  // value will be replaced with "sensitive".
 24180  func (s CreateAccountInput) String() string {
 24181  	return awsutil.Prettify(s)
 24182  }
 24183  
 24184  // GoString returns the string representation.
 24185  //
 24186  // API parameter values that are decorated as "sensitive" in the API will not
 24187  // be included in the string output. The member name will be present, but the
 24188  // value will be replaced with "sensitive".
 24189  func (s CreateAccountInput) GoString() string {
 24190  	return s.String()
 24191  }
 24192  
 24193  // Validate inspects the fields of the type to determine if they are valid.
 24194  func (s *CreateAccountInput) Validate() error {
 24195  	invalidParams := request.ErrInvalidParams{Context: "CreateAccountInput"}
 24196  	if s.Name == nil {
 24197  		invalidParams.Add(request.NewErrParamRequired("Name"))
 24198  	}
 24199  	if s.Name != nil && len(*s.Name) < 1 {
 24200  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 24201  	}
 24202  
 24203  	if invalidParams.Len() > 0 {
 24204  		return invalidParams
 24205  	}
 24206  	return nil
 24207  }
 24208  
 24209  // SetName sets the Name field's value.
 24210  func (s *CreateAccountInput) SetName(v string) *CreateAccountInput {
 24211  	s.Name = &v
 24212  	return s
 24213  }
 24214  
 24215  type CreateAccountOutput struct {
 24216  	_ struct{} `type:"structure"`
 24217  
 24218  	// The Amazon Chime account details.
 24219  	Account *Account `type:"structure"`
 24220  }
 24221  
 24222  // String returns the string representation.
 24223  //
 24224  // API parameter values that are decorated as "sensitive" in the API will not
 24225  // be included in the string output. The member name will be present, but the
 24226  // value will be replaced with "sensitive".
 24227  func (s CreateAccountOutput) String() string {
 24228  	return awsutil.Prettify(s)
 24229  }
 24230  
 24231  // GoString returns the string representation.
 24232  //
 24233  // API parameter values that are decorated as "sensitive" in the API will not
 24234  // be included in the string output. The member name will be present, but the
 24235  // value will be replaced with "sensitive".
 24236  func (s CreateAccountOutput) GoString() string {
 24237  	return s.String()
 24238  }
 24239  
 24240  // SetAccount sets the Account field's value.
 24241  func (s *CreateAccountOutput) SetAccount(v *Account) *CreateAccountOutput {
 24242  	s.Account = v
 24243  	return s
 24244  }
 24245  
 24246  type CreateAppInstanceAdminInput struct {
 24247  	_ struct{} `type:"structure"`
 24248  
 24249  	// The ARN of the administrator of the current AppInstance.
 24250  	//
 24251  	// AppInstanceAdminArn is a required field
 24252  	AppInstanceAdminArn *string `min:"5" type:"string" required:"true"`
 24253  
 24254  	// The ARN of the AppInstance.
 24255  	//
 24256  	// AppInstanceArn is a required field
 24257  	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
 24258  }
 24259  
 24260  // String returns the string representation.
 24261  //
 24262  // API parameter values that are decorated as "sensitive" in the API will not
 24263  // be included in the string output. The member name will be present, but the
 24264  // value will be replaced with "sensitive".
 24265  func (s CreateAppInstanceAdminInput) String() string {
 24266  	return awsutil.Prettify(s)
 24267  }
 24268  
 24269  // GoString returns the string representation.
 24270  //
 24271  // API parameter values that are decorated as "sensitive" in the API will not
 24272  // be included in the string output. The member name will be present, but the
 24273  // value will be replaced with "sensitive".
 24274  func (s CreateAppInstanceAdminInput) GoString() string {
 24275  	return s.String()
 24276  }
 24277  
 24278  // Validate inspects the fields of the type to determine if they are valid.
 24279  func (s *CreateAppInstanceAdminInput) Validate() error {
 24280  	invalidParams := request.ErrInvalidParams{Context: "CreateAppInstanceAdminInput"}
 24281  	if s.AppInstanceAdminArn == nil {
 24282  		invalidParams.Add(request.NewErrParamRequired("AppInstanceAdminArn"))
 24283  	}
 24284  	if s.AppInstanceAdminArn != nil && len(*s.AppInstanceAdminArn) < 5 {
 24285  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceAdminArn", 5))
 24286  	}
 24287  	if s.AppInstanceArn == nil {
 24288  		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
 24289  	}
 24290  	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
 24291  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
 24292  	}
 24293  
 24294  	if invalidParams.Len() > 0 {
 24295  		return invalidParams
 24296  	}
 24297  	return nil
 24298  }
 24299  
 24300  // SetAppInstanceAdminArn sets the AppInstanceAdminArn field's value.
 24301  func (s *CreateAppInstanceAdminInput) SetAppInstanceAdminArn(v string) *CreateAppInstanceAdminInput {
 24302  	s.AppInstanceAdminArn = &v
 24303  	return s
 24304  }
 24305  
 24306  // SetAppInstanceArn sets the AppInstanceArn field's value.
 24307  func (s *CreateAppInstanceAdminInput) SetAppInstanceArn(v string) *CreateAppInstanceAdminInput {
 24308  	s.AppInstanceArn = &v
 24309  	return s
 24310  }
 24311  
 24312  type CreateAppInstanceAdminOutput struct {
 24313  	_ struct{} `type:"structure"`
 24314  
 24315  	// The name and ARN of the admin for the AppInstance.
 24316  	AppInstanceAdmin *Identity `type:"structure"`
 24317  
 24318  	// The ARN of the of the admin for the AppInstance.
 24319  	AppInstanceArn *string `min:"5" type:"string"`
 24320  }
 24321  
 24322  // String returns the string representation.
 24323  //
 24324  // API parameter values that are decorated as "sensitive" in the API will not
 24325  // be included in the string output. The member name will be present, but the
 24326  // value will be replaced with "sensitive".
 24327  func (s CreateAppInstanceAdminOutput) String() string {
 24328  	return awsutil.Prettify(s)
 24329  }
 24330  
 24331  // GoString returns the string representation.
 24332  //
 24333  // API parameter values that are decorated as "sensitive" in the API will not
 24334  // be included in the string output. The member name will be present, but the
 24335  // value will be replaced with "sensitive".
 24336  func (s CreateAppInstanceAdminOutput) GoString() string {
 24337  	return s.String()
 24338  }
 24339  
 24340  // SetAppInstanceAdmin sets the AppInstanceAdmin field's value.
 24341  func (s *CreateAppInstanceAdminOutput) SetAppInstanceAdmin(v *Identity) *CreateAppInstanceAdminOutput {
 24342  	s.AppInstanceAdmin = v
 24343  	return s
 24344  }
 24345  
 24346  // SetAppInstanceArn sets the AppInstanceArn field's value.
 24347  func (s *CreateAppInstanceAdminOutput) SetAppInstanceArn(v string) *CreateAppInstanceAdminOutput {
 24348  	s.AppInstanceArn = &v
 24349  	return s
 24350  }
 24351  
 24352  type CreateAppInstanceInput struct {
 24353  	_ struct{} `type:"structure"`
 24354  
 24355  	// The ClientRequestToken of the AppInstance.
 24356  	//
 24357  	// ClientRequestToken is a sensitive parameter and its value will be
 24358  	// replaced with "sensitive" in string returned by CreateAppInstanceInput's
 24359  	// String and GoString methods.
 24360  	ClientRequestToken *string `min:"2" type:"string" idempotencyToken:"true" sensitive:"true"`
 24361  
 24362  	// The metadata of the AppInstance. Limited to a 1KB string in UTF-8.
 24363  	//
 24364  	// Metadata is a sensitive parameter and its value will be
 24365  	// replaced with "sensitive" in string returned by CreateAppInstanceInput's
 24366  	// String and GoString methods.
 24367  	Metadata *string `type:"string" sensitive:"true"`
 24368  
 24369  	// The name of the AppInstance.
 24370  	//
 24371  	// Name is a sensitive parameter and its value will be
 24372  	// replaced with "sensitive" in string returned by CreateAppInstanceInput's
 24373  	// String and GoString methods.
 24374  	//
 24375  	// Name is a required field
 24376  	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`
 24377  
 24378  	// Tags assigned to the AppInstanceUser.
 24379  	Tags []*Tag `min:"1" type:"list"`
 24380  }
 24381  
 24382  // String returns the string representation.
 24383  //
 24384  // API parameter values that are decorated as "sensitive" in the API will not
 24385  // be included in the string output. The member name will be present, but the
 24386  // value will be replaced with "sensitive".
 24387  func (s CreateAppInstanceInput) String() string {
 24388  	return awsutil.Prettify(s)
 24389  }
 24390  
 24391  // GoString returns the string representation.
 24392  //
 24393  // API parameter values that are decorated as "sensitive" in the API will not
 24394  // be included in the string output. The member name will be present, but the
 24395  // value will be replaced with "sensitive".
 24396  func (s CreateAppInstanceInput) GoString() string {
 24397  	return s.String()
 24398  }
 24399  
 24400  // Validate inspects the fields of the type to determine if they are valid.
 24401  func (s *CreateAppInstanceInput) Validate() error {
 24402  	invalidParams := request.ErrInvalidParams{Context: "CreateAppInstanceInput"}
 24403  	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 2 {
 24404  		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 2))
 24405  	}
 24406  	if s.Name == nil {
 24407  		invalidParams.Add(request.NewErrParamRequired("Name"))
 24408  	}
 24409  	if s.Name != nil && len(*s.Name) < 1 {
 24410  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 24411  	}
 24412  	if s.Tags != nil && len(s.Tags) < 1 {
 24413  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 24414  	}
 24415  	if s.Tags != nil {
 24416  		for i, v := range s.Tags {
 24417  			if v == nil {
 24418  				continue
 24419  			}
 24420  			if err := v.Validate(); err != nil {
 24421  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 24422  			}
 24423  		}
 24424  	}
 24425  
 24426  	if invalidParams.Len() > 0 {
 24427  		return invalidParams
 24428  	}
 24429  	return nil
 24430  }
 24431  
 24432  // SetClientRequestToken sets the ClientRequestToken field's value.
 24433  func (s *CreateAppInstanceInput) SetClientRequestToken(v string) *CreateAppInstanceInput {
 24434  	s.ClientRequestToken = &v
 24435  	return s
 24436  }
 24437  
 24438  // SetMetadata sets the Metadata field's value.
 24439  func (s *CreateAppInstanceInput) SetMetadata(v string) *CreateAppInstanceInput {
 24440  	s.Metadata = &v
 24441  	return s
 24442  }
 24443  
 24444  // SetName sets the Name field's value.
 24445  func (s *CreateAppInstanceInput) SetName(v string) *CreateAppInstanceInput {
 24446  	s.Name = &v
 24447  	return s
 24448  }
 24449  
 24450  // SetTags sets the Tags field's value.
 24451  func (s *CreateAppInstanceInput) SetTags(v []*Tag) *CreateAppInstanceInput {
 24452  	s.Tags = v
 24453  	return s
 24454  }
 24455  
 24456  type CreateAppInstanceOutput struct {
 24457  	_ struct{} `type:"structure"`
 24458  
 24459  	// The Amazon Resource Number (ARN) of the AppInstance.
 24460  	AppInstanceArn *string `min:"5" type:"string"`
 24461  }
 24462  
 24463  // String returns the string representation.
 24464  //
 24465  // API parameter values that are decorated as "sensitive" in the API will not
 24466  // be included in the string output. The member name will be present, but the
 24467  // value will be replaced with "sensitive".
 24468  func (s CreateAppInstanceOutput) String() string {
 24469  	return awsutil.Prettify(s)
 24470  }
 24471  
 24472  // GoString returns the string representation.
 24473  //
 24474  // API parameter values that are decorated as "sensitive" in the API will not
 24475  // be included in the string output. The member name will be present, but the
 24476  // value will be replaced with "sensitive".
 24477  func (s CreateAppInstanceOutput) GoString() string {
 24478  	return s.String()
 24479  }
 24480  
 24481  // SetAppInstanceArn sets the AppInstanceArn field's value.
 24482  func (s *CreateAppInstanceOutput) SetAppInstanceArn(v string) *CreateAppInstanceOutput {
 24483  	s.AppInstanceArn = &v
 24484  	return s
 24485  }
 24486  
 24487  type CreateAppInstanceUserInput struct {
 24488  	_ struct{} `type:"structure"`
 24489  
 24490  	// The ARN of the AppInstance request.
 24491  	//
 24492  	// AppInstanceArn is a required field
 24493  	AppInstanceArn *string `min:"5" type:"string" required:"true"`
 24494  
 24495  	// The user ID of the AppInstance.
 24496  	//
 24497  	// AppInstanceUserId is a sensitive parameter and its value will be
 24498  	// replaced with "sensitive" in string returned by CreateAppInstanceUserInput's
 24499  	// String and GoString methods.
 24500  	//
 24501  	// AppInstanceUserId is a required field
 24502  	AppInstanceUserId *string `min:"1" type:"string" required:"true" sensitive:"true"`
 24503  
 24504  	// The token assigned to the user requesting an AppInstance.
 24505  	//
 24506  	// ClientRequestToken is a sensitive parameter and its value will be
 24507  	// replaced with "sensitive" in string returned by CreateAppInstanceUserInput's
 24508  	// String and GoString methods.
 24509  	ClientRequestToken *string `min:"2" type:"string" idempotencyToken:"true" sensitive:"true"`
 24510  
 24511  	// The request's metadata. Limited to a 1KB string in UTF-8.
 24512  	//
 24513  	// Metadata is a sensitive parameter and its value will be
 24514  	// replaced with "sensitive" in string returned by CreateAppInstanceUserInput's
 24515  	// String and GoString methods.
 24516  	Metadata *string `type:"string" sensitive:"true"`
 24517  
 24518  	// The user's name.
 24519  	//
 24520  	// Name is a sensitive parameter and its value will be
 24521  	// replaced with "sensitive" in string returned by CreateAppInstanceUserInput's
 24522  	// String and GoString methods.
 24523  	//
 24524  	// Name is a required field
 24525  	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`
 24526  
 24527  	// Tags assigned to the AppInstanceUser.
 24528  	Tags []*Tag `min:"1" type:"list"`
 24529  }
 24530  
 24531  // String returns the string representation.
 24532  //
 24533  // API parameter values that are decorated as "sensitive" in the API will not
 24534  // be included in the string output. The member name will be present, but the
 24535  // value will be replaced with "sensitive".
 24536  func (s CreateAppInstanceUserInput) String() string {
 24537  	return awsutil.Prettify(s)
 24538  }
 24539  
 24540  // GoString returns the string representation.
 24541  //
 24542  // API parameter values that are decorated as "sensitive" in the API will not
 24543  // be included in the string output. The member name will be present, but the
 24544  // value will be replaced with "sensitive".
 24545  func (s CreateAppInstanceUserInput) GoString() string {
 24546  	return s.String()
 24547  }
 24548  
 24549  // Validate inspects the fields of the type to determine if they are valid.
 24550  func (s *CreateAppInstanceUserInput) Validate() error {
 24551  	invalidParams := request.ErrInvalidParams{Context: "CreateAppInstanceUserInput"}
 24552  	if s.AppInstanceArn == nil {
 24553  		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
 24554  	}
 24555  	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
 24556  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
 24557  	}
 24558  	if s.AppInstanceUserId == nil {
 24559  		invalidParams.Add(request.NewErrParamRequired("AppInstanceUserId"))
 24560  	}
 24561  	if s.AppInstanceUserId != nil && len(*s.AppInstanceUserId) < 1 {
 24562  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceUserId", 1))
 24563  	}
 24564  	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 2 {
 24565  		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 2))
 24566  	}
 24567  	if s.Name == nil {
 24568  		invalidParams.Add(request.NewErrParamRequired("Name"))
 24569  	}
 24570  	if s.Name != nil && len(*s.Name) < 1 {
 24571  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 24572  	}
 24573  	if s.Tags != nil && len(s.Tags) < 1 {
 24574  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 24575  	}
 24576  	if s.Tags != nil {
 24577  		for i, v := range s.Tags {
 24578  			if v == nil {
 24579  				continue
 24580  			}
 24581  			if err := v.Validate(); err != nil {
 24582  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 24583  			}
 24584  		}
 24585  	}
 24586  
 24587  	if invalidParams.Len() > 0 {
 24588  		return invalidParams
 24589  	}
 24590  	return nil
 24591  }
 24592  
 24593  // SetAppInstanceArn sets the AppInstanceArn field's value.
 24594  func (s *CreateAppInstanceUserInput) SetAppInstanceArn(v string) *CreateAppInstanceUserInput {
 24595  	s.AppInstanceArn = &v
 24596  	return s
 24597  }
 24598  
 24599  // SetAppInstanceUserId sets the AppInstanceUserId field's value.
 24600  func (s *CreateAppInstanceUserInput) SetAppInstanceUserId(v string) *CreateAppInstanceUserInput {
 24601  	s.AppInstanceUserId = &v
 24602  	return s
 24603  }
 24604  
 24605  // SetClientRequestToken sets the ClientRequestToken field's value.
 24606  func (s *CreateAppInstanceUserInput) SetClientRequestToken(v string) *CreateAppInstanceUserInput {
 24607  	s.ClientRequestToken = &v
 24608  	return s
 24609  }
 24610  
 24611  // SetMetadata sets the Metadata field's value.
 24612  func (s *CreateAppInstanceUserInput) SetMetadata(v string) *CreateAppInstanceUserInput {
 24613  	s.Metadata = &v
 24614  	return s
 24615  }
 24616  
 24617  // SetName sets the Name field's value.
 24618  func (s *CreateAppInstanceUserInput) SetName(v string) *CreateAppInstanceUserInput {
 24619  	s.Name = &v
 24620  	return s
 24621  }
 24622  
 24623  // SetTags sets the Tags field's value.
 24624  func (s *CreateAppInstanceUserInput) SetTags(v []*Tag) *CreateAppInstanceUserInput {
 24625  	s.Tags = v
 24626  	return s
 24627  }
 24628  
 24629  type CreateAppInstanceUserOutput struct {
 24630  	_ struct{} `type:"structure"`
 24631  
 24632  	// The user's ARN.
 24633  	AppInstanceUserArn *string `min:"5" type:"string"`
 24634  }
 24635  
 24636  // String returns the string representation.
 24637  //
 24638  // API parameter values that are decorated as "sensitive" in the API will not
 24639  // be included in the string output. The member name will be present, but the
 24640  // value will be replaced with "sensitive".
 24641  func (s CreateAppInstanceUserOutput) String() string {
 24642  	return awsutil.Prettify(s)
 24643  }
 24644  
 24645  // GoString returns the string representation.
 24646  //
 24647  // API parameter values that are decorated as "sensitive" in the API will not
 24648  // be included in the string output. The member name will be present, but the
 24649  // value will be replaced with "sensitive".
 24650  func (s CreateAppInstanceUserOutput) GoString() string {
 24651  	return s.String()
 24652  }
 24653  
 24654  // SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
 24655  func (s *CreateAppInstanceUserOutput) SetAppInstanceUserArn(v string) *CreateAppInstanceUserOutput {
 24656  	s.AppInstanceUserArn = &v
 24657  	return s
 24658  }
 24659  
 24660  // The list of errors returned when errors are encountered during the BatchCreateAttendee
 24661  // and CreateAttendee actions. This includes external user IDs, error codes,
 24662  // and error messages.
 24663  type CreateAttendeeError struct {
 24664  	_ struct{} `type:"structure"`
 24665  
 24666  	// The error code.
 24667  	ErrorCode *string `type:"string"`
 24668  
 24669  	// The error message.
 24670  	ErrorMessage *string `type:"string"`
 24671  
 24672  	// The Amazon Chime SDK external user ID. An idempotency token. Links the attendee
 24673  	// to an identity managed by a builder application.
 24674  	//
 24675  	// ExternalUserId is a sensitive parameter and its value will be
 24676  	// replaced with "sensitive" in string returned by CreateAttendeeError's
 24677  	// String and GoString methods.
 24678  	ExternalUserId *string `min:"2" type:"string" sensitive:"true"`
 24679  }
 24680  
 24681  // String returns the string representation.
 24682  //
 24683  // API parameter values that are decorated as "sensitive" in the API will not
 24684  // be included in the string output. The member name will be present, but the
 24685  // value will be replaced with "sensitive".
 24686  func (s CreateAttendeeError) String() string {
 24687  	return awsutil.Prettify(s)
 24688  }
 24689  
 24690  // GoString returns the string representation.
 24691  //
 24692  // API parameter values that are decorated as "sensitive" in the API will not
 24693  // be included in the string output. The member name will be present, but the
 24694  // value will be replaced with "sensitive".
 24695  func (s CreateAttendeeError) GoString() string {
 24696  	return s.String()
 24697  }
 24698  
 24699  // SetErrorCode sets the ErrorCode field's value.
 24700  func (s *CreateAttendeeError) SetErrorCode(v string) *CreateAttendeeError {
 24701  	s.ErrorCode = &v
 24702  	return s
 24703  }
 24704  
 24705  // SetErrorMessage sets the ErrorMessage field's value.
 24706  func (s *CreateAttendeeError) SetErrorMessage(v string) *CreateAttendeeError {
 24707  	s.ErrorMessage = &v
 24708  	return s
 24709  }
 24710  
 24711  // SetExternalUserId sets the ExternalUserId field's value.
 24712  func (s *CreateAttendeeError) SetExternalUserId(v string) *CreateAttendeeError {
 24713  	s.ExternalUserId = &v
 24714  	return s
 24715  }
 24716  
 24717  type CreateAttendeeInput struct {
 24718  	_ struct{} `type:"structure"`
 24719  
 24720  	// The Amazon Chime SDK external user ID. An idempotency token. Links the attendee
 24721  	// to an identity managed by a builder application.
 24722  	//
 24723  	// ExternalUserId is a sensitive parameter and its value will be
 24724  	// replaced with "sensitive" in string returned by CreateAttendeeInput's
 24725  	// String and GoString methods.
 24726  	//
 24727  	// ExternalUserId is a required field
 24728  	ExternalUserId *string `min:"2" type:"string" required:"true" sensitive:"true"`
 24729  
 24730  	// The Amazon Chime SDK meeting ID.
 24731  	//
 24732  	// MeetingId is a required field
 24733  	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
 24734  
 24735  	// The tag key-value pairs.
 24736  	Tags []*Tag `min:"1" type:"list"`
 24737  }
 24738  
 24739  // String returns the string representation.
 24740  //
 24741  // API parameter values that are decorated as "sensitive" in the API will not
 24742  // be included in the string output. The member name will be present, but the
 24743  // value will be replaced with "sensitive".
 24744  func (s CreateAttendeeInput) String() string {
 24745  	return awsutil.Prettify(s)
 24746  }
 24747  
 24748  // GoString returns the string representation.
 24749  //
 24750  // API parameter values that are decorated as "sensitive" in the API will not
 24751  // be included in the string output. The member name will be present, but the
 24752  // value will be replaced with "sensitive".
 24753  func (s CreateAttendeeInput) GoString() string {
 24754  	return s.String()
 24755  }
 24756  
 24757  // Validate inspects the fields of the type to determine if they are valid.
 24758  func (s *CreateAttendeeInput) Validate() error {
 24759  	invalidParams := request.ErrInvalidParams{Context: "CreateAttendeeInput"}
 24760  	if s.ExternalUserId == nil {
 24761  		invalidParams.Add(request.NewErrParamRequired("ExternalUserId"))
 24762  	}
 24763  	if s.ExternalUserId != nil && len(*s.ExternalUserId) < 2 {
 24764  		invalidParams.Add(request.NewErrParamMinLen("ExternalUserId", 2))
 24765  	}
 24766  	if s.MeetingId == nil {
 24767  		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
 24768  	}
 24769  	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
 24770  		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
 24771  	}
 24772  	if s.Tags != nil && len(s.Tags) < 1 {
 24773  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 24774  	}
 24775  	if s.Tags != nil {
 24776  		for i, v := range s.Tags {
 24777  			if v == nil {
 24778  				continue
 24779  			}
 24780  			if err := v.Validate(); err != nil {
 24781  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 24782  			}
 24783  		}
 24784  	}
 24785  
 24786  	if invalidParams.Len() > 0 {
 24787  		return invalidParams
 24788  	}
 24789  	return nil
 24790  }
 24791  
 24792  // SetExternalUserId sets the ExternalUserId field's value.
 24793  func (s *CreateAttendeeInput) SetExternalUserId(v string) *CreateAttendeeInput {
 24794  	s.ExternalUserId = &v
 24795  	return s
 24796  }
 24797  
 24798  // SetMeetingId sets the MeetingId field's value.
 24799  func (s *CreateAttendeeInput) SetMeetingId(v string) *CreateAttendeeInput {
 24800  	s.MeetingId = &v
 24801  	return s
 24802  }
 24803  
 24804  // SetTags sets the Tags field's value.
 24805  func (s *CreateAttendeeInput) SetTags(v []*Tag) *CreateAttendeeInput {
 24806  	s.Tags = v
 24807  	return s
 24808  }
 24809  
 24810  type CreateAttendeeOutput struct {
 24811  	_ struct{} `type:"structure"`
 24812  
 24813  	// The attendee information, including attendee ID and join token.
 24814  	Attendee *Attendee `type:"structure"`
 24815  }
 24816  
 24817  // String returns the string representation.
 24818  //
 24819  // API parameter values that are decorated as "sensitive" in the API will not
 24820  // be included in the string output. The member name will be present, but the
 24821  // value will be replaced with "sensitive".
 24822  func (s CreateAttendeeOutput) String() string {
 24823  	return awsutil.Prettify(s)
 24824  }
 24825  
 24826  // GoString returns the string representation.
 24827  //
 24828  // API parameter values that are decorated as "sensitive" in the API will not
 24829  // be included in the string output. The member name will be present, but the
 24830  // value will be replaced with "sensitive".
 24831  func (s CreateAttendeeOutput) GoString() string {
 24832  	return s.String()
 24833  }
 24834  
 24835  // SetAttendee sets the Attendee field's value.
 24836  func (s *CreateAttendeeOutput) SetAttendee(v *Attendee) *CreateAttendeeOutput {
 24837  	s.Attendee = v
 24838  	return s
 24839  }
 24840  
 24841  // The Amazon Chime SDK attendee fields to create, used with the BatchCreateAttendee
 24842  // action.
 24843  type CreateAttendeeRequestItem struct {
 24844  	_ struct{} `type:"structure"`
 24845  
 24846  	// The Amazon Chime SDK external user ID. An idempotency token. Links the attendee
 24847  	// to an identity managed by a builder application.
 24848  	//
 24849  	// ExternalUserId is a sensitive parameter and its value will be
 24850  	// replaced with "sensitive" in string returned by CreateAttendeeRequestItem's
 24851  	// String and GoString methods.
 24852  	//
 24853  	// ExternalUserId is a required field
 24854  	ExternalUserId *string `min:"2" type:"string" required:"true" sensitive:"true"`
 24855  
 24856  	// The tag key-value pairs.
 24857  	Tags []*Tag `min:"1" type:"list"`
 24858  }
 24859  
 24860  // String returns the string representation.
 24861  //
 24862  // API parameter values that are decorated as "sensitive" in the API will not
 24863  // be included in the string output. The member name will be present, but the
 24864  // value will be replaced with "sensitive".
 24865  func (s CreateAttendeeRequestItem) String() string {
 24866  	return awsutil.Prettify(s)
 24867  }
 24868  
 24869  // GoString returns the string representation.
 24870  //
 24871  // API parameter values that are decorated as "sensitive" in the API will not
 24872  // be included in the string output. The member name will be present, but the
 24873  // value will be replaced with "sensitive".
 24874  func (s CreateAttendeeRequestItem) GoString() string {
 24875  	return s.String()
 24876  }
 24877  
 24878  // Validate inspects the fields of the type to determine if they are valid.
 24879  func (s *CreateAttendeeRequestItem) Validate() error {
 24880  	invalidParams := request.ErrInvalidParams{Context: "CreateAttendeeRequestItem"}
 24881  	if s.ExternalUserId == nil {
 24882  		invalidParams.Add(request.NewErrParamRequired("ExternalUserId"))
 24883  	}
 24884  	if s.ExternalUserId != nil && len(*s.ExternalUserId) < 2 {
 24885  		invalidParams.Add(request.NewErrParamMinLen("ExternalUserId", 2))
 24886  	}
 24887  	if s.Tags != nil && len(s.Tags) < 1 {
 24888  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 24889  	}
 24890  	if s.Tags != nil {
 24891  		for i, v := range s.Tags {
 24892  			if v == nil {
 24893  				continue
 24894  			}
 24895  			if err := v.Validate(); err != nil {
 24896  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 24897  			}
 24898  		}
 24899  	}
 24900  
 24901  	if invalidParams.Len() > 0 {
 24902  		return invalidParams
 24903  	}
 24904  	return nil
 24905  }
 24906  
 24907  // SetExternalUserId sets the ExternalUserId field's value.
 24908  func (s *CreateAttendeeRequestItem) SetExternalUserId(v string) *CreateAttendeeRequestItem {
 24909  	s.ExternalUserId = &v
 24910  	return s
 24911  }
 24912  
 24913  // SetTags sets the Tags field's value.
 24914  func (s *CreateAttendeeRequestItem) SetTags(v []*Tag) *CreateAttendeeRequestItem {
 24915  	s.Tags = v
 24916  	return s
 24917  }
 24918  
 24919  type CreateBotInput struct {
 24920  	_ struct{} `type:"structure"`
 24921  
 24922  	// The Amazon Chime account ID.
 24923  	//
 24924  	// AccountId is a required field
 24925  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 24926  
 24927  	// The bot display name.
 24928  	//
 24929  	// DisplayName is a sensitive parameter and its value will be
 24930  	// replaced with "sensitive" in string returned by CreateBotInput's
 24931  	// String and GoString methods.
 24932  	//
 24933  	// DisplayName is a required field
 24934  	DisplayName *string `type:"string" required:"true" sensitive:"true"`
 24935  
 24936  	// The domain of the Amazon Chime Enterprise account.
 24937  	Domain *string `type:"string"`
 24938  }
 24939  
 24940  // String returns the string representation.
 24941  //
 24942  // API parameter values that are decorated as "sensitive" in the API will not
 24943  // be included in the string output. The member name will be present, but the
 24944  // value will be replaced with "sensitive".
 24945  func (s CreateBotInput) String() string {
 24946  	return awsutil.Prettify(s)
 24947  }
 24948  
 24949  // GoString returns the string representation.
 24950  //
 24951  // API parameter values that are decorated as "sensitive" in the API will not
 24952  // be included in the string output. The member name will be present, but the
 24953  // value will be replaced with "sensitive".
 24954  func (s CreateBotInput) GoString() string {
 24955  	return s.String()
 24956  }
 24957  
 24958  // Validate inspects the fields of the type to determine if they are valid.
 24959  func (s *CreateBotInput) Validate() error {
 24960  	invalidParams := request.ErrInvalidParams{Context: "CreateBotInput"}
 24961  	if s.AccountId == nil {
 24962  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 24963  	}
 24964  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 24965  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 24966  	}
 24967  	if s.DisplayName == nil {
 24968  		invalidParams.Add(request.NewErrParamRequired("DisplayName"))
 24969  	}
 24970  
 24971  	if invalidParams.Len() > 0 {
 24972  		return invalidParams
 24973  	}
 24974  	return nil
 24975  }
 24976  
 24977  // SetAccountId sets the AccountId field's value.
 24978  func (s *CreateBotInput) SetAccountId(v string) *CreateBotInput {
 24979  	s.AccountId = &v
 24980  	return s
 24981  }
 24982  
 24983  // SetDisplayName sets the DisplayName field's value.
 24984  func (s *CreateBotInput) SetDisplayName(v string) *CreateBotInput {
 24985  	s.DisplayName = &v
 24986  	return s
 24987  }
 24988  
 24989  // SetDomain sets the Domain field's value.
 24990  func (s *CreateBotInput) SetDomain(v string) *CreateBotInput {
 24991  	s.Domain = &v
 24992  	return s
 24993  }
 24994  
 24995  type CreateBotOutput struct {
 24996  	_ struct{} `type:"structure"`
 24997  
 24998  	// The bot details.
 24999  	Bot *Bot `type:"structure"`
 25000  }
 25001  
 25002  // String returns the string representation.
 25003  //
 25004  // API parameter values that are decorated as "sensitive" in the API will not
 25005  // be included in the string output. The member name will be present, but the
 25006  // value will be replaced with "sensitive".
 25007  func (s CreateBotOutput) String() string {
 25008  	return awsutil.Prettify(s)
 25009  }
 25010  
 25011  // GoString returns the string representation.
 25012  //
 25013  // API parameter values that are decorated as "sensitive" in the API will not
 25014  // be included in the string output. The member name will be present, but the
 25015  // value will be replaced with "sensitive".
 25016  func (s CreateBotOutput) GoString() string {
 25017  	return s.String()
 25018  }
 25019  
 25020  // SetBot sets the Bot field's value.
 25021  func (s *CreateBotOutput) SetBot(v *Bot) *CreateBotOutput {
 25022  	s.Bot = v
 25023  	return s
 25024  }
 25025  
 25026  type CreateChannelBanInput struct {
 25027  	_ struct{} `type:"structure"`
 25028  
 25029  	// The ARN of the ban request.
 25030  	//
 25031  	// ChannelArn is a required field
 25032  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 25033  
 25034  	// The AppInstanceUserArn of the user that makes the API call.
 25035  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 25036  
 25037  	// The ARN of the member being banned.
 25038  	//
 25039  	// MemberArn is a required field
 25040  	MemberArn *string `min:"5" type:"string" required:"true"`
 25041  }
 25042  
 25043  // String returns the string representation.
 25044  //
 25045  // API parameter values that are decorated as "sensitive" in the API will not
 25046  // be included in the string output. The member name will be present, but the
 25047  // value will be replaced with "sensitive".
 25048  func (s CreateChannelBanInput) String() string {
 25049  	return awsutil.Prettify(s)
 25050  }
 25051  
 25052  // GoString returns the string representation.
 25053  //
 25054  // API parameter values that are decorated as "sensitive" in the API will not
 25055  // be included in the string output. The member name will be present, but the
 25056  // value will be replaced with "sensitive".
 25057  func (s CreateChannelBanInput) GoString() string {
 25058  	return s.String()
 25059  }
 25060  
 25061  // Validate inspects the fields of the type to determine if they are valid.
 25062  func (s *CreateChannelBanInput) Validate() error {
 25063  	invalidParams := request.ErrInvalidParams{Context: "CreateChannelBanInput"}
 25064  	if s.ChannelArn == nil {
 25065  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 25066  	}
 25067  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 25068  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 25069  	}
 25070  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 25071  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 25072  	}
 25073  	if s.MemberArn == nil {
 25074  		invalidParams.Add(request.NewErrParamRequired("MemberArn"))
 25075  	}
 25076  	if s.MemberArn != nil && len(*s.MemberArn) < 5 {
 25077  		invalidParams.Add(request.NewErrParamMinLen("MemberArn", 5))
 25078  	}
 25079  
 25080  	if invalidParams.Len() > 0 {
 25081  		return invalidParams
 25082  	}
 25083  	return nil
 25084  }
 25085  
 25086  // SetChannelArn sets the ChannelArn field's value.
 25087  func (s *CreateChannelBanInput) SetChannelArn(v string) *CreateChannelBanInput {
 25088  	s.ChannelArn = &v
 25089  	return s
 25090  }
 25091  
 25092  // SetChimeBearer sets the ChimeBearer field's value.
 25093  func (s *CreateChannelBanInput) SetChimeBearer(v string) *CreateChannelBanInput {
 25094  	s.ChimeBearer = &v
 25095  	return s
 25096  }
 25097  
 25098  // SetMemberArn sets the MemberArn field's value.
 25099  func (s *CreateChannelBanInput) SetMemberArn(v string) *CreateChannelBanInput {
 25100  	s.MemberArn = &v
 25101  	return s
 25102  }
 25103  
 25104  type CreateChannelBanOutput struct {
 25105  	_ struct{} `type:"structure"`
 25106  
 25107  	// The ARN of the response to the ban request.
 25108  	ChannelArn *string `min:"5" type:"string"`
 25109  
 25110  	// The ChannelArn and BannedIdentity of the member in the ban response.
 25111  	Member *Identity `type:"structure"`
 25112  }
 25113  
 25114  // String returns the string representation.
 25115  //
 25116  // API parameter values that are decorated as "sensitive" in the API will not
 25117  // be included in the string output. The member name will be present, but the
 25118  // value will be replaced with "sensitive".
 25119  func (s CreateChannelBanOutput) String() string {
 25120  	return awsutil.Prettify(s)
 25121  }
 25122  
 25123  // GoString returns the string representation.
 25124  //
 25125  // API parameter values that are decorated as "sensitive" in the API will not
 25126  // be included in the string output. The member name will be present, but the
 25127  // value will be replaced with "sensitive".
 25128  func (s CreateChannelBanOutput) GoString() string {
 25129  	return s.String()
 25130  }
 25131  
 25132  // SetChannelArn sets the ChannelArn field's value.
 25133  func (s *CreateChannelBanOutput) SetChannelArn(v string) *CreateChannelBanOutput {
 25134  	s.ChannelArn = &v
 25135  	return s
 25136  }
 25137  
 25138  // SetMember sets the Member field's value.
 25139  func (s *CreateChannelBanOutput) SetMember(v *Identity) *CreateChannelBanOutput {
 25140  	s.Member = v
 25141  	return s
 25142  }
 25143  
 25144  type CreateChannelInput struct {
 25145  	_ struct{} `type:"structure"`
 25146  
 25147  	// The ARN of the channel request.
 25148  	//
 25149  	// AppInstanceArn is a required field
 25150  	AppInstanceArn *string `min:"5" type:"string" required:"true"`
 25151  
 25152  	// The AppInstanceUserArn of the user that makes the API call.
 25153  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 25154  
 25155  	// The client token for the request. An Idempotency token.
 25156  	//
 25157  	// ClientRequestToken is a sensitive parameter and its value will be
 25158  	// replaced with "sensitive" in string returned by CreateChannelInput's
 25159  	// String and GoString methods.
 25160  	ClientRequestToken *string `min:"2" type:"string" idempotencyToken:"true" sensitive:"true"`
 25161  
 25162  	// The metadata of the creation request. Limited to 1KB and UTF-8.
 25163  	//
 25164  	// Metadata is a sensitive parameter and its value will be
 25165  	// replaced with "sensitive" in string returned by CreateChannelInput's
 25166  	// String and GoString methods.
 25167  	Metadata *string `type:"string" sensitive:"true"`
 25168  
 25169  	// The channel mode: UNRESTRICTED or RESTRICTED. Administrators, moderators,
 25170  	// and channel members can add themselves and other members to unrestricted
 25171  	// channels. Only administrators and moderators can add members to restricted
 25172  	// channels.
 25173  	Mode *string `type:"string" enum:"ChannelMode"`
 25174  
 25175  	// The name of the channel.
 25176  	//
 25177  	// Name is a sensitive parameter and its value will be
 25178  	// replaced with "sensitive" in string returned by CreateChannelInput's
 25179  	// String and GoString methods.
 25180  	//
 25181  	// Name is a required field
 25182  	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`
 25183  
 25184  	// The channel's privacy level: PUBLIC or PRIVATE. Private channels aren't discoverable
 25185  	// by users outside the channel. Public channels are discoverable by anyone
 25186  	// in the AppInstance.
 25187  	Privacy *string `type:"string" enum:"ChannelPrivacy"`
 25188  
 25189  	// The tags for the creation request.
 25190  	Tags []*Tag `min:"1" type:"list"`
 25191  }
 25192  
 25193  // String returns the string representation.
 25194  //
 25195  // API parameter values that are decorated as "sensitive" in the API will not
 25196  // be included in the string output. The member name will be present, but the
 25197  // value will be replaced with "sensitive".
 25198  func (s CreateChannelInput) String() string {
 25199  	return awsutil.Prettify(s)
 25200  }
 25201  
 25202  // GoString returns the string representation.
 25203  //
 25204  // API parameter values that are decorated as "sensitive" in the API will not
 25205  // be included in the string output. The member name will be present, but the
 25206  // value will be replaced with "sensitive".
 25207  func (s CreateChannelInput) GoString() string {
 25208  	return s.String()
 25209  }
 25210  
 25211  // Validate inspects the fields of the type to determine if they are valid.
 25212  func (s *CreateChannelInput) Validate() error {
 25213  	invalidParams := request.ErrInvalidParams{Context: "CreateChannelInput"}
 25214  	if s.AppInstanceArn == nil {
 25215  		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
 25216  	}
 25217  	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
 25218  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
 25219  	}
 25220  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 25221  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 25222  	}
 25223  	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 2 {
 25224  		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 2))
 25225  	}
 25226  	if s.Name == nil {
 25227  		invalidParams.Add(request.NewErrParamRequired("Name"))
 25228  	}
 25229  	if s.Name != nil && len(*s.Name) < 1 {
 25230  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 25231  	}
 25232  	if s.Tags != nil && len(s.Tags) < 1 {
 25233  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 25234  	}
 25235  	if s.Tags != nil {
 25236  		for i, v := range s.Tags {
 25237  			if v == nil {
 25238  				continue
 25239  			}
 25240  			if err := v.Validate(); err != nil {
 25241  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 25242  			}
 25243  		}
 25244  	}
 25245  
 25246  	if invalidParams.Len() > 0 {
 25247  		return invalidParams
 25248  	}
 25249  	return nil
 25250  }
 25251  
 25252  // SetAppInstanceArn sets the AppInstanceArn field's value.
 25253  func (s *CreateChannelInput) SetAppInstanceArn(v string) *CreateChannelInput {
 25254  	s.AppInstanceArn = &v
 25255  	return s
 25256  }
 25257  
 25258  // SetChimeBearer sets the ChimeBearer field's value.
 25259  func (s *CreateChannelInput) SetChimeBearer(v string) *CreateChannelInput {
 25260  	s.ChimeBearer = &v
 25261  	return s
 25262  }
 25263  
 25264  // SetClientRequestToken sets the ClientRequestToken field's value.
 25265  func (s *CreateChannelInput) SetClientRequestToken(v string) *CreateChannelInput {
 25266  	s.ClientRequestToken = &v
 25267  	return s
 25268  }
 25269  
 25270  // SetMetadata sets the Metadata field's value.
 25271  func (s *CreateChannelInput) SetMetadata(v string) *CreateChannelInput {
 25272  	s.Metadata = &v
 25273  	return s
 25274  }
 25275  
 25276  // SetMode sets the Mode field's value.
 25277  func (s *CreateChannelInput) SetMode(v string) *CreateChannelInput {
 25278  	s.Mode = &v
 25279  	return s
 25280  }
 25281  
 25282  // SetName sets the Name field's value.
 25283  func (s *CreateChannelInput) SetName(v string) *CreateChannelInput {
 25284  	s.Name = &v
 25285  	return s
 25286  }
 25287  
 25288  // SetPrivacy sets the Privacy field's value.
 25289  func (s *CreateChannelInput) SetPrivacy(v string) *CreateChannelInput {
 25290  	s.Privacy = &v
 25291  	return s
 25292  }
 25293  
 25294  // SetTags sets the Tags field's value.
 25295  func (s *CreateChannelInput) SetTags(v []*Tag) *CreateChannelInput {
 25296  	s.Tags = v
 25297  	return s
 25298  }
 25299  
 25300  type CreateChannelMembershipInput struct {
 25301  	_ struct{} `type:"structure"`
 25302  
 25303  	// The ARN of the channel to which you're adding users.
 25304  	//
 25305  	// ChannelArn is a required field
 25306  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 25307  
 25308  	// The AppInstanceUserArn of the user that makes the API call.
 25309  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 25310  
 25311  	// The ARN of the member you want to add to the channel.
 25312  	//
 25313  	// MemberArn is a required field
 25314  	MemberArn *string `min:"5" type:"string" required:"true"`
 25315  
 25316  	// The membership type of a user, DEFAULT or HIDDEN. Default members are always
 25317  	// returned as part of ListChannelMemberships. Hidden members are only returned
 25318  	// if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden
 25319  	// members are not returned. This is only supported by moderators.
 25320  	//
 25321  	// Type is a required field
 25322  	Type *string `type:"string" required:"true" enum:"ChannelMembershipType"`
 25323  }
 25324  
 25325  // String returns the string representation.
 25326  //
 25327  // API parameter values that are decorated as "sensitive" in the API will not
 25328  // be included in the string output. The member name will be present, but the
 25329  // value will be replaced with "sensitive".
 25330  func (s CreateChannelMembershipInput) String() string {
 25331  	return awsutil.Prettify(s)
 25332  }
 25333  
 25334  // GoString returns the string representation.
 25335  //
 25336  // API parameter values that are decorated as "sensitive" in the API will not
 25337  // be included in the string output. The member name will be present, but the
 25338  // value will be replaced with "sensitive".
 25339  func (s CreateChannelMembershipInput) GoString() string {
 25340  	return s.String()
 25341  }
 25342  
 25343  // Validate inspects the fields of the type to determine if they are valid.
 25344  func (s *CreateChannelMembershipInput) Validate() error {
 25345  	invalidParams := request.ErrInvalidParams{Context: "CreateChannelMembershipInput"}
 25346  	if s.ChannelArn == nil {
 25347  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 25348  	}
 25349  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 25350  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 25351  	}
 25352  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 25353  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 25354  	}
 25355  	if s.MemberArn == nil {
 25356  		invalidParams.Add(request.NewErrParamRequired("MemberArn"))
 25357  	}
 25358  	if s.MemberArn != nil && len(*s.MemberArn) < 5 {
 25359  		invalidParams.Add(request.NewErrParamMinLen("MemberArn", 5))
 25360  	}
 25361  	if s.Type == nil {
 25362  		invalidParams.Add(request.NewErrParamRequired("Type"))
 25363  	}
 25364  
 25365  	if invalidParams.Len() > 0 {
 25366  		return invalidParams
 25367  	}
 25368  	return nil
 25369  }
 25370  
 25371  // SetChannelArn sets the ChannelArn field's value.
 25372  func (s *CreateChannelMembershipInput) SetChannelArn(v string) *CreateChannelMembershipInput {
 25373  	s.ChannelArn = &v
 25374  	return s
 25375  }
 25376  
 25377  // SetChimeBearer sets the ChimeBearer field's value.
 25378  func (s *CreateChannelMembershipInput) SetChimeBearer(v string) *CreateChannelMembershipInput {
 25379  	s.ChimeBearer = &v
 25380  	return s
 25381  }
 25382  
 25383  // SetMemberArn sets the MemberArn field's value.
 25384  func (s *CreateChannelMembershipInput) SetMemberArn(v string) *CreateChannelMembershipInput {
 25385  	s.MemberArn = &v
 25386  	return s
 25387  }
 25388  
 25389  // SetType sets the Type field's value.
 25390  func (s *CreateChannelMembershipInput) SetType(v string) *CreateChannelMembershipInput {
 25391  	s.Type = &v
 25392  	return s
 25393  }
 25394  
 25395  type CreateChannelMembershipOutput struct {
 25396  	_ struct{} `type:"structure"`
 25397  
 25398  	// The ARN of the channel.
 25399  	ChannelArn *string `min:"5" type:"string"`
 25400  
 25401  	// The ARN and metadata of the member being added.
 25402  	Member *Identity `type:"structure"`
 25403  }
 25404  
 25405  // String returns the string representation.
 25406  //
 25407  // API parameter values that are decorated as "sensitive" in the API will not
 25408  // be included in the string output. The member name will be present, but the
 25409  // value will be replaced with "sensitive".
 25410  func (s CreateChannelMembershipOutput) String() string {
 25411  	return awsutil.Prettify(s)
 25412  }
 25413  
 25414  // GoString returns the string representation.
 25415  //
 25416  // API parameter values that are decorated as "sensitive" in the API will not
 25417  // be included in the string output. The member name will be present, but the
 25418  // value will be replaced with "sensitive".
 25419  func (s CreateChannelMembershipOutput) GoString() string {
 25420  	return s.String()
 25421  }
 25422  
 25423  // SetChannelArn sets the ChannelArn field's value.
 25424  func (s *CreateChannelMembershipOutput) SetChannelArn(v string) *CreateChannelMembershipOutput {
 25425  	s.ChannelArn = &v
 25426  	return s
 25427  }
 25428  
 25429  // SetMember sets the Member field's value.
 25430  func (s *CreateChannelMembershipOutput) SetMember(v *Identity) *CreateChannelMembershipOutput {
 25431  	s.Member = v
 25432  	return s
 25433  }
 25434  
 25435  type CreateChannelModeratorInput struct {
 25436  	_ struct{} `type:"structure"`
 25437  
 25438  	// The ARN of the channel.
 25439  	//
 25440  	// ChannelArn is a required field
 25441  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 25442  
 25443  	// The ARN of the moderator.
 25444  	//
 25445  	// ChannelModeratorArn is a required field
 25446  	ChannelModeratorArn *string `min:"5" type:"string" required:"true"`
 25447  
 25448  	// The AppInstanceUserArn of the user that makes the API call.
 25449  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 25450  }
 25451  
 25452  // String returns the string representation.
 25453  //
 25454  // API parameter values that are decorated as "sensitive" in the API will not
 25455  // be included in the string output. The member name will be present, but the
 25456  // value will be replaced with "sensitive".
 25457  func (s CreateChannelModeratorInput) String() string {
 25458  	return awsutil.Prettify(s)
 25459  }
 25460  
 25461  // GoString returns the string representation.
 25462  //
 25463  // API parameter values that are decorated as "sensitive" in the API will not
 25464  // be included in the string output. The member name will be present, but the
 25465  // value will be replaced with "sensitive".
 25466  func (s CreateChannelModeratorInput) GoString() string {
 25467  	return s.String()
 25468  }
 25469  
 25470  // Validate inspects the fields of the type to determine if they are valid.
 25471  func (s *CreateChannelModeratorInput) Validate() error {
 25472  	invalidParams := request.ErrInvalidParams{Context: "CreateChannelModeratorInput"}
 25473  	if s.ChannelArn == nil {
 25474  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 25475  	}
 25476  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 25477  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 25478  	}
 25479  	if s.ChannelModeratorArn == nil {
 25480  		invalidParams.Add(request.NewErrParamRequired("ChannelModeratorArn"))
 25481  	}
 25482  	if s.ChannelModeratorArn != nil && len(*s.ChannelModeratorArn) < 5 {
 25483  		invalidParams.Add(request.NewErrParamMinLen("ChannelModeratorArn", 5))
 25484  	}
 25485  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 25486  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 25487  	}
 25488  
 25489  	if invalidParams.Len() > 0 {
 25490  		return invalidParams
 25491  	}
 25492  	return nil
 25493  }
 25494  
 25495  // SetChannelArn sets the ChannelArn field's value.
 25496  func (s *CreateChannelModeratorInput) SetChannelArn(v string) *CreateChannelModeratorInput {
 25497  	s.ChannelArn = &v
 25498  	return s
 25499  }
 25500  
 25501  // SetChannelModeratorArn sets the ChannelModeratorArn field's value.
 25502  func (s *CreateChannelModeratorInput) SetChannelModeratorArn(v string) *CreateChannelModeratorInput {
 25503  	s.ChannelModeratorArn = &v
 25504  	return s
 25505  }
 25506  
 25507  // SetChimeBearer sets the ChimeBearer field's value.
 25508  func (s *CreateChannelModeratorInput) SetChimeBearer(v string) *CreateChannelModeratorInput {
 25509  	s.ChimeBearer = &v
 25510  	return s
 25511  }
 25512  
 25513  type CreateChannelModeratorOutput struct {
 25514  	_ struct{} `type:"structure"`
 25515  
 25516  	// The ARN of the channel.
 25517  	ChannelArn *string `min:"5" type:"string"`
 25518  
 25519  	// The ARNs of the channel and the moderator.
 25520  	ChannelModerator *Identity `type:"structure"`
 25521  }
 25522  
 25523  // String returns the string representation.
 25524  //
 25525  // API parameter values that are decorated as "sensitive" in the API will not
 25526  // be included in the string output. The member name will be present, but the
 25527  // value will be replaced with "sensitive".
 25528  func (s CreateChannelModeratorOutput) String() string {
 25529  	return awsutil.Prettify(s)
 25530  }
 25531  
 25532  // GoString returns the string representation.
 25533  //
 25534  // API parameter values that are decorated as "sensitive" in the API will not
 25535  // be included in the string output. The member name will be present, but the
 25536  // value will be replaced with "sensitive".
 25537  func (s CreateChannelModeratorOutput) GoString() string {
 25538  	return s.String()
 25539  }
 25540  
 25541  // SetChannelArn sets the ChannelArn field's value.
 25542  func (s *CreateChannelModeratorOutput) SetChannelArn(v string) *CreateChannelModeratorOutput {
 25543  	s.ChannelArn = &v
 25544  	return s
 25545  }
 25546  
 25547  // SetChannelModerator sets the ChannelModerator field's value.
 25548  func (s *CreateChannelModeratorOutput) SetChannelModerator(v *Identity) *CreateChannelModeratorOutput {
 25549  	s.ChannelModerator = v
 25550  	return s
 25551  }
 25552  
 25553  type CreateChannelOutput struct {
 25554  	_ struct{} `type:"structure"`
 25555  
 25556  	// The ARN of the channel.
 25557  	ChannelArn *string `min:"5" type:"string"`
 25558  }
 25559  
 25560  // String returns the string representation.
 25561  //
 25562  // API parameter values that are decorated as "sensitive" in the API will not
 25563  // be included in the string output. The member name will be present, but the
 25564  // value will be replaced with "sensitive".
 25565  func (s CreateChannelOutput) String() string {
 25566  	return awsutil.Prettify(s)
 25567  }
 25568  
 25569  // GoString returns the string representation.
 25570  //
 25571  // API parameter values that are decorated as "sensitive" in the API will not
 25572  // be included in the string output. The member name will be present, but the
 25573  // value will be replaced with "sensitive".
 25574  func (s CreateChannelOutput) GoString() string {
 25575  	return s.String()
 25576  }
 25577  
 25578  // SetChannelArn sets the ChannelArn field's value.
 25579  func (s *CreateChannelOutput) SetChannelArn(v string) *CreateChannelOutput {
 25580  	s.ChannelArn = &v
 25581  	return s
 25582  }
 25583  
 25584  type CreateMediaCapturePipelineInput struct {
 25585  	_ struct{} `type:"structure"`
 25586  
 25587  	// The configuration for a specified media capture pipeline. SourceType must
 25588  	// be ChimeSdkMeeting.
 25589  	ChimeSdkMeetingConfiguration *ChimeSdkMeetingConfiguration `type:"structure"`
 25590  
 25591  	// The token assigned to the client making the pipeline request.
 25592  	//
 25593  	// ClientRequestToken is a sensitive parameter and its value will be
 25594  	// replaced with "sensitive" in string returned by CreateMediaCapturePipelineInput's
 25595  	// String and GoString methods.
 25596  	ClientRequestToken *string `min:"2" type:"string" idempotencyToken:"true" sensitive:"true"`
 25597  
 25598  	// The ARN of the sink type.
 25599  	//
 25600  	// SinkArn is a sensitive parameter and its value will be
 25601  	// replaced with "sensitive" in string returned by CreateMediaCapturePipelineInput's
 25602  	// String and GoString methods.
 25603  	//
 25604  	// SinkArn is a required field
 25605  	SinkArn *string `min:"1" type:"string" required:"true" sensitive:"true"`
 25606  
 25607  	// Destination type to which the media artifacts are saved. You must use an
 25608  	// S3 bucket.
 25609  	//
 25610  	// SinkType is a required field
 25611  	SinkType *string `type:"string" required:"true" enum:"MediaPipelineSinkType"`
 25612  
 25613  	// ARN of the source from which the media artifacts are captured.
 25614  	//
 25615  	// SourceArn is a sensitive parameter and its value will be
 25616  	// replaced with "sensitive" in string returned by CreateMediaCapturePipelineInput's
 25617  	// String and GoString methods.
 25618  	//
 25619  	// SourceArn is a required field
 25620  	SourceArn *string `min:"1" type:"string" required:"true" sensitive:"true"`
 25621  
 25622  	// Source type from which the media artifacts will be captured. A Chime SDK
 25623  	// Meeting is the only supported source.
 25624  	//
 25625  	// SourceType is a required field
 25626  	SourceType *string `type:"string" required:"true" enum:"MediaPipelineSourceType"`
 25627  }
 25628  
 25629  // String returns the string representation.
 25630  //
 25631  // API parameter values that are decorated as "sensitive" in the API will not
 25632  // be included in the string output. The member name will be present, but the
 25633  // value will be replaced with "sensitive".
 25634  func (s CreateMediaCapturePipelineInput) String() string {
 25635  	return awsutil.Prettify(s)
 25636  }
 25637  
 25638  // GoString returns the string representation.
 25639  //
 25640  // API parameter values that are decorated as "sensitive" in the API will not
 25641  // be included in the string output. The member name will be present, but the
 25642  // value will be replaced with "sensitive".
 25643  func (s CreateMediaCapturePipelineInput) GoString() string {
 25644  	return s.String()
 25645  }
 25646  
 25647  // Validate inspects the fields of the type to determine if they are valid.
 25648  func (s *CreateMediaCapturePipelineInput) Validate() error {
 25649  	invalidParams := request.ErrInvalidParams{Context: "CreateMediaCapturePipelineInput"}
 25650  	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 2 {
 25651  		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 2))
 25652  	}
 25653  	if s.SinkArn == nil {
 25654  		invalidParams.Add(request.NewErrParamRequired("SinkArn"))
 25655  	}
 25656  	if s.SinkArn != nil && len(*s.SinkArn) < 1 {
 25657  		invalidParams.Add(request.NewErrParamMinLen("SinkArn", 1))
 25658  	}
 25659  	if s.SinkType == nil {
 25660  		invalidParams.Add(request.NewErrParamRequired("SinkType"))
 25661  	}
 25662  	if s.SourceArn == nil {
 25663  		invalidParams.Add(request.NewErrParamRequired("SourceArn"))
 25664  	}
 25665  	if s.SourceArn != nil && len(*s.SourceArn) < 1 {
 25666  		invalidParams.Add(request.NewErrParamMinLen("SourceArn", 1))
 25667  	}
 25668  	if s.SourceType == nil {
 25669  		invalidParams.Add(request.NewErrParamRequired("SourceType"))
 25670  	}
 25671  	if s.ChimeSdkMeetingConfiguration != nil {
 25672  		if err := s.ChimeSdkMeetingConfiguration.Validate(); err != nil {
 25673  			invalidParams.AddNested("ChimeSdkMeetingConfiguration", err.(request.ErrInvalidParams))
 25674  		}
 25675  	}
 25676  
 25677  	if invalidParams.Len() > 0 {
 25678  		return invalidParams
 25679  	}
 25680  	return nil
 25681  }
 25682  
 25683  // SetChimeSdkMeetingConfiguration sets the ChimeSdkMeetingConfiguration field's value.
 25684  func (s *CreateMediaCapturePipelineInput) SetChimeSdkMeetingConfiguration(v *ChimeSdkMeetingConfiguration) *CreateMediaCapturePipelineInput {
 25685  	s.ChimeSdkMeetingConfiguration = v
 25686  	return s
 25687  }
 25688  
 25689  // SetClientRequestToken sets the ClientRequestToken field's value.
 25690  func (s *CreateMediaCapturePipelineInput) SetClientRequestToken(v string) *CreateMediaCapturePipelineInput {
 25691  	s.ClientRequestToken = &v
 25692  	return s
 25693  }
 25694  
 25695  // SetSinkArn sets the SinkArn field's value.
 25696  func (s *CreateMediaCapturePipelineInput) SetSinkArn(v string) *CreateMediaCapturePipelineInput {
 25697  	s.SinkArn = &v
 25698  	return s
 25699  }
 25700  
 25701  // SetSinkType sets the SinkType field's value.
 25702  func (s *CreateMediaCapturePipelineInput) SetSinkType(v string) *CreateMediaCapturePipelineInput {
 25703  	s.SinkType = &v
 25704  	return s
 25705  }
 25706  
 25707  // SetSourceArn sets the SourceArn field's value.
 25708  func (s *CreateMediaCapturePipelineInput) SetSourceArn(v string) *CreateMediaCapturePipelineInput {
 25709  	s.SourceArn = &v
 25710  	return s
 25711  }
 25712  
 25713  // SetSourceType sets the SourceType field's value.
 25714  func (s *CreateMediaCapturePipelineInput) SetSourceType(v string) *CreateMediaCapturePipelineInput {
 25715  	s.SourceType = &v
 25716  	return s
 25717  }
 25718  
 25719  type CreateMediaCapturePipelineOutput struct {
 25720  	_ struct{} `type:"structure"`
 25721  
 25722  	// A media capture pipeline object, the ID, source type, source ARN, sink type,
 25723  	// and sink ARN of a media capture pipeline object.
 25724  	MediaCapturePipeline *MediaCapturePipeline `type:"structure"`
 25725  }
 25726  
 25727  // String returns the string representation.
 25728  //
 25729  // API parameter values that are decorated as "sensitive" in the API will not
 25730  // be included in the string output. The member name will be present, but the
 25731  // value will be replaced with "sensitive".
 25732  func (s CreateMediaCapturePipelineOutput) String() string {
 25733  	return awsutil.Prettify(s)
 25734  }
 25735  
 25736  // GoString returns the string representation.
 25737  //
 25738  // API parameter values that are decorated as "sensitive" in the API will not
 25739  // be included in the string output. The member name will be present, but the
 25740  // value will be replaced with "sensitive".
 25741  func (s CreateMediaCapturePipelineOutput) GoString() string {
 25742  	return s.String()
 25743  }
 25744  
 25745  // SetMediaCapturePipeline sets the MediaCapturePipeline field's value.
 25746  func (s *CreateMediaCapturePipelineOutput) SetMediaCapturePipeline(v *MediaCapturePipeline) *CreateMediaCapturePipelineOutput {
 25747  	s.MediaCapturePipeline = v
 25748  	return s
 25749  }
 25750  
 25751  type CreateMeetingDialOutInput struct {
 25752  	_ struct{} `type:"structure"`
 25753  
 25754  	// Phone number used as the caller ID when the remote party receives a call.
 25755  	//
 25756  	// FromPhoneNumber is a sensitive parameter and its value will be
 25757  	// replaced with "sensitive" in string returned by CreateMeetingDialOutInput's
 25758  	// String and GoString methods.
 25759  	//
 25760  	// FromPhoneNumber is a required field
 25761  	FromPhoneNumber *string `type:"string" required:"true" sensitive:"true"`
 25762  
 25763  	// Token used by the Amazon Chime SDK attendee. Call the CreateAttendee (https://docs.aws.amazon.com/chime/latest/APIReference/API_CreateAttendee.html)
 25764  	// action to get a join token.
 25765  	//
 25766  	// JoinToken is a sensitive parameter and its value will be
 25767  	// replaced with "sensitive" in string returned by CreateMeetingDialOutInput's
 25768  	// String and GoString methods.
 25769  	//
 25770  	// JoinToken is a required field
 25771  	JoinToken *string `min:"2" type:"string" required:"true" sensitive:"true"`
 25772  
 25773  	// The Amazon Chime SDK meeting ID.
 25774  	//
 25775  	// MeetingId is a required field
 25776  	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
 25777  
 25778  	// Phone number called when inviting someone to a meeting.
 25779  	//
 25780  	// ToPhoneNumber is a sensitive parameter and its value will be
 25781  	// replaced with "sensitive" in string returned by CreateMeetingDialOutInput's
 25782  	// String and GoString methods.
 25783  	//
 25784  	// ToPhoneNumber is a required field
 25785  	ToPhoneNumber *string `type:"string" required:"true" sensitive:"true"`
 25786  }
 25787  
 25788  // String returns the string representation.
 25789  //
 25790  // API parameter values that are decorated as "sensitive" in the API will not
 25791  // be included in the string output. The member name will be present, but the
 25792  // value will be replaced with "sensitive".
 25793  func (s CreateMeetingDialOutInput) String() string {
 25794  	return awsutil.Prettify(s)
 25795  }
 25796  
 25797  // GoString returns the string representation.
 25798  //
 25799  // API parameter values that are decorated as "sensitive" in the API will not
 25800  // be included in the string output. The member name will be present, but the
 25801  // value will be replaced with "sensitive".
 25802  func (s CreateMeetingDialOutInput) GoString() string {
 25803  	return s.String()
 25804  }
 25805  
 25806  // Validate inspects the fields of the type to determine if they are valid.
 25807  func (s *CreateMeetingDialOutInput) Validate() error {
 25808  	invalidParams := request.ErrInvalidParams{Context: "CreateMeetingDialOutInput"}
 25809  	if s.FromPhoneNumber == nil {
 25810  		invalidParams.Add(request.NewErrParamRequired("FromPhoneNumber"))
 25811  	}
 25812  	if s.JoinToken == nil {
 25813  		invalidParams.Add(request.NewErrParamRequired("JoinToken"))
 25814  	}
 25815  	if s.JoinToken != nil && len(*s.JoinToken) < 2 {
 25816  		invalidParams.Add(request.NewErrParamMinLen("JoinToken", 2))
 25817  	}
 25818  	if s.MeetingId == nil {
 25819  		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
 25820  	}
 25821  	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
 25822  		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
 25823  	}
 25824  	if s.ToPhoneNumber == nil {
 25825  		invalidParams.Add(request.NewErrParamRequired("ToPhoneNumber"))
 25826  	}
 25827  
 25828  	if invalidParams.Len() > 0 {
 25829  		return invalidParams
 25830  	}
 25831  	return nil
 25832  }
 25833  
 25834  // SetFromPhoneNumber sets the FromPhoneNumber field's value.
 25835  func (s *CreateMeetingDialOutInput) SetFromPhoneNumber(v string) *CreateMeetingDialOutInput {
 25836  	s.FromPhoneNumber = &v
 25837  	return s
 25838  }
 25839  
 25840  // SetJoinToken sets the JoinToken field's value.
 25841  func (s *CreateMeetingDialOutInput) SetJoinToken(v string) *CreateMeetingDialOutInput {
 25842  	s.JoinToken = &v
 25843  	return s
 25844  }
 25845  
 25846  // SetMeetingId sets the MeetingId field's value.
 25847  func (s *CreateMeetingDialOutInput) SetMeetingId(v string) *CreateMeetingDialOutInput {
 25848  	s.MeetingId = &v
 25849  	return s
 25850  }
 25851  
 25852  // SetToPhoneNumber sets the ToPhoneNumber field's value.
 25853  func (s *CreateMeetingDialOutInput) SetToPhoneNumber(v string) *CreateMeetingDialOutInput {
 25854  	s.ToPhoneNumber = &v
 25855  	return s
 25856  }
 25857  
 25858  type CreateMeetingDialOutOutput struct {
 25859  	_ struct{} `type:"structure"`
 25860  
 25861  	// Unique ID that tracks API calls.
 25862  	TransactionId *string `type:"string"`
 25863  }
 25864  
 25865  // String returns the string representation.
 25866  //
 25867  // API parameter values that are decorated as "sensitive" in the API will not
 25868  // be included in the string output. The member name will be present, but the
 25869  // value will be replaced with "sensitive".
 25870  func (s CreateMeetingDialOutOutput) String() string {
 25871  	return awsutil.Prettify(s)
 25872  }
 25873  
 25874  // GoString returns the string representation.
 25875  //
 25876  // API parameter values that are decorated as "sensitive" in the API will not
 25877  // be included in the string output. The member name will be present, but the
 25878  // value will be replaced with "sensitive".
 25879  func (s CreateMeetingDialOutOutput) GoString() string {
 25880  	return s.String()
 25881  }
 25882  
 25883  // SetTransactionId sets the TransactionId field's value.
 25884  func (s *CreateMeetingDialOutOutput) SetTransactionId(v string) *CreateMeetingDialOutOutput {
 25885  	s.TransactionId = &v
 25886  	return s
 25887  }
 25888  
 25889  type CreateMeetingInput struct {
 25890  	_ struct{} `type:"structure"`
 25891  
 25892  	// The unique identifier for the client request. Use a different token for different
 25893  	// meetings.
 25894  	//
 25895  	// ClientRequestToken is a sensitive parameter and its value will be
 25896  	// replaced with "sensitive" in string returned by CreateMeetingInput's
 25897  	// String and GoString methods.
 25898  	ClientRequestToken *string `min:"2" type:"string" idempotencyToken:"true" sensitive:"true"`
 25899  
 25900  	// The external meeting ID.
 25901  	//
 25902  	// ExternalMeetingId is a sensitive parameter and its value will be
 25903  	// replaced with "sensitive" in string returned by CreateMeetingInput's
 25904  	// String and GoString methods.
 25905  	ExternalMeetingId *string `min:"2" type:"string" sensitive:"true"`
 25906  
 25907  	// The Region in which to create the meeting. Default: us-east-1.
 25908  	//
 25909  	// Available values: af-south-1 , ap-northeast-1 , ap-northeast-2 , ap-south-1
 25910  	// , ap-southeast-1 , ap-southeast-2 , ca-central-1 , eu-central-1 , eu-north-1
 25911  	// , eu-south-1 , eu-west-1 , eu-west-2 , eu-west-3 , sa-east-1 , us-east-1
 25912  	// , us-east-2 , us-west-1 , us-west-2 .
 25913  	MediaRegion *string `type:"string"`
 25914  
 25915  	// Reserved.
 25916  	//
 25917  	// MeetingHostId is a sensitive parameter and its value will be
 25918  	// replaced with "sensitive" in string returned by CreateMeetingInput's
 25919  	// String and GoString methods.
 25920  	MeetingHostId *string `min:"2" type:"string" sensitive:"true"`
 25921  
 25922  	// The configuration for resource targets to receive notifications when meeting
 25923  	// and attendee events occur.
 25924  	NotificationsConfiguration *MeetingNotificationConfiguration `type:"structure"`
 25925  
 25926  	// The tag key-value pairs.
 25927  	Tags []*Tag `min:"1" type:"list"`
 25928  }
 25929  
 25930  // String returns the string representation.
 25931  //
 25932  // API parameter values that are decorated as "sensitive" in the API will not
 25933  // be included in the string output. The member name will be present, but the
 25934  // value will be replaced with "sensitive".
 25935  func (s CreateMeetingInput) String() string {
 25936  	return awsutil.Prettify(s)
 25937  }
 25938  
 25939  // GoString returns the string representation.
 25940  //
 25941  // API parameter values that are decorated as "sensitive" in the API will not
 25942  // be included in the string output. The member name will be present, but the
 25943  // value will be replaced with "sensitive".
 25944  func (s CreateMeetingInput) GoString() string {
 25945  	return s.String()
 25946  }
 25947  
 25948  // Validate inspects the fields of the type to determine if they are valid.
 25949  func (s *CreateMeetingInput) Validate() error {
 25950  	invalidParams := request.ErrInvalidParams{Context: "CreateMeetingInput"}
 25951  	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 2 {
 25952  		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 2))
 25953  	}
 25954  	if s.ExternalMeetingId != nil && len(*s.ExternalMeetingId) < 2 {
 25955  		invalidParams.Add(request.NewErrParamMinLen("ExternalMeetingId", 2))
 25956  	}
 25957  	if s.MeetingHostId != nil && len(*s.MeetingHostId) < 2 {
 25958  		invalidParams.Add(request.NewErrParamMinLen("MeetingHostId", 2))
 25959  	}
 25960  	if s.Tags != nil && len(s.Tags) < 1 {
 25961  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 25962  	}
 25963  	if s.NotificationsConfiguration != nil {
 25964  		if err := s.NotificationsConfiguration.Validate(); err != nil {
 25965  			invalidParams.AddNested("NotificationsConfiguration", err.(request.ErrInvalidParams))
 25966  		}
 25967  	}
 25968  	if s.Tags != nil {
 25969  		for i, v := range s.Tags {
 25970  			if v == nil {
 25971  				continue
 25972  			}
 25973  			if err := v.Validate(); err != nil {
 25974  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 25975  			}
 25976  		}
 25977  	}
 25978  
 25979  	if invalidParams.Len() > 0 {
 25980  		return invalidParams
 25981  	}
 25982  	return nil
 25983  }
 25984  
 25985  // SetClientRequestToken sets the ClientRequestToken field's value.
 25986  func (s *CreateMeetingInput) SetClientRequestToken(v string) *CreateMeetingInput {
 25987  	s.ClientRequestToken = &v
 25988  	return s
 25989  }
 25990  
 25991  // SetExternalMeetingId sets the ExternalMeetingId field's value.
 25992  func (s *CreateMeetingInput) SetExternalMeetingId(v string) *CreateMeetingInput {
 25993  	s.ExternalMeetingId = &v
 25994  	return s
 25995  }
 25996  
 25997  // SetMediaRegion sets the MediaRegion field's value.
 25998  func (s *CreateMeetingInput) SetMediaRegion(v string) *CreateMeetingInput {
 25999  	s.MediaRegion = &v
 26000  	return s
 26001  }
 26002  
 26003  // SetMeetingHostId sets the MeetingHostId field's value.
 26004  func (s *CreateMeetingInput) SetMeetingHostId(v string) *CreateMeetingInput {
 26005  	s.MeetingHostId = &v
 26006  	return s
 26007  }
 26008  
 26009  // SetNotificationsConfiguration sets the NotificationsConfiguration field's value.
 26010  func (s *CreateMeetingInput) SetNotificationsConfiguration(v *MeetingNotificationConfiguration) *CreateMeetingInput {
 26011  	s.NotificationsConfiguration = v
 26012  	return s
 26013  }
 26014  
 26015  // SetTags sets the Tags field's value.
 26016  func (s *CreateMeetingInput) SetTags(v []*Tag) *CreateMeetingInput {
 26017  	s.Tags = v
 26018  	return s
 26019  }
 26020  
 26021  type CreateMeetingOutput struct {
 26022  	_ struct{} `type:"structure"`
 26023  
 26024  	// The meeting information, including the meeting ID and MediaPlacement .
 26025  	Meeting *Meeting `type:"structure"`
 26026  }
 26027  
 26028  // String returns the string representation.
 26029  //
 26030  // API parameter values that are decorated as "sensitive" in the API will not
 26031  // be included in the string output. The member name will be present, but the
 26032  // value will be replaced with "sensitive".
 26033  func (s CreateMeetingOutput) String() string {
 26034  	return awsutil.Prettify(s)
 26035  }
 26036  
 26037  // GoString returns the string representation.
 26038  //
 26039  // API parameter values that are decorated as "sensitive" in the API will not
 26040  // be included in the string output. The member name will be present, but the
 26041  // value will be replaced with "sensitive".
 26042  func (s CreateMeetingOutput) GoString() string {
 26043  	return s.String()
 26044  }
 26045  
 26046  // SetMeeting sets the Meeting field's value.
 26047  func (s *CreateMeetingOutput) SetMeeting(v *Meeting) *CreateMeetingOutput {
 26048  	s.Meeting = v
 26049  	return s
 26050  }
 26051  
 26052  type CreateMeetingWithAttendeesInput struct {
 26053  	_ struct{} `type:"structure"`
 26054  
 26055  	// The request containing the attendees to create.
 26056  	Attendees []*CreateAttendeeRequestItem `min:"1" type:"list"`
 26057  
 26058  	// The unique identifier for the client request. Use a different token for different
 26059  	// meetings.
 26060  	//
 26061  	// ClientRequestToken is a sensitive parameter and its value will be
 26062  	// replaced with "sensitive" in string returned by CreateMeetingWithAttendeesInput's
 26063  	// String and GoString methods.
 26064  	ClientRequestToken *string `min:"2" type:"string" idempotencyToken:"true" sensitive:"true"`
 26065  
 26066  	// The external meeting ID.
 26067  	//
 26068  	// ExternalMeetingId is a sensitive parameter and its value will be
 26069  	// replaced with "sensitive" in string returned by CreateMeetingWithAttendeesInput's
 26070  	// String and GoString methods.
 26071  	ExternalMeetingId *string `min:"2" type:"string" sensitive:"true"`
 26072  
 26073  	// The Region in which to create the meeting. Default: us-east-1 .
 26074  	//
 26075  	// Available values: af-south-1 , ap-northeast-1 , ap-northeast-2 , ap-south-1
 26076  	// , ap-southeast-1 , ap-southeast-2 , ca-central-1 , eu-central-1 , eu-north-1
 26077  	// , eu-south-1 , eu-west-1 , eu-west-2 , eu-west-3 , sa-east-1 , us-east-1
 26078  	// , us-east-2 , us-west-1 , us-west-2 .
 26079  	MediaRegion *string `type:"string"`
 26080  
 26081  	// Reserved.
 26082  	//
 26083  	// MeetingHostId is a sensitive parameter and its value will be
 26084  	// replaced with "sensitive" in string returned by CreateMeetingWithAttendeesInput's
 26085  	// String and GoString methods.
 26086  	MeetingHostId *string `min:"2" type:"string" sensitive:"true"`
 26087  
 26088  	// The resource target configurations for receiving Amazon Chime SDK meeting
 26089  	// and attendee event notifications. The Amazon Chime SDK supports resource
 26090  	// targets located in the US East (N. Virginia) AWS Region (us-east-1).
 26091  	NotificationsConfiguration *MeetingNotificationConfiguration `type:"structure"`
 26092  
 26093  	// The tag key-value pairs.
 26094  	Tags []*Tag `min:"1" type:"list"`
 26095  }
 26096  
 26097  // String returns the string representation.
 26098  //
 26099  // API parameter values that are decorated as "sensitive" in the API will not
 26100  // be included in the string output. The member name will be present, but the
 26101  // value will be replaced with "sensitive".
 26102  func (s CreateMeetingWithAttendeesInput) String() string {
 26103  	return awsutil.Prettify(s)
 26104  }
 26105  
 26106  // GoString returns the string representation.
 26107  //
 26108  // API parameter values that are decorated as "sensitive" in the API will not
 26109  // be included in the string output. The member name will be present, but the
 26110  // value will be replaced with "sensitive".
 26111  func (s CreateMeetingWithAttendeesInput) GoString() string {
 26112  	return s.String()
 26113  }
 26114  
 26115  // Validate inspects the fields of the type to determine if they are valid.
 26116  func (s *CreateMeetingWithAttendeesInput) Validate() error {
 26117  	invalidParams := request.ErrInvalidParams{Context: "CreateMeetingWithAttendeesInput"}
 26118  	if s.Attendees != nil && len(s.Attendees) < 1 {
 26119  		invalidParams.Add(request.NewErrParamMinLen("Attendees", 1))
 26120  	}
 26121  	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 2 {
 26122  		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 2))
 26123  	}
 26124  	if s.ExternalMeetingId != nil && len(*s.ExternalMeetingId) < 2 {
 26125  		invalidParams.Add(request.NewErrParamMinLen("ExternalMeetingId", 2))
 26126  	}
 26127  	if s.MeetingHostId != nil && len(*s.MeetingHostId) < 2 {
 26128  		invalidParams.Add(request.NewErrParamMinLen("MeetingHostId", 2))
 26129  	}
 26130  	if s.Tags != nil && len(s.Tags) < 1 {
 26131  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 26132  	}
 26133  	if s.Attendees != nil {
 26134  		for i, v := range s.Attendees {
 26135  			if v == nil {
 26136  				continue
 26137  			}
 26138  			if err := v.Validate(); err != nil {
 26139  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Attendees", i), err.(request.ErrInvalidParams))
 26140  			}
 26141  		}
 26142  	}
 26143  	if s.NotificationsConfiguration != nil {
 26144  		if err := s.NotificationsConfiguration.Validate(); err != nil {
 26145  			invalidParams.AddNested("NotificationsConfiguration", err.(request.ErrInvalidParams))
 26146  		}
 26147  	}
 26148  	if s.Tags != nil {
 26149  		for i, v := range s.Tags {
 26150  			if v == nil {
 26151  				continue
 26152  			}
 26153  			if err := v.Validate(); err != nil {
 26154  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 26155  			}
 26156  		}
 26157  	}
 26158  
 26159  	if invalidParams.Len() > 0 {
 26160  		return invalidParams
 26161  	}
 26162  	return nil
 26163  }
 26164  
 26165  // SetAttendees sets the Attendees field's value.
 26166  func (s *CreateMeetingWithAttendeesInput) SetAttendees(v []*CreateAttendeeRequestItem) *CreateMeetingWithAttendeesInput {
 26167  	s.Attendees = v
 26168  	return s
 26169  }
 26170  
 26171  // SetClientRequestToken sets the ClientRequestToken field's value.
 26172  func (s *CreateMeetingWithAttendeesInput) SetClientRequestToken(v string) *CreateMeetingWithAttendeesInput {
 26173  	s.ClientRequestToken = &v
 26174  	return s
 26175  }
 26176  
 26177  // SetExternalMeetingId sets the ExternalMeetingId field's value.
 26178  func (s *CreateMeetingWithAttendeesInput) SetExternalMeetingId(v string) *CreateMeetingWithAttendeesInput {
 26179  	s.ExternalMeetingId = &v
 26180  	return s
 26181  }
 26182  
 26183  // SetMediaRegion sets the MediaRegion field's value.
 26184  func (s *CreateMeetingWithAttendeesInput) SetMediaRegion(v string) *CreateMeetingWithAttendeesInput {
 26185  	s.MediaRegion = &v
 26186  	return s
 26187  }
 26188  
 26189  // SetMeetingHostId sets the MeetingHostId field's value.
 26190  func (s *CreateMeetingWithAttendeesInput) SetMeetingHostId(v string) *CreateMeetingWithAttendeesInput {
 26191  	s.MeetingHostId = &v
 26192  	return s
 26193  }
 26194  
 26195  // SetNotificationsConfiguration sets the NotificationsConfiguration field's value.
 26196  func (s *CreateMeetingWithAttendeesInput) SetNotificationsConfiguration(v *MeetingNotificationConfiguration) *CreateMeetingWithAttendeesInput {
 26197  	s.NotificationsConfiguration = v
 26198  	return s
 26199  }
 26200  
 26201  // SetTags sets the Tags field's value.
 26202  func (s *CreateMeetingWithAttendeesInput) SetTags(v []*Tag) *CreateMeetingWithAttendeesInput {
 26203  	s.Tags = v
 26204  	return s
 26205  }
 26206  
 26207  type CreateMeetingWithAttendeesOutput struct {
 26208  	_ struct{} `type:"structure"`
 26209  
 26210  	// The attendee information, including attendees IDs and join tokens.
 26211  	Attendees []*Attendee `type:"list"`
 26212  
 26213  	// If the action fails for one or more of the attendees in the request, a list
 26214  	// of the attendees is returned, along with error codes and error messages.
 26215  	Errors []*CreateAttendeeError `type:"list"`
 26216  
 26217  	// A meeting created using the Amazon Chime SDK.
 26218  	Meeting *Meeting `type:"structure"`
 26219  }
 26220  
 26221  // String returns the string representation.
 26222  //
 26223  // API parameter values that are decorated as "sensitive" in the API will not
 26224  // be included in the string output. The member name will be present, but the
 26225  // value will be replaced with "sensitive".
 26226  func (s CreateMeetingWithAttendeesOutput) String() string {
 26227  	return awsutil.Prettify(s)
 26228  }
 26229  
 26230  // GoString returns the string representation.
 26231  //
 26232  // API parameter values that are decorated as "sensitive" in the API will not
 26233  // be included in the string output. The member name will be present, but the
 26234  // value will be replaced with "sensitive".
 26235  func (s CreateMeetingWithAttendeesOutput) GoString() string {
 26236  	return s.String()
 26237  }
 26238  
 26239  // SetAttendees sets the Attendees field's value.
 26240  func (s *CreateMeetingWithAttendeesOutput) SetAttendees(v []*Attendee) *CreateMeetingWithAttendeesOutput {
 26241  	s.Attendees = v
 26242  	return s
 26243  }
 26244  
 26245  // SetErrors sets the Errors field's value.
 26246  func (s *CreateMeetingWithAttendeesOutput) SetErrors(v []*CreateAttendeeError) *CreateMeetingWithAttendeesOutput {
 26247  	s.Errors = v
 26248  	return s
 26249  }
 26250  
 26251  // SetMeeting sets the Meeting field's value.
 26252  func (s *CreateMeetingWithAttendeesOutput) SetMeeting(v *Meeting) *CreateMeetingWithAttendeesOutput {
 26253  	s.Meeting = v
 26254  	return s
 26255  }
 26256  
 26257  type CreatePhoneNumberOrderInput struct {
 26258  	_ struct{} `type:"structure"`
 26259  
 26260  	// List of phone numbers, in E.164 format.
 26261  	//
 26262  	// E164PhoneNumbers is a required field
 26263  	E164PhoneNumbers []*string `type:"list" required:"true"`
 26264  
 26265  	// The phone number product type.
 26266  	//
 26267  	// ProductType is a required field
 26268  	ProductType *string `type:"string" required:"true" enum:"PhoneNumberProductType"`
 26269  }
 26270  
 26271  // String returns the string representation.
 26272  //
 26273  // API parameter values that are decorated as "sensitive" in the API will not
 26274  // be included in the string output. The member name will be present, but the
 26275  // value will be replaced with "sensitive".
 26276  func (s CreatePhoneNumberOrderInput) String() string {
 26277  	return awsutil.Prettify(s)
 26278  }
 26279  
 26280  // GoString returns the string representation.
 26281  //
 26282  // API parameter values that are decorated as "sensitive" in the API will not
 26283  // be included in the string output. The member name will be present, but the
 26284  // value will be replaced with "sensitive".
 26285  func (s CreatePhoneNumberOrderInput) GoString() string {
 26286  	return s.String()
 26287  }
 26288  
 26289  // Validate inspects the fields of the type to determine if they are valid.
 26290  func (s *CreatePhoneNumberOrderInput) Validate() error {
 26291  	invalidParams := request.ErrInvalidParams{Context: "CreatePhoneNumberOrderInput"}
 26292  	if s.E164PhoneNumbers == nil {
 26293  		invalidParams.Add(request.NewErrParamRequired("E164PhoneNumbers"))
 26294  	}
 26295  	if s.ProductType == nil {
 26296  		invalidParams.Add(request.NewErrParamRequired("ProductType"))
 26297  	}
 26298  
 26299  	if invalidParams.Len() > 0 {
 26300  		return invalidParams
 26301  	}
 26302  	return nil
 26303  }
 26304  
 26305  // SetE164PhoneNumbers sets the E164PhoneNumbers field's value.
 26306  func (s *CreatePhoneNumberOrderInput) SetE164PhoneNumbers(v []*string) *CreatePhoneNumberOrderInput {
 26307  	s.E164PhoneNumbers = v
 26308  	return s
 26309  }
 26310  
 26311  // SetProductType sets the ProductType field's value.
 26312  func (s *CreatePhoneNumberOrderInput) SetProductType(v string) *CreatePhoneNumberOrderInput {
 26313  	s.ProductType = &v
 26314  	return s
 26315  }
 26316  
 26317  type CreatePhoneNumberOrderOutput struct {
 26318  	_ struct{} `type:"structure"`
 26319  
 26320  	// The phone number order details.
 26321  	PhoneNumberOrder *PhoneNumberOrder `type:"structure"`
 26322  }
 26323  
 26324  // String returns the string representation.
 26325  //
 26326  // API parameter values that are decorated as "sensitive" in the API will not
 26327  // be included in the string output. The member name will be present, but the
 26328  // value will be replaced with "sensitive".
 26329  func (s CreatePhoneNumberOrderOutput) String() string {
 26330  	return awsutil.Prettify(s)
 26331  }
 26332  
 26333  // GoString returns the string representation.
 26334  //
 26335  // API parameter values that are decorated as "sensitive" in the API will not
 26336  // be included in the string output. The member name will be present, but the
 26337  // value will be replaced with "sensitive".
 26338  func (s CreatePhoneNumberOrderOutput) GoString() string {
 26339  	return s.String()
 26340  }
 26341  
 26342  // SetPhoneNumberOrder sets the PhoneNumberOrder field's value.
 26343  func (s *CreatePhoneNumberOrderOutput) SetPhoneNumberOrder(v *PhoneNumberOrder) *CreatePhoneNumberOrderOutput {
 26344  	s.PhoneNumberOrder = v
 26345  	return s
 26346  }
 26347  
 26348  type CreateProxySessionInput struct {
 26349  	_ struct{} `type:"structure"`
 26350  
 26351  	// The proxy session capabilities.
 26352  	//
 26353  	// Capabilities is a required field
 26354  	Capabilities []*string `type:"list" required:"true"`
 26355  
 26356  	// The number of minutes allowed for the proxy session.
 26357  	ExpiryMinutes *int64 `min:"1" type:"integer"`
 26358  
 26359  	// The preference for matching the country or area code of the proxy phone number
 26360  	// with that of the first participant.
 26361  	GeoMatchLevel *string `type:"string" enum:"GeoMatchLevel"`
 26362  
 26363  	// The country and area code for the proxy phone number.
 26364  	GeoMatchParams *GeoMatchParams `type:"structure"`
 26365  
 26366  	// The name of the proxy session.
 26367  	//
 26368  	// Name is a sensitive parameter and its value will be
 26369  	// replaced with "sensitive" in string returned by CreateProxySessionInput's
 26370  	// String and GoString methods.
 26371  	Name *string `type:"string" sensitive:"true"`
 26372  
 26373  	// The preference for proxy phone number reuse, or stickiness, between the same
 26374  	// participants across sessions.
 26375  	NumberSelectionBehavior *string `type:"string" enum:"NumberSelectionBehavior"`
 26376  
 26377  	// The participant phone numbers.
 26378  	//
 26379  	// ParticipantPhoneNumbers is a required field
 26380  	ParticipantPhoneNumbers []*string `min:"2" type:"list" required:"true"`
 26381  
 26382  	// The Amazon Chime voice connector ID.
 26383  	//
 26384  	// VoiceConnectorId is a required field
 26385  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" min:"1" type:"string" required:"true"`
 26386  }
 26387  
 26388  // String returns the string representation.
 26389  //
 26390  // API parameter values that are decorated as "sensitive" in the API will not
 26391  // be included in the string output. The member name will be present, but the
 26392  // value will be replaced with "sensitive".
 26393  func (s CreateProxySessionInput) String() string {
 26394  	return awsutil.Prettify(s)
 26395  }
 26396  
 26397  // GoString returns the string representation.
 26398  //
 26399  // API parameter values that are decorated as "sensitive" in the API will not
 26400  // be included in the string output. The member name will be present, but the
 26401  // value will be replaced with "sensitive".
 26402  func (s CreateProxySessionInput) GoString() string {
 26403  	return s.String()
 26404  }
 26405  
 26406  // Validate inspects the fields of the type to determine if they are valid.
 26407  func (s *CreateProxySessionInput) Validate() error {
 26408  	invalidParams := request.ErrInvalidParams{Context: "CreateProxySessionInput"}
 26409  	if s.Capabilities == nil {
 26410  		invalidParams.Add(request.NewErrParamRequired("Capabilities"))
 26411  	}
 26412  	if s.ExpiryMinutes != nil && *s.ExpiryMinutes < 1 {
 26413  		invalidParams.Add(request.NewErrParamMinValue("ExpiryMinutes", 1))
 26414  	}
 26415  	if s.ParticipantPhoneNumbers == nil {
 26416  		invalidParams.Add(request.NewErrParamRequired("ParticipantPhoneNumbers"))
 26417  	}
 26418  	if s.ParticipantPhoneNumbers != nil && len(s.ParticipantPhoneNumbers) < 2 {
 26419  		invalidParams.Add(request.NewErrParamMinLen("ParticipantPhoneNumbers", 2))
 26420  	}
 26421  	if s.VoiceConnectorId == nil {
 26422  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 26423  	}
 26424  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 26425  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 26426  	}
 26427  	if s.GeoMatchParams != nil {
 26428  		if err := s.GeoMatchParams.Validate(); err != nil {
 26429  			invalidParams.AddNested("GeoMatchParams", err.(request.ErrInvalidParams))
 26430  		}
 26431  	}
 26432  
 26433  	if invalidParams.Len() > 0 {
 26434  		return invalidParams
 26435  	}
 26436  	return nil
 26437  }
 26438  
 26439  // SetCapabilities sets the Capabilities field's value.
 26440  func (s *CreateProxySessionInput) SetCapabilities(v []*string) *CreateProxySessionInput {
 26441  	s.Capabilities = v
 26442  	return s
 26443  }
 26444  
 26445  // SetExpiryMinutes sets the ExpiryMinutes field's value.
 26446  func (s *CreateProxySessionInput) SetExpiryMinutes(v int64) *CreateProxySessionInput {
 26447  	s.ExpiryMinutes = &v
 26448  	return s
 26449  }
 26450  
 26451  // SetGeoMatchLevel sets the GeoMatchLevel field's value.
 26452  func (s *CreateProxySessionInput) SetGeoMatchLevel(v string) *CreateProxySessionInput {
 26453  	s.GeoMatchLevel = &v
 26454  	return s
 26455  }
 26456  
 26457  // SetGeoMatchParams sets the GeoMatchParams field's value.
 26458  func (s *CreateProxySessionInput) SetGeoMatchParams(v *GeoMatchParams) *CreateProxySessionInput {
 26459  	s.GeoMatchParams = v
 26460  	return s
 26461  }
 26462  
 26463  // SetName sets the Name field's value.
 26464  func (s *CreateProxySessionInput) SetName(v string) *CreateProxySessionInput {
 26465  	s.Name = &v
 26466  	return s
 26467  }
 26468  
 26469  // SetNumberSelectionBehavior sets the NumberSelectionBehavior field's value.
 26470  func (s *CreateProxySessionInput) SetNumberSelectionBehavior(v string) *CreateProxySessionInput {
 26471  	s.NumberSelectionBehavior = &v
 26472  	return s
 26473  }
 26474  
 26475  // SetParticipantPhoneNumbers sets the ParticipantPhoneNumbers field's value.
 26476  func (s *CreateProxySessionInput) SetParticipantPhoneNumbers(v []*string) *CreateProxySessionInput {
 26477  	s.ParticipantPhoneNumbers = v
 26478  	return s
 26479  }
 26480  
 26481  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 26482  func (s *CreateProxySessionInput) SetVoiceConnectorId(v string) *CreateProxySessionInput {
 26483  	s.VoiceConnectorId = &v
 26484  	return s
 26485  }
 26486  
 26487  type CreateProxySessionOutput struct {
 26488  	_ struct{} `type:"structure"`
 26489  
 26490  	// The proxy session details.
 26491  	ProxySession *ProxySession `type:"structure"`
 26492  }
 26493  
 26494  // String returns the string representation.
 26495  //
 26496  // API parameter values that are decorated as "sensitive" in the API will not
 26497  // be included in the string output. The member name will be present, but the
 26498  // value will be replaced with "sensitive".
 26499  func (s CreateProxySessionOutput) String() string {
 26500  	return awsutil.Prettify(s)
 26501  }
 26502  
 26503  // GoString returns the string representation.
 26504  //
 26505  // API parameter values that are decorated as "sensitive" in the API will not
 26506  // be included in the string output. The member name will be present, but the
 26507  // value will be replaced with "sensitive".
 26508  func (s CreateProxySessionOutput) GoString() string {
 26509  	return s.String()
 26510  }
 26511  
 26512  // SetProxySession sets the ProxySession field's value.
 26513  func (s *CreateProxySessionOutput) SetProxySession(v *ProxySession) *CreateProxySessionOutput {
 26514  	s.ProxySession = v
 26515  	return s
 26516  }
 26517  
 26518  type CreateRoomInput struct {
 26519  	_ struct{} `type:"structure"`
 26520  
 26521  	// The Amazon Chime account ID.
 26522  	//
 26523  	// AccountId is a required field
 26524  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 26525  
 26526  	// The idempotency token for the request.
 26527  	//
 26528  	// ClientRequestToken is a sensitive parameter and its value will be
 26529  	// replaced with "sensitive" in string returned by CreateRoomInput's
 26530  	// String and GoString methods.
 26531  	ClientRequestToken *string `min:"2" type:"string" idempotencyToken:"true" sensitive:"true"`
 26532  
 26533  	// The room name.
 26534  	//
 26535  	// Name is a sensitive parameter and its value will be
 26536  	// replaced with "sensitive" in string returned by CreateRoomInput's
 26537  	// String and GoString methods.
 26538  	//
 26539  	// Name is a required field
 26540  	Name *string `type:"string" required:"true" sensitive:"true"`
 26541  }
 26542  
 26543  // String returns the string representation.
 26544  //
 26545  // API parameter values that are decorated as "sensitive" in the API will not
 26546  // be included in the string output. The member name will be present, but the
 26547  // value will be replaced with "sensitive".
 26548  func (s CreateRoomInput) String() string {
 26549  	return awsutil.Prettify(s)
 26550  }
 26551  
 26552  // GoString returns the string representation.
 26553  //
 26554  // API parameter values that are decorated as "sensitive" in the API will not
 26555  // be included in the string output. The member name will be present, but the
 26556  // value will be replaced with "sensitive".
 26557  func (s CreateRoomInput) GoString() string {
 26558  	return s.String()
 26559  }
 26560  
 26561  // Validate inspects the fields of the type to determine if they are valid.
 26562  func (s *CreateRoomInput) Validate() error {
 26563  	invalidParams := request.ErrInvalidParams{Context: "CreateRoomInput"}
 26564  	if s.AccountId == nil {
 26565  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 26566  	}
 26567  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 26568  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 26569  	}
 26570  	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 2 {
 26571  		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 2))
 26572  	}
 26573  	if s.Name == nil {
 26574  		invalidParams.Add(request.NewErrParamRequired("Name"))
 26575  	}
 26576  
 26577  	if invalidParams.Len() > 0 {
 26578  		return invalidParams
 26579  	}
 26580  	return nil
 26581  }
 26582  
 26583  // SetAccountId sets the AccountId field's value.
 26584  func (s *CreateRoomInput) SetAccountId(v string) *CreateRoomInput {
 26585  	s.AccountId = &v
 26586  	return s
 26587  }
 26588  
 26589  // SetClientRequestToken sets the ClientRequestToken field's value.
 26590  func (s *CreateRoomInput) SetClientRequestToken(v string) *CreateRoomInput {
 26591  	s.ClientRequestToken = &v
 26592  	return s
 26593  }
 26594  
 26595  // SetName sets the Name field's value.
 26596  func (s *CreateRoomInput) SetName(v string) *CreateRoomInput {
 26597  	s.Name = &v
 26598  	return s
 26599  }
 26600  
 26601  type CreateRoomMembershipInput struct {
 26602  	_ struct{} `type:"structure"`
 26603  
 26604  	// The Amazon Chime account ID.
 26605  	//
 26606  	// AccountId is a required field
 26607  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 26608  
 26609  	// The Amazon Chime member ID (user ID or bot ID).
 26610  	//
 26611  	// MemberId is a required field
 26612  	MemberId *string `type:"string" required:"true"`
 26613  
 26614  	// The role of the member.
 26615  	Role *string `type:"string" enum:"RoomMembershipRole"`
 26616  
 26617  	// The room ID.
 26618  	//
 26619  	// RoomId is a required field
 26620  	RoomId *string `location:"uri" locationName:"roomId" type:"string" required:"true"`
 26621  }
 26622  
 26623  // String returns the string representation.
 26624  //
 26625  // API parameter values that are decorated as "sensitive" in the API will not
 26626  // be included in the string output. The member name will be present, but the
 26627  // value will be replaced with "sensitive".
 26628  func (s CreateRoomMembershipInput) String() string {
 26629  	return awsutil.Prettify(s)
 26630  }
 26631  
 26632  // GoString returns the string representation.
 26633  //
 26634  // API parameter values that are decorated as "sensitive" in the API will not
 26635  // be included in the string output. The member name will be present, but the
 26636  // value will be replaced with "sensitive".
 26637  func (s CreateRoomMembershipInput) GoString() string {
 26638  	return s.String()
 26639  }
 26640  
 26641  // Validate inspects the fields of the type to determine if they are valid.
 26642  func (s *CreateRoomMembershipInput) Validate() error {
 26643  	invalidParams := request.ErrInvalidParams{Context: "CreateRoomMembershipInput"}
 26644  	if s.AccountId == nil {
 26645  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 26646  	}
 26647  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 26648  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 26649  	}
 26650  	if s.MemberId == nil {
 26651  		invalidParams.Add(request.NewErrParamRequired("MemberId"))
 26652  	}
 26653  	if s.RoomId == nil {
 26654  		invalidParams.Add(request.NewErrParamRequired("RoomId"))
 26655  	}
 26656  	if s.RoomId != nil && len(*s.RoomId) < 1 {
 26657  		invalidParams.Add(request.NewErrParamMinLen("RoomId", 1))
 26658  	}
 26659  
 26660  	if invalidParams.Len() > 0 {
 26661  		return invalidParams
 26662  	}
 26663  	return nil
 26664  }
 26665  
 26666  // SetAccountId sets the AccountId field's value.
 26667  func (s *CreateRoomMembershipInput) SetAccountId(v string) *CreateRoomMembershipInput {
 26668  	s.AccountId = &v
 26669  	return s
 26670  }
 26671  
 26672  // SetMemberId sets the MemberId field's value.
 26673  func (s *CreateRoomMembershipInput) SetMemberId(v string) *CreateRoomMembershipInput {
 26674  	s.MemberId = &v
 26675  	return s
 26676  }
 26677  
 26678  // SetRole sets the Role field's value.
 26679  func (s *CreateRoomMembershipInput) SetRole(v string) *CreateRoomMembershipInput {
 26680  	s.Role = &v
 26681  	return s
 26682  }
 26683  
 26684  // SetRoomId sets the RoomId field's value.
 26685  func (s *CreateRoomMembershipInput) SetRoomId(v string) *CreateRoomMembershipInput {
 26686  	s.RoomId = &v
 26687  	return s
 26688  }
 26689  
 26690  type CreateRoomMembershipOutput struct {
 26691  	_ struct{} `type:"structure"`
 26692  
 26693  	// The room membership details.
 26694  	RoomMembership *RoomMembership `type:"structure"`
 26695  }
 26696  
 26697  // String returns the string representation.
 26698  //
 26699  // API parameter values that are decorated as "sensitive" in the API will not
 26700  // be included in the string output. The member name will be present, but the
 26701  // value will be replaced with "sensitive".
 26702  func (s CreateRoomMembershipOutput) String() string {
 26703  	return awsutil.Prettify(s)
 26704  }
 26705  
 26706  // GoString returns the string representation.
 26707  //
 26708  // API parameter values that are decorated as "sensitive" in the API will not
 26709  // be included in the string output. The member name will be present, but the
 26710  // value will be replaced with "sensitive".
 26711  func (s CreateRoomMembershipOutput) GoString() string {
 26712  	return s.String()
 26713  }
 26714  
 26715  // SetRoomMembership sets the RoomMembership field's value.
 26716  func (s *CreateRoomMembershipOutput) SetRoomMembership(v *RoomMembership) *CreateRoomMembershipOutput {
 26717  	s.RoomMembership = v
 26718  	return s
 26719  }
 26720  
 26721  type CreateRoomOutput struct {
 26722  	_ struct{} `type:"structure"`
 26723  
 26724  	// The room details.
 26725  	Room *Room `type:"structure"`
 26726  }
 26727  
 26728  // String returns the string representation.
 26729  //
 26730  // API parameter values that are decorated as "sensitive" in the API will not
 26731  // be included in the string output. The member name will be present, but the
 26732  // value will be replaced with "sensitive".
 26733  func (s CreateRoomOutput) String() string {
 26734  	return awsutil.Prettify(s)
 26735  }
 26736  
 26737  // GoString returns the string representation.
 26738  //
 26739  // API parameter values that are decorated as "sensitive" in the API will not
 26740  // be included in the string output. The member name will be present, but the
 26741  // value will be replaced with "sensitive".
 26742  func (s CreateRoomOutput) GoString() string {
 26743  	return s.String()
 26744  }
 26745  
 26746  // SetRoom sets the Room field's value.
 26747  func (s *CreateRoomOutput) SetRoom(v *Room) *CreateRoomOutput {
 26748  	s.Room = v
 26749  	return s
 26750  }
 26751  
 26752  type CreateSipMediaApplicationCallInput struct {
 26753  	_ struct{} `type:"structure"`
 26754  
 26755  	// The phone number that a user calls from. This is a phone number in your Amazon
 26756  	// Chime phone number inventory.
 26757  	//
 26758  	// FromPhoneNumber is a sensitive parameter and its value will be
 26759  	// replaced with "sensitive" in string returned by CreateSipMediaApplicationCallInput's
 26760  	// String and GoString methods.
 26761  	//
 26762  	// FromPhoneNumber is a required field
 26763  	FromPhoneNumber *string `type:"string" required:"true" sensitive:"true"`
 26764  
 26765  	// The SIP headers added to an outbound call leg.
 26766  	SipHeaders map[string]*string `type:"map"`
 26767  
 26768  	// The ID of the SIP media application.
 26769  	//
 26770  	// SipMediaApplicationId is a required field
 26771  	SipMediaApplicationId *string `location:"uri" locationName:"sipMediaApplicationId" type:"string" required:"true"`
 26772  
 26773  	// The phone number that the service should call.
 26774  	//
 26775  	// ToPhoneNumber is a sensitive parameter and its value will be
 26776  	// replaced with "sensitive" in string returned by CreateSipMediaApplicationCallInput's
 26777  	// String and GoString methods.
 26778  	//
 26779  	// ToPhoneNumber is a required field
 26780  	ToPhoneNumber *string `type:"string" required:"true" sensitive:"true"`
 26781  }
 26782  
 26783  // String returns the string representation.
 26784  //
 26785  // API parameter values that are decorated as "sensitive" in the API will not
 26786  // be included in the string output. The member name will be present, but the
 26787  // value will be replaced with "sensitive".
 26788  func (s CreateSipMediaApplicationCallInput) String() string {
 26789  	return awsutil.Prettify(s)
 26790  }
 26791  
 26792  // GoString returns the string representation.
 26793  //
 26794  // API parameter values that are decorated as "sensitive" in the API will not
 26795  // be included in the string output. The member name will be present, but the
 26796  // value will be replaced with "sensitive".
 26797  func (s CreateSipMediaApplicationCallInput) GoString() string {
 26798  	return s.String()
 26799  }
 26800  
 26801  // Validate inspects the fields of the type to determine if they are valid.
 26802  func (s *CreateSipMediaApplicationCallInput) Validate() error {
 26803  	invalidParams := request.ErrInvalidParams{Context: "CreateSipMediaApplicationCallInput"}
 26804  	if s.FromPhoneNumber == nil {
 26805  		invalidParams.Add(request.NewErrParamRequired("FromPhoneNumber"))
 26806  	}
 26807  	if s.SipMediaApplicationId == nil {
 26808  		invalidParams.Add(request.NewErrParamRequired("SipMediaApplicationId"))
 26809  	}
 26810  	if s.SipMediaApplicationId != nil && len(*s.SipMediaApplicationId) < 1 {
 26811  		invalidParams.Add(request.NewErrParamMinLen("SipMediaApplicationId", 1))
 26812  	}
 26813  	if s.ToPhoneNumber == nil {
 26814  		invalidParams.Add(request.NewErrParamRequired("ToPhoneNumber"))
 26815  	}
 26816  
 26817  	if invalidParams.Len() > 0 {
 26818  		return invalidParams
 26819  	}
 26820  	return nil
 26821  }
 26822  
 26823  // SetFromPhoneNumber sets the FromPhoneNumber field's value.
 26824  func (s *CreateSipMediaApplicationCallInput) SetFromPhoneNumber(v string) *CreateSipMediaApplicationCallInput {
 26825  	s.FromPhoneNumber = &v
 26826  	return s
 26827  }
 26828  
 26829  // SetSipHeaders sets the SipHeaders field's value.
 26830  func (s *CreateSipMediaApplicationCallInput) SetSipHeaders(v map[string]*string) *CreateSipMediaApplicationCallInput {
 26831  	s.SipHeaders = v
 26832  	return s
 26833  }
 26834  
 26835  // SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
 26836  func (s *CreateSipMediaApplicationCallInput) SetSipMediaApplicationId(v string) *CreateSipMediaApplicationCallInput {
 26837  	s.SipMediaApplicationId = &v
 26838  	return s
 26839  }
 26840  
 26841  // SetToPhoneNumber sets the ToPhoneNumber field's value.
 26842  func (s *CreateSipMediaApplicationCallInput) SetToPhoneNumber(v string) *CreateSipMediaApplicationCallInput {
 26843  	s.ToPhoneNumber = &v
 26844  	return s
 26845  }
 26846  
 26847  type CreateSipMediaApplicationCallOutput struct {
 26848  	_ struct{} `type:"structure"`
 26849  
 26850  	// The actual call.
 26851  	SipMediaApplicationCall *SipMediaApplicationCall `type:"structure"`
 26852  }
 26853  
 26854  // String returns the string representation.
 26855  //
 26856  // API parameter values that are decorated as "sensitive" in the API will not
 26857  // be included in the string output. The member name will be present, but the
 26858  // value will be replaced with "sensitive".
 26859  func (s CreateSipMediaApplicationCallOutput) String() string {
 26860  	return awsutil.Prettify(s)
 26861  }
 26862  
 26863  // GoString returns the string representation.
 26864  //
 26865  // API parameter values that are decorated as "sensitive" in the API will not
 26866  // be included in the string output. The member name will be present, but the
 26867  // value will be replaced with "sensitive".
 26868  func (s CreateSipMediaApplicationCallOutput) GoString() string {
 26869  	return s.String()
 26870  }
 26871  
 26872  // SetSipMediaApplicationCall sets the SipMediaApplicationCall field's value.
 26873  func (s *CreateSipMediaApplicationCallOutput) SetSipMediaApplicationCall(v *SipMediaApplicationCall) *CreateSipMediaApplicationCallOutput {
 26874  	s.SipMediaApplicationCall = v
 26875  	return s
 26876  }
 26877  
 26878  type CreateSipMediaApplicationInput struct {
 26879  	_ struct{} `type:"structure"`
 26880  
 26881  	// The AWS Region assigned to the SIP media application.
 26882  	//
 26883  	// AwsRegion is a required field
 26884  	AwsRegion *string `type:"string" required:"true"`
 26885  
 26886  	// List of endpoints (Lambda Amazon Resource Names) specified for the SIP media
 26887  	// application. Currently, only one endpoint is supported.
 26888  	//
 26889  	// Endpoints is a required field
 26890  	Endpoints []*SipMediaApplicationEndpoint `min:"1" type:"list" required:"true"`
 26891  
 26892  	// The SIP media application name.
 26893  	//
 26894  	// Name is a required field
 26895  	Name *string `min:"1" type:"string" required:"true"`
 26896  }
 26897  
 26898  // String returns the string representation.
 26899  //
 26900  // API parameter values that are decorated as "sensitive" in the API will not
 26901  // be included in the string output. The member name will be present, but the
 26902  // value will be replaced with "sensitive".
 26903  func (s CreateSipMediaApplicationInput) String() string {
 26904  	return awsutil.Prettify(s)
 26905  }
 26906  
 26907  // GoString returns the string representation.
 26908  //
 26909  // API parameter values that are decorated as "sensitive" in the API will not
 26910  // be included in the string output. The member name will be present, but the
 26911  // value will be replaced with "sensitive".
 26912  func (s CreateSipMediaApplicationInput) GoString() string {
 26913  	return s.String()
 26914  }
 26915  
 26916  // Validate inspects the fields of the type to determine if they are valid.
 26917  func (s *CreateSipMediaApplicationInput) Validate() error {
 26918  	invalidParams := request.ErrInvalidParams{Context: "CreateSipMediaApplicationInput"}
 26919  	if s.AwsRegion == nil {
 26920  		invalidParams.Add(request.NewErrParamRequired("AwsRegion"))
 26921  	}
 26922  	if s.Endpoints == nil {
 26923  		invalidParams.Add(request.NewErrParamRequired("Endpoints"))
 26924  	}
 26925  	if s.Endpoints != nil && len(s.Endpoints) < 1 {
 26926  		invalidParams.Add(request.NewErrParamMinLen("Endpoints", 1))
 26927  	}
 26928  	if s.Name == nil {
 26929  		invalidParams.Add(request.NewErrParamRequired("Name"))
 26930  	}
 26931  	if s.Name != nil && len(*s.Name) < 1 {
 26932  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 26933  	}
 26934  
 26935  	if invalidParams.Len() > 0 {
 26936  		return invalidParams
 26937  	}
 26938  	return nil
 26939  }
 26940  
 26941  // SetAwsRegion sets the AwsRegion field's value.
 26942  func (s *CreateSipMediaApplicationInput) SetAwsRegion(v string) *CreateSipMediaApplicationInput {
 26943  	s.AwsRegion = &v
 26944  	return s
 26945  }
 26946  
 26947  // SetEndpoints sets the Endpoints field's value.
 26948  func (s *CreateSipMediaApplicationInput) SetEndpoints(v []*SipMediaApplicationEndpoint) *CreateSipMediaApplicationInput {
 26949  	s.Endpoints = v
 26950  	return s
 26951  }
 26952  
 26953  // SetName sets the Name field's value.
 26954  func (s *CreateSipMediaApplicationInput) SetName(v string) *CreateSipMediaApplicationInput {
 26955  	s.Name = &v
 26956  	return s
 26957  }
 26958  
 26959  type CreateSipMediaApplicationOutput struct {
 26960  	_ struct{} `type:"structure"`
 26961  
 26962  	// The SIP media application details.
 26963  	SipMediaApplication *SipMediaApplication `type:"structure"`
 26964  }
 26965  
 26966  // String returns the string representation.
 26967  //
 26968  // API parameter values that are decorated as "sensitive" in the API will not
 26969  // be included in the string output. The member name will be present, but the
 26970  // value will be replaced with "sensitive".
 26971  func (s CreateSipMediaApplicationOutput) String() string {
 26972  	return awsutil.Prettify(s)
 26973  }
 26974  
 26975  // GoString returns the string representation.
 26976  //
 26977  // API parameter values that are decorated as "sensitive" in the API will not
 26978  // be included in the string output. The member name will be present, but the
 26979  // value will be replaced with "sensitive".
 26980  func (s CreateSipMediaApplicationOutput) GoString() string {
 26981  	return s.String()
 26982  }
 26983  
 26984  // SetSipMediaApplication sets the SipMediaApplication field's value.
 26985  func (s *CreateSipMediaApplicationOutput) SetSipMediaApplication(v *SipMediaApplication) *CreateSipMediaApplicationOutput {
 26986  	s.SipMediaApplication = v
 26987  	return s
 26988  }
 26989  
 26990  type CreateSipRuleInput struct {
 26991  	_ struct{} `type:"structure"`
 26992  
 26993  	// Enables or disables a rule. You must disable rules before you can delete
 26994  	// them.
 26995  	Disabled *bool `type:"boolean"`
 26996  
 26997  	// The name of the SIP rule.
 26998  	//
 26999  	// Name is a required field
 27000  	Name *string `min:"1" type:"string" required:"true"`
 27001  
 27002  	// List of SIP media applications with priority and AWS Region. Only one SIP
 27003  	// application per AWS Region can be used.
 27004  	//
 27005  	// TargetApplications is a required field
 27006  	TargetApplications []*SipRuleTargetApplication `min:"1" type:"list" required:"true"`
 27007  
 27008  	// The type of trigger assigned to the SIP rule in TriggerValue, currently RequestUriHostname
 27009  	// or ToPhoneNumber.
 27010  	//
 27011  	// TriggerType is a required field
 27012  	TriggerType *string `type:"string" required:"true" enum:"SipRuleTriggerType"`
 27013  
 27014  	// If TriggerType is RequestUriHostname, the value can be the outbound host
 27015  	// name of an Amazon Chime Voice Connector. If TriggerType is ToPhoneNumber,
 27016  	// the value can be a customer-owned phone number in the E164 format. The SipMediaApplication
 27017  	// specified in the SipRule is triggered if the request URI in an incoming SIP
 27018  	// request matches the RequestUriHostname, or if the To header in the incoming
 27019  	// SIP request matches the ToPhoneNumber value.
 27020  	//
 27021  	// TriggerValue is a required field
 27022  	TriggerValue *string `type:"string" required:"true"`
 27023  }
 27024  
 27025  // String returns the string representation.
 27026  //
 27027  // API parameter values that are decorated as "sensitive" in the API will not
 27028  // be included in the string output. The member name will be present, but the
 27029  // value will be replaced with "sensitive".
 27030  func (s CreateSipRuleInput) String() string {
 27031  	return awsutil.Prettify(s)
 27032  }
 27033  
 27034  // GoString returns the string representation.
 27035  //
 27036  // API parameter values that are decorated as "sensitive" in the API will not
 27037  // be included in the string output. The member name will be present, but the
 27038  // value will be replaced with "sensitive".
 27039  func (s CreateSipRuleInput) GoString() string {
 27040  	return s.String()
 27041  }
 27042  
 27043  // Validate inspects the fields of the type to determine if they are valid.
 27044  func (s *CreateSipRuleInput) Validate() error {
 27045  	invalidParams := request.ErrInvalidParams{Context: "CreateSipRuleInput"}
 27046  	if s.Name == nil {
 27047  		invalidParams.Add(request.NewErrParamRequired("Name"))
 27048  	}
 27049  	if s.Name != nil && len(*s.Name) < 1 {
 27050  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 27051  	}
 27052  	if s.TargetApplications == nil {
 27053  		invalidParams.Add(request.NewErrParamRequired("TargetApplications"))
 27054  	}
 27055  	if s.TargetApplications != nil && len(s.TargetApplications) < 1 {
 27056  		invalidParams.Add(request.NewErrParamMinLen("TargetApplications", 1))
 27057  	}
 27058  	if s.TriggerType == nil {
 27059  		invalidParams.Add(request.NewErrParamRequired("TriggerType"))
 27060  	}
 27061  	if s.TriggerValue == nil {
 27062  		invalidParams.Add(request.NewErrParamRequired("TriggerValue"))
 27063  	}
 27064  	if s.TargetApplications != nil {
 27065  		for i, v := range s.TargetApplications {
 27066  			if v == nil {
 27067  				continue
 27068  			}
 27069  			if err := v.Validate(); err != nil {
 27070  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TargetApplications", i), err.(request.ErrInvalidParams))
 27071  			}
 27072  		}
 27073  	}
 27074  
 27075  	if invalidParams.Len() > 0 {
 27076  		return invalidParams
 27077  	}
 27078  	return nil
 27079  }
 27080  
 27081  // SetDisabled sets the Disabled field's value.
 27082  func (s *CreateSipRuleInput) SetDisabled(v bool) *CreateSipRuleInput {
 27083  	s.Disabled = &v
 27084  	return s
 27085  }
 27086  
 27087  // SetName sets the Name field's value.
 27088  func (s *CreateSipRuleInput) SetName(v string) *CreateSipRuleInput {
 27089  	s.Name = &v
 27090  	return s
 27091  }
 27092  
 27093  // SetTargetApplications sets the TargetApplications field's value.
 27094  func (s *CreateSipRuleInput) SetTargetApplications(v []*SipRuleTargetApplication) *CreateSipRuleInput {
 27095  	s.TargetApplications = v
 27096  	return s
 27097  }
 27098  
 27099  // SetTriggerType sets the TriggerType field's value.
 27100  func (s *CreateSipRuleInput) SetTriggerType(v string) *CreateSipRuleInput {
 27101  	s.TriggerType = &v
 27102  	return s
 27103  }
 27104  
 27105  // SetTriggerValue sets the TriggerValue field's value.
 27106  func (s *CreateSipRuleInput) SetTriggerValue(v string) *CreateSipRuleInput {
 27107  	s.TriggerValue = &v
 27108  	return s
 27109  }
 27110  
 27111  type CreateSipRuleOutput struct {
 27112  	_ struct{} `type:"structure"`
 27113  
 27114  	// Returns the SIP rule information, including the rule ID, triggers, and target
 27115  	// applications.
 27116  	SipRule *SipRule `type:"structure"`
 27117  }
 27118  
 27119  // String returns the string representation.
 27120  //
 27121  // API parameter values that are decorated as "sensitive" in the API will not
 27122  // be included in the string output. The member name will be present, but the
 27123  // value will be replaced with "sensitive".
 27124  func (s CreateSipRuleOutput) String() string {
 27125  	return awsutil.Prettify(s)
 27126  }
 27127  
 27128  // GoString returns the string representation.
 27129  //
 27130  // API parameter values that are decorated as "sensitive" in the API will not
 27131  // be included in the string output. The member name will be present, but the
 27132  // value will be replaced with "sensitive".
 27133  func (s CreateSipRuleOutput) GoString() string {
 27134  	return s.String()
 27135  }
 27136  
 27137  // SetSipRule sets the SipRule field's value.
 27138  func (s *CreateSipRuleOutput) SetSipRule(v *SipRule) *CreateSipRuleOutput {
 27139  	s.SipRule = v
 27140  	return s
 27141  }
 27142  
 27143  type CreateUserInput struct {
 27144  	_ struct{} `type:"structure"`
 27145  
 27146  	// The Amazon Chime account ID.
 27147  	//
 27148  	// AccountId is a required field
 27149  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 27150  
 27151  	// The user's email address.
 27152  	//
 27153  	// Email is a sensitive parameter and its value will be
 27154  	// replaced with "sensitive" in string returned by CreateUserInput's
 27155  	// String and GoString methods.
 27156  	Email *string `type:"string" sensitive:"true"`
 27157  
 27158  	// The user type.
 27159  	UserType *string `type:"string" enum:"UserType"`
 27160  
 27161  	// The user name.
 27162  	Username *string `type:"string"`
 27163  }
 27164  
 27165  // String returns the string representation.
 27166  //
 27167  // API parameter values that are decorated as "sensitive" in the API will not
 27168  // be included in the string output. The member name will be present, but the
 27169  // value will be replaced with "sensitive".
 27170  func (s CreateUserInput) String() string {
 27171  	return awsutil.Prettify(s)
 27172  }
 27173  
 27174  // GoString returns the string representation.
 27175  //
 27176  // API parameter values that are decorated as "sensitive" in the API will not
 27177  // be included in the string output. The member name will be present, but the
 27178  // value will be replaced with "sensitive".
 27179  func (s CreateUserInput) GoString() string {
 27180  	return s.String()
 27181  }
 27182  
 27183  // Validate inspects the fields of the type to determine if they are valid.
 27184  func (s *CreateUserInput) Validate() error {
 27185  	invalidParams := request.ErrInvalidParams{Context: "CreateUserInput"}
 27186  	if s.AccountId == nil {
 27187  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 27188  	}
 27189  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 27190  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 27191  	}
 27192  
 27193  	if invalidParams.Len() > 0 {
 27194  		return invalidParams
 27195  	}
 27196  	return nil
 27197  }
 27198  
 27199  // SetAccountId sets the AccountId field's value.
 27200  func (s *CreateUserInput) SetAccountId(v string) *CreateUserInput {
 27201  	s.AccountId = &v
 27202  	return s
 27203  }
 27204  
 27205  // SetEmail sets the Email field's value.
 27206  func (s *CreateUserInput) SetEmail(v string) *CreateUserInput {
 27207  	s.Email = &v
 27208  	return s
 27209  }
 27210  
 27211  // SetUserType sets the UserType field's value.
 27212  func (s *CreateUserInput) SetUserType(v string) *CreateUserInput {
 27213  	s.UserType = &v
 27214  	return s
 27215  }
 27216  
 27217  // SetUsername sets the Username field's value.
 27218  func (s *CreateUserInput) SetUsername(v string) *CreateUserInput {
 27219  	s.Username = &v
 27220  	return s
 27221  }
 27222  
 27223  type CreateUserOutput struct {
 27224  	_ struct{} `type:"structure"`
 27225  
 27226  	// The user on the Amazon Chime account.
 27227  	User *User `type:"structure"`
 27228  }
 27229  
 27230  // String returns the string representation.
 27231  //
 27232  // API parameter values that are decorated as "sensitive" in the API will not
 27233  // be included in the string output. The member name will be present, but the
 27234  // value will be replaced with "sensitive".
 27235  func (s CreateUserOutput) String() string {
 27236  	return awsutil.Prettify(s)
 27237  }
 27238  
 27239  // GoString returns the string representation.
 27240  //
 27241  // API parameter values that are decorated as "sensitive" in the API will not
 27242  // be included in the string output. The member name will be present, but the
 27243  // value will be replaced with "sensitive".
 27244  func (s CreateUserOutput) GoString() string {
 27245  	return s.String()
 27246  }
 27247  
 27248  // SetUser sets the User field's value.
 27249  func (s *CreateUserOutput) SetUser(v *User) *CreateUserOutput {
 27250  	s.User = v
 27251  	return s
 27252  }
 27253  
 27254  type CreateVoiceConnectorGroupInput struct {
 27255  	_ struct{} `type:"structure"`
 27256  
 27257  	// The name of the Amazon Chime Voice Connector group.
 27258  	//
 27259  	// Name is a required field
 27260  	Name *string `min:"1" type:"string" required:"true"`
 27261  
 27262  	// The Amazon Chime Voice Connectors to route inbound calls to.
 27263  	VoiceConnectorItems []*VoiceConnectorItem `type:"list"`
 27264  }
 27265  
 27266  // String returns the string representation.
 27267  //
 27268  // API parameter values that are decorated as "sensitive" in the API will not
 27269  // be included in the string output. The member name will be present, but the
 27270  // value will be replaced with "sensitive".
 27271  func (s CreateVoiceConnectorGroupInput) String() string {
 27272  	return awsutil.Prettify(s)
 27273  }
 27274  
 27275  // GoString returns the string representation.
 27276  //
 27277  // API parameter values that are decorated as "sensitive" in the API will not
 27278  // be included in the string output. The member name will be present, but the
 27279  // value will be replaced with "sensitive".
 27280  func (s CreateVoiceConnectorGroupInput) GoString() string {
 27281  	return s.String()
 27282  }
 27283  
 27284  // Validate inspects the fields of the type to determine if they are valid.
 27285  func (s *CreateVoiceConnectorGroupInput) Validate() error {
 27286  	invalidParams := request.ErrInvalidParams{Context: "CreateVoiceConnectorGroupInput"}
 27287  	if s.Name == nil {
 27288  		invalidParams.Add(request.NewErrParamRequired("Name"))
 27289  	}
 27290  	if s.Name != nil && len(*s.Name) < 1 {
 27291  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 27292  	}
 27293  	if s.VoiceConnectorItems != nil {
 27294  		for i, v := range s.VoiceConnectorItems {
 27295  			if v == nil {
 27296  				continue
 27297  			}
 27298  			if err := v.Validate(); err != nil {
 27299  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "VoiceConnectorItems", i), err.(request.ErrInvalidParams))
 27300  			}
 27301  		}
 27302  	}
 27303  
 27304  	if invalidParams.Len() > 0 {
 27305  		return invalidParams
 27306  	}
 27307  	return nil
 27308  }
 27309  
 27310  // SetName sets the Name field's value.
 27311  func (s *CreateVoiceConnectorGroupInput) SetName(v string) *CreateVoiceConnectorGroupInput {
 27312  	s.Name = &v
 27313  	return s
 27314  }
 27315  
 27316  // SetVoiceConnectorItems sets the VoiceConnectorItems field's value.
 27317  func (s *CreateVoiceConnectorGroupInput) SetVoiceConnectorItems(v []*VoiceConnectorItem) *CreateVoiceConnectorGroupInput {
 27318  	s.VoiceConnectorItems = v
 27319  	return s
 27320  }
 27321  
 27322  type CreateVoiceConnectorGroupOutput struct {
 27323  	_ struct{} `type:"structure"`
 27324  
 27325  	// The Amazon Chime Voice Connector group details.
 27326  	VoiceConnectorGroup *VoiceConnectorGroup `type:"structure"`
 27327  }
 27328  
 27329  // String returns the string representation.
 27330  //
 27331  // API parameter values that are decorated as "sensitive" in the API will not
 27332  // be included in the string output. The member name will be present, but the
 27333  // value will be replaced with "sensitive".
 27334  func (s CreateVoiceConnectorGroupOutput) String() string {
 27335  	return awsutil.Prettify(s)
 27336  }
 27337  
 27338  // GoString returns the string representation.
 27339  //
 27340  // API parameter values that are decorated as "sensitive" in the API will not
 27341  // be included in the string output. The member name will be present, but the
 27342  // value will be replaced with "sensitive".
 27343  func (s CreateVoiceConnectorGroupOutput) GoString() string {
 27344  	return s.String()
 27345  }
 27346  
 27347  // SetVoiceConnectorGroup sets the VoiceConnectorGroup field's value.
 27348  func (s *CreateVoiceConnectorGroupOutput) SetVoiceConnectorGroup(v *VoiceConnectorGroup) *CreateVoiceConnectorGroupOutput {
 27349  	s.VoiceConnectorGroup = v
 27350  	return s
 27351  }
 27352  
 27353  type CreateVoiceConnectorInput struct {
 27354  	_ struct{} `type:"structure"`
 27355  
 27356  	// The AWS Region in which the Amazon Chime Voice Connector is created. Default
 27357  	// value: us-east-1 .
 27358  	AwsRegion *string `type:"string" enum:"VoiceConnectorAwsRegion"`
 27359  
 27360  	// The name of the Amazon Chime Voice Connector.
 27361  	//
 27362  	// Name is a required field
 27363  	Name *string `min:"1" type:"string" required:"true"`
 27364  
 27365  	// When enabled, requires encryption for the Amazon Chime Voice Connector.
 27366  	//
 27367  	// RequireEncryption is a required field
 27368  	RequireEncryption *bool `type:"boolean" required:"true"`
 27369  }
 27370  
 27371  // String returns the string representation.
 27372  //
 27373  // API parameter values that are decorated as "sensitive" in the API will not
 27374  // be included in the string output. The member name will be present, but the
 27375  // value will be replaced with "sensitive".
 27376  func (s CreateVoiceConnectorInput) String() string {
 27377  	return awsutil.Prettify(s)
 27378  }
 27379  
 27380  // GoString returns the string representation.
 27381  //
 27382  // API parameter values that are decorated as "sensitive" in the API will not
 27383  // be included in the string output. The member name will be present, but the
 27384  // value will be replaced with "sensitive".
 27385  func (s CreateVoiceConnectorInput) GoString() string {
 27386  	return s.String()
 27387  }
 27388  
 27389  // Validate inspects the fields of the type to determine if they are valid.
 27390  func (s *CreateVoiceConnectorInput) Validate() error {
 27391  	invalidParams := request.ErrInvalidParams{Context: "CreateVoiceConnectorInput"}
 27392  	if s.Name == nil {
 27393  		invalidParams.Add(request.NewErrParamRequired("Name"))
 27394  	}
 27395  	if s.Name != nil && len(*s.Name) < 1 {
 27396  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 27397  	}
 27398  	if s.RequireEncryption == nil {
 27399  		invalidParams.Add(request.NewErrParamRequired("RequireEncryption"))
 27400  	}
 27401  
 27402  	if invalidParams.Len() > 0 {
 27403  		return invalidParams
 27404  	}
 27405  	return nil
 27406  }
 27407  
 27408  // SetAwsRegion sets the AwsRegion field's value.
 27409  func (s *CreateVoiceConnectorInput) SetAwsRegion(v string) *CreateVoiceConnectorInput {
 27410  	s.AwsRegion = &v
 27411  	return s
 27412  }
 27413  
 27414  // SetName sets the Name field's value.
 27415  func (s *CreateVoiceConnectorInput) SetName(v string) *CreateVoiceConnectorInput {
 27416  	s.Name = &v
 27417  	return s
 27418  }
 27419  
 27420  // SetRequireEncryption sets the RequireEncryption field's value.
 27421  func (s *CreateVoiceConnectorInput) SetRequireEncryption(v bool) *CreateVoiceConnectorInput {
 27422  	s.RequireEncryption = &v
 27423  	return s
 27424  }
 27425  
 27426  type CreateVoiceConnectorOutput struct {
 27427  	_ struct{} `type:"structure"`
 27428  
 27429  	// The Amazon Chime Voice Connector details.
 27430  	VoiceConnector *VoiceConnector `type:"structure"`
 27431  }
 27432  
 27433  // String returns the string representation.
 27434  //
 27435  // API parameter values that are decorated as "sensitive" in the API will not
 27436  // be included in the string output. The member name will be present, but the
 27437  // value will be replaced with "sensitive".
 27438  func (s CreateVoiceConnectorOutput) String() string {
 27439  	return awsutil.Prettify(s)
 27440  }
 27441  
 27442  // GoString returns the string representation.
 27443  //
 27444  // API parameter values that are decorated as "sensitive" in the API will not
 27445  // be included in the string output. The member name will be present, but the
 27446  // value will be replaced with "sensitive".
 27447  func (s CreateVoiceConnectorOutput) GoString() string {
 27448  	return s.String()
 27449  }
 27450  
 27451  // SetVoiceConnector sets the VoiceConnector field's value.
 27452  func (s *CreateVoiceConnectorOutput) SetVoiceConnector(v *VoiceConnector) *CreateVoiceConnectorOutput {
 27453  	s.VoiceConnector = v
 27454  	return s
 27455  }
 27456  
 27457  // The SIP credentials used to authenticate requests to your Amazon Chime Voice
 27458  // Connector.
 27459  type Credential struct {
 27460  	_ struct{} `type:"structure"`
 27461  
 27462  	// The RFC2617 compliant password associated with the SIP credentials, in US-ASCII
 27463  	// format.
 27464  	//
 27465  	// Password is a sensitive parameter and its value will be
 27466  	// replaced with "sensitive" in string returned by Credential's
 27467  	// String and GoString methods.
 27468  	Password *string `type:"string" sensitive:"true"`
 27469  
 27470  	// The RFC2617 compliant user name associated with the SIP credentials, in US-ASCII
 27471  	// format.
 27472  	//
 27473  	// Username is a sensitive parameter and its value will be
 27474  	// replaced with "sensitive" in string returned by Credential's
 27475  	// String and GoString methods.
 27476  	Username *string `type:"string" sensitive:"true"`
 27477  }
 27478  
 27479  // String returns the string representation.
 27480  //
 27481  // API parameter values that are decorated as "sensitive" in the API will not
 27482  // be included in the string output. The member name will be present, but the
 27483  // value will be replaced with "sensitive".
 27484  func (s Credential) String() string {
 27485  	return awsutil.Prettify(s)
 27486  }
 27487  
 27488  // GoString returns the string representation.
 27489  //
 27490  // API parameter values that are decorated as "sensitive" in the API will not
 27491  // be included in the string output. The member name will be present, but the
 27492  // value will be replaced with "sensitive".
 27493  func (s Credential) GoString() string {
 27494  	return s.String()
 27495  }
 27496  
 27497  // SetPassword sets the Password field's value.
 27498  func (s *Credential) SetPassword(v string) *Credential {
 27499  	s.Password = &v
 27500  	return s
 27501  }
 27502  
 27503  // SetUsername sets the Username field's value.
 27504  func (s *Credential) SetUsername(v string) *Credential {
 27505  	s.Username = &v
 27506  	return s
 27507  }
 27508  
 27509  // The Dialed Number Identification Service (DNIS) emergency calling configuration
 27510  // details associated with an Amazon Chime Voice Connector's emergency calling
 27511  // configuration.
 27512  type DNISEmergencyCallingConfiguration struct {
 27513  	_ struct{} `type:"structure"`
 27514  
 27515  	// The country from which emergency calls are allowed, in ISO 3166-1 alpha-2
 27516  	// format.
 27517  	//
 27518  	// CallingCountry is a required field
 27519  	CallingCountry *string `type:"string" required:"true"`
 27520  
 27521  	// The DNIS phone number to route emergency calls to, in E.164 format.
 27522  	//
 27523  	// EmergencyPhoneNumber is a sensitive parameter and its value will be
 27524  	// replaced with "sensitive" in string returned by DNISEmergencyCallingConfiguration's
 27525  	// String and GoString methods.
 27526  	//
 27527  	// EmergencyPhoneNumber is a required field
 27528  	EmergencyPhoneNumber *string `type:"string" required:"true" sensitive:"true"`
 27529  
 27530  	// The DNIS phone number to route test emergency calls to, in E.164 format.
 27531  	//
 27532  	// TestPhoneNumber is a sensitive parameter and its value will be
 27533  	// replaced with "sensitive" in string returned by DNISEmergencyCallingConfiguration's
 27534  	// String and GoString methods.
 27535  	TestPhoneNumber *string `type:"string" sensitive:"true"`
 27536  }
 27537  
 27538  // String returns the string representation.
 27539  //
 27540  // API parameter values that are decorated as "sensitive" in the API will not
 27541  // be included in the string output. The member name will be present, but the
 27542  // value will be replaced with "sensitive".
 27543  func (s DNISEmergencyCallingConfiguration) String() string {
 27544  	return awsutil.Prettify(s)
 27545  }
 27546  
 27547  // GoString returns the string representation.
 27548  //
 27549  // API parameter values that are decorated as "sensitive" in the API will not
 27550  // be included in the string output. The member name will be present, but the
 27551  // value will be replaced with "sensitive".
 27552  func (s DNISEmergencyCallingConfiguration) GoString() string {
 27553  	return s.String()
 27554  }
 27555  
 27556  // Validate inspects the fields of the type to determine if they are valid.
 27557  func (s *DNISEmergencyCallingConfiguration) Validate() error {
 27558  	invalidParams := request.ErrInvalidParams{Context: "DNISEmergencyCallingConfiguration"}
 27559  	if s.CallingCountry == nil {
 27560  		invalidParams.Add(request.NewErrParamRequired("CallingCountry"))
 27561  	}
 27562  	if s.EmergencyPhoneNumber == nil {
 27563  		invalidParams.Add(request.NewErrParamRequired("EmergencyPhoneNumber"))
 27564  	}
 27565  
 27566  	if invalidParams.Len() > 0 {
 27567  		return invalidParams
 27568  	}
 27569  	return nil
 27570  }
 27571  
 27572  // SetCallingCountry sets the CallingCountry field's value.
 27573  func (s *DNISEmergencyCallingConfiguration) SetCallingCountry(v string) *DNISEmergencyCallingConfiguration {
 27574  	s.CallingCountry = &v
 27575  	return s
 27576  }
 27577  
 27578  // SetEmergencyPhoneNumber sets the EmergencyPhoneNumber field's value.
 27579  func (s *DNISEmergencyCallingConfiguration) SetEmergencyPhoneNumber(v string) *DNISEmergencyCallingConfiguration {
 27580  	s.EmergencyPhoneNumber = &v
 27581  	return s
 27582  }
 27583  
 27584  // SetTestPhoneNumber sets the TestPhoneNumber field's value.
 27585  func (s *DNISEmergencyCallingConfiguration) SetTestPhoneNumber(v string) *DNISEmergencyCallingConfiguration {
 27586  	s.TestPhoneNumber = &v
 27587  	return s
 27588  }
 27589  
 27590  type DeleteAccountInput struct {
 27591  	_ struct{} `type:"structure" nopayload:"true"`
 27592  
 27593  	// The Amazon Chime account ID.
 27594  	//
 27595  	// AccountId is a required field
 27596  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 27597  }
 27598  
 27599  // String returns the string representation.
 27600  //
 27601  // API parameter values that are decorated as "sensitive" in the API will not
 27602  // be included in the string output. The member name will be present, but the
 27603  // value will be replaced with "sensitive".
 27604  func (s DeleteAccountInput) String() string {
 27605  	return awsutil.Prettify(s)
 27606  }
 27607  
 27608  // GoString returns the string representation.
 27609  //
 27610  // API parameter values that are decorated as "sensitive" in the API will not
 27611  // be included in the string output. The member name will be present, but the
 27612  // value will be replaced with "sensitive".
 27613  func (s DeleteAccountInput) GoString() string {
 27614  	return s.String()
 27615  }
 27616  
 27617  // Validate inspects the fields of the type to determine if they are valid.
 27618  func (s *DeleteAccountInput) Validate() error {
 27619  	invalidParams := request.ErrInvalidParams{Context: "DeleteAccountInput"}
 27620  	if s.AccountId == nil {
 27621  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 27622  	}
 27623  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 27624  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 27625  	}
 27626  
 27627  	if invalidParams.Len() > 0 {
 27628  		return invalidParams
 27629  	}
 27630  	return nil
 27631  }
 27632  
 27633  // SetAccountId sets the AccountId field's value.
 27634  func (s *DeleteAccountInput) SetAccountId(v string) *DeleteAccountInput {
 27635  	s.AccountId = &v
 27636  	return s
 27637  }
 27638  
 27639  type DeleteAccountOutput struct {
 27640  	_ struct{} `type:"structure" nopayload:"true"`
 27641  }
 27642  
 27643  // String returns the string representation.
 27644  //
 27645  // API parameter values that are decorated as "sensitive" in the API will not
 27646  // be included in the string output. The member name will be present, but the
 27647  // value will be replaced with "sensitive".
 27648  func (s DeleteAccountOutput) String() string {
 27649  	return awsutil.Prettify(s)
 27650  }
 27651  
 27652  // GoString returns the string representation.
 27653  //
 27654  // API parameter values that are decorated as "sensitive" in the API will not
 27655  // be included in the string output. The member name will be present, but the
 27656  // value will be replaced with "sensitive".
 27657  func (s DeleteAccountOutput) GoString() string {
 27658  	return s.String()
 27659  }
 27660  
 27661  type DeleteAppInstanceAdminInput struct {
 27662  	_ struct{} `type:"structure" nopayload:"true"`
 27663  
 27664  	// The ARN of the AppInstance's administrator.
 27665  	//
 27666  	// AppInstanceAdminArn is a required field
 27667  	AppInstanceAdminArn *string `location:"uri" locationName:"appInstanceAdminArn" min:"5" type:"string" required:"true"`
 27668  
 27669  	// The ARN of the AppInstance.
 27670  	//
 27671  	// AppInstanceArn is a required field
 27672  	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
 27673  }
 27674  
 27675  // String returns the string representation.
 27676  //
 27677  // API parameter values that are decorated as "sensitive" in the API will not
 27678  // be included in the string output. The member name will be present, but the
 27679  // value will be replaced with "sensitive".
 27680  func (s DeleteAppInstanceAdminInput) String() string {
 27681  	return awsutil.Prettify(s)
 27682  }
 27683  
 27684  // GoString returns the string representation.
 27685  //
 27686  // API parameter values that are decorated as "sensitive" in the API will not
 27687  // be included in the string output. The member name will be present, but the
 27688  // value will be replaced with "sensitive".
 27689  func (s DeleteAppInstanceAdminInput) GoString() string {
 27690  	return s.String()
 27691  }
 27692  
 27693  // Validate inspects the fields of the type to determine if they are valid.
 27694  func (s *DeleteAppInstanceAdminInput) Validate() error {
 27695  	invalidParams := request.ErrInvalidParams{Context: "DeleteAppInstanceAdminInput"}
 27696  	if s.AppInstanceAdminArn == nil {
 27697  		invalidParams.Add(request.NewErrParamRequired("AppInstanceAdminArn"))
 27698  	}
 27699  	if s.AppInstanceAdminArn != nil && len(*s.AppInstanceAdminArn) < 5 {
 27700  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceAdminArn", 5))
 27701  	}
 27702  	if s.AppInstanceArn == nil {
 27703  		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
 27704  	}
 27705  	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
 27706  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
 27707  	}
 27708  
 27709  	if invalidParams.Len() > 0 {
 27710  		return invalidParams
 27711  	}
 27712  	return nil
 27713  }
 27714  
 27715  // SetAppInstanceAdminArn sets the AppInstanceAdminArn field's value.
 27716  func (s *DeleteAppInstanceAdminInput) SetAppInstanceAdminArn(v string) *DeleteAppInstanceAdminInput {
 27717  	s.AppInstanceAdminArn = &v
 27718  	return s
 27719  }
 27720  
 27721  // SetAppInstanceArn sets the AppInstanceArn field's value.
 27722  func (s *DeleteAppInstanceAdminInput) SetAppInstanceArn(v string) *DeleteAppInstanceAdminInput {
 27723  	s.AppInstanceArn = &v
 27724  	return s
 27725  }
 27726  
 27727  type DeleteAppInstanceAdminOutput struct {
 27728  	_ struct{} `type:"structure" nopayload:"true"`
 27729  }
 27730  
 27731  // String returns the string representation.
 27732  //
 27733  // API parameter values that are decorated as "sensitive" in the API will not
 27734  // be included in the string output. The member name will be present, but the
 27735  // value will be replaced with "sensitive".
 27736  func (s DeleteAppInstanceAdminOutput) String() string {
 27737  	return awsutil.Prettify(s)
 27738  }
 27739  
 27740  // GoString returns the string representation.
 27741  //
 27742  // API parameter values that are decorated as "sensitive" in the API will not
 27743  // be included in the string output. The member name will be present, but the
 27744  // value will be replaced with "sensitive".
 27745  func (s DeleteAppInstanceAdminOutput) GoString() string {
 27746  	return s.String()
 27747  }
 27748  
 27749  type DeleteAppInstanceInput struct {
 27750  	_ struct{} `type:"structure" nopayload:"true"`
 27751  
 27752  	// The ARN of the AppInstance.
 27753  	//
 27754  	// AppInstanceArn is a required field
 27755  	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
 27756  }
 27757  
 27758  // String returns the string representation.
 27759  //
 27760  // API parameter values that are decorated as "sensitive" in the API will not
 27761  // be included in the string output. The member name will be present, but the
 27762  // value will be replaced with "sensitive".
 27763  func (s DeleteAppInstanceInput) String() string {
 27764  	return awsutil.Prettify(s)
 27765  }
 27766  
 27767  // GoString returns the string representation.
 27768  //
 27769  // API parameter values that are decorated as "sensitive" in the API will not
 27770  // be included in the string output. The member name will be present, but the
 27771  // value will be replaced with "sensitive".
 27772  func (s DeleteAppInstanceInput) GoString() string {
 27773  	return s.String()
 27774  }
 27775  
 27776  // Validate inspects the fields of the type to determine if they are valid.
 27777  func (s *DeleteAppInstanceInput) Validate() error {
 27778  	invalidParams := request.ErrInvalidParams{Context: "DeleteAppInstanceInput"}
 27779  	if s.AppInstanceArn == nil {
 27780  		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
 27781  	}
 27782  	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
 27783  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
 27784  	}
 27785  
 27786  	if invalidParams.Len() > 0 {
 27787  		return invalidParams
 27788  	}
 27789  	return nil
 27790  }
 27791  
 27792  // SetAppInstanceArn sets the AppInstanceArn field's value.
 27793  func (s *DeleteAppInstanceInput) SetAppInstanceArn(v string) *DeleteAppInstanceInput {
 27794  	s.AppInstanceArn = &v
 27795  	return s
 27796  }
 27797  
 27798  type DeleteAppInstanceOutput struct {
 27799  	_ struct{} `type:"structure" nopayload:"true"`
 27800  }
 27801  
 27802  // String returns the string representation.
 27803  //
 27804  // API parameter values that are decorated as "sensitive" in the API will not
 27805  // be included in the string output. The member name will be present, but the
 27806  // value will be replaced with "sensitive".
 27807  func (s DeleteAppInstanceOutput) String() string {
 27808  	return awsutil.Prettify(s)
 27809  }
 27810  
 27811  // GoString returns the string representation.
 27812  //
 27813  // API parameter values that are decorated as "sensitive" in the API will not
 27814  // be included in the string output. The member name will be present, but the
 27815  // value will be replaced with "sensitive".
 27816  func (s DeleteAppInstanceOutput) GoString() string {
 27817  	return s.String()
 27818  }
 27819  
 27820  type DeleteAppInstanceStreamingConfigurationsInput struct {
 27821  	_ struct{} `type:"structure" nopayload:"true"`
 27822  
 27823  	// The ARN of the streaming configurations being deleted.
 27824  	//
 27825  	// AppInstanceArn is a required field
 27826  	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
 27827  }
 27828  
 27829  // String returns the string representation.
 27830  //
 27831  // API parameter values that are decorated as "sensitive" in the API will not
 27832  // be included in the string output. The member name will be present, but the
 27833  // value will be replaced with "sensitive".
 27834  func (s DeleteAppInstanceStreamingConfigurationsInput) String() string {
 27835  	return awsutil.Prettify(s)
 27836  }
 27837  
 27838  // GoString returns the string representation.
 27839  //
 27840  // API parameter values that are decorated as "sensitive" in the API will not
 27841  // be included in the string output. The member name will be present, but the
 27842  // value will be replaced with "sensitive".
 27843  func (s DeleteAppInstanceStreamingConfigurationsInput) GoString() string {
 27844  	return s.String()
 27845  }
 27846  
 27847  // Validate inspects the fields of the type to determine if they are valid.
 27848  func (s *DeleteAppInstanceStreamingConfigurationsInput) Validate() error {
 27849  	invalidParams := request.ErrInvalidParams{Context: "DeleteAppInstanceStreamingConfigurationsInput"}
 27850  	if s.AppInstanceArn == nil {
 27851  		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
 27852  	}
 27853  	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
 27854  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
 27855  	}
 27856  
 27857  	if invalidParams.Len() > 0 {
 27858  		return invalidParams
 27859  	}
 27860  	return nil
 27861  }
 27862  
 27863  // SetAppInstanceArn sets the AppInstanceArn field's value.
 27864  func (s *DeleteAppInstanceStreamingConfigurationsInput) SetAppInstanceArn(v string) *DeleteAppInstanceStreamingConfigurationsInput {
 27865  	s.AppInstanceArn = &v
 27866  	return s
 27867  }
 27868  
 27869  type DeleteAppInstanceStreamingConfigurationsOutput struct {
 27870  	_ struct{} `type:"structure" nopayload:"true"`
 27871  }
 27872  
 27873  // String returns the string representation.
 27874  //
 27875  // API parameter values that are decorated as "sensitive" in the API will not
 27876  // be included in the string output. The member name will be present, but the
 27877  // value will be replaced with "sensitive".
 27878  func (s DeleteAppInstanceStreamingConfigurationsOutput) String() string {
 27879  	return awsutil.Prettify(s)
 27880  }
 27881  
 27882  // GoString returns the string representation.
 27883  //
 27884  // API parameter values that are decorated as "sensitive" in the API will not
 27885  // be included in the string output. The member name will be present, but the
 27886  // value will be replaced with "sensitive".
 27887  func (s DeleteAppInstanceStreamingConfigurationsOutput) GoString() string {
 27888  	return s.String()
 27889  }
 27890  
 27891  type DeleteAppInstanceUserInput struct {
 27892  	_ struct{} `type:"structure" nopayload:"true"`
 27893  
 27894  	// The ARN of the user request being deleted.
 27895  	//
 27896  	// AppInstanceUserArn is a required field
 27897  	AppInstanceUserArn *string `location:"uri" locationName:"appInstanceUserArn" min:"5" type:"string" required:"true"`
 27898  }
 27899  
 27900  // String returns the string representation.
 27901  //
 27902  // API parameter values that are decorated as "sensitive" in the API will not
 27903  // be included in the string output. The member name will be present, but the
 27904  // value will be replaced with "sensitive".
 27905  func (s DeleteAppInstanceUserInput) String() string {
 27906  	return awsutil.Prettify(s)
 27907  }
 27908  
 27909  // GoString returns the string representation.
 27910  //
 27911  // API parameter values that are decorated as "sensitive" in the API will not
 27912  // be included in the string output. The member name will be present, but the
 27913  // value will be replaced with "sensitive".
 27914  func (s DeleteAppInstanceUserInput) GoString() string {
 27915  	return s.String()
 27916  }
 27917  
 27918  // Validate inspects the fields of the type to determine if they are valid.
 27919  func (s *DeleteAppInstanceUserInput) Validate() error {
 27920  	invalidParams := request.ErrInvalidParams{Context: "DeleteAppInstanceUserInput"}
 27921  	if s.AppInstanceUserArn == nil {
 27922  		invalidParams.Add(request.NewErrParamRequired("AppInstanceUserArn"))
 27923  	}
 27924  	if s.AppInstanceUserArn != nil && len(*s.AppInstanceUserArn) < 5 {
 27925  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceUserArn", 5))
 27926  	}
 27927  
 27928  	if invalidParams.Len() > 0 {
 27929  		return invalidParams
 27930  	}
 27931  	return nil
 27932  }
 27933  
 27934  // SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
 27935  func (s *DeleteAppInstanceUserInput) SetAppInstanceUserArn(v string) *DeleteAppInstanceUserInput {
 27936  	s.AppInstanceUserArn = &v
 27937  	return s
 27938  }
 27939  
 27940  type DeleteAppInstanceUserOutput struct {
 27941  	_ struct{} `type:"structure" nopayload:"true"`
 27942  }
 27943  
 27944  // String returns the string representation.
 27945  //
 27946  // API parameter values that are decorated as "sensitive" in the API will not
 27947  // be included in the string output. The member name will be present, but the
 27948  // value will be replaced with "sensitive".
 27949  func (s DeleteAppInstanceUserOutput) String() string {
 27950  	return awsutil.Prettify(s)
 27951  }
 27952  
 27953  // GoString returns the string representation.
 27954  //
 27955  // API parameter values that are decorated as "sensitive" in the API will not
 27956  // be included in the string output. The member name will be present, but the
 27957  // value will be replaced with "sensitive".
 27958  func (s DeleteAppInstanceUserOutput) GoString() string {
 27959  	return s.String()
 27960  }
 27961  
 27962  type DeleteAttendeeInput struct {
 27963  	_ struct{} `type:"structure" nopayload:"true"`
 27964  
 27965  	// The Amazon Chime SDK attendee ID.
 27966  	//
 27967  	// AttendeeId is a required field
 27968  	AttendeeId *string `location:"uri" locationName:"attendeeId" type:"string" required:"true"`
 27969  
 27970  	// The Amazon Chime SDK meeting ID.
 27971  	//
 27972  	// MeetingId is a required field
 27973  	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
 27974  }
 27975  
 27976  // String returns the string representation.
 27977  //
 27978  // API parameter values that are decorated as "sensitive" in the API will not
 27979  // be included in the string output. The member name will be present, but the
 27980  // value will be replaced with "sensitive".
 27981  func (s DeleteAttendeeInput) String() string {
 27982  	return awsutil.Prettify(s)
 27983  }
 27984  
 27985  // GoString returns the string representation.
 27986  //
 27987  // API parameter values that are decorated as "sensitive" in the API will not
 27988  // be included in the string output. The member name will be present, but the
 27989  // value will be replaced with "sensitive".
 27990  func (s DeleteAttendeeInput) GoString() string {
 27991  	return s.String()
 27992  }
 27993  
 27994  // Validate inspects the fields of the type to determine if they are valid.
 27995  func (s *DeleteAttendeeInput) Validate() error {
 27996  	invalidParams := request.ErrInvalidParams{Context: "DeleteAttendeeInput"}
 27997  	if s.AttendeeId == nil {
 27998  		invalidParams.Add(request.NewErrParamRequired("AttendeeId"))
 27999  	}
 28000  	if s.AttendeeId != nil && len(*s.AttendeeId) < 1 {
 28001  		invalidParams.Add(request.NewErrParamMinLen("AttendeeId", 1))
 28002  	}
 28003  	if s.MeetingId == nil {
 28004  		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
 28005  	}
 28006  	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
 28007  		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
 28008  	}
 28009  
 28010  	if invalidParams.Len() > 0 {
 28011  		return invalidParams
 28012  	}
 28013  	return nil
 28014  }
 28015  
 28016  // SetAttendeeId sets the AttendeeId field's value.
 28017  func (s *DeleteAttendeeInput) SetAttendeeId(v string) *DeleteAttendeeInput {
 28018  	s.AttendeeId = &v
 28019  	return s
 28020  }
 28021  
 28022  // SetMeetingId sets the MeetingId field's value.
 28023  func (s *DeleteAttendeeInput) SetMeetingId(v string) *DeleteAttendeeInput {
 28024  	s.MeetingId = &v
 28025  	return s
 28026  }
 28027  
 28028  type DeleteAttendeeOutput struct {
 28029  	_ struct{} `type:"structure" nopayload:"true"`
 28030  }
 28031  
 28032  // String returns the string representation.
 28033  //
 28034  // API parameter values that are decorated as "sensitive" in the API will not
 28035  // be included in the string output. The member name will be present, but the
 28036  // value will be replaced with "sensitive".
 28037  func (s DeleteAttendeeOutput) String() string {
 28038  	return awsutil.Prettify(s)
 28039  }
 28040  
 28041  // GoString returns the string representation.
 28042  //
 28043  // API parameter values that are decorated as "sensitive" in the API will not
 28044  // be included in the string output. The member name will be present, but the
 28045  // value will be replaced with "sensitive".
 28046  func (s DeleteAttendeeOutput) GoString() string {
 28047  	return s.String()
 28048  }
 28049  
 28050  type DeleteChannelBanInput struct {
 28051  	_ struct{} `type:"structure" nopayload:"true"`
 28052  
 28053  	// The ARN of the channel from which the AppInstanceUser was banned.
 28054  	//
 28055  	// ChannelArn is a required field
 28056  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 28057  
 28058  	// The AppInstanceUserArn of the user that makes the API call.
 28059  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 28060  
 28061  	// The ARN of the AppInstanceUser that you want to reinstate.
 28062  	//
 28063  	// MemberArn is a required field
 28064  	MemberArn *string `location:"uri" locationName:"memberArn" min:"5" type:"string" required:"true"`
 28065  }
 28066  
 28067  // String returns the string representation.
 28068  //
 28069  // API parameter values that are decorated as "sensitive" in the API will not
 28070  // be included in the string output. The member name will be present, but the
 28071  // value will be replaced with "sensitive".
 28072  func (s DeleteChannelBanInput) String() string {
 28073  	return awsutil.Prettify(s)
 28074  }
 28075  
 28076  // GoString returns the string representation.
 28077  //
 28078  // API parameter values that are decorated as "sensitive" in the API will not
 28079  // be included in the string output. The member name will be present, but the
 28080  // value will be replaced with "sensitive".
 28081  func (s DeleteChannelBanInput) GoString() string {
 28082  	return s.String()
 28083  }
 28084  
 28085  // Validate inspects the fields of the type to determine if they are valid.
 28086  func (s *DeleteChannelBanInput) Validate() error {
 28087  	invalidParams := request.ErrInvalidParams{Context: "DeleteChannelBanInput"}
 28088  	if s.ChannelArn == nil {
 28089  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 28090  	}
 28091  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 28092  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 28093  	}
 28094  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 28095  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 28096  	}
 28097  	if s.MemberArn == nil {
 28098  		invalidParams.Add(request.NewErrParamRequired("MemberArn"))
 28099  	}
 28100  	if s.MemberArn != nil && len(*s.MemberArn) < 5 {
 28101  		invalidParams.Add(request.NewErrParamMinLen("MemberArn", 5))
 28102  	}
 28103  
 28104  	if invalidParams.Len() > 0 {
 28105  		return invalidParams
 28106  	}
 28107  	return nil
 28108  }
 28109  
 28110  // SetChannelArn sets the ChannelArn field's value.
 28111  func (s *DeleteChannelBanInput) SetChannelArn(v string) *DeleteChannelBanInput {
 28112  	s.ChannelArn = &v
 28113  	return s
 28114  }
 28115  
 28116  // SetChimeBearer sets the ChimeBearer field's value.
 28117  func (s *DeleteChannelBanInput) SetChimeBearer(v string) *DeleteChannelBanInput {
 28118  	s.ChimeBearer = &v
 28119  	return s
 28120  }
 28121  
 28122  // SetMemberArn sets the MemberArn field's value.
 28123  func (s *DeleteChannelBanInput) SetMemberArn(v string) *DeleteChannelBanInput {
 28124  	s.MemberArn = &v
 28125  	return s
 28126  }
 28127  
 28128  type DeleteChannelBanOutput struct {
 28129  	_ struct{} `type:"structure" nopayload:"true"`
 28130  }
 28131  
 28132  // String returns the string representation.
 28133  //
 28134  // API parameter values that are decorated as "sensitive" in the API will not
 28135  // be included in the string output. The member name will be present, but the
 28136  // value will be replaced with "sensitive".
 28137  func (s DeleteChannelBanOutput) String() string {
 28138  	return awsutil.Prettify(s)
 28139  }
 28140  
 28141  // GoString returns the string representation.
 28142  //
 28143  // API parameter values that are decorated as "sensitive" in the API will not
 28144  // be included in the string output. The member name will be present, but the
 28145  // value will be replaced with "sensitive".
 28146  func (s DeleteChannelBanOutput) GoString() string {
 28147  	return s.String()
 28148  }
 28149  
 28150  type DeleteChannelInput struct {
 28151  	_ struct{} `type:"structure" nopayload:"true"`
 28152  
 28153  	// The ARN of the channel being deleted.
 28154  	//
 28155  	// ChannelArn is a required field
 28156  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 28157  
 28158  	// The AppInstanceUserArn of the user that makes the API call.
 28159  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 28160  }
 28161  
 28162  // String returns the string representation.
 28163  //
 28164  // API parameter values that are decorated as "sensitive" in the API will not
 28165  // be included in the string output. The member name will be present, but the
 28166  // value will be replaced with "sensitive".
 28167  func (s DeleteChannelInput) String() string {
 28168  	return awsutil.Prettify(s)
 28169  }
 28170  
 28171  // GoString returns the string representation.
 28172  //
 28173  // API parameter values that are decorated as "sensitive" in the API will not
 28174  // be included in the string output. The member name will be present, but the
 28175  // value will be replaced with "sensitive".
 28176  func (s DeleteChannelInput) GoString() string {
 28177  	return s.String()
 28178  }
 28179  
 28180  // Validate inspects the fields of the type to determine if they are valid.
 28181  func (s *DeleteChannelInput) Validate() error {
 28182  	invalidParams := request.ErrInvalidParams{Context: "DeleteChannelInput"}
 28183  	if s.ChannelArn == nil {
 28184  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 28185  	}
 28186  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 28187  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 28188  	}
 28189  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 28190  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 28191  	}
 28192  
 28193  	if invalidParams.Len() > 0 {
 28194  		return invalidParams
 28195  	}
 28196  	return nil
 28197  }
 28198  
 28199  // SetChannelArn sets the ChannelArn field's value.
 28200  func (s *DeleteChannelInput) SetChannelArn(v string) *DeleteChannelInput {
 28201  	s.ChannelArn = &v
 28202  	return s
 28203  }
 28204  
 28205  // SetChimeBearer sets the ChimeBearer field's value.
 28206  func (s *DeleteChannelInput) SetChimeBearer(v string) *DeleteChannelInput {
 28207  	s.ChimeBearer = &v
 28208  	return s
 28209  }
 28210  
 28211  type DeleteChannelMembershipInput struct {
 28212  	_ struct{} `type:"structure" nopayload:"true"`
 28213  
 28214  	// The ARN of the channel from which you want to remove the user.
 28215  	//
 28216  	// ChannelArn is a required field
 28217  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 28218  
 28219  	// The AppInstanceUserArn of the user that makes the API call.
 28220  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 28221  
 28222  	// The ARN of the member that you're removing from the channel.
 28223  	//
 28224  	// MemberArn is a required field
 28225  	MemberArn *string `location:"uri" locationName:"memberArn" min:"5" type:"string" required:"true"`
 28226  }
 28227  
 28228  // String returns the string representation.
 28229  //
 28230  // API parameter values that are decorated as "sensitive" in the API will not
 28231  // be included in the string output. The member name will be present, but the
 28232  // value will be replaced with "sensitive".
 28233  func (s DeleteChannelMembershipInput) String() string {
 28234  	return awsutil.Prettify(s)
 28235  }
 28236  
 28237  // GoString returns the string representation.
 28238  //
 28239  // API parameter values that are decorated as "sensitive" in the API will not
 28240  // be included in the string output. The member name will be present, but the
 28241  // value will be replaced with "sensitive".
 28242  func (s DeleteChannelMembershipInput) GoString() string {
 28243  	return s.String()
 28244  }
 28245  
 28246  // Validate inspects the fields of the type to determine if they are valid.
 28247  func (s *DeleteChannelMembershipInput) Validate() error {
 28248  	invalidParams := request.ErrInvalidParams{Context: "DeleteChannelMembershipInput"}
 28249  	if s.ChannelArn == nil {
 28250  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 28251  	}
 28252  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 28253  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 28254  	}
 28255  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 28256  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 28257  	}
 28258  	if s.MemberArn == nil {
 28259  		invalidParams.Add(request.NewErrParamRequired("MemberArn"))
 28260  	}
 28261  	if s.MemberArn != nil && len(*s.MemberArn) < 5 {
 28262  		invalidParams.Add(request.NewErrParamMinLen("MemberArn", 5))
 28263  	}
 28264  
 28265  	if invalidParams.Len() > 0 {
 28266  		return invalidParams
 28267  	}
 28268  	return nil
 28269  }
 28270  
 28271  // SetChannelArn sets the ChannelArn field's value.
 28272  func (s *DeleteChannelMembershipInput) SetChannelArn(v string) *DeleteChannelMembershipInput {
 28273  	s.ChannelArn = &v
 28274  	return s
 28275  }
 28276  
 28277  // SetChimeBearer sets the ChimeBearer field's value.
 28278  func (s *DeleteChannelMembershipInput) SetChimeBearer(v string) *DeleteChannelMembershipInput {
 28279  	s.ChimeBearer = &v
 28280  	return s
 28281  }
 28282  
 28283  // SetMemberArn sets the MemberArn field's value.
 28284  func (s *DeleteChannelMembershipInput) SetMemberArn(v string) *DeleteChannelMembershipInput {
 28285  	s.MemberArn = &v
 28286  	return s
 28287  }
 28288  
 28289  type DeleteChannelMembershipOutput struct {
 28290  	_ struct{} `type:"structure" nopayload:"true"`
 28291  }
 28292  
 28293  // String returns the string representation.
 28294  //
 28295  // API parameter values that are decorated as "sensitive" in the API will not
 28296  // be included in the string output. The member name will be present, but the
 28297  // value will be replaced with "sensitive".
 28298  func (s DeleteChannelMembershipOutput) String() string {
 28299  	return awsutil.Prettify(s)
 28300  }
 28301  
 28302  // GoString returns the string representation.
 28303  //
 28304  // API parameter values that are decorated as "sensitive" in the API will not
 28305  // be included in the string output. The member name will be present, but the
 28306  // value will be replaced with "sensitive".
 28307  func (s DeleteChannelMembershipOutput) GoString() string {
 28308  	return s.String()
 28309  }
 28310  
 28311  type DeleteChannelMessageInput struct {
 28312  	_ struct{} `type:"structure" nopayload:"true"`
 28313  
 28314  	// The ARN of the channel.
 28315  	//
 28316  	// ChannelArn is a required field
 28317  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 28318  
 28319  	// The AppInstanceUserArn of the user that makes the API call.
 28320  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 28321  
 28322  	// The ID of the message being deleted.
 28323  	//
 28324  	// MessageId is a required field
 28325  	MessageId *string `location:"uri" locationName:"messageId" min:"1" type:"string" required:"true"`
 28326  }
 28327  
 28328  // String returns the string representation.
 28329  //
 28330  // API parameter values that are decorated as "sensitive" in the API will not
 28331  // be included in the string output. The member name will be present, but the
 28332  // value will be replaced with "sensitive".
 28333  func (s DeleteChannelMessageInput) String() string {
 28334  	return awsutil.Prettify(s)
 28335  }
 28336  
 28337  // GoString returns the string representation.
 28338  //
 28339  // API parameter values that are decorated as "sensitive" in the API will not
 28340  // be included in the string output. The member name will be present, but the
 28341  // value will be replaced with "sensitive".
 28342  func (s DeleteChannelMessageInput) GoString() string {
 28343  	return s.String()
 28344  }
 28345  
 28346  // Validate inspects the fields of the type to determine if they are valid.
 28347  func (s *DeleteChannelMessageInput) Validate() error {
 28348  	invalidParams := request.ErrInvalidParams{Context: "DeleteChannelMessageInput"}
 28349  	if s.ChannelArn == nil {
 28350  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 28351  	}
 28352  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 28353  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 28354  	}
 28355  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 28356  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 28357  	}
 28358  	if s.MessageId == nil {
 28359  		invalidParams.Add(request.NewErrParamRequired("MessageId"))
 28360  	}
 28361  	if s.MessageId != nil && len(*s.MessageId) < 1 {
 28362  		invalidParams.Add(request.NewErrParamMinLen("MessageId", 1))
 28363  	}
 28364  
 28365  	if invalidParams.Len() > 0 {
 28366  		return invalidParams
 28367  	}
 28368  	return nil
 28369  }
 28370  
 28371  // SetChannelArn sets the ChannelArn field's value.
 28372  func (s *DeleteChannelMessageInput) SetChannelArn(v string) *DeleteChannelMessageInput {
 28373  	s.ChannelArn = &v
 28374  	return s
 28375  }
 28376  
 28377  // SetChimeBearer sets the ChimeBearer field's value.
 28378  func (s *DeleteChannelMessageInput) SetChimeBearer(v string) *DeleteChannelMessageInput {
 28379  	s.ChimeBearer = &v
 28380  	return s
 28381  }
 28382  
 28383  // SetMessageId sets the MessageId field's value.
 28384  func (s *DeleteChannelMessageInput) SetMessageId(v string) *DeleteChannelMessageInput {
 28385  	s.MessageId = &v
 28386  	return s
 28387  }
 28388  
 28389  type DeleteChannelMessageOutput struct {
 28390  	_ struct{} `type:"structure" nopayload:"true"`
 28391  }
 28392  
 28393  // String returns the string representation.
 28394  //
 28395  // API parameter values that are decorated as "sensitive" in the API will not
 28396  // be included in the string output. The member name will be present, but the
 28397  // value will be replaced with "sensitive".
 28398  func (s DeleteChannelMessageOutput) String() string {
 28399  	return awsutil.Prettify(s)
 28400  }
 28401  
 28402  // GoString returns the string representation.
 28403  //
 28404  // API parameter values that are decorated as "sensitive" in the API will not
 28405  // be included in the string output. The member name will be present, but the
 28406  // value will be replaced with "sensitive".
 28407  func (s DeleteChannelMessageOutput) GoString() string {
 28408  	return s.String()
 28409  }
 28410  
 28411  type DeleteChannelModeratorInput struct {
 28412  	_ struct{} `type:"structure" nopayload:"true"`
 28413  
 28414  	// The ARN of the channel.
 28415  	//
 28416  	// ChannelArn is a required field
 28417  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 28418  
 28419  	// The ARN of the moderator being deleted.
 28420  	//
 28421  	// ChannelModeratorArn is a required field
 28422  	ChannelModeratorArn *string `location:"uri" locationName:"channelModeratorArn" min:"5" type:"string" required:"true"`
 28423  
 28424  	// The AppInstanceUserArn of the user that makes the API call.
 28425  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 28426  }
 28427  
 28428  // String returns the string representation.
 28429  //
 28430  // API parameter values that are decorated as "sensitive" in the API will not
 28431  // be included in the string output. The member name will be present, but the
 28432  // value will be replaced with "sensitive".
 28433  func (s DeleteChannelModeratorInput) String() string {
 28434  	return awsutil.Prettify(s)
 28435  }
 28436  
 28437  // GoString returns the string representation.
 28438  //
 28439  // API parameter values that are decorated as "sensitive" in the API will not
 28440  // be included in the string output. The member name will be present, but the
 28441  // value will be replaced with "sensitive".
 28442  func (s DeleteChannelModeratorInput) GoString() string {
 28443  	return s.String()
 28444  }
 28445  
 28446  // Validate inspects the fields of the type to determine if they are valid.
 28447  func (s *DeleteChannelModeratorInput) Validate() error {
 28448  	invalidParams := request.ErrInvalidParams{Context: "DeleteChannelModeratorInput"}
 28449  	if s.ChannelArn == nil {
 28450  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 28451  	}
 28452  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 28453  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 28454  	}
 28455  	if s.ChannelModeratorArn == nil {
 28456  		invalidParams.Add(request.NewErrParamRequired("ChannelModeratorArn"))
 28457  	}
 28458  	if s.ChannelModeratorArn != nil && len(*s.ChannelModeratorArn) < 5 {
 28459  		invalidParams.Add(request.NewErrParamMinLen("ChannelModeratorArn", 5))
 28460  	}
 28461  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 28462  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 28463  	}
 28464  
 28465  	if invalidParams.Len() > 0 {
 28466  		return invalidParams
 28467  	}
 28468  	return nil
 28469  }
 28470  
 28471  // SetChannelArn sets the ChannelArn field's value.
 28472  func (s *DeleteChannelModeratorInput) SetChannelArn(v string) *DeleteChannelModeratorInput {
 28473  	s.ChannelArn = &v
 28474  	return s
 28475  }
 28476  
 28477  // SetChannelModeratorArn sets the ChannelModeratorArn field's value.
 28478  func (s *DeleteChannelModeratorInput) SetChannelModeratorArn(v string) *DeleteChannelModeratorInput {
 28479  	s.ChannelModeratorArn = &v
 28480  	return s
 28481  }
 28482  
 28483  // SetChimeBearer sets the ChimeBearer field's value.
 28484  func (s *DeleteChannelModeratorInput) SetChimeBearer(v string) *DeleteChannelModeratorInput {
 28485  	s.ChimeBearer = &v
 28486  	return s
 28487  }
 28488  
 28489  type DeleteChannelModeratorOutput struct {
 28490  	_ struct{} `type:"structure" nopayload:"true"`
 28491  }
 28492  
 28493  // String returns the string representation.
 28494  //
 28495  // API parameter values that are decorated as "sensitive" in the API will not
 28496  // be included in the string output. The member name will be present, but the
 28497  // value will be replaced with "sensitive".
 28498  func (s DeleteChannelModeratorOutput) String() string {
 28499  	return awsutil.Prettify(s)
 28500  }
 28501  
 28502  // GoString returns the string representation.
 28503  //
 28504  // API parameter values that are decorated as "sensitive" in the API will not
 28505  // be included in the string output. The member name will be present, but the
 28506  // value will be replaced with "sensitive".
 28507  func (s DeleteChannelModeratorOutput) GoString() string {
 28508  	return s.String()
 28509  }
 28510  
 28511  type DeleteChannelOutput struct {
 28512  	_ struct{} `type:"structure" nopayload:"true"`
 28513  }
 28514  
 28515  // String returns the string representation.
 28516  //
 28517  // API parameter values that are decorated as "sensitive" in the API will not
 28518  // be included in the string output. The member name will be present, but the
 28519  // value will be replaced with "sensitive".
 28520  func (s DeleteChannelOutput) String() string {
 28521  	return awsutil.Prettify(s)
 28522  }
 28523  
 28524  // GoString returns the string representation.
 28525  //
 28526  // API parameter values that are decorated as "sensitive" in the API will not
 28527  // be included in the string output. The member name will be present, but the
 28528  // value will be replaced with "sensitive".
 28529  func (s DeleteChannelOutput) GoString() string {
 28530  	return s.String()
 28531  }
 28532  
 28533  type DeleteEventsConfigurationInput struct {
 28534  	_ struct{} `type:"structure" nopayload:"true"`
 28535  
 28536  	// The Amazon Chime account ID.
 28537  	//
 28538  	// AccountId is a required field
 28539  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 28540  
 28541  	// The bot ID.
 28542  	//
 28543  	// BotId is a required field
 28544  	BotId *string `location:"uri" locationName:"botId" type:"string" required:"true"`
 28545  }
 28546  
 28547  // String returns the string representation.
 28548  //
 28549  // API parameter values that are decorated as "sensitive" in the API will not
 28550  // be included in the string output. The member name will be present, but the
 28551  // value will be replaced with "sensitive".
 28552  func (s DeleteEventsConfigurationInput) String() string {
 28553  	return awsutil.Prettify(s)
 28554  }
 28555  
 28556  // GoString returns the string representation.
 28557  //
 28558  // API parameter values that are decorated as "sensitive" in the API will not
 28559  // be included in the string output. The member name will be present, but the
 28560  // value will be replaced with "sensitive".
 28561  func (s DeleteEventsConfigurationInput) GoString() string {
 28562  	return s.String()
 28563  }
 28564  
 28565  // Validate inspects the fields of the type to determine if they are valid.
 28566  func (s *DeleteEventsConfigurationInput) Validate() error {
 28567  	invalidParams := request.ErrInvalidParams{Context: "DeleteEventsConfigurationInput"}
 28568  	if s.AccountId == nil {
 28569  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 28570  	}
 28571  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 28572  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 28573  	}
 28574  	if s.BotId == nil {
 28575  		invalidParams.Add(request.NewErrParamRequired("BotId"))
 28576  	}
 28577  	if s.BotId != nil && len(*s.BotId) < 1 {
 28578  		invalidParams.Add(request.NewErrParamMinLen("BotId", 1))
 28579  	}
 28580  
 28581  	if invalidParams.Len() > 0 {
 28582  		return invalidParams
 28583  	}
 28584  	return nil
 28585  }
 28586  
 28587  // SetAccountId sets the AccountId field's value.
 28588  func (s *DeleteEventsConfigurationInput) SetAccountId(v string) *DeleteEventsConfigurationInput {
 28589  	s.AccountId = &v
 28590  	return s
 28591  }
 28592  
 28593  // SetBotId sets the BotId field's value.
 28594  func (s *DeleteEventsConfigurationInput) SetBotId(v string) *DeleteEventsConfigurationInput {
 28595  	s.BotId = &v
 28596  	return s
 28597  }
 28598  
 28599  type DeleteEventsConfigurationOutput struct {
 28600  	_ struct{} `type:"structure" nopayload:"true"`
 28601  }
 28602  
 28603  // String returns the string representation.
 28604  //
 28605  // API parameter values that are decorated as "sensitive" in the API will not
 28606  // be included in the string output. The member name will be present, but the
 28607  // value will be replaced with "sensitive".
 28608  func (s DeleteEventsConfigurationOutput) String() string {
 28609  	return awsutil.Prettify(s)
 28610  }
 28611  
 28612  // GoString returns the string representation.
 28613  //
 28614  // API parameter values that are decorated as "sensitive" in the API will not
 28615  // be included in the string output. The member name will be present, but the
 28616  // value will be replaced with "sensitive".
 28617  func (s DeleteEventsConfigurationOutput) GoString() string {
 28618  	return s.String()
 28619  }
 28620  
 28621  type DeleteMediaCapturePipelineInput struct {
 28622  	_ struct{} `type:"structure" nopayload:"true"`
 28623  
 28624  	// The ID of the media capture pipeline being deleted.
 28625  	//
 28626  	// MediaPipelineId is a required field
 28627  	MediaPipelineId *string `location:"uri" locationName:"mediaPipelineId" type:"string" required:"true"`
 28628  }
 28629  
 28630  // String returns the string representation.
 28631  //
 28632  // API parameter values that are decorated as "sensitive" in the API will not
 28633  // be included in the string output. The member name will be present, but the
 28634  // value will be replaced with "sensitive".
 28635  func (s DeleteMediaCapturePipelineInput) String() string {
 28636  	return awsutil.Prettify(s)
 28637  }
 28638  
 28639  // GoString returns the string representation.
 28640  //
 28641  // API parameter values that are decorated as "sensitive" in the API will not
 28642  // be included in the string output. The member name will be present, but the
 28643  // value will be replaced with "sensitive".
 28644  func (s DeleteMediaCapturePipelineInput) GoString() string {
 28645  	return s.String()
 28646  }
 28647  
 28648  // Validate inspects the fields of the type to determine if they are valid.
 28649  func (s *DeleteMediaCapturePipelineInput) Validate() error {
 28650  	invalidParams := request.ErrInvalidParams{Context: "DeleteMediaCapturePipelineInput"}
 28651  	if s.MediaPipelineId == nil {
 28652  		invalidParams.Add(request.NewErrParamRequired("MediaPipelineId"))
 28653  	}
 28654  	if s.MediaPipelineId != nil && len(*s.MediaPipelineId) < 1 {
 28655  		invalidParams.Add(request.NewErrParamMinLen("MediaPipelineId", 1))
 28656  	}
 28657  
 28658  	if invalidParams.Len() > 0 {
 28659  		return invalidParams
 28660  	}
 28661  	return nil
 28662  }
 28663  
 28664  // SetMediaPipelineId sets the MediaPipelineId field's value.
 28665  func (s *DeleteMediaCapturePipelineInput) SetMediaPipelineId(v string) *DeleteMediaCapturePipelineInput {
 28666  	s.MediaPipelineId = &v
 28667  	return s
 28668  }
 28669  
 28670  type DeleteMediaCapturePipelineOutput struct {
 28671  	_ struct{} `type:"structure" nopayload:"true"`
 28672  }
 28673  
 28674  // String returns the string representation.
 28675  //
 28676  // API parameter values that are decorated as "sensitive" in the API will not
 28677  // be included in the string output. The member name will be present, but the
 28678  // value will be replaced with "sensitive".
 28679  func (s DeleteMediaCapturePipelineOutput) String() string {
 28680  	return awsutil.Prettify(s)
 28681  }
 28682  
 28683  // GoString returns the string representation.
 28684  //
 28685  // API parameter values that are decorated as "sensitive" in the API will not
 28686  // be included in the string output. The member name will be present, but the
 28687  // value will be replaced with "sensitive".
 28688  func (s DeleteMediaCapturePipelineOutput) GoString() string {
 28689  	return s.String()
 28690  }
 28691  
 28692  type DeleteMeetingInput struct {
 28693  	_ struct{} `type:"structure" nopayload:"true"`
 28694  
 28695  	// The Amazon Chime SDK meeting ID.
 28696  	//
 28697  	// MeetingId is a required field
 28698  	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
 28699  }
 28700  
 28701  // String returns the string representation.
 28702  //
 28703  // API parameter values that are decorated as "sensitive" in the API will not
 28704  // be included in the string output. The member name will be present, but the
 28705  // value will be replaced with "sensitive".
 28706  func (s DeleteMeetingInput) String() string {
 28707  	return awsutil.Prettify(s)
 28708  }
 28709  
 28710  // GoString returns the string representation.
 28711  //
 28712  // API parameter values that are decorated as "sensitive" in the API will not
 28713  // be included in the string output. The member name will be present, but the
 28714  // value will be replaced with "sensitive".
 28715  func (s DeleteMeetingInput) GoString() string {
 28716  	return s.String()
 28717  }
 28718  
 28719  // Validate inspects the fields of the type to determine if they are valid.
 28720  func (s *DeleteMeetingInput) Validate() error {
 28721  	invalidParams := request.ErrInvalidParams{Context: "DeleteMeetingInput"}
 28722  	if s.MeetingId == nil {
 28723  		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
 28724  	}
 28725  	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
 28726  		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
 28727  	}
 28728  
 28729  	if invalidParams.Len() > 0 {
 28730  		return invalidParams
 28731  	}
 28732  	return nil
 28733  }
 28734  
 28735  // SetMeetingId sets the MeetingId field's value.
 28736  func (s *DeleteMeetingInput) SetMeetingId(v string) *DeleteMeetingInput {
 28737  	s.MeetingId = &v
 28738  	return s
 28739  }
 28740  
 28741  type DeleteMeetingOutput struct {
 28742  	_ struct{} `type:"structure" nopayload:"true"`
 28743  }
 28744  
 28745  // String returns the string representation.
 28746  //
 28747  // API parameter values that are decorated as "sensitive" in the API will not
 28748  // be included in the string output. The member name will be present, but the
 28749  // value will be replaced with "sensitive".
 28750  func (s DeleteMeetingOutput) String() string {
 28751  	return awsutil.Prettify(s)
 28752  }
 28753  
 28754  // GoString returns the string representation.
 28755  //
 28756  // API parameter values that are decorated as "sensitive" in the API will not
 28757  // be included in the string output. The member name will be present, but the
 28758  // value will be replaced with "sensitive".
 28759  func (s DeleteMeetingOutput) GoString() string {
 28760  	return s.String()
 28761  }
 28762  
 28763  type DeletePhoneNumberInput struct {
 28764  	_ struct{} `type:"structure" nopayload:"true"`
 28765  
 28766  	// The phone number ID.
 28767  	//
 28768  	// PhoneNumberId is a required field
 28769  	PhoneNumberId *string `location:"uri" locationName:"phoneNumberId" type:"string" required:"true"`
 28770  }
 28771  
 28772  // String returns the string representation.
 28773  //
 28774  // API parameter values that are decorated as "sensitive" in the API will not
 28775  // be included in the string output. The member name will be present, but the
 28776  // value will be replaced with "sensitive".
 28777  func (s DeletePhoneNumberInput) String() string {
 28778  	return awsutil.Prettify(s)
 28779  }
 28780  
 28781  // GoString returns the string representation.
 28782  //
 28783  // API parameter values that are decorated as "sensitive" in the API will not
 28784  // be included in the string output. The member name will be present, but the
 28785  // value will be replaced with "sensitive".
 28786  func (s DeletePhoneNumberInput) GoString() string {
 28787  	return s.String()
 28788  }
 28789  
 28790  // Validate inspects the fields of the type to determine if they are valid.
 28791  func (s *DeletePhoneNumberInput) Validate() error {
 28792  	invalidParams := request.ErrInvalidParams{Context: "DeletePhoneNumberInput"}
 28793  	if s.PhoneNumberId == nil {
 28794  		invalidParams.Add(request.NewErrParamRequired("PhoneNumberId"))
 28795  	}
 28796  	if s.PhoneNumberId != nil && len(*s.PhoneNumberId) < 1 {
 28797  		invalidParams.Add(request.NewErrParamMinLen("PhoneNumberId", 1))
 28798  	}
 28799  
 28800  	if invalidParams.Len() > 0 {
 28801  		return invalidParams
 28802  	}
 28803  	return nil
 28804  }
 28805  
 28806  // SetPhoneNumberId sets the PhoneNumberId field's value.
 28807  func (s *DeletePhoneNumberInput) SetPhoneNumberId(v string) *DeletePhoneNumberInput {
 28808  	s.PhoneNumberId = &v
 28809  	return s
 28810  }
 28811  
 28812  type DeletePhoneNumberOutput struct {
 28813  	_ struct{} `type:"structure" nopayload:"true"`
 28814  }
 28815  
 28816  // String returns the string representation.
 28817  //
 28818  // API parameter values that are decorated as "sensitive" in the API will not
 28819  // be included in the string output. The member name will be present, but the
 28820  // value will be replaced with "sensitive".
 28821  func (s DeletePhoneNumberOutput) String() string {
 28822  	return awsutil.Prettify(s)
 28823  }
 28824  
 28825  // GoString returns the string representation.
 28826  //
 28827  // API parameter values that are decorated as "sensitive" in the API will not
 28828  // be included in the string output. The member name will be present, but the
 28829  // value will be replaced with "sensitive".
 28830  func (s DeletePhoneNumberOutput) GoString() string {
 28831  	return s.String()
 28832  }
 28833  
 28834  type DeleteProxySessionInput struct {
 28835  	_ struct{} `type:"structure" nopayload:"true"`
 28836  
 28837  	// The proxy session ID.
 28838  	//
 28839  	// ProxySessionId is a required field
 28840  	ProxySessionId *string `location:"uri" locationName:"proxySessionId" min:"1" type:"string" required:"true"`
 28841  
 28842  	// The Amazon Chime voice connector ID.
 28843  	//
 28844  	// VoiceConnectorId is a required field
 28845  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" min:"1" type:"string" required:"true"`
 28846  }
 28847  
 28848  // String returns the string representation.
 28849  //
 28850  // API parameter values that are decorated as "sensitive" in the API will not
 28851  // be included in the string output. The member name will be present, but the
 28852  // value will be replaced with "sensitive".
 28853  func (s DeleteProxySessionInput) String() string {
 28854  	return awsutil.Prettify(s)
 28855  }
 28856  
 28857  // GoString returns the string representation.
 28858  //
 28859  // API parameter values that are decorated as "sensitive" in the API will not
 28860  // be included in the string output. The member name will be present, but the
 28861  // value will be replaced with "sensitive".
 28862  func (s DeleteProxySessionInput) GoString() string {
 28863  	return s.String()
 28864  }
 28865  
 28866  // Validate inspects the fields of the type to determine if they are valid.
 28867  func (s *DeleteProxySessionInput) Validate() error {
 28868  	invalidParams := request.ErrInvalidParams{Context: "DeleteProxySessionInput"}
 28869  	if s.ProxySessionId == nil {
 28870  		invalidParams.Add(request.NewErrParamRequired("ProxySessionId"))
 28871  	}
 28872  	if s.ProxySessionId != nil && len(*s.ProxySessionId) < 1 {
 28873  		invalidParams.Add(request.NewErrParamMinLen("ProxySessionId", 1))
 28874  	}
 28875  	if s.VoiceConnectorId == nil {
 28876  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 28877  	}
 28878  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 28879  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 28880  	}
 28881  
 28882  	if invalidParams.Len() > 0 {
 28883  		return invalidParams
 28884  	}
 28885  	return nil
 28886  }
 28887  
 28888  // SetProxySessionId sets the ProxySessionId field's value.
 28889  func (s *DeleteProxySessionInput) SetProxySessionId(v string) *DeleteProxySessionInput {
 28890  	s.ProxySessionId = &v
 28891  	return s
 28892  }
 28893  
 28894  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 28895  func (s *DeleteProxySessionInput) SetVoiceConnectorId(v string) *DeleteProxySessionInput {
 28896  	s.VoiceConnectorId = &v
 28897  	return s
 28898  }
 28899  
 28900  type DeleteProxySessionOutput struct {
 28901  	_ struct{} `type:"structure" nopayload:"true"`
 28902  }
 28903  
 28904  // String returns the string representation.
 28905  //
 28906  // API parameter values that are decorated as "sensitive" in the API will not
 28907  // be included in the string output. The member name will be present, but the
 28908  // value will be replaced with "sensitive".
 28909  func (s DeleteProxySessionOutput) String() string {
 28910  	return awsutil.Prettify(s)
 28911  }
 28912  
 28913  // GoString returns the string representation.
 28914  //
 28915  // API parameter values that are decorated as "sensitive" in the API will not
 28916  // be included in the string output. The member name will be present, but the
 28917  // value will be replaced with "sensitive".
 28918  func (s DeleteProxySessionOutput) GoString() string {
 28919  	return s.String()
 28920  }
 28921  
 28922  type DeleteRoomInput struct {
 28923  	_ struct{} `type:"structure" nopayload:"true"`
 28924  
 28925  	// The Amazon Chime account ID.
 28926  	//
 28927  	// AccountId is a required field
 28928  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 28929  
 28930  	// The chat room ID.
 28931  	//
 28932  	// RoomId is a required field
 28933  	RoomId *string `location:"uri" locationName:"roomId" type:"string" required:"true"`
 28934  }
 28935  
 28936  // String returns the string representation.
 28937  //
 28938  // API parameter values that are decorated as "sensitive" in the API will not
 28939  // be included in the string output. The member name will be present, but the
 28940  // value will be replaced with "sensitive".
 28941  func (s DeleteRoomInput) String() string {
 28942  	return awsutil.Prettify(s)
 28943  }
 28944  
 28945  // GoString returns the string representation.
 28946  //
 28947  // API parameter values that are decorated as "sensitive" in the API will not
 28948  // be included in the string output. The member name will be present, but the
 28949  // value will be replaced with "sensitive".
 28950  func (s DeleteRoomInput) GoString() string {
 28951  	return s.String()
 28952  }
 28953  
 28954  // Validate inspects the fields of the type to determine if they are valid.
 28955  func (s *DeleteRoomInput) Validate() error {
 28956  	invalidParams := request.ErrInvalidParams{Context: "DeleteRoomInput"}
 28957  	if s.AccountId == nil {
 28958  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 28959  	}
 28960  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 28961  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 28962  	}
 28963  	if s.RoomId == nil {
 28964  		invalidParams.Add(request.NewErrParamRequired("RoomId"))
 28965  	}
 28966  	if s.RoomId != nil && len(*s.RoomId) < 1 {
 28967  		invalidParams.Add(request.NewErrParamMinLen("RoomId", 1))
 28968  	}
 28969  
 28970  	if invalidParams.Len() > 0 {
 28971  		return invalidParams
 28972  	}
 28973  	return nil
 28974  }
 28975  
 28976  // SetAccountId sets the AccountId field's value.
 28977  func (s *DeleteRoomInput) SetAccountId(v string) *DeleteRoomInput {
 28978  	s.AccountId = &v
 28979  	return s
 28980  }
 28981  
 28982  // SetRoomId sets the RoomId field's value.
 28983  func (s *DeleteRoomInput) SetRoomId(v string) *DeleteRoomInput {
 28984  	s.RoomId = &v
 28985  	return s
 28986  }
 28987  
 28988  type DeleteRoomMembershipInput struct {
 28989  	_ struct{} `type:"structure" nopayload:"true"`
 28990  
 28991  	// The Amazon Chime account ID.
 28992  	//
 28993  	// AccountId is a required field
 28994  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 28995  
 28996  	// The member ID (user ID or bot ID).
 28997  	//
 28998  	// MemberId is a required field
 28999  	MemberId *string `location:"uri" locationName:"memberId" type:"string" required:"true"`
 29000  
 29001  	// The room ID.
 29002  	//
 29003  	// RoomId is a required field
 29004  	RoomId *string `location:"uri" locationName:"roomId" type:"string" required:"true"`
 29005  }
 29006  
 29007  // String returns the string representation.
 29008  //
 29009  // API parameter values that are decorated as "sensitive" in the API will not
 29010  // be included in the string output. The member name will be present, but the
 29011  // value will be replaced with "sensitive".
 29012  func (s DeleteRoomMembershipInput) String() string {
 29013  	return awsutil.Prettify(s)
 29014  }
 29015  
 29016  // GoString returns the string representation.
 29017  //
 29018  // API parameter values that are decorated as "sensitive" in the API will not
 29019  // be included in the string output. The member name will be present, but the
 29020  // value will be replaced with "sensitive".
 29021  func (s DeleteRoomMembershipInput) GoString() string {
 29022  	return s.String()
 29023  }
 29024  
 29025  // Validate inspects the fields of the type to determine if they are valid.
 29026  func (s *DeleteRoomMembershipInput) Validate() error {
 29027  	invalidParams := request.ErrInvalidParams{Context: "DeleteRoomMembershipInput"}
 29028  	if s.AccountId == nil {
 29029  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 29030  	}
 29031  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 29032  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 29033  	}
 29034  	if s.MemberId == nil {
 29035  		invalidParams.Add(request.NewErrParamRequired("MemberId"))
 29036  	}
 29037  	if s.MemberId != nil && len(*s.MemberId) < 1 {
 29038  		invalidParams.Add(request.NewErrParamMinLen("MemberId", 1))
 29039  	}
 29040  	if s.RoomId == nil {
 29041  		invalidParams.Add(request.NewErrParamRequired("RoomId"))
 29042  	}
 29043  	if s.RoomId != nil && len(*s.RoomId) < 1 {
 29044  		invalidParams.Add(request.NewErrParamMinLen("RoomId", 1))
 29045  	}
 29046  
 29047  	if invalidParams.Len() > 0 {
 29048  		return invalidParams
 29049  	}
 29050  	return nil
 29051  }
 29052  
 29053  // SetAccountId sets the AccountId field's value.
 29054  func (s *DeleteRoomMembershipInput) SetAccountId(v string) *DeleteRoomMembershipInput {
 29055  	s.AccountId = &v
 29056  	return s
 29057  }
 29058  
 29059  // SetMemberId sets the MemberId field's value.
 29060  func (s *DeleteRoomMembershipInput) SetMemberId(v string) *DeleteRoomMembershipInput {
 29061  	s.MemberId = &v
 29062  	return s
 29063  }
 29064  
 29065  // SetRoomId sets the RoomId field's value.
 29066  func (s *DeleteRoomMembershipInput) SetRoomId(v string) *DeleteRoomMembershipInput {
 29067  	s.RoomId = &v
 29068  	return s
 29069  }
 29070  
 29071  type DeleteRoomMembershipOutput struct {
 29072  	_ struct{} `type:"structure" nopayload:"true"`
 29073  }
 29074  
 29075  // String returns the string representation.
 29076  //
 29077  // API parameter values that are decorated as "sensitive" in the API will not
 29078  // be included in the string output. The member name will be present, but the
 29079  // value will be replaced with "sensitive".
 29080  func (s DeleteRoomMembershipOutput) String() string {
 29081  	return awsutil.Prettify(s)
 29082  }
 29083  
 29084  // GoString returns the string representation.
 29085  //
 29086  // API parameter values that are decorated as "sensitive" in the API will not
 29087  // be included in the string output. The member name will be present, but the
 29088  // value will be replaced with "sensitive".
 29089  func (s DeleteRoomMembershipOutput) GoString() string {
 29090  	return s.String()
 29091  }
 29092  
 29093  type DeleteRoomOutput struct {
 29094  	_ struct{} `type:"structure" nopayload:"true"`
 29095  }
 29096  
 29097  // String returns the string representation.
 29098  //
 29099  // API parameter values that are decorated as "sensitive" in the API will not
 29100  // be included in the string output. The member name will be present, but the
 29101  // value will be replaced with "sensitive".
 29102  func (s DeleteRoomOutput) String() string {
 29103  	return awsutil.Prettify(s)
 29104  }
 29105  
 29106  // GoString returns the string representation.
 29107  //
 29108  // API parameter values that are decorated as "sensitive" in the API will not
 29109  // be included in the string output. The member name will be present, but the
 29110  // value will be replaced with "sensitive".
 29111  func (s DeleteRoomOutput) GoString() string {
 29112  	return s.String()
 29113  }
 29114  
 29115  type DeleteSipMediaApplicationInput struct {
 29116  	_ struct{} `type:"structure" nopayload:"true"`
 29117  
 29118  	// The SIP media application ID.
 29119  	//
 29120  	// SipMediaApplicationId is a required field
 29121  	SipMediaApplicationId *string `location:"uri" locationName:"sipMediaApplicationId" type:"string" required:"true"`
 29122  }
 29123  
 29124  // String returns the string representation.
 29125  //
 29126  // API parameter values that are decorated as "sensitive" in the API will not
 29127  // be included in the string output. The member name will be present, but the
 29128  // value will be replaced with "sensitive".
 29129  func (s DeleteSipMediaApplicationInput) String() string {
 29130  	return awsutil.Prettify(s)
 29131  }
 29132  
 29133  // GoString returns the string representation.
 29134  //
 29135  // API parameter values that are decorated as "sensitive" in the API will not
 29136  // be included in the string output. The member name will be present, but the
 29137  // value will be replaced with "sensitive".
 29138  func (s DeleteSipMediaApplicationInput) GoString() string {
 29139  	return s.String()
 29140  }
 29141  
 29142  // Validate inspects the fields of the type to determine if they are valid.
 29143  func (s *DeleteSipMediaApplicationInput) Validate() error {
 29144  	invalidParams := request.ErrInvalidParams{Context: "DeleteSipMediaApplicationInput"}
 29145  	if s.SipMediaApplicationId == nil {
 29146  		invalidParams.Add(request.NewErrParamRequired("SipMediaApplicationId"))
 29147  	}
 29148  	if s.SipMediaApplicationId != nil && len(*s.SipMediaApplicationId) < 1 {
 29149  		invalidParams.Add(request.NewErrParamMinLen("SipMediaApplicationId", 1))
 29150  	}
 29151  
 29152  	if invalidParams.Len() > 0 {
 29153  		return invalidParams
 29154  	}
 29155  	return nil
 29156  }
 29157  
 29158  // SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
 29159  func (s *DeleteSipMediaApplicationInput) SetSipMediaApplicationId(v string) *DeleteSipMediaApplicationInput {
 29160  	s.SipMediaApplicationId = &v
 29161  	return s
 29162  }
 29163  
 29164  type DeleteSipMediaApplicationOutput struct {
 29165  	_ struct{} `type:"structure" nopayload:"true"`
 29166  }
 29167  
 29168  // String returns the string representation.
 29169  //
 29170  // API parameter values that are decorated as "sensitive" in the API will not
 29171  // be included in the string output. The member name will be present, but the
 29172  // value will be replaced with "sensitive".
 29173  func (s DeleteSipMediaApplicationOutput) String() string {
 29174  	return awsutil.Prettify(s)
 29175  }
 29176  
 29177  // GoString returns the string representation.
 29178  //
 29179  // API parameter values that are decorated as "sensitive" in the API will not
 29180  // be included in the string output. The member name will be present, but the
 29181  // value will be replaced with "sensitive".
 29182  func (s DeleteSipMediaApplicationOutput) GoString() string {
 29183  	return s.String()
 29184  }
 29185  
 29186  type DeleteSipRuleInput struct {
 29187  	_ struct{} `type:"structure" nopayload:"true"`
 29188  
 29189  	// The SIP rule ID.
 29190  	//
 29191  	// SipRuleId is a required field
 29192  	SipRuleId *string `location:"uri" locationName:"sipRuleId" type:"string" required:"true"`
 29193  }
 29194  
 29195  // String returns the string representation.
 29196  //
 29197  // API parameter values that are decorated as "sensitive" in the API will not
 29198  // be included in the string output. The member name will be present, but the
 29199  // value will be replaced with "sensitive".
 29200  func (s DeleteSipRuleInput) String() string {
 29201  	return awsutil.Prettify(s)
 29202  }
 29203  
 29204  // GoString returns the string representation.
 29205  //
 29206  // API parameter values that are decorated as "sensitive" in the API will not
 29207  // be included in the string output. The member name will be present, but the
 29208  // value will be replaced with "sensitive".
 29209  func (s DeleteSipRuleInput) GoString() string {
 29210  	return s.String()
 29211  }
 29212  
 29213  // Validate inspects the fields of the type to determine if they are valid.
 29214  func (s *DeleteSipRuleInput) Validate() error {
 29215  	invalidParams := request.ErrInvalidParams{Context: "DeleteSipRuleInput"}
 29216  	if s.SipRuleId == nil {
 29217  		invalidParams.Add(request.NewErrParamRequired("SipRuleId"))
 29218  	}
 29219  	if s.SipRuleId != nil && len(*s.SipRuleId) < 1 {
 29220  		invalidParams.Add(request.NewErrParamMinLen("SipRuleId", 1))
 29221  	}
 29222  
 29223  	if invalidParams.Len() > 0 {
 29224  		return invalidParams
 29225  	}
 29226  	return nil
 29227  }
 29228  
 29229  // SetSipRuleId sets the SipRuleId field's value.
 29230  func (s *DeleteSipRuleInput) SetSipRuleId(v string) *DeleteSipRuleInput {
 29231  	s.SipRuleId = &v
 29232  	return s
 29233  }
 29234  
 29235  type DeleteSipRuleOutput struct {
 29236  	_ struct{} `type:"structure" nopayload:"true"`
 29237  }
 29238  
 29239  // String returns the string representation.
 29240  //
 29241  // API parameter values that are decorated as "sensitive" in the API will not
 29242  // be included in the string output. The member name will be present, but the
 29243  // value will be replaced with "sensitive".
 29244  func (s DeleteSipRuleOutput) String() string {
 29245  	return awsutil.Prettify(s)
 29246  }
 29247  
 29248  // GoString returns the string representation.
 29249  //
 29250  // API parameter values that are decorated as "sensitive" in the API will not
 29251  // be included in the string output. The member name will be present, but the
 29252  // value will be replaced with "sensitive".
 29253  func (s DeleteSipRuleOutput) GoString() string {
 29254  	return s.String()
 29255  }
 29256  
 29257  type DeleteVoiceConnectorEmergencyCallingConfigurationInput struct {
 29258  	_ struct{} `type:"structure" nopayload:"true"`
 29259  
 29260  	// The Amazon Chime Voice Connector ID.
 29261  	//
 29262  	// VoiceConnectorId is a required field
 29263  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 29264  }
 29265  
 29266  // String returns the string representation.
 29267  //
 29268  // API parameter values that are decorated as "sensitive" in the API will not
 29269  // be included in the string output. The member name will be present, but the
 29270  // value will be replaced with "sensitive".
 29271  func (s DeleteVoiceConnectorEmergencyCallingConfigurationInput) String() string {
 29272  	return awsutil.Prettify(s)
 29273  }
 29274  
 29275  // GoString returns the string representation.
 29276  //
 29277  // API parameter values that are decorated as "sensitive" in the API will not
 29278  // be included in the string output. The member name will be present, but the
 29279  // value will be replaced with "sensitive".
 29280  func (s DeleteVoiceConnectorEmergencyCallingConfigurationInput) GoString() string {
 29281  	return s.String()
 29282  }
 29283  
 29284  // Validate inspects the fields of the type to determine if they are valid.
 29285  func (s *DeleteVoiceConnectorEmergencyCallingConfigurationInput) Validate() error {
 29286  	invalidParams := request.ErrInvalidParams{Context: "DeleteVoiceConnectorEmergencyCallingConfigurationInput"}
 29287  	if s.VoiceConnectorId == nil {
 29288  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 29289  	}
 29290  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 29291  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 29292  	}
 29293  
 29294  	if invalidParams.Len() > 0 {
 29295  		return invalidParams
 29296  	}
 29297  	return nil
 29298  }
 29299  
 29300  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 29301  func (s *DeleteVoiceConnectorEmergencyCallingConfigurationInput) SetVoiceConnectorId(v string) *DeleteVoiceConnectorEmergencyCallingConfigurationInput {
 29302  	s.VoiceConnectorId = &v
 29303  	return s
 29304  }
 29305  
 29306  type DeleteVoiceConnectorEmergencyCallingConfigurationOutput struct {
 29307  	_ struct{} `type:"structure" nopayload:"true"`
 29308  }
 29309  
 29310  // String returns the string representation.
 29311  //
 29312  // API parameter values that are decorated as "sensitive" in the API will not
 29313  // be included in the string output. The member name will be present, but the
 29314  // value will be replaced with "sensitive".
 29315  func (s DeleteVoiceConnectorEmergencyCallingConfigurationOutput) String() string {
 29316  	return awsutil.Prettify(s)
 29317  }
 29318  
 29319  // GoString returns the string representation.
 29320  //
 29321  // API parameter values that are decorated as "sensitive" in the API will not
 29322  // be included in the string output. The member name will be present, but the
 29323  // value will be replaced with "sensitive".
 29324  func (s DeleteVoiceConnectorEmergencyCallingConfigurationOutput) GoString() string {
 29325  	return s.String()
 29326  }
 29327  
 29328  type DeleteVoiceConnectorGroupInput struct {
 29329  	_ struct{} `type:"structure" nopayload:"true"`
 29330  
 29331  	// The Amazon Chime Voice Connector group ID.
 29332  	//
 29333  	// VoiceConnectorGroupId is a required field
 29334  	VoiceConnectorGroupId *string `location:"uri" locationName:"voiceConnectorGroupId" type:"string" required:"true"`
 29335  }
 29336  
 29337  // String returns the string representation.
 29338  //
 29339  // API parameter values that are decorated as "sensitive" in the API will not
 29340  // be included in the string output. The member name will be present, but the
 29341  // value will be replaced with "sensitive".
 29342  func (s DeleteVoiceConnectorGroupInput) String() string {
 29343  	return awsutil.Prettify(s)
 29344  }
 29345  
 29346  // GoString returns the string representation.
 29347  //
 29348  // API parameter values that are decorated as "sensitive" in the API will not
 29349  // be included in the string output. The member name will be present, but the
 29350  // value will be replaced with "sensitive".
 29351  func (s DeleteVoiceConnectorGroupInput) GoString() string {
 29352  	return s.String()
 29353  }
 29354  
 29355  // Validate inspects the fields of the type to determine if they are valid.
 29356  func (s *DeleteVoiceConnectorGroupInput) Validate() error {
 29357  	invalidParams := request.ErrInvalidParams{Context: "DeleteVoiceConnectorGroupInput"}
 29358  	if s.VoiceConnectorGroupId == nil {
 29359  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorGroupId"))
 29360  	}
 29361  	if s.VoiceConnectorGroupId != nil && len(*s.VoiceConnectorGroupId) < 1 {
 29362  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorGroupId", 1))
 29363  	}
 29364  
 29365  	if invalidParams.Len() > 0 {
 29366  		return invalidParams
 29367  	}
 29368  	return nil
 29369  }
 29370  
 29371  // SetVoiceConnectorGroupId sets the VoiceConnectorGroupId field's value.
 29372  func (s *DeleteVoiceConnectorGroupInput) SetVoiceConnectorGroupId(v string) *DeleteVoiceConnectorGroupInput {
 29373  	s.VoiceConnectorGroupId = &v
 29374  	return s
 29375  }
 29376  
 29377  type DeleteVoiceConnectorGroupOutput struct {
 29378  	_ struct{} `type:"structure" nopayload:"true"`
 29379  }
 29380  
 29381  // String returns the string representation.
 29382  //
 29383  // API parameter values that are decorated as "sensitive" in the API will not
 29384  // be included in the string output. The member name will be present, but the
 29385  // value will be replaced with "sensitive".
 29386  func (s DeleteVoiceConnectorGroupOutput) String() string {
 29387  	return awsutil.Prettify(s)
 29388  }
 29389  
 29390  // GoString returns the string representation.
 29391  //
 29392  // API parameter values that are decorated as "sensitive" in the API will not
 29393  // be included in the string output. The member name will be present, but the
 29394  // value will be replaced with "sensitive".
 29395  func (s DeleteVoiceConnectorGroupOutput) GoString() string {
 29396  	return s.String()
 29397  }
 29398  
 29399  type DeleteVoiceConnectorInput struct {
 29400  	_ struct{} `type:"structure" nopayload:"true"`
 29401  
 29402  	// The Amazon Chime Voice Connector ID.
 29403  	//
 29404  	// VoiceConnectorId is a required field
 29405  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 29406  }
 29407  
 29408  // String returns the string representation.
 29409  //
 29410  // API parameter values that are decorated as "sensitive" in the API will not
 29411  // be included in the string output. The member name will be present, but the
 29412  // value will be replaced with "sensitive".
 29413  func (s DeleteVoiceConnectorInput) String() string {
 29414  	return awsutil.Prettify(s)
 29415  }
 29416  
 29417  // GoString returns the string representation.
 29418  //
 29419  // API parameter values that are decorated as "sensitive" in the API will not
 29420  // be included in the string output. The member name will be present, but the
 29421  // value will be replaced with "sensitive".
 29422  func (s DeleteVoiceConnectorInput) GoString() string {
 29423  	return s.String()
 29424  }
 29425  
 29426  // Validate inspects the fields of the type to determine if they are valid.
 29427  func (s *DeleteVoiceConnectorInput) Validate() error {
 29428  	invalidParams := request.ErrInvalidParams{Context: "DeleteVoiceConnectorInput"}
 29429  	if s.VoiceConnectorId == nil {
 29430  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 29431  	}
 29432  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 29433  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 29434  	}
 29435  
 29436  	if invalidParams.Len() > 0 {
 29437  		return invalidParams
 29438  	}
 29439  	return nil
 29440  }
 29441  
 29442  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 29443  func (s *DeleteVoiceConnectorInput) SetVoiceConnectorId(v string) *DeleteVoiceConnectorInput {
 29444  	s.VoiceConnectorId = &v
 29445  	return s
 29446  }
 29447  
 29448  type DeleteVoiceConnectorOriginationInput struct {
 29449  	_ struct{} `type:"structure" nopayload:"true"`
 29450  
 29451  	// The Amazon Chime Voice Connector ID.
 29452  	//
 29453  	// VoiceConnectorId is a required field
 29454  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 29455  }
 29456  
 29457  // String returns the string representation.
 29458  //
 29459  // API parameter values that are decorated as "sensitive" in the API will not
 29460  // be included in the string output. The member name will be present, but the
 29461  // value will be replaced with "sensitive".
 29462  func (s DeleteVoiceConnectorOriginationInput) String() string {
 29463  	return awsutil.Prettify(s)
 29464  }
 29465  
 29466  // GoString returns the string representation.
 29467  //
 29468  // API parameter values that are decorated as "sensitive" in the API will not
 29469  // be included in the string output. The member name will be present, but the
 29470  // value will be replaced with "sensitive".
 29471  func (s DeleteVoiceConnectorOriginationInput) GoString() string {
 29472  	return s.String()
 29473  }
 29474  
 29475  // Validate inspects the fields of the type to determine if they are valid.
 29476  func (s *DeleteVoiceConnectorOriginationInput) Validate() error {
 29477  	invalidParams := request.ErrInvalidParams{Context: "DeleteVoiceConnectorOriginationInput"}
 29478  	if s.VoiceConnectorId == nil {
 29479  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 29480  	}
 29481  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 29482  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 29483  	}
 29484  
 29485  	if invalidParams.Len() > 0 {
 29486  		return invalidParams
 29487  	}
 29488  	return nil
 29489  }
 29490  
 29491  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 29492  func (s *DeleteVoiceConnectorOriginationInput) SetVoiceConnectorId(v string) *DeleteVoiceConnectorOriginationInput {
 29493  	s.VoiceConnectorId = &v
 29494  	return s
 29495  }
 29496  
 29497  type DeleteVoiceConnectorOriginationOutput struct {
 29498  	_ struct{} `type:"structure" nopayload:"true"`
 29499  }
 29500  
 29501  // String returns the string representation.
 29502  //
 29503  // API parameter values that are decorated as "sensitive" in the API will not
 29504  // be included in the string output. The member name will be present, but the
 29505  // value will be replaced with "sensitive".
 29506  func (s DeleteVoiceConnectorOriginationOutput) String() string {
 29507  	return awsutil.Prettify(s)
 29508  }
 29509  
 29510  // GoString returns the string representation.
 29511  //
 29512  // API parameter values that are decorated as "sensitive" in the API will not
 29513  // be included in the string output. The member name will be present, but the
 29514  // value will be replaced with "sensitive".
 29515  func (s DeleteVoiceConnectorOriginationOutput) GoString() string {
 29516  	return s.String()
 29517  }
 29518  
 29519  type DeleteVoiceConnectorOutput struct {
 29520  	_ struct{} `type:"structure" nopayload:"true"`
 29521  }
 29522  
 29523  // String returns the string representation.
 29524  //
 29525  // API parameter values that are decorated as "sensitive" in the API will not
 29526  // be included in the string output. The member name will be present, but the
 29527  // value will be replaced with "sensitive".
 29528  func (s DeleteVoiceConnectorOutput) String() string {
 29529  	return awsutil.Prettify(s)
 29530  }
 29531  
 29532  // GoString returns the string representation.
 29533  //
 29534  // API parameter values that are decorated as "sensitive" in the API will not
 29535  // be included in the string output. The member name will be present, but the
 29536  // value will be replaced with "sensitive".
 29537  func (s DeleteVoiceConnectorOutput) GoString() string {
 29538  	return s.String()
 29539  }
 29540  
 29541  type DeleteVoiceConnectorProxyInput struct {
 29542  	_ struct{} `type:"structure" nopayload:"true"`
 29543  
 29544  	// The Amazon Chime Voice Connector ID.
 29545  	//
 29546  	// VoiceConnectorId is a required field
 29547  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" min:"1" type:"string" required:"true"`
 29548  }
 29549  
 29550  // String returns the string representation.
 29551  //
 29552  // API parameter values that are decorated as "sensitive" in the API will not
 29553  // be included in the string output. The member name will be present, but the
 29554  // value will be replaced with "sensitive".
 29555  func (s DeleteVoiceConnectorProxyInput) String() string {
 29556  	return awsutil.Prettify(s)
 29557  }
 29558  
 29559  // GoString returns the string representation.
 29560  //
 29561  // API parameter values that are decorated as "sensitive" in the API will not
 29562  // be included in the string output. The member name will be present, but the
 29563  // value will be replaced with "sensitive".
 29564  func (s DeleteVoiceConnectorProxyInput) GoString() string {
 29565  	return s.String()
 29566  }
 29567  
 29568  // Validate inspects the fields of the type to determine if they are valid.
 29569  func (s *DeleteVoiceConnectorProxyInput) Validate() error {
 29570  	invalidParams := request.ErrInvalidParams{Context: "DeleteVoiceConnectorProxyInput"}
 29571  	if s.VoiceConnectorId == nil {
 29572  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 29573  	}
 29574  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 29575  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 29576  	}
 29577  
 29578  	if invalidParams.Len() > 0 {
 29579  		return invalidParams
 29580  	}
 29581  	return nil
 29582  }
 29583  
 29584  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 29585  func (s *DeleteVoiceConnectorProxyInput) SetVoiceConnectorId(v string) *DeleteVoiceConnectorProxyInput {
 29586  	s.VoiceConnectorId = &v
 29587  	return s
 29588  }
 29589  
 29590  type DeleteVoiceConnectorProxyOutput struct {
 29591  	_ struct{} `type:"structure" nopayload:"true"`
 29592  }
 29593  
 29594  // String returns the string representation.
 29595  //
 29596  // API parameter values that are decorated as "sensitive" in the API will not
 29597  // be included in the string output. The member name will be present, but the
 29598  // value will be replaced with "sensitive".
 29599  func (s DeleteVoiceConnectorProxyOutput) String() string {
 29600  	return awsutil.Prettify(s)
 29601  }
 29602  
 29603  // GoString returns the string representation.
 29604  //
 29605  // API parameter values that are decorated as "sensitive" in the API will not
 29606  // be included in the string output. The member name will be present, but the
 29607  // value will be replaced with "sensitive".
 29608  func (s DeleteVoiceConnectorProxyOutput) GoString() string {
 29609  	return s.String()
 29610  }
 29611  
 29612  type DeleteVoiceConnectorStreamingConfigurationInput struct {
 29613  	_ struct{} `type:"structure" nopayload:"true"`
 29614  
 29615  	// The Amazon Chime Voice Connector ID.
 29616  	//
 29617  	// VoiceConnectorId is a required field
 29618  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 29619  }
 29620  
 29621  // String returns the string representation.
 29622  //
 29623  // API parameter values that are decorated as "sensitive" in the API will not
 29624  // be included in the string output. The member name will be present, but the
 29625  // value will be replaced with "sensitive".
 29626  func (s DeleteVoiceConnectorStreamingConfigurationInput) String() string {
 29627  	return awsutil.Prettify(s)
 29628  }
 29629  
 29630  // GoString returns the string representation.
 29631  //
 29632  // API parameter values that are decorated as "sensitive" in the API will not
 29633  // be included in the string output. The member name will be present, but the
 29634  // value will be replaced with "sensitive".
 29635  func (s DeleteVoiceConnectorStreamingConfigurationInput) GoString() string {
 29636  	return s.String()
 29637  }
 29638  
 29639  // Validate inspects the fields of the type to determine if they are valid.
 29640  func (s *DeleteVoiceConnectorStreamingConfigurationInput) Validate() error {
 29641  	invalidParams := request.ErrInvalidParams{Context: "DeleteVoiceConnectorStreamingConfigurationInput"}
 29642  	if s.VoiceConnectorId == nil {
 29643  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 29644  	}
 29645  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 29646  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 29647  	}
 29648  
 29649  	if invalidParams.Len() > 0 {
 29650  		return invalidParams
 29651  	}
 29652  	return nil
 29653  }
 29654  
 29655  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 29656  func (s *DeleteVoiceConnectorStreamingConfigurationInput) SetVoiceConnectorId(v string) *DeleteVoiceConnectorStreamingConfigurationInput {
 29657  	s.VoiceConnectorId = &v
 29658  	return s
 29659  }
 29660  
 29661  type DeleteVoiceConnectorStreamingConfigurationOutput struct {
 29662  	_ struct{} `type:"structure" nopayload:"true"`
 29663  }
 29664  
 29665  // String returns the string representation.
 29666  //
 29667  // API parameter values that are decorated as "sensitive" in the API will not
 29668  // be included in the string output. The member name will be present, but the
 29669  // value will be replaced with "sensitive".
 29670  func (s DeleteVoiceConnectorStreamingConfigurationOutput) String() string {
 29671  	return awsutil.Prettify(s)
 29672  }
 29673  
 29674  // GoString returns the string representation.
 29675  //
 29676  // API parameter values that are decorated as "sensitive" in the API will not
 29677  // be included in the string output. The member name will be present, but the
 29678  // value will be replaced with "sensitive".
 29679  func (s DeleteVoiceConnectorStreamingConfigurationOutput) GoString() string {
 29680  	return s.String()
 29681  }
 29682  
 29683  type DeleteVoiceConnectorTerminationCredentialsInput struct {
 29684  	_ struct{} `type:"structure"`
 29685  
 29686  	// The RFC2617 compliant username associated with the SIP credentials, in US-ASCII
 29687  	// format.
 29688  	//
 29689  	// Usernames is a required field
 29690  	Usernames []*string `type:"list" required:"true"`
 29691  
 29692  	// The Amazon Chime Voice Connector ID.
 29693  	//
 29694  	// VoiceConnectorId is a required field
 29695  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 29696  }
 29697  
 29698  // String returns the string representation.
 29699  //
 29700  // API parameter values that are decorated as "sensitive" in the API will not
 29701  // be included in the string output. The member name will be present, but the
 29702  // value will be replaced with "sensitive".
 29703  func (s DeleteVoiceConnectorTerminationCredentialsInput) String() string {
 29704  	return awsutil.Prettify(s)
 29705  }
 29706  
 29707  // GoString returns the string representation.
 29708  //
 29709  // API parameter values that are decorated as "sensitive" in the API will not
 29710  // be included in the string output. The member name will be present, but the
 29711  // value will be replaced with "sensitive".
 29712  func (s DeleteVoiceConnectorTerminationCredentialsInput) GoString() string {
 29713  	return s.String()
 29714  }
 29715  
 29716  // Validate inspects the fields of the type to determine if they are valid.
 29717  func (s *DeleteVoiceConnectorTerminationCredentialsInput) Validate() error {
 29718  	invalidParams := request.ErrInvalidParams{Context: "DeleteVoiceConnectorTerminationCredentialsInput"}
 29719  	if s.Usernames == nil {
 29720  		invalidParams.Add(request.NewErrParamRequired("Usernames"))
 29721  	}
 29722  	if s.VoiceConnectorId == nil {
 29723  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 29724  	}
 29725  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 29726  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 29727  	}
 29728  
 29729  	if invalidParams.Len() > 0 {
 29730  		return invalidParams
 29731  	}
 29732  	return nil
 29733  }
 29734  
 29735  // SetUsernames sets the Usernames field's value.
 29736  func (s *DeleteVoiceConnectorTerminationCredentialsInput) SetUsernames(v []*string) *DeleteVoiceConnectorTerminationCredentialsInput {
 29737  	s.Usernames = v
 29738  	return s
 29739  }
 29740  
 29741  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 29742  func (s *DeleteVoiceConnectorTerminationCredentialsInput) SetVoiceConnectorId(v string) *DeleteVoiceConnectorTerminationCredentialsInput {
 29743  	s.VoiceConnectorId = &v
 29744  	return s
 29745  }
 29746  
 29747  type DeleteVoiceConnectorTerminationCredentialsOutput struct {
 29748  	_ struct{} `type:"structure" nopayload:"true"`
 29749  }
 29750  
 29751  // String returns the string representation.
 29752  //
 29753  // API parameter values that are decorated as "sensitive" in the API will not
 29754  // be included in the string output. The member name will be present, but the
 29755  // value will be replaced with "sensitive".
 29756  func (s DeleteVoiceConnectorTerminationCredentialsOutput) String() string {
 29757  	return awsutil.Prettify(s)
 29758  }
 29759  
 29760  // GoString returns the string representation.
 29761  //
 29762  // API parameter values that are decorated as "sensitive" in the API will not
 29763  // be included in the string output. The member name will be present, but the
 29764  // value will be replaced with "sensitive".
 29765  func (s DeleteVoiceConnectorTerminationCredentialsOutput) GoString() string {
 29766  	return s.String()
 29767  }
 29768  
 29769  type DeleteVoiceConnectorTerminationInput struct {
 29770  	_ struct{} `type:"structure" nopayload:"true"`
 29771  
 29772  	// The Amazon Chime Voice Connector ID.
 29773  	//
 29774  	// VoiceConnectorId is a required field
 29775  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 29776  }
 29777  
 29778  // String returns the string representation.
 29779  //
 29780  // API parameter values that are decorated as "sensitive" in the API will not
 29781  // be included in the string output. The member name will be present, but the
 29782  // value will be replaced with "sensitive".
 29783  func (s DeleteVoiceConnectorTerminationInput) String() string {
 29784  	return awsutil.Prettify(s)
 29785  }
 29786  
 29787  // GoString returns the string representation.
 29788  //
 29789  // API parameter values that are decorated as "sensitive" in the API will not
 29790  // be included in the string output. The member name will be present, but the
 29791  // value will be replaced with "sensitive".
 29792  func (s DeleteVoiceConnectorTerminationInput) GoString() string {
 29793  	return s.String()
 29794  }
 29795  
 29796  // Validate inspects the fields of the type to determine if they are valid.
 29797  func (s *DeleteVoiceConnectorTerminationInput) Validate() error {
 29798  	invalidParams := request.ErrInvalidParams{Context: "DeleteVoiceConnectorTerminationInput"}
 29799  	if s.VoiceConnectorId == nil {
 29800  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 29801  	}
 29802  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 29803  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 29804  	}
 29805  
 29806  	if invalidParams.Len() > 0 {
 29807  		return invalidParams
 29808  	}
 29809  	return nil
 29810  }
 29811  
 29812  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 29813  func (s *DeleteVoiceConnectorTerminationInput) SetVoiceConnectorId(v string) *DeleteVoiceConnectorTerminationInput {
 29814  	s.VoiceConnectorId = &v
 29815  	return s
 29816  }
 29817  
 29818  type DeleteVoiceConnectorTerminationOutput struct {
 29819  	_ struct{} `type:"structure" nopayload:"true"`
 29820  }
 29821  
 29822  // String returns the string representation.
 29823  //
 29824  // API parameter values that are decorated as "sensitive" in the API will not
 29825  // be included in the string output. The member name will be present, but the
 29826  // value will be replaced with "sensitive".
 29827  func (s DeleteVoiceConnectorTerminationOutput) String() string {
 29828  	return awsutil.Prettify(s)
 29829  }
 29830  
 29831  // GoString returns the string representation.
 29832  //
 29833  // API parameter values that are decorated as "sensitive" in the API will not
 29834  // be included in the string output. The member name will be present, but the
 29835  // value will be replaced with "sensitive".
 29836  func (s DeleteVoiceConnectorTerminationOutput) GoString() string {
 29837  	return s.String()
 29838  }
 29839  
 29840  type DescribeAppInstanceAdminInput struct {
 29841  	_ struct{} `type:"structure" nopayload:"true"`
 29842  
 29843  	// The ARN of the AppInstanceAdmin.
 29844  	//
 29845  	// AppInstanceAdminArn is a required field
 29846  	AppInstanceAdminArn *string `location:"uri" locationName:"appInstanceAdminArn" min:"5" type:"string" required:"true"`
 29847  
 29848  	// The ARN of the AppInstance.
 29849  	//
 29850  	// AppInstanceArn is a required field
 29851  	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
 29852  }
 29853  
 29854  // String returns the string representation.
 29855  //
 29856  // API parameter values that are decorated as "sensitive" in the API will not
 29857  // be included in the string output. The member name will be present, but the
 29858  // value will be replaced with "sensitive".
 29859  func (s DescribeAppInstanceAdminInput) String() string {
 29860  	return awsutil.Prettify(s)
 29861  }
 29862  
 29863  // GoString returns the string representation.
 29864  //
 29865  // API parameter values that are decorated as "sensitive" in the API will not
 29866  // be included in the string output. The member name will be present, but the
 29867  // value will be replaced with "sensitive".
 29868  func (s DescribeAppInstanceAdminInput) GoString() string {
 29869  	return s.String()
 29870  }
 29871  
 29872  // Validate inspects the fields of the type to determine if they are valid.
 29873  func (s *DescribeAppInstanceAdminInput) Validate() error {
 29874  	invalidParams := request.ErrInvalidParams{Context: "DescribeAppInstanceAdminInput"}
 29875  	if s.AppInstanceAdminArn == nil {
 29876  		invalidParams.Add(request.NewErrParamRequired("AppInstanceAdminArn"))
 29877  	}
 29878  	if s.AppInstanceAdminArn != nil && len(*s.AppInstanceAdminArn) < 5 {
 29879  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceAdminArn", 5))
 29880  	}
 29881  	if s.AppInstanceArn == nil {
 29882  		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
 29883  	}
 29884  	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
 29885  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
 29886  	}
 29887  
 29888  	if invalidParams.Len() > 0 {
 29889  		return invalidParams
 29890  	}
 29891  	return nil
 29892  }
 29893  
 29894  // SetAppInstanceAdminArn sets the AppInstanceAdminArn field's value.
 29895  func (s *DescribeAppInstanceAdminInput) SetAppInstanceAdminArn(v string) *DescribeAppInstanceAdminInput {
 29896  	s.AppInstanceAdminArn = &v
 29897  	return s
 29898  }
 29899  
 29900  // SetAppInstanceArn sets the AppInstanceArn field's value.
 29901  func (s *DescribeAppInstanceAdminInput) SetAppInstanceArn(v string) *DescribeAppInstanceAdminInput {
 29902  	s.AppInstanceArn = &v
 29903  	return s
 29904  }
 29905  
 29906  type DescribeAppInstanceAdminOutput struct {
 29907  	_ struct{} `type:"structure"`
 29908  
 29909  	// The ARN and name of the AppInstanceUser, the ARN of the AppInstance, and
 29910  	// the created and last-updated timestamps. All timestamps use epoch milliseconds.
 29911  	AppInstanceAdmin *AppInstanceAdmin `type:"structure"`
 29912  }
 29913  
 29914  // String returns the string representation.
 29915  //
 29916  // API parameter values that are decorated as "sensitive" in the API will not
 29917  // be included in the string output. The member name will be present, but the
 29918  // value will be replaced with "sensitive".
 29919  func (s DescribeAppInstanceAdminOutput) String() string {
 29920  	return awsutil.Prettify(s)
 29921  }
 29922  
 29923  // GoString returns the string representation.
 29924  //
 29925  // API parameter values that are decorated as "sensitive" in the API will not
 29926  // be included in the string output. The member name will be present, but the
 29927  // value will be replaced with "sensitive".
 29928  func (s DescribeAppInstanceAdminOutput) GoString() string {
 29929  	return s.String()
 29930  }
 29931  
 29932  // SetAppInstanceAdmin sets the AppInstanceAdmin field's value.
 29933  func (s *DescribeAppInstanceAdminOutput) SetAppInstanceAdmin(v *AppInstanceAdmin) *DescribeAppInstanceAdminOutput {
 29934  	s.AppInstanceAdmin = v
 29935  	return s
 29936  }
 29937  
 29938  type DescribeAppInstanceInput struct {
 29939  	_ struct{} `type:"structure" nopayload:"true"`
 29940  
 29941  	// The ARN of the AppInstance.
 29942  	//
 29943  	// AppInstanceArn is a required field
 29944  	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
 29945  }
 29946  
 29947  // String returns the string representation.
 29948  //
 29949  // API parameter values that are decorated as "sensitive" in the API will not
 29950  // be included in the string output. The member name will be present, but the
 29951  // value will be replaced with "sensitive".
 29952  func (s DescribeAppInstanceInput) String() string {
 29953  	return awsutil.Prettify(s)
 29954  }
 29955  
 29956  // GoString returns the string representation.
 29957  //
 29958  // API parameter values that are decorated as "sensitive" in the API will not
 29959  // be included in the string output. The member name will be present, but the
 29960  // value will be replaced with "sensitive".
 29961  func (s DescribeAppInstanceInput) GoString() string {
 29962  	return s.String()
 29963  }
 29964  
 29965  // Validate inspects the fields of the type to determine if they are valid.
 29966  func (s *DescribeAppInstanceInput) Validate() error {
 29967  	invalidParams := request.ErrInvalidParams{Context: "DescribeAppInstanceInput"}
 29968  	if s.AppInstanceArn == nil {
 29969  		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
 29970  	}
 29971  	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
 29972  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
 29973  	}
 29974  
 29975  	if invalidParams.Len() > 0 {
 29976  		return invalidParams
 29977  	}
 29978  	return nil
 29979  }
 29980  
 29981  // SetAppInstanceArn sets the AppInstanceArn field's value.
 29982  func (s *DescribeAppInstanceInput) SetAppInstanceArn(v string) *DescribeAppInstanceInput {
 29983  	s.AppInstanceArn = &v
 29984  	return s
 29985  }
 29986  
 29987  type DescribeAppInstanceOutput struct {
 29988  	_ struct{} `type:"structure"`
 29989  
 29990  	// The ARN, metadata, created and last-updated timestamps, and the name of the
 29991  	// AppInstance. All timestamps use epoch milliseconds.
 29992  	AppInstance *AppInstance `type:"structure"`
 29993  }
 29994  
 29995  // String returns the string representation.
 29996  //
 29997  // API parameter values that are decorated as "sensitive" in the API will not
 29998  // be included in the string output. The member name will be present, but the
 29999  // value will be replaced with "sensitive".
 30000  func (s DescribeAppInstanceOutput) String() string {
 30001  	return awsutil.Prettify(s)
 30002  }
 30003  
 30004  // GoString returns the string representation.
 30005  //
 30006  // API parameter values that are decorated as "sensitive" in the API will not
 30007  // be included in the string output. The member name will be present, but the
 30008  // value will be replaced with "sensitive".
 30009  func (s DescribeAppInstanceOutput) GoString() string {
 30010  	return s.String()
 30011  }
 30012  
 30013  // SetAppInstance sets the AppInstance field's value.
 30014  func (s *DescribeAppInstanceOutput) SetAppInstance(v *AppInstance) *DescribeAppInstanceOutput {
 30015  	s.AppInstance = v
 30016  	return s
 30017  }
 30018  
 30019  type DescribeAppInstanceUserInput struct {
 30020  	_ struct{} `type:"structure" nopayload:"true"`
 30021  
 30022  	// The ARN of the AppInstanceUser.
 30023  	//
 30024  	// AppInstanceUserArn is a required field
 30025  	AppInstanceUserArn *string `location:"uri" locationName:"appInstanceUserArn" min:"5" type:"string" required:"true"`
 30026  }
 30027  
 30028  // String returns the string representation.
 30029  //
 30030  // API parameter values that are decorated as "sensitive" in the API will not
 30031  // be included in the string output. The member name will be present, but the
 30032  // value will be replaced with "sensitive".
 30033  func (s DescribeAppInstanceUserInput) String() string {
 30034  	return awsutil.Prettify(s)
 30035  }
 30036  
 30037  // GoString returns the string representation.
 30038  //
 30039  // API parameter values that are decorated as "sensitive" in the API will not
 30040  // be included in the string output. The member name will be present, but the
 30041  // value will be replaced with "sensitive".
 30042  func (s DescribeAppInstanceUserInput) GoString() string {
 30043  	return s.String()
 30044  }
 30045  
 30046  // Validate inspects the fields of the type to determine if they are valid.
 30047  func (s *DescribeAppInstanceUserInput) Validate() error {
 30048  	invalidParams := request.ErrInvalidParams{Context: "DescribeAppInstanceUserInput"}
 30049  	if s.AppInstanceUserArn == nil {
 30050  		invalidParams.Add(request.NewErrParamRequired("AppInstanceUserArn"))
 30051  	}
 30052  	if s.AppInstanceUserArn != nil && len(*s.AppInstanceUserArn) < 5 {
 30053  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceUserArn", 5))
 30054  	}
 30055  
 30056  	if invalidParams.Len() > 0 {
 30057  		return invalidParams
 30058  	}
 30059  	return nil
 30060  }
 30061  
 30062  // SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
 30063  func (s *DescribeAppInstanceUserInput) SetAppInstanceUserArn(v string) *DescribeAppInstanceUserInput {
 30064  	s.AppInstanceUserArn = &v
 30065  	return s
 30066  }
 30067  
 30068  type DescribeAppInstanceUserOutput struct {
 30069  	_ struct{} `type:"structure"`
 30070  
 30071  	// The name of the AppInstanceUser.
 30072  	AppInstanceUser *AppInstanceUser `type:"structure"`
 30073  }
 30074  
 30075  // String returns the string representation.
 30076  //
 30077  // API parameter values that are decorated as "sensitive" in the API will not
 30078  // be included in the string output. The member name will be present, but the
 30079  // value will be replaced with "sensitive".
 30080  func (s DescribeAppInstanceUserOutput) String() string {
 30081  	return awsutil.Prettify(s)
 30082  }
 30083  
 30084  // GoString returns the string representation.
 30085  //
 30086  // API parameter values that are decorated as "sensitive" in the API will not
 30087  // be included in the string output. The member name will be present, but the
 30088  // value will be replaced with "sensitive".
 30089  func (s DescribeAppInstanceUserOutput) GoString() string {
 30090  	return s.String()
 30091  }
 30092  
 30093  // SetAppInstanceUser sets the AppInstanceUser field's value.
 30094  func (s *DescribeAppInstanceUserOutput) SetAppInstanceUser(v *AppInstanceUser) *DescribeAppInstanceUserOutput {
 30095  	s.AppInstanceUser = v
 30096  	return s
 30097  }
 30098  
 30099  type DescribeChannelBanInput struct {
 30100  	_ struct{} `type:"structure" nopayload:"true"`
 30101  
 30102  	// The ARN of the channel from which the user is banned.
 30103  	//
 30104  	// ChannelArn is a required field
 30105  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 30106  
 30107  	// The AppInstanceUserArn of the user that makes the API call.
 30108  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 30109  
 30110  	// The ARN of the member being banned.
 30111  	//
 30112  	// MemberArn is a required field
 30113  	MemberArn *string `location:"uri" locationName:"memberArn" min:"5" type:"string" required:"true"`
 30114  }
 30115  
 30116  // String returns the string representation.
 30117  //
 30118  // API parameter values that are decorated as "sensitive" in the API will not
 30119  // be included in the string output. The member name will be present, but the
 30120  // value will be replaced with "sensitive".
 30121  func (s DescribeChannelBanInput) String() string {
 30122  	return awsutil.Prettify(s)
 30123  }
 30124  
 30125  // GoString returns the string representation.
 30126  //
 30127  // API parameter values that are decorated as "sensitive" in the API will not
 30128  // be included in the string output. The member name will be present, but the
 30129  // value will be replaced with "sensitive".
 30130  func (s DescribeChannelBanInput) GoString() string {
 30131  	return s.String()
 30132  }
 30133  
 30134  // Validate inspects the fields of the type to determine if they are valid.
 30135  func (s *DescribeChannelBanInput) Validate() error {
 30136  	invalidParams := request.ErrInvalidParams{Context: "DescribeChannelBanInput"}
 30137  	if s.ChannelArn == nil {
 30138  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 30139  	}
 30140  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 30141  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 30142  	}
 30143  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 30144  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 30145  	}
 30146  	if s.MemberArn == nil {
 30147  		invalidParams.Add(request.NewErrParamRequired("MemberArn"))
 30148  	}
 30149  	if s.MemberArn != nil && len(*s.MemberArn) < 5 {
 30150  		invalidParams.Add(request.NewErrParamMinLen("MemberArn", 5))
 30151  	}
 30152  
 30153  	if invalidParams.Len() > 0 {
 30154  		return invalidParams
 30155  	}
 30156  	return nil
 30157  }
 30158  
 30159  // SetChannelArn sets the ChannelArn field's value.
 30160  func (s *DescribeChannelBanInput) SetChannelArn(v string) *DescribeChannelBanInput {
 30161  	s.ChannelArn = &v
 30162  	return s
 30163  }
 30164  
 30165  // SetChimeBearer sets the ChimeBearer field's value.
 30166  func (s *DescribeChannelBanInput) SetChimeBearer(v string) *DescribeChannelBanInput {
 30167  	s.ChimeBearer = &v
 30168  	return s
 30169  }
 30170  
 30171  // SetMemberArn sets the MemberArn field's value.
 30172  func (s *DescribeChannelBanInput) SetMemberArn(v string) *DescribeChannelBanInput {
 30173  	s.MemberArn = &v
 30174  	return s
 30175  }
 30176  
 30177  type DescribeChannelBanOutput struct {
 30178  	_ struct{} `type:"structure"`
 30179  
 30180  	// The details of the ban.
 30181  	ChannelBan *ChannelBan `type:"structure"`
 30182  }
 30183  
 30184  // String returns the string representation.
 30185  //
 30186  // API parameter values that are decorated as "sensitive" in the API will not
 30187  // be included in the string output. The member name will be present, but the
 30188  // value will be replaced with "sensitive".
 30189  func (s DescribeChannelBanOutput) String() string {
 30190  	return awsutil.Prettify(s)
 30191  }
 30192  
 30193  // GoString returns the string representation.
 30194  //
 30195  // API parameter values that are decorated as "sensitive" in the API will not
 30196  // be included in the string output. The member name will be present, but the
 30197  // value will be replaced with "sensitive".
 30198  func (s DescribeChannelBanOutput) GoString() string {
 30199  	return s.String()
 30200  }
 30201  
 30202  // SetChannelBan sets the ChannelBan field's value.
 30203  func (s *DescribeChannelBanOutput) SetChannelBan(v *ChannelBan) *DescribeChannelBanOutput {
 30204  	s.ChannelBan = v
 30205  	return s
 30206  }
 30207  
 30208  type DescribeChannelInput struct {
 30209  	_ struct{} `type:"structure" nopayload:"true"`
 30210  
 30211  	// The ARN of the channel.
 30212  	//
 30213  	// ChannelArn is a required field
 30214  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 30215  
 30216  	// The AppInstanceUserArn of the user that makes the API call.
 30217  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 30218  }
 30219  
 30220  // String returns the string representation.
 30221  //
 30222  // API parameter values that are decorated as "sensitive" in the API will not
 30223  // be included in the string output. The member name will be present, but the
 30224  // value will be replaced with "sensitive".
 30225  func (s DescribeChannelInput) String() string {
 30226  	return awsutil.Prettify(s)
 30227  }
 30228  
 30229  // GoString returns the string representation.
 30230  //
 30231  // API parameter values that are decorated as "sensitive" in the API will not
 30232  // be included in the string output. The member name will be present, but the
 30233  // value will be replaced with "sensitive".
 30234  func (s DescribeChannelInput) GoString() string {
 30235  	return s.String()
 30236  }
 30237  
 30238  // Validate inspects the fields of the type to determine if they are valid.
 30239  func (s *DescribeChannelInput) Validate() error {
 30240  	invalidParams := request.ErrInvalidParams{Context: "DescribeChannelInput"}
 30241  	if s.ChannelArn == nil {
 30242  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 30243  	}
 30244  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 30245  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 30246  	}
 30247  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 30248  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 30249  	}
 30250  
 30251  	if invalidParams.Len() > 0 {
 30252  		return invalidParams
 30253  	}
 30254  	return nil
 30255  }
 30256  
 30257  // SetChannelArn sets the ChannelArn field's value.
 30258  func (s *DescribeChannelInput) SetChannelArn(v string) *DescribeChannelInput {
 30259  	s.ChannelArn = &v
 30260  	return s
 30261  }
 30262  
 30263  // SetChimeBearer sets the ChimeBearer field's value.
 30264  func (s *DescribeChannelInput) SetChimeBearer(v string) *DescribeChannelInput {
 30265  	s.ChimeBearer = &v
 30266  	return s
 30267  }
 30268  
 30269  type DescribeChannelMembershipForAppInstanceUserInput struct {
 30270  	_ struct{} `type:"structure" nopayload:"true"`
 30271  
 30272  	// The ARN of the user in a channel.
 30273  	//
 30274  	// AppInstanceUserArn is a required field
 30275  	AppInstanceUserArn *string `location:"querystring" locationName:"app-instance-user-arn" min:"5" type:"string" required:"true"`
 30276  
 30277  	// The ARN of the channel to which the user belongs.
 30278  	//
 30279  	// ChannelArn is a required field
 30280  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 30281  
 30282  	// The AppInstanceUserArn of the user that makes the API call.
 30283  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 30284  }
 30285  
 30286  // String returns the string representation.
 30287  //
 30288  // API parameter values that are decorated as "sensitive" in the API will not
 30289  // be included in the string output. The member name will be present, but the
 30290  // value will be replaced with "sensitive".
 30291  func (s DescribeChannelMembershipForAppInstanceUserInput) String() string {
 30292  	return awsutil.Prettify(s)
 30293  }
 30294  
 30295  // GoString returns the string representation.
 30296  //
 30297  // API parameter values that are decorated as "sensitive" in the API will not
 30298  // be included in the string output. The member name will be present, but the
 30299  // value will be replaced with "sensitive".
 30300  func (s DescribeChannelMembershipForAppInstanceUserInput) GoString() string {
 30301  	return s.String()
 30302  }
 30303  
 30304  // Validate inspects the fields of the type to determine if they are valid.
 30305  func (s *DescribeChannelMembershipForAppInstanceUserInput) Validate() error {
 30306  	invalidParams := request.ErrInvalidParams{Context: "DescribeChannelMembershipForAppInstanceUserInput"}
 30307  	if s.AppInstanceUserArn == nil {
 30308  		invalidParams.Add(request.NewErrParamRequired("AppInstanceUserArn"))
 30309  	}
 30310  	if s.AppInstanceUserArn != nil && len(*s.AppInstanceUserArn) < 5 {
 30311  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceUserArn", 5))
 30312  	}
 30313  	if s.ChannelArn == nil {
 30314  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 30315  	}
 30316  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 30317  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 30318  	}
 30319  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 30320  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 30321  	}
 30322  
 30323  	if invalidParams.Len() > 0 {
 30324  		return invalidParams
 30325  	}
 30326  	return nil
 30327  }
 30328  
 30329  // SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
 30330  func (s *DescribeChannelMembershipForAppInstanceUserInput) SetAppInstanceUserArn(v string) *DescribeChannelMembershipForAppInstanceUserInput {
 30331  	s.AppInstanceUserArn = &v
 30332  	return s
 30333  }
 30334  
 30335  // SetChannelArn sets the ChannelArn field's value.
 30336  func (s *DescribeChannelMembershipForAppInstanceUserInput) SetChannelArn(v string) *DescribeChannelMembershipForAppInstanceUserInput {
 30337  	s.ChannelArn = &v
 30338  	return s
 30339  }
 30340  
 30341  // SetChimeBearer sets the ChimeBearer field's value.
 30342  func (s *DescribeChannelMembershipForAppInstanceUserInput) SetChimeBearer(v string) *DescribeChannelMembershipForAppInstanceUserInput {
 30343  	s.ChimeBearer = &v
 30344  	return s
 30345  }
 30346  
 30347  type DescribeChannelMembershipForAppInstanceUserOutput struct {
 30348  	_ struct{} `type:"structure"`
 30349  
 30350  	// The channel to which a user belongs.
 30351  	ChannelMembership *ChannelMembershipForAppInstanceUserSummary `type:"structure"`
 30352  }
 30353  
 30354  // String returns the string representation.
 30355  //
 30356  // API parameter values that are decorated as "sensitive" in the API will not
 30357  // be included in the string output. The member name will be present, but the
 30358  // value will be replaced with "sensitive".
 30359  func (s DescribeChannelMembershipForAppInstanceUserOutput) String() string {
 30360  	return awsutil.Prettify(s)
 30361  }
 30362  
 30363  // GoString returns the string representation.
 30364  //
 30365  // API parameter values that are decorated as "sensitive" in the API will not
 30366  // be included in the string output. The member name will be present, but the
 30367  // value will be replaced with "sensitive".
 30368  func (s DescribeChannelMembershipForAppInstanceUserOutput) GoString() string {
 30369  	return s.String()
 30370  }
 30371  
 30372  // SetChannelMembership sets the ChannelMembership field's value.
 30373  func (s *DescribeChannelMembershipForAppInstanceUserOutput) SetChannelMembership(v *ChannelMembershipForAppInstanceUserSummary) *DescribeChannelMembershipForAppInstanceUserOutput {
 30374  	s.ChannelMembership = v
 30375  	return s
 30376  }
 30377  
 30378  type DescribeChannelMembershipInput struct {
 30379  	_ struct{} `type:"structure" nopayload:"true"`
 30380  
 30381  	// The ARN of the channel.
 30382  	//
 30383  	// ChannelArn is a required field
 30384  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 30385  
 30386  	// The AppInstanceUserArn of the user that makes the API call.
 30387  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 30388  
 30389  	// The ARN of the member.
 30390  	//
 30391  	// MemberArn is a required field
 30392  	MemberArn *string `location:"uri" locationName:"memberArn" min:"5" type:"string" required:"true"`
 30393  }
 30394  
 30395  // String returns the string representation.
 30396  //
 30397  // API parameter values that are decorated as "sensitive" in the API will not
 30398  // be included in the string output. The member name will be present, but the
 30399  // value will be replaced with "sensitive".
 30400  func (s DescribeChannelMembershipInput) String() string {
 30401  	return awsutil.Prettify(s)
 30402  }
 30403  
 30404  // GoString returns the string representation.
 30405  //
 30406  // API parameter values that are decorated as "sensitive" in the API will not
 30407  // be included in the string output. The member name will be present, but the
 30408  // value will be replaced with "sensitive".
 30409  func (s DescribeChannelMembershipInput) GoString() string {
 30410  	return s.String()
 30411  }
 30412  
 30413  // Validate inspects the fields of the type to determine if they are valid.
 30414  func (s *DescribeChannelMembershipInput) Validate() error {
 30415  	invalidParams := request.ErrInvalidParams{Context: "DescribeChannelMembershipInput"}
 30416  	if s.ChannelArn == nil {
 30417  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 30418  	}
 30419  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 30420  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 30421  	}
 30422  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 30423  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 30424  	}
 30425  	if s.MemberArn == nil {
 30426  		invalidParams.Add(request.NewErrParamRequired("MemberArn"))
 30427  	}
 30428  	if s.MemberArn != nil && len(*s.MemberArn) < 5 {
 30429  		invalidParams.Add(request.NewErrParamMinLen("MemberArn", 5))
 30430  	}
 30431  
 30432  	if invalidParams.Len() > 0 {
 30433  		return invalidParams
 30434  	}
 30435  	return nil
 30436  }
 30437  
 30438  // SetChannelArn sets the ChannelArn field's value.
 30439  func (s *DescribeChannelMembershipInput) SetChannelArn(v string) *DescribeChannelMembershipInput {
 30440  	s.ChannelArn = &v
 30441  	return s
 30442  }
 30443  
 30444  // SetChimeBearer sets the ChimeBearer field's value.
 30445  func (s *DescribeChannelMembershipInput) SetChimeBearer(v string) *DescribeChannelMembershipInput {
 30446  	s.ChimeBearer = &v
 30447  	return s
 30448  }
 30449  
 30450  // SetMemberArn sets the MemberArn field's value.
 30451  func (s *DescribeChannelMembershipInput) SetMemberArn(v string) *DescribeChannelMembershipInput {
 30452  	s.MemberArn = &v
 30453  	return s
 30454  }
 30455  
 30456  type DescribeChannelMembershipOutput struct {
 30457  	_ struct{} `type:"structure"`
 30458  
 30459  	// The details of the membership.
 30460  	ChannelMembership *ChannelMembership `type:"structure"`
 30461  }
 30462  
 30463  // String returns the string representation.
 30464  //
 30465  // API parameter values that are decorated as "sensitive" in the API will not
 30466  // be included in the string output. The member name will be present, but the
 30467  // value will be replaced with "sensitive".
 30468  func (s DescribeChannelMembershipOutput) String() string {
 30469  	return awsutil.Prettify(s)
 30470  }
 30471  
 30472  // GoString returns the string representation.
 30473  //
 30474  // API parameter values that are decorated as "sensitive" in the API will not
 30475  // be included in the string output. The member name will be present, but the
 30476  // value will be replaced with "sensitive".
 30477  func (s DescribeChannelMembershipOutput) GoString() string {
 30478  	return s.String()
 30479  }
 30480  
 30481  // SetChannelMembership sets the ChannelMembership field's value.
 30482  func (s *DescribeChannelMembershipOutput) SetChannelMembership(v *ChannelMembership) *DescribeChannelMembershipOutput {
 30483  	s.ChannelMembership = v
 30484  	return s
 30485  }
 30486  
 30487  type DescribeChannelModeratedByAppInstanceUserInput struct {
 30488  	_ struct{} `type:"structure" nopayload:"true"`
 30489  
 30490  	// The ARN of the AppInstanceUser in the moderated channel.
 30491  	//
 30492  	// AppInstanceUserArn is a required field
 30493  	AppInstanceUserArn *string `location:"querystring" locationName:"app-instance-user-arn" min:"5" type:"string" required:"true"`
 30494  
 30495  	// The ARN of the moderated channel.
 30496  	//
 30497  	// ChannelArn is a required field
 30498  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 30499  
 30500  	// The AppInstanceUserArn of the user that makes the API call.
 30501  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 30502  }
 30503  
 30504  // String returns the string representation.
 30505  //
 30506  // API parameter values that are decorated as "sensitive" in the API will not
 30507  // be included in the string output. The member name will be present, but the
 30508  // value will be replaced with "sensitive".
 30509  func (s DescribeChannelModeratedByAppInstanceUserInput) String() string {
 30510  	return awsutil.Prettify(s)
 30511  }
 30512  
 30513  // GoString returns the string representation.
 30514  //
 30515  // API parameter values that are decorated as "sensitive" in the API will not
 30516  // be included in the string output. The member name will be present, but the
 30517  // value will be replaced with "sensitive".
 30518  func (s DescribeChannelModeratedByAppInstanceUserInput) GoString() string {
 30519  	return s.String()
 30520  }
 30521  
 30522  // Validate inspects the fields of the type to determine if they are valid.
 30523  func (s *DescribeChannelModeratedByAppInstanceUserInput) Validate() error {
 30524  	invalidParams := request.ErrInvalidParams{Context: "DescribeChannelModeratedByAppInstanceUserInput"}
 30525  	if s.AppInstanceUserArn == nil {
 30526  		invalidParams.Add(request.NewErrParamRequired("AppInstanceUserArn"))
 30527  	}
 30528  	if s.AppInstanceUserArn != nil && len(*s.AppInstanceUserArn) < 5 {
 30529  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceUserArn", 5))
 30530  	}
 30531  	if s.ChannelArn == nil {
 30532  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 30533  	}
 30534  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 30535  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 30536  	}
 30537  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 30538  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 30539  	}
 30540  
 30541  	if invalidParams.Len() > 0 {
 30542  		return invalidParams
 30543  	}
 30544  	return nil
 30545  }
 30546  
 30547  // SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
 30548  func (s *DescribeChannelModeratedByAppInstanceUserInput) SetAppInstanceUserArn(v string) *DescribeChannelModeratedByAppInstanceUserInput {
 30549  	s.AppInstanceUserArn = &v
 30550  	return s
 30551  }
 30552  
 30553  // SetChannelArn sets the ChannelArn field's value.
 30554  func (s *DescribeChannelModeratedByAppInstanceUserInput) SetChannelArn(v string) *DescribeChannelModeratedByAppInstanceUserInput {
 30555  	s.ChannelArn = &v
 30556  	return s
 30557  }
 30558  
 30559  // SetChimeBearer sets the ChimeBearer field's value.
 30560  func (s *DescribeChannelModeratedByAppInstanceUserInput) SetChimeBearer(v string) *DescribeChannelModeratedByAppInstanceUserInput {
 30561  	s.ChimeBearer = &v
 30562  	return s
 30563  }
 30564  
 30565  type DescribeChannelModeratedByAppInstanceUserOutput struct {
 30566  	_ struct{} `type:"structure"`
 30567  
 30568  	// The moderated channel.
 30569  	Channel *ChannelModeratedByAppInstanceUserSummary `type:"structure"`
 30570  }
 30571  
 30572  // String returns the string representation.
 30573  //
 30574  // API parameter values that are decorated as "sensitive" in the API will not
 30575  // be included in the string output. The member name will be present, but the
 30576  // value will be replaced with "sensitive".
 30577  func (s DescribeChannelModeratedByAppInstanceUserOutput) String() string {
 30578  	return awsutil.Prettify(s)
 30579  }
 30580  
 30581  // GoString returns the string representation.
 30582  //
 30583  // API parameter values that are decorated as "sensitive" in the API will not
 30584  // be included in the string output. The member name will be present, but the
 30585  // value will be replaced with "sensitive".
 30586  func (s DescribeChannelModeratedByAppInstanceUserOutput) GoString() string {
 30587  	return s.String()
 30588  }
 30589  
 30590  // SetChannel sets the Channel field's value.
 30591  func (s *DescribeChannelModeratedByAppInstanceUserOutput) SetChannel(v *ChannelModeratedByAppInstanceUserSummary) *DescribeChannelModeratedByAppInstanceUserOutput {
 30592  	s.Channel = v
 30593  	return s
 30594  }
 30595  
 30596  type DescribeChannelModeratorInput struct {
 30597  	_ struct{} `type:"structure" nopayload:"true"`
 30598  
 30599  	// The ARN of the channel.
 30600  	//
 30601  	// ChannelArn is a required field
 30602  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 30603  
 30604  	// The ARN of the channel moderator.
 30605  	//
 30606  	// ChannelModeratorArn is a required field
 30607  	ChannelModeratorArn *string `location:"uri" locationName:"channelModeratorArn" min:"5" type:"string" required:"true"`
 30608  
 30609  	// The AppInstanceUserArn of the user that makes the API call.
 30610  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 30611  }
 30612  
 30613  // String returns the string representation.
 30614  //
 30615  // API parameter values that are decorated as "sensitive" in the API will not
 30616  // be included in the string output. The member name will be present, but the
 30617  // value will be replaced with "sensitive".
 30618  func (s DescribeChannelModeratorInput) String() string {
 30619  	return awsutil.Prettify(s)
 30620  }
 30621  
 30622  // GoString returns the string representation.
 30623  //
 30624  // API parameter values that are decorated as "sensitive" in the API will not
 30625  // be included in the string output. The member name will be present, but the
 30626  // value will be replaced with "sensitive".
 30627  func (s DescribeChannelModeratorInput) GoString() string {
 30628  	return s.String()
 30629  }
 30630  
 30631  // Validate inspects the fields of the type to determine if they are valid.
 30632  func (s *DescribeChannelModeratorInput) Validate() error {
 30633  	invalidParams := request.ErrInvalidParams{Context: "DescribeChannelModeratorInput"}
 30634  	if s.ChannelArn == nil {
 30635  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 30636  	}
 30637  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 30638  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 30639  	}
 30640  	if s.ChannelModeratorArn == nil {
 30641  		invalidParams.Add(request.NewErrParamRequired("ChannelModeratorArn"))
 30642  	}
 30643  	if s.ChannelModeratorArn != nil && len(*s.ChannelModeratorArn) < 5 {
 30644  		invalidParams.Add(request.NewErrParamMinLen("ChannelModeratorArn", 5))
 30645  	}
 30646  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 30647  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 30648  	}
 30649  
 30650  	if invalidParams.Len() > 0 {
 30651  		return invalidParams
 30652  	}
 30653  	return nil
 30654  }
 30655  
 30656  // SetChannelArn sets the ChannelArn field's value.
 30657  func (s *DescribeChannelModeratorInput) SetChannelArn(v string) *DescribeChannelModeratorInput {
 30658  	s.ChannelArn = &v
 30659  	return s
 30660  }
 30661  
 30662  // SetChannelModeratorArn sets the ChannelModeratorArn field's value.
 30663  func (s *DescribeChannelModeratorInput) SetChannelModeratorArn(v string) *DescribeChannelModeratorInput {
 30664  	s.ChannelModeratorArn = &v
 30665  	return s
 30666  }
 30667  
 30668  // SetChimeBearer sets the ChimeBearer field's value.
 30669  func (s *DescribeChannelModeratorInput) SetChimeBearer(v string) *DescribeChannelModeratorInput {
 30670  	s.ChimeBearer = &v
 30671  	return s
 30672  }
 30673  
 30674  type DescribeChannelModeratorOutput struct {
 30675  	_ struct{} `type:"structure"`
 30676  
 30677  	// The details of the channel moderator.
 30678  	ChannelModerator *ChannelModerator `type:"structure"`
 30679  }
 30680  
 30681  // String returns the string representation.
 30682  //
 30683  // API parameter values that are decorated as "sensitive" in the API will not
 30684  // be included in the string output. The member name will be present, but the
 30685  // value will be replaced with "sensitive".
 30686  func (s DescribeChannelModeratorOutput) String() string {
 30687  	return awsutil.Prettify(s)
 30688  }
 30689  
 30690  // GoString returns the string representation.
 30691  //
 30692  // API parameter values that are decorated as "sensitive" in the API will not
 30693  // be included in the string output. The member name will be present, but the
 30694  // value will be replaced with "sensitive".
 30695  func (s DescribeChannelModeratorOutput) GoString() string {
 30696  	return s.String()
 30697  }
 30698  
 30699  // SetChannelModerator sets the ChannelModerator field's value.
 30700  func (s *DescribeChannelModeratorOutput) SetChannelModerator(v *ChannelModerator) *DescribeChannelModeratorOutput {
 30701  	s.ChannelModerator = v
 30702  	return s
 30703  }
 30704  
 30705  type DescribeChannelOutput struct {
 30706  	_ struct{} `type:"structure"`
 30707  
 30708  	// The channel details.
 30709  	Channel *Channel `type:"structure"`
 30710  }
 30711  
 30712  // String returns the string representation.
 30713  //
 30714  // API parameter values that are decorated as "sensitive" in the API will not
 30715  // be included in the string output. The member name will be present, but the
 30716  // value will be replaced with "sensitive".
 30717  func (s DescribeChannelOutput) String() string {
 30718  	return awsutil.Prettify(s)
 30719  }
 30720  
 30721  // GoString returns the string representation.
 30722  //
 30723  // API parameter values that are decorated as "sensitive" in the API will not
 30724  // be included in the string output. The member name will be present, but the
 30725  // value will be replaced with "sensitive".
 30726  func (s DescribeChannelOutput) GoString() string {
 30727  	return s.String()
 30728  }
 30729  
 30730  // SetChannel sets the Channel field's value.
 30731  func (s *DescribeChannelOutput) SetChannel(v *Channel) *DescribeChannelOutput {
 30732  	s.Channel = v
 30733  	return s
 30734  }
 30735  
 30736  type DisassociatePhoneNumberFromUserInput struct {
 30737  	_ struct{} `type:"structure" nopayload:"true"`
 30738  
 30739  	// The Amazon Chime account ID.
 30740  	//
 30741  	// AccountId is a required field
 30742  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 30743  
 30744  	// The user ID.
 30745  	//
 30746  	// UserId is a required field
 30747  	UserId *string `location:"uri" locationName:"userId" type:"string" required:"true"`
 30748  }
 30749  
 30750  // String returns the string representation.
 30751  //
 30752  // API parameter values that are decorated as "sensitive" in the API will not
 30753  // be included in the string output. The member name will be present, but the
 30754  // value will be replaced with "sensitive".
 30755  func (s DisassociatePhoneNumberFromUserInput) String() string {
 30756  	return awsutil.Prettify(s)
 30757  }
 30758  
 30759  // GoString returns the string representation.
 30760  //
 30761  // API parameter values that are decorated as "sensitive" in the API will not
 30762  // be included in the string output. The member name will be present, but the
 30763  // value will be replaced with "sensitive".
 30764  func (s DisassociatePhoneNumberFromUserInput) GoString() string {
 30765  	return s.String()
 30766  }
 30767  
 30768  // Validate inspects the fields of the type to determine if they are valid.
 30769  func (s *DisassociatePhoneNumberFromUserInput) Validate() error {
 30770  	invalidParams := request.ErrInvalidParams{Context: "DisassociatePhoneNumberFromUserInput"}
 30771  	if s.AccountId == nil {
 30772  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 30773  	}
 30774  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 30775  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 30776  	}
 30777  	if s.UserId == nil {
 30778  		invalidParams.Add(request.NewErrParamRequired("UserId"))
 30779  	}
 30780  	if s.UserId != nil && len(*s.UserId) < 1 {
 30781  		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
 30782  	}
 30783  
 30784  	if invalidParams.Len() > 0 {
 30785  		return invalidParams
 30786  	}
 30787  	return nil
 30788  }
 30789  
 30790  // SetAccountId sets the AccountId field's value.
 30791  func (s *DisassociatePhoneNumberFromUserInput) SetAccountId(v string) *DisassociatePhoneNumberFromUserInput {
 30792  	s.AccountId = &v
 30793  	return s
 30794  }
 30795  
 30796  // SetUserId sets the UserId field's value.
 30797  func (s *DisassociatePhoneNumberFromUserInput) SetUserId(v string) *DisassociatePhoneNumberFromUserInput {
 30798  	s.UserId = &v
 30799  	return s
 30800  }
 30801  
 30802  type DisassociatePhoneNumberFromUserOutput struct {
 30803  	_ struct{} `type:"structure" nopayload:"true"`
 30804  }
 30805  
 30806  // String returns the string representation.
 30807  //
 30808  // API parameter values that are decorated as "sensitive" in the API will not
 30809  // be included in the string output. The member name will be present, but the
 30810  // value will be replaced with "sensitive".
 30811  func (s DisassociatePhoneNumberFromUserOutput) String() string {
 30812  	return awsutil.Prettify(s)
 30813  }
 30814  
 30815  // GoString returns the string representation.
 30816  //
 30817  // API parameter values that are decorated as "sensitive" in the API will not
 30818  // be included in the string output. The member name will be present, but the
 30819  // value will be replaced with "sensitive".
 30820  func (s DisassociatePhoneNumberFromUserOutput) GoString() string {
 30821  	return s.String()
 30822  }
 30823  
 30824  type DisassociatePhoneNumbersFromVoiceConnectorGroupInput struct {
 30825  	_ struct{} `type:"structure"`
 30826  
 30827  	// List of phone numbers, in E.164 format.
 30828  	//
 30829  	// E164PhoneNumbers is a required field
 30830  	E164PhoneNumbers []*string `type:"list" required:"true"`
 30831  
 30832  	// The Amazon Chime Voice Connector group ID.
 30833  	//
 30834  	// VoiceConnectorGroupId is a required field
 30835  	VoiceConnectorGroupId *string `location:"uri" locationName:"voiceConnectorGroupId" type:"string" required:"true"`
 30836  }
 30837  
 30838  // String returns the string representation.
 30839  //
 30840  // API parameter values that are decorated as "sensitive" in the API will not
 30841  // be included in the string output. The member name will be present, but the
 30842  // value will be replaced with "sensitive".
 30843  func (s DisassociatePhoneNumbersFromVoiceConnectorGroupInput) String() string {
 30844  	return awsutil.Prettify(s)
 30845  }
 30846  
 30847  // GoString returns the string representation.
 30848  //
 30849  // API parameter values that are decorated as "sensitive" in the API will not
 30850  // be included in the string output. The member name will be present, but the
 30851  // value will be replaced with "sensitive".
 30852  func (s DisassociatePhoneNumbersFromVoiceConnectorGroupInput) GoString() string {
 30853  	return s.String()
 30854  }
 30855  
 30856  // Validate inspects the fields of the type to determine if they are valid.
 30857  func (s *DisassociatePhoneNumbersFromVoiceConnectorGroupInput) Validate() error {
 30858  	invalidParams := request.ErrInvalidParams{Context: "DisassociatePhoneNumbersFromVoiceConnectorGroupInput"}
 30859  	if s.E164PhoneNumbers == nil {
 30860  		invalidParams.Add(request.NewErrParamRequired("E164PhoneNumbers"))
 30861  	}
 30862  	if s.VoiceConnectorGroupId == nil {
 30863  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorGroupId"))
 30864  	}
 30865  	if s.VoiceConnectorGroupId != nil && len(*s.VoiceConnectorGroupId) < 1 {
 30866  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorGroupId", 1))
 30867  	}
 30868  
 30869  	if invalidParams.Len() > 0 {
 30870  		return invalidParams
 30871  	}
 30872  	return nil
 30873  }
 30874  
 30875  // SetE164PhoneNumbers sets the E164PhoneNumbers field's value.
 30876  func (s *DisassociatePhoneNumbersFromVoiceConnectorGroupInput) SetE164PhoneNumbers(v []*string) *DisassociatePhoneNumbersFromVoiceConnectorGroupInput {
 30877  	s.E164PhoneNumbers = v
 30878  	return s
 30879  }
 30880  
 30881  // SetVoiceConnectorGroupId sets the VoiceConnectorGroupId field's value.
 30882  func (s *DisassociatePhoneNumbersFromVoiceConnectorGroupInput) SetVoiceConnectorGroupId(v string) *DisassociatePhoneNumbersFromVoiceConnectorGroupInput {
 30883  	s.VoiceConnectorGroupId = &v
 30884  	return s
 30885  }
 30886  
 30887  type DisassociatePhoneNumbersFromVoiceConnectorGroupOutput struct {
 30888  	_ struct{} `type:"structure"`
 30889  
 30890  	// If the action fails for one or more of the phone numbers in the request,
 30891  	// a list of the phone numbers is returned, along with error codes and error
 30892  	// messages.
 30893  	PhoneNumberErrors []*PhoneNumberError `type:"list"`
 30894  }
 30895  
 30896  // String returns the string representation.
 30897  //
 30898  // API parameter values that are decorated as "sensitive" in the API will not
 30899  // be included in the string output. The member name will be present, but the
 30900  // value will be replaced with "sensitive".
 30901  func (s DisassociatePhoneNumbersFromVoiceConnectorGroupOutput) String() string {
 30902  	return awsutil.Prettify(s)
 30903  }
 30904  
 30905  // GoString returns the string representation.
 30906  //
 30907  // API parameter values that are decorated as "sensitive" in the API will not
 30908  // be included in the string output. The member name will be present, but the
 30909  // value will be replaced with "sensitive".
 30910  func (s DisassociatePhoneNumbersFromVoiceConnectorGroupOutput) GoString() string {
 30911  	return s.String()
 30912  }
 30913  
 30914  // SetPhoneNumberErrors sets the PhoneNumberErrors field's value.
 30915  func (s *DisassociatePhoneNumbersFromVoiceConnectorGroupOutput) SetPhoneNumberErrors(v []*PhoneNumberError) *DisassociatePhoneNumbersFromVoiceConnectorGroupOutput {
 30916  	s.PhoneNumberErrors = v
 30917  	return s
 30918  }
 30919  
 30920  type DisassociatePhoneNumbersFromVoiceConnectorInput struct {
 30921  	_ struct{} `type:"structure"`
 30922  
 30923  	// List of phone numbers, in E.164 format.
 30924  	//
 30925  	// E164PhoneNumbers is a required field
 30926  	E164PhoneNumbers []*string `type:"list" required:"true"`
 30927  
 30928  	// The Amazon Chime Voice Connector ID.
 30929  	//
 30930  	// VoiceConnectorId is a required field
 30931  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 30932  }
 30933  
 30934  // String returns the string representation.
 30935  //
 30936  // API parameter values that are decorated as "sensitive" in the API will not
 30937  // be included in the string output. The member name will be present, but the
 30938  // value will be replaced with "sensitive".
 30939  func (s DisassociatePhoneNumbersFromVoiceConnectorInput) String() string {
 30940  	return awsutil.Prettify(s)
 30941  }
 30942  
 30943  // GoString returns the string representation.
 30944  //
 30945  // API parameter values that are decorated as "sensitive" in the API will not
 30946  // be included in the string output. The member name will be present, but the
 30947  // value will be replaced with "sensitive".
 30948  func (s DisassociatePhoneNumbersFromVoiceConnectorInput) GoString() string {
 30949  	return s.String()
 30950  }
 30951  
 30952  // Validate inspects the fields of the type to determine if they are valid.
 30953  func (s *DisassociatePhoneNumbersFromVoiceConnectorInput) Validate() error {
 30954  	invalidParams := request.ErrInvalidParams{Context: "DisassociatePhoneNumbersFromVoiceConnectorInput"}
 30955  	if s.E164PhoneNumbers == nil {
 30956  		invalidParams.Add(request.NewErrParamRequired("E164PhoneNumbers"))
 30957  	}
 30958  	if s.VoiceConnectorId == nil {
 30959  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 30960  	}
 30961  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 30962  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 30963  	}
 30964  
 30965  	if invalidParams.Len() > 0 {
 30966  		return invalidParams
 30967  	}
 30968  	return nil
 30969  }
 30970  
 30971  // SetE164PhoneNumbers sets the E164PhoneNumbers field's value.
 30972  func (s *DisassociatePhoneNumbersFromVoiceConnectorInput) SetE164PhoneNumbers(v []*string) *DisassociatePhoneNumbersFromVoiceConnectorInput {
 30973  	s.E164PhoneNumbers = v
 30974  	return s
 30975  }
 30976  
 30977  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 30978  func (s *DisassociatePhoneNumbersFromVoiceConnectorInput) SetVoiceConnectorId(v string) *DisassociatePhoneNumbersFromVoiceConnectorInput {
 30979  	s.VoiceConnectorId = &v
 30980  	return s
 30981  }
 30982  
 30983  type DisassociatePhoneNumbersFromVoiceConnectorOutput struct {
 30984  	_ struct{} `type:"structure"`
 30985  
 30986  	// If the action fails for one or more of the phone numbers in the request,
 30987  	// a list of the phone numbers is returned, along with error codes and error
 30988  	// messages.
 30989  	PhoneNumberErrors []*PhoneNumberError `type:"list"`
 30990  }
 30991  
 30992  // String returns the string representation.
 30993  //
 30994  // API parameter values that are decorated as "sensitive" in the API will not
 30995  // be included in the string output. The member name will be present, but the
 30996  // value will be replaced with "sensitive".
 30997  func (s DisassociatePhoneNumbersFromVoiceConnectorOutput) String() string {
 30998  	return awsutil.Prettify(s)
 30999  }
 31000  
 31001  // GoString returns the string representation.
 31002  //
 31003  // API parameter values that are decorated as "sensitive" in the API will not
 31004  // be included in the string output. The member name will be present, but the
 31005  // value will be replaced with "sensitive".
 31006  func (s DisassociatePhoneNumbersFromVoiceConnectorOutput) GoString() string {
 31007  	return s.String()
 31008  }
 31009  
 31010  // SetPhoneNumberErrors sets the PhoneNumberErrors field's value.
 31011  func (s *DisassociatePhoneNumbersFromVoiceConnectorOutput) SetPhoneNumberErrors(v []*PhoneNumberError) *DisassociatePhoneNumbersFromVoiceConnectorOutput {
 31012  	s.PhoneNumberErrors = v
 31013  	return s
 31014  }
 31015  
 31016  type DisassociateSigninDelegateGroupsFromAccountInput struct {
 31017  	_ struct{} `type:"structure"`
 31018  
 31019  	// The Amazon Chime account ID.
 31020  	//
 31021  	// AccountId is a required field
 31022  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 31023  
 31024  	// The sign-in delegate group names.
 31025  	//
 31026  	// GroupNames is a required field
 31027  	GroupNames []*string `min:"1" type:"list" required:"true"`
 31028  }
 31029  
 31030  // String returns the string representation.
 31031  //
 31032  // API parameter values that are decorated as "sensitive" in the API will not
 31033  // be included in the string output. The member name will be present, but the
 31034  // value will be replaced with "sensitive".
 31035  func (s DisassociateSigninDelegateGroupsFromAccountInput) String() string {
 31036  	return awsutil.Prettify(s)
 31037  }
 31038  
 31039  // GoString returns the string representation.
 31040  //
 31041  // API parameter values that are decorated as "sensitive" in the API will not
 31042  // be included in the string output. The member name will be present, but the
 31043  // value will be replaced with "sensitive".
 31044  func (s DisassociateSigninDelegateGroupsFromAccountInput) GoString() string {
 31045  	return s.String()
 31046  }
 31047  
 31048  // Validate inspects the fields of the type to determine if they are valid.
 31049  func (s *DisassociateSigninDelegateGroupsFromAccountInput) Validate() error {
 31050  	invalidParams := request.ErrInvalidParams{Context: "DisassociateSigninDelegateGroupsFromAccountInput"}
 31051  	if s.AccountId == nil {
 31052  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 31053  	}
 31054  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 31055  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 31056  	}
 31057  	if s.GroupNames == nil {
 31058  		invalidParams.Add(request.NewErrParamRequired("GroupNames"))
 31059  	}
 31060  	if s.GroupNames != nil && len(s.GroupNames) < 1 {
 31061  		invalidParams.Add(request.NewErrParamMinLen("GroupNames", 1))
 31062  	}
 31063  
 31064  	if invalidParams.Len() > 0 {
 31065  		return invalidParams
 31066  	}
 31067  	return nil
 31068  }
 31069  
 31070  // SetAccountId sets the AccountId field's value.
 31071  func (s *DisassociateSigninDelegateGroupsFromAccountInput) SetAccountId(v string) *DisassociateSigninDelegateGroupsFromAccountInput {
 31072  	s.AccountId = &v
 31073  	return s
 31074  }
 31075  
 31076  // SetGroupNames sets the GroupNames field's value.
 31077  func (s *DisassociateSigninDelegateGroupsFromAccountInput) SetGroupNames(v []*string) *DisassociateSigninDelegateGroupsFromAccountInput {
 31078  	s.GroupNames = v
 31079  	return s
 31080  }
 31081  
 31082  type DisassociateSigninDelegateGroupsFromAccountOutput struct {
 31083  	_ struct{} `type:"structure" nopayload:"true"`
 31084  }
 31085  
 31086  // String returns the string representation.
 31087  //
 31088  // API parameter values that are decorated as "sensitive" in the API will not
 31089  // be included in the string output. The member name will be present, but the
 31090  // value will be replaced with "sensitive".
 31091  func (s DisassociateSigninDelegateGroupsFromAccountOutput) String() string {
 31092  	return awsutil.Prettify(s)
 31093  }
 31094  
 31095  // GoString returns the string representation.
 31096  //
 31097  // API parameter values that are decorated as "sensitive" in the API will not
 31098  // be included in the string output. The member name will be present, but the
 31099  // value will be replaced with "sensitive".
 31100  func (s DisassociateSigninDelegateGroupsFromAccountOutput) GoString() string {
 31101  	return s.String()
 31102  }
 31103  
 31104  // The emergency calling configuration details associated with an Amazon Chime
 31105  // Voice Connector.
 31106  type EmergencyCallingConfiguration struct {
 31107  	_ struct{} `type:"structure"`
 31108  
 31109  	// The Dialed Number Identification Service (DNIS) emergency calling configuration
 31110  	// details.
 31111  	DNIS []*DNISEmergencyCallingConfiguration `type:"list"`
 31112  }
 31113  
 31114  // String returns the string representation.
 31115  //
 31116  // API parameter values that are decorated as "sensitive" in the API will not
 31117  // be included in the string output. The member name will be present, but the
 31118  // value will be replaced with "sensitive".
 31119  func (s EmergencyCallingConfiguration) String() string {
 31120  	return awsutil.Prettify(s)
 31121  }
 31122  
 31123  // GoString returns the string representation.
 31124  //
 31125  // API parameter values that are decorated as "sensitive" in the API will not
 31126  // be included in the string output. The member name will be present, but the
 31127  // value will be replaced with "sensitive".
 31128  func (s EmergencyCallingConfiguration) GoString() string {
 31129  	return s.String()
 31130  }
 31131  
 31132  // Validate inspects the fields of the type to determine if they are valid.
 31133  func (s *EmergencyCallingConfiguration) Validate() error {
 31134  	invalidParams := request.ErrInvalidParams{Context: "EmergencyCallingConfiguration"}
 31135  	if s.DNIS != nil {
 31136  		for i, v := range s.DNIS {
 31137  			if v == nil {
 31138  				continue
 31139  			}
 31140  			if err := v.Validate(); err != nil {
 31141  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DNIS", i), err.(request.ErrInvalidParams))
 31142  			}
 31143  		}
 31144  	}
 31145  
 31146  	if invalidParams.Len() > 0 {
 31147  		return invalidParams
 31148  	}
 31149  	return nil
 31150  }
 31151  
 31152  // SetDNIS sets the DNIS field's value.
 31153  func (s *EmergencyCallingConfiguration) SetDNIS(v []*DNISEmergencyCallingConfiguration) *EmergencyCallingConfiguration {
 31154  	s.DNIS = v
 31155  	return s
 31156  }
 31157  
 31158  // Settings specific to the Amazon Transcribe Medical engine.
 31159  type EngineTranscribeMedicalSettings struct {
 31160  	_ struct{} `type:"structure"`
 31161  
 31162  	// The language code specified for the Amazon Transcribe Medical engine.
 31163  	//
 31164  	// LanguageCode is a required field
 31165  	LanguageCode *string `type:"string" required:"true" enum:"TranscribeMedicalLanguageCode"`
 31166  
 31167  	// The AWS Region passed to Amazon Transcribe Medical. If you don't specify
 31168  	// a Region, Amazon Chime uses the meeting's Region.
 31169  	Region *string `type:"string" enum:"TranscribeMedicalRegion"`
 31170  
 31171  	// The specialty specified for the Amazon Transcribe Medical engine.
 31172  	//
 31173  	// Specialty is a required field
 31174  	Specialty *string `type:"string" required:"true" enum:"TranscribeMedicalSpecialty"`
 31175  
 31176  	// The type of transcription.
 31177  	//
 31178  	// Type is a required field
 31179  	Type *string `type:"string" required:"true" enum:"TranscribeMedicalType"`
 31180  
 31181  	// The name of the vocabulary passed to Amazon Transcribe Medical.
 31182  	VocabularyName *string `type:"string"`
 31183  }
 31184  
 31185  // String returns the string representation.
 31186  //
 31187  // API parameter values that are decorated as "sensitive" in the API will not
 31188  // be included in the string output. The member name will be present, but the
 31189  // value will be replaced with "sensitive".
 31190  func (s EngineTranscribeMedicalSettings) String() string {
 31191  	return awsutil.Prettify(s)
 31192  }
 31193  
 31194  // GoString returns the string representation.
 31195  //
 31196  // API parameter values that are decorated as "sensitive" in the API will not
 31197  // be included in the string output. The member name will be present, but the
 31198  // value will be replaced with "sensitive".
 31199  func (s EngineTranscribeMedicalSettings) GoString() string {
 31200  	return s.String()
 31201  }
 31202  
 31203  // Validate inspects the fields of the type to determine if they are valid.
 31204  func (s *EngineTranscribeMedicalSettings) Validate() error {
 31205  	invalidParams := request.ErrInvalidParams{Context: "EngineTranscribeMedicalSettings"}
 31206  	if s.LanguageCode == nil {
 31207  		invalidParams.Add(request.NewErrParamRequired("LanguageCode"))
 31208  	}
 31209  	if s.Specialty == nil {
 31210  		invalidParams.Add(request.NewErrParamRequired("Specialty"))
 31211  	}
 31212  	if s.Type == nil {
 31213  		invalidParams.Add(request.NewErrParamRequired("Type"))
 31214  	}
 31215  
 31216  	if invalidParams.Len() > 0 {
 31217  		return invalidParams
 31218  	}
 31219  	return nil
 31220  }
 31221  
 31222  // SetLanguageCode sets the LanguageCode field's value.
 31223  func (s *EngineTranscribeMedicalSettings) SetLanguageCode(v string) *EngineTranscribeMedicalSettings {
 31224  	s.LanguageCode = &v
 31225  	return s
 31226  }
 31227  
 31228  // SetRegion sets the Region field's value.
 31229  func (s *EngineTranscribeMedicalSettings) SetRegion(v string) *EngineTranscribeMedicalSettings {
 31230  	s.Region = &v
 31231  	return s
 31232  }
 31233  
 31234  // SetSpecialty sets the Specialty field's value.
 31235  func (s *EngineTranscribeMedicalSettings) SetSpecialty(v string) *EngineTranscribeMedicalSettings {
 31236  	s.Specialty = &v
 31237  	return s
 31238  }
 31239  
 31240  // SetType sets the Type field's value.
 31241  func (s *EngineTranscribeMedicalSettings) SetType(v string) *EngineTranscribeMedicalSettings {
 31242  	s.Type = &v
 31243  	return s
 31244  }
 31245  
 31246  // SetVocabularyName sets the VocabularyName field's value.
 31247  func (s *EngineTranscribeMedicalSettings) SetVocabularyName(v string) *EngineTranscribeMedicalSettings {
 31248  	s.VocabularyName = &v
 31249  	return s
 31250  }
 31251  
 31252  // Settings specific to the Amazon Transcribe engine.
 31253  type EngineTranscribeSettings struct {
 31254  	_ struct{} `type:"structure"`
 31255  
 31256  	// The language code specified for the Amazon Transcribe engine.
 31257  	//
 31258  	// LanguageCode is a required field
 31259  	LanguageCode *string `type:"string" required:"true" enum:"TranscribeLanguageCode"`
 31260  
 31261  	// The AWS Region passed to Amazon Transcribe. If you don't specify a Region,
 31262  	// Amazon Chime uses the meeting's Region.
 31263  	Region *string `type:"string" enum:"TranscribeRegion"`
 31264  
 31265  	// The filtering method passed to Amazon Transcribe.
 31266  	VocabularyFilterMethod *string `type:"string" enum:"TranscribeVocabularyFilterMethod"`
 31267  
 31268  	// The name of the vocabulary filter passed to Amazon Transcribe.
 31269  	VocabularyFilterName *string `type:"string"`
 31270  
 31271  	// The name of the vocabulary passed to Amazon Transcribe.
 31272  	VocabularyName *string `type:"string"`
 31273  }
 31274  
 31275  // String returns the string representation.
 31276  //
 31277  // API parameter values that are decorated as "sensitive" in the API will not
 31278  // be included in the string output. The member name will be present, but the
 31279  // value will be replaced with "sensitive".
 31280  func (s EngineTranscribeSettings) String() string {
 31281  	return awsutil.Prettify(s)
 31282  }
 31283  
 31284  // GoString returns the string representation.
 31285  //
 31286  // API parameter values that are decorated as "sensitive" in the API will not
 31287  // be included in the string output. The member name will be present, but the
 31288  // value will be replaced with "sensitive".
 31289  func (s EngineTranscribeSettings) GoString() string {
 31290  	return s.String()
 31291  }
 31292  
 31293  // Validate inspects the fields of the type to determine if they are valid.
 31294  func (s *EngineTranscribeSettings) Validate() error {
 31295  	invalidParams := request.ErrInvalidParams{Context: "EngineTranscribeSettings"}
 31296  	if s.LanguageCode == nil {
 31297  		invalidParams.Add(request.NewErrParamRequired("LanguageCode"))
 31298  	}
 31299  
 31300  	if invalidParams.Len() > 0 {
 31301  		return invalidParams
 31302  	}
 31303  	return nil
 31304  }
 31305  
 31306  // SetLanguageCode sets the LanguageCode field's value.
 31307  func (s *EngineTranscribeSettings) SetLanguageCode(v string) *EngineTranscribeSettings {
 31308  	s.LanguageCode = &v
 31309  	return s
 31310  }
 31311  
 31312  // SetRegion sets the Region field's value.
 31313  func (s *EngineTranscribeSettings) SetRegion(v string) *EngineTranscribeSettings {
 31314  	s.Region = &v
 31315  	return s
 31316  }
 31317  
 31318  // SetVocabularyFilterMethod sets the VocabularyFilterMethod field's value.
 31319  func (s *EngineTranscribeSettings) SetVocabularyFilterMethod(v string) *EngineTranscribeSettings {
 31320  	s.VocabularyFilterMethod = &v
 31321  	return s
 31322  }
 31323  
 31324  // SetVocabularyFilterName sets the VocabularyFilterName field's value.
 31325  func (s *EngineTranscribeSettings) SetVocabularyFilterName(v string) *EngineTranscribeSettings {
 31326  	s.VocabularyFilterName = &v
 31327  	return s
 31328  }
 31329  
 31330  // SetVocabularyName sets the VocabularyName field's value.
 31331  func (s *EngineTranscribeSettings) SetVocabularyName(v string) *EngineTranscribeSettings {
 31332  	s.VocabularyName = &v
 31333  	return s
 31334  }
 31335  
 31336  // The configuration that allows a bot to receive outgoing events. Can be either
 31337  // an HTTPS endpoint or a Lambda function ARN.
 31338  type EventsConfiguration struct {
 31339  	_ struct{} `type:"structure"`
 31340  
 31341  	// The bot ID.
 31342  	BotId *string `type:"string"`
 31343  
 31344  	// Lambda function ARN that allows a bot to receive outgoing events.
 31345  	//
 31346  	// LambdaFunctionArn is a sensitive parameter and its value will be
 31347  	// replaced with "sensitive" in string returned by EventsConfiguration's
 31348  	// String and GoString methods.
 31349  	LambdaFunctionArn *string `type:"string" sensitive:"true"`
 31350  
 31351  	// HTTPS endpoint that allows a bot to receive outgoing events.
 31352  	//
 31353  	// OutboundEventsHTTPSEndpoint is a sensitive parameter and its value will be
 31354  	// replaced with "sensitive" in string returned by EventsConfiguration's
 31355  	// String and GoString methods.
 31356  	OutboundEventsHTTPSEndpoint *string `type:"string" sensitive:"true"`
 31357  }
 31358  
 31359  // String returns the string representation.
 31360  //
 31361  // API parameter values that are decorated as "sensitive" in the API will not
 31362  // be included in the string output. The member name will be present, but the
 31363  // value will be replaced with "sensitive".
 31364  func (s EventsConfiguration) String() string {
 31365  	return awsutil.Prettify(s)
 31366  }
 31367  
 31368  // GoString returns the string representation.
 31369  //
 31370  // API parameter values that are decorated as "sensitive" in the API will not
 31371  // be included in the string output. The member name will be present, but the
 31372  // value will be replaced with "sensitive".
 31373  func (s EventsConfiguration) GoString() string {
 31374  	return s.String()
 31375  }
 31376  
 31377  // SetBotId sets the BotId field's value.
 31378  func (s *EventsConfiguration) SetBotId(v string) *EventsConfiguration {
 31379  	s.BotId = &v
 31380  	return s
 31381  }
 31382  
 31383  // SetLambdaFunctionArn sets the LambdaFunctionArn field's value.
 31384  func (s *EventsConfiguration) SetLambdaFunctionArn(v string) *EventsConfiguration {
 31385  	s.LambdaFunctionArn = &v
 31386  	return s
 31387  }
 31388  
 31389  // SetOutboundEventsHTTPSEndpoint sets the OutboundEventsHTTPSEndpoint field's value.
 31390  func (s *EventsConfiguration) SetOutboundEventsHTTPSEndpoint(v string) *EventsConfiguration {
 31391  	s.OutboundEventsHTTPSEndpoint = &v
 31392  	return s
 31393  }
 31394  
 31395  // The client is permanently forbidden from making the request.
 31396  type ForbiddenException struct {
 31397  	_            struct{}                  `type:"structure"`
 31398  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 31399  
 31400  	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
 31401  
 31402  	Message_ *string `locationName:"Message" type:"string"`
 31403  }
 31404  
 31405  // String returns the string representation.
 31406  //
 31407  // API parameter values that are decorated as "sensitive" in the API will not
 31408  // be included in the string output. The member name will be present, but the
 31409  // value will be replaced with "sensitive".
 31410  func (s ForbiddenException) String() string {
 31411  	return awsutil.Prettify(s)
 31412  }
 31413  
 31414  // GoString returns the string representation.
 31415  //
 31416  // API parameter values that are decorated as "sensitive" in the API will not
 31417  // be included in the string output. The member name will be present, but the
 31418  // value will be replaced with "sensitive".
 31419  func (s ForbiddenException) GoString() string {
 31420  	return s.String()
 31421  }
 31422  
 31423  func newErrorForbiddenException(v protocol.ResponseMetadata) error {
 31424  	return &ForbiddenException{
 31425  		RespMetadata: v,
 31426  	}
 31427  }
 31428  
 31429  // Code returns the exception type name.
 31430  func (s *ForbiddenException) Code() string {
 31431  	return "ForbiddenException"
 31432  }
 31433  
 31434  // Message returns the exception's message.
 31435  func (s *ForbiddenException) Message() string {
 31436  	if s.Message_ != nil {
 31437  		return *s.Message_
 31438  	}
 31439  	return ""
 31440  }
 31441  
 31442  // OrigErr always returns nil, satisfies awserr.Error interface.
 31443  func (s *ForbiddenException) OrigErr() error {
 31444  	return nil
 31445  }
 31446  
 31447  func (s *ForbiddenException) Error() string {
 31448  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 31449  }
 31450  
 31451  // Status code returns the HTTP status code for the request's response error.
 31452  func (s *ForbiddenException) StatusCode() int {
 31453  	return s.RespMetadata.StatusCode
 31454  }
 31455  
 31456  // RequestID returns the service's response RequestID for request.
 31457  func (s *ForbiddenException) RequestID() string {
 31458  	return s.RespMetadata.RequestID
 31459  }
 31460  
 31461  // The country and area code for a proxy phone number in a proxy phone session.
 31462  type GeoMatchParams struct {
 31463  	_ struct{} `type:"structure"`
 31464  
 31465  	// The area code.
 31466  	//
 31467  	// AreaCode is a required field
 31468  	AreaCode *string `type:"string" required:"true"`
 31469  
 31470  	// The country.
 31471  	//
 31472  	// Country is a required field
 31473  	Country *string `type:"string" required:"true"`
 31474  }
 31475  
 31476  // String returns the string representation.
 31477  //
 31478  // API parameter values that are decorated as "sensitive" in the API will not
 31479  // be included in the string output. The member name will be present, but the
 31480  // value will be replaced with "sensitive".
 31481  func (s GeoMatchParams) String() string {
 31482  	return awsutil.Prettify(s)
 31483  }
 31484  
 31485  // GoString returns the string representation.
 31486  //
 31487  // API parameter values that are decorated as "sensitive" in the API will not
 31488  // be included in the string output. The member name will be present, but the
 31489  // value will be replaced with "sensitive".
 31490  func (s GeoMatchParams) GoString() string {
 31491  	return s.String()
 31492  }
 31493  
 31494  // Validate inspects the fields of the type to determine if they are valid.
 31495  func (s *GeoMatchParams) Validate() error {
 31496  	invalidParams := request.ErrInvalidParams{Context: "GeoMatchParams"}
 31497  	if s.AreaCode == nil {
 31498  		invalidParams.Add(request.NewErrParamRequired("AreaCode"))
 31499  	}
 31500  	if s.Country == nil {
 31501  		invalidParams.Add(request.NewErrParamRequired("Country"))
 31502  	}
 31503  
 31504  	if invalidParams.Len() > 0 {
 31505  		return invalidParams
 31506  	}
 31507  	return nil
 31508  }
 31509  
 31510  // SetAreaCode sets the AreaCode field's value.
 31511  func (s *GeoMatchParams) SetAreaCode(v string) *GeoMatchParams {
 31512  	s.AreaCode = &v
 31513  	return s
 31514  }
 31515  
 31516  // SetCountry sets the Country field's value.
 31517  func (s *GeoMatchParams) SetCountry(v string) *GeoMatchParams {
 31518  	s.Country = &v
 31519  	return s
 31520  }
 31521  
 31522  type GetAccountInput struct {
 31523  	_ struct{} `type:"structure" nopayload:"true"`
 31524  
 31525  	// The Amazon Chime account ID.
 31526  	//
 31527  	// AccountId is a required field
 31528  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 31529  }
 31530  
 31531  // String returns the string representation.
 31532  //
 31533  // API parameter values that are decorated as "sensitive" in the API will not
 31534  // be included in the string output. The member name will be present, but the
 31535  // value will be replaced with "sensitive".
 31536  func (s GetAccountInput) String() string {
 31537  	return awsutil.Prettify(s)
 31538  }
 31539  
 31540  // GoString returns the string representation.
 31541  //
 31542  // API parameter values that are decorated as "sensitive" in the API will not
 31543  // be included in the string output. The member name will be present, but the
 31544  // value will be replaced with "sensitive".
 31545  func (s GetAccountInput) GoString() string {
 31546  	return s.String()
 31547  }
 31548  
 31549  // Validate inspects the fields of the type to determine if they are valid.
 31550  func (s *GetAccountInput) Validate() error {
 31551  	invalidParams := request.ErrInvalidParams{Context: "GetAccountInput"}
 31552  	if s.AccountId == nil {
 31553  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 31554  	}
 31555  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 31556  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 31557  	}
 31558  
 31559  	if invalidParams.Len() > 0 {
 31560  		return invalidParams
 31561  	}
 31562  	return nil
 31563  }
 31564  
 31565  // SetAccountId sets the AccountId field's value.
 31566  func (s *GetAccountInput) SetAccountId(v string) *GetAccountInput {
 31567  	s.AccountId = &v
 31568  	return s
 31569  }
 31570  
 31571  type GetAccountOutput struct {
 31572  	_ struct{} `type:"structure"`
 31573  
 31574  	// The Amazon Chime account details.
 31575  	Account *Account `type:"structure"`
 31576  }
 31577  
 31578  // String returns the string representation.
 31579  //
 31580  // API parameter values that are decorated as "sensitive" in the API will not
 31581  // be included in the string output. The member name will be present, but the
 31582  // value will be replaced with "sensitive".
 31583  func (s GetAccountOutput) String() string {
 31584  	return awsutil.Prettify(s)
 31585  }
 31586  
 31587  // GoString returns the string representation.
 31588  //
 31589  // API parameter values that are decorated as "sensitive" in the API will not
 31590  // be included in the string output. The member name will be present, but the
 31591  // value will be replaced with "sensitive".
 31592  func (s GetAccountOutput) GoString() string {
 31593  	return s.String()
 31594  }
 31595  
 31596  // SetAccount sets the Account field's value.
 31597  func (s *GetAccountOutput) SetAccount(v *Account) *GetAccountOutput {
 31598  	s.Account = v
 31599  	return s
 31600  }
 31601  
 31602  type GetAccountSettingsInput struct {
 31603  	_ struct{} `type:"structure" nopayload:"true"`
 31604  
 31605  	// The Amazon Chime account ID.
 31606  	//
 31607  	// AccountId is a required field
 31608  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 31609  }
 31610  
 31611  // String returns the string representation.
 31612  //
 31613  // API parameter values that are decorated as "sensitive" in the API will not
 31614  // be included in the string output. The member name will be present, but the
 31615  // value will be replaced with "sensitive".
 31616  func (s GetAccountSettingsInput) String() string {
 31617  	return awsutil.Prettify(s)
 31618  }
 31619  
 31620  // GoString returns the string representation.
 31621  //
 31622  // API parameter values that are decorated as "sensitive" in the API will not
 31623  // be included in the string output. The member name will be present, but the
 31624  // value will be replaced with "sensitive".
 31625  func (s GetAccountSettingsInput) GoString() string {
 31626  	return s.String()
 31627  }
 31628  
 31629  // Validate inspects the fields of the type to determine if they are valid.
 31630  func (s *GetAccountSettingsInput) Validate() error {
 31631  	invalidParams := request.ErrInvalidParams{Context: "GetAccountSettingsInput"}
 31632  	if s.AccountId == nil {
 31633  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 31634  	}
 31635  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 31636  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 31637  	}
 31638  
 31639  	if invalidParams.Len() > 0 {
 31640  		return invalidParams
 31641  	}
 31642  	return nil
 31643  }
 31644  
 31645  // SetAccountId sets the AccountId field's value.
 31646  func (s *GetAccountSettingsInput) SetAccountId(v string) *GetAccountSettingsInput {
 31647  	s.AccountId = &v
 31648  	return s
 31649  }
 31650  
 31651  type GetAccountSettingsOutput struct {
 31652  	_ struct{} `type:"structure"`
 31653  
 31654  	// The Amazon Chime account settings.
 31655  	AccountSettings *AccountSettings `type:"structure"`
 31656  }
 31657  
 31658  // String returns the string representation.
 31659  //
 31660  // API parameter values that are decorated as "sensitive" in the API will not
 31661  // be included in the string output. The member name will be present, but the
 31662  // value will be replaced with "sensitive".
 31663  func (s GetAccountSettingsOutput) String() string {
 31664  	return awsutil.Prettify(s)
 31665  }
 31666  
 31667  // GoString returns the string representation.
 31668  //
 31669  // API parameter values that are decorated as "sensitive" in the API will not
 31670  // be included in the string output. The member name will be present, but the
 31671  // value will be replaced with "sensitive".
 31672  func (s GetAccountSettingsOutput) GoString() string {
 31673  	return s.String()
 31674  }
 31675  
 31676  // SetAccountSettings sets the AccountSettings field's value.
 31677  func (s *GetAccountSettingsOutput) SetAccountSettings(v *AccountSettings) *GetAccountSettingsOutput {
 31678  	s.AccountSettings = v
 31679  	return s
 31680  }
 31681  
 31682  type GetAppInstanceRetentionSettingsInput struct {
 31683  	_ struct{} `type:"structure" nopayload:"true"`
 31684  
 31685  	// The ARN of the AppInstance.
 31686  	//
 31687  	// AppInstanceArn is a required field
 31688  	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
 31689  }
 31690  
 31691  // String returns the string representation.
 31692  //
 31693  // API parameter values that are decorated as "sensitive" in the API will not
 31694  // be included in the string output. The member name will be present, but the
 31695  // value will be replaced with "sensitive".
 31696  func (s GetAppInstanceRetentionSettingsInput) String() string {
 31697  	return awsutil.Prettify(s)
 31698  }
 31699  
 31700  // GoString returns the string representation.
 31701  //
 31702  // API parameter values that are decorated as "sensitive" in the API will not
 31703  // be included in the string output. The member name will be present, but the
 31704  // value will be replaced with "sensitive".
 31705  func (s GetAppInstanceRetentionSettingsInput) GoString() string {
 31706  	return s.String()
 31707  }
 31708  
 31709  // Validate inspects the fields of the type to determine if they are valid.
 31710  func (s *GetAppInstanceRetentionSettingsInput) Validate() error {
 31711  	invalidParams := request.ErrInvalidParams{Context: "GetAppInstanceRetentionSettingsInput"}
 31712  	if s.AppInstanceArn == nil {
 31713  		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
 31714  	}
 31715  	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
 31716  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
 31717  	}
 31718  
 31719  	if invalidParams.Len() > 0 {
 31720  		return invalidParams
 31721  	}
 31722  	return nil
 31723  }
 31724  
 31725  // SetAppInstanceArn sets the AppInstanceArn field's value.
 31726  func (s *GetAppInstanceRetentionSettingsInput) SetAppInstanceArn(v string) *GetAppInstanceRetentionSettingsInput {
 31727  	s.AppInstanceArn = &v
 31728  	return s
 31729  }
 31730  
 31731  type GetAppInstanceRetentionSettingsOutput struct {
 31732  	_ struct{} `type:"structure"`
 31733  
 31734  	// The retention settings for the AppInstance.
 31735  	AppInstanceRetentionSettings *AppInstanceRetentionSettings `type:"structure"`
 31736  
 31737  	// The timestamp representing the time at which the specified items are retained,
 31738  	// in Epoch Seconds.
 31739  	InitiateDeletionTimestamp *time.Time `type:"timestamp"`
 31740  }
 31741  
 31742  // String returns the string representation.
 31743  //
 31744  // API parameter values that are decorated as "sensitive" in the API will not
 31745  // be included in the string output. The member name will be present, but the
 31746  // value will be replaced with "sensitive".
 31747  func (s GetAppInstanceRetentionSettingsOutput) String() string {
 31748  	return awsutil.Prettify(s)
 31749  }
 31750  
 31751  // GoString returns the string representation.
 31752  //
 31753  // API parameter values that are decorated as "sensitive" in the API will not
 31754  // be included in the string output. The member name will be present, but the
 31755  // value will be replaced with "sensitive".
 31756  func (s GetAppInstanceRetentionSettingsOutput) GoString() string {
 31757  	return s.String()
 31758  }
 31759  
 31760  // SetAppInstanceRetentionSettings sets the AppInstanceRetentionSettings field's value.
 31761  func (s *GetAppInstanceRetentionSettingsOutput) SetAppInstanceRetentionSettings(v *AppInstanceRetentionSettings) *GetAppInstanceRetentionSettingsOutput {
 31762  	s.AppInstanceRetentionSettings = v
 31763  	return s
 31764  }
 31765  
 31766  // SetInitiateDeletionTimestamp sets the InitiateDeletionTimestamp field's value.
 31767  func (s *GetAppInstanceRetentionSettingsOutput) SetInitiateDeletionTimestamp(v time.Time) *GetAppInstanceRetentionSettingsOutput {
 31768  	s.InitiateDeletionTimestamp = &v
 31769  	return s
 31770  }
 31771  
 31772  type GetAppInstanceStreamingConfigurationsInput struct {
 31773  	_ struct{} `type:"structure" nopayload:"true"`
 31774  
 31775  	// The ARN of the AppInstance.
 31776  	//
 31777  	// AppInstanceArn is a required field
 31778  	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
 31779  }
 31780  
 31781  // String returns the string representation.
 31782  //
 31783  // API parameter values that are decorated as "sensitive" in the API will not
 31784  // be included in the string output. The member name will be present, but the
 31785  // value will be replaced with "sensitive".
 31786  func (s GetAppInstanceStreamingConfigurationsInput) String() string {
 31787  	return awsutil.Prettify(s)
 31788  }
 31789  
 31790  // GoString returns the string representation.
 31791  //
 31792  // API parameter values that are decorated as "sensitive" in the API will not
 31793  // be included in the string output. The member name will be present, but the
 31794  // value will be replaced with "sensitive".
 31795  func (s GetAppInstanceStreamingConfigurationsInput) GoString() string {
 31796  	return s.String()
 31797  }
 31798  
 31799  // Validate inspects the fields of the type to determine if they are valid.
 31800  func (s *GetAppInstanceStreamingConfigurationsInput) Validate() error {
 31801  	invalidParams := request.ErrInvalidParams{Context: "GetAppInstanceStreamingConfigurationsInput"}
 31802  	if s.AppInstanceArn == nil {
 31803  		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
 31804  	}
 31805  	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
 31806  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
 31807  	}
 31808  
 31809  	if invalidParams.Len() > 0 {
 31810  		return invalidParams
 31811  	}
 31812  	return nil
 31813  }
 31814  
 31815  // SetAppInstanceArn sets the AppInstanceArn field's value.
 31816  func (s *GetAppInstanceStreamingConfigurationsInput) SetAppInstanceArn(v string) *GetAppInstanceStreamingConfigurationsInput {
 31817  	s.AppInstanceArn = &v
 31818  	return s
 31819  }
 31820  
 31821  type GetAppInstanceStreamingConfigurationsOutput struct {
 31822  	_ struct{} `type:"structure"`
 31823  
 31824  	// The streaming settings.
 31825  	AppInstanceStreamingConfigurations []*AppInstanceStreamingConfiguration `min:"1" type:"list"`
 31826  }
 31827  
 31828  // String returns the string representation.
 31829  //
 31830  // API parameter values that are decorated as "sensitive" in the API will not
 31831  // be included in the string output. The member name will be present, but the
 31832  // value will be replaced with "sensitive".
 31833  func (s GetAppInstanceStreamingConfigurationsOutput) String() string {
 31834  	return awsutil.Prettify(s)
 31835  }
 31836  
 31837  // GoString returns the string representation.
 31838  //
 31839  // API parameter values that are decorated as "sensitive" in the API will not
 31840  // be included in the string output. The member name will be present, but the
 31841  // value will be replaced with "sensitive".
 31842  func (s GetAppInstanceStreamingConfigurationsOutput) GoString() string {
 31843  	return s.String()
 31844  }
 31845  
 31846  // SetAppInstanceStreamingConfigurations sets the AppInstanceStreamingConfigurations field's value.
 31847  func (s *GetAppInstanceStreamingConfigurationsOutput) SetAppInstanceStreamingConfigurations(v []*AppInstanceStreamingConfiguration) *GetAppInstanceStreamingConfigurationsOutput {
 31848  	s.AppInstanceStreamingConfigurations = v
 31849  	return s
 31850  }
 31851  
 31852  type GetAttendeeInput struct {
 31853  	_ struct{} `type:"structure" nopayload:"true"`
 31854  
 31855  	// The Amazon Chime SDK attendee ID.
 31856  	//
 31857  	// AttendeeId is a required field
 31858  	AttendeeId *string `location:"uri" locationName:"attendeeId" type:"string" required:"true"`
 31859  
 31860  	// The Amazon Chime SDK meeting ID.
 31861  	//
 31862  	// MeetingId is a required field
 31863  	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
 31864  }
 31865  
 31866  // String returns the string representation.
 31867  //
 31868  // API parameter values that are decorated as "sensitive" in the API will not
 31869  // be included in the string output. The member name will be present, but the
 31870  // value will be replaced with "sensitive".
 31871  func (s GetAttendeeInput) String() string {
 31872  	return awsutil.Prettify(s)
 31873  }
 31874  
 31875  // GoString returns the string representation.
 31876  //
 31877  // API parameter values that are decorated as "sensitive" in the API will not
 31878  // be included in the string output. The member name will be present, but the
 31879  // value will be replaced with "sensitive".
 31880  func (s GetAttendeeInput) GoString() string {
 31881  	return s.String()
 31882  }
 31883  
 31884  // Validate inspects the fields of the type to determine if they are valid.
 31885  func (s *GetAttendeeInput) Validate() error {
 31886  	invalidParams := request.ErrInvalidParams{Context: "GetAttendeeInput"}
 31887  	if s.AttendeeId == nil {
 31888  		invalidParams.Add(request.NewErrParamRequired("AttendeeId"))
 31889  	}
 31890  	if s.AttendeeId != nil && len(*s.AttendeeId) < 1 {
 31891  		invalidParams.Add(request.NewErrParamMinLen("AttendeeId", 1))
 31892  	}
 31893  	if s.MeetingId == nil {
 31894  		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
 31895  	}
 31896  	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
 31897  		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
 31898  	}
 31899  
 31900  	if invalidParams.Len() > 0 {
 31901  		return invalidParams
 31902  	}
 31903  	return nil
 31904  }
 31905  
 31906  // SetAttendeeId sets the AttendeeId field's value.
 31907  func (s *GetAttendeeInput) SetAttendeeId(v string) *GetAttendeeInput {
 31908  	s.AttendeeId = &v
 31909  	return s
 31910  }
 31911  
 31912  // SetMeetingId sets the MeetingId field's value.
 31913  func (s *GetAttendeeInput) SetMeetingId(v string) *GetAttendeeInput {
 31914  	s.MeetingId = &v
 31915  	return s
 31916  }
 31917  
 31918  type GetAttendeeOutput struct {
 31919  	_ struct{} `type:"structure"`
 31920  
 31921  	// The Amazon Chime SDK attendee information.
 31922  	Attendee *Attendee `type:"structure"`
 31923  }
 31924  
 31925  // String returns the string representation.
 31926  //
 31927  // API parameter values that are decorated as "sensitive" in the API will not
 31928  // be included in the string output. The member name will be present, but the
 31929  // value will be replaced with "sensitive".
 31930  func (s GetAttendeeOutput) String() string {
 31931  	return awsutil.Prettify(s)
 31932  }
 31933  
 31934  // GoString returns the string representation.
 31935  //
 31936  // API parameter values that are decorated as "sensitive" in the API will not
 31937  // be included in the string output. The member name will be present, but the
 31938  // value will be replaced with "sensitive".
 31939  func (s GetAttendeeOutput) GoString() string {
 31940  	return s.String()
 31941  }
 31942  
 31943  // SetAttendee sets the Attendee field's value.
 31944  func (s *GetAttendeeOutput) SetAttendee(v *Attendee) *GetAttendeeOutput {
 31945  	s.Attendee = v
 31946  	return s
 31947  }
 31948  
 31949  type GetBotInput struct {
 31950  	_ struct{} `type:"structure" nopayload:"true"`
 31951  
 31952  	// The Amazon Chime account ID.
 31953  	//
 31954  	// AccountId is a required field
 31955  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 31956  
 31957  	// The bot ID.
 31958  	//
 31959  	// BotId is a required field
 31960  	BotId *string `location:"uri" locationName:"botId" type:"string" required:"true"`
 31961  }
 31962  
 31963  // String returns the string representation.
 31964  //
 31965  // API parameter values that are decorated as "sensitive" in the API will not
 31966  // be included in the string output. The member name will be present, but the
 31967  // value will be replaced with "sensitive".
 31968  func (s GetBotInput) String() string {
 31969  	return awsutil.Prettify(s)
 31970  }
 31971  
 31972  // GoString returns the string representation.
 31973  //
 31974  // API parameter values that are decorated as "sensitive" in the API will not
 31975  // be included in the string output. The member name will be present, but the
 31976  // value will be replaced with "sensitive".
 31977  func (s GetBotInput) GoString() string {
 31978  	return s.String()
 31979  }
 31980  
 31981  // Validate inspects the fields of the type to determine if they are valid.
 31982  func (s *GetBotInput) Validate() error {
 31983  	invalidParams := request.ErrInvalidParams{Context: "GetBotInput"}
 31984  	if s.AccountId == nil {
 31985  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 31986  	}
 31987  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 31988  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 31989  	}
 31990  	if s.BotId == nil {
 31991  		invalidParams.Add(request.NewErrParamRequired("BotId"))
 31992  	}
 31993  	if s.BotId != nil && len(*s.BotId) < 1 {
 31994  		invalidParams.Add(request.NewErrParamMinLen("BotId", 1))
 31995  	}
 31996  
 31997  	if invalidParams.Len() > 0 {
 31998  		return invalidParams
 31999  	}
 32000  	return nil
 32001  }
 32002  
 32003  // SetAccountId sets the AccountId field's value.
 32004  func (s *GetBotInput) SetAccountId(v string) *GetBotInput {
 32005  	s.AccountId = &v
 32006  	return s
 32007  }
 32008  
 32009  // SetBotId sets the BotId field's value.
 32010  func (s *GetBotInput) SetBotId(v string) *GetBotInput {
 32011  	s.BotId = &v
 32012  	return s
 32013  }
 32014  
 32015  type GetBotOutput struct {
 32016  	_ struct{} `type:"structure"`
 32017  
 32018  	// The chat bot details.
 32019  	Bot *Bot `type:"structure"`
 32020  }
 32021  
 32022  // String returns the string representation.
 32023  //
 32024  // API parameter values that are decorated as "sensitive" in the API will not
 32025  // be included in the string output. The member name will be present, but the
 32026  // value will be replaced with "sensitive".
 32027  func (s GetBotOutput) String() string {
 32028  	return awsutil.Prettify(s)
 32029  }
 32030  
 32031  // GoString returns the string representation.
 32032  //
 32033  // API parameter values that are decorated as "sensitive" in the API will not
 32034  // be included in the string output. The member name will be present, but the
 32035  // value will be replaced with "sensitive".
 32036  func (s GetBotOutput) GoString() string {
 32037  	return s.String()
 32038  }
 32039  
 32040  // SetBot sets the Bot field's value.
 32041  func (s *GetBotOutput) SetBot(v *Bot) *GetBotOutput {
 32042  	s.Bot = v
 32043  	return s
 32044  }
 32045  
 32046  type GetChannelMessageInput struct {
 32047  	_ struct{} `type:"structure" nopayload:"true"`
 32048  
 32049  	// The ARN of the channel.
 32050  	//
 32051  	// ChannelArn is a required field
 32052  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 32053  
 32054  	// The AppInstanceUserArn of the user that makes the API call.
 32055  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 32056  
 32057  	// The ID of the message.
 32058  	//
 32059  	// MessageId is a required field
 32060  	MessageId *string `location:"uri" locationName:"messageId" min:"1" type:"string" required:"true"`
 32061  }
 32062  
 32063  // String returns the string representation.
 32064  //
 32065  // API parameter values that are decorated as "sensitive" in the API will not
 32066  // be included in the string output. The member name will be present, but the
 32067  // value will be replaced with "sensitive".
 32068  func (s GetChannelMessageInput) String() string {
 32069  	return awsutil.Prettify(s)
 32070  }
 32071  
 32072  // GoString returns the string representation.
 32073  //
 32074  // API parameter values that are decorated as "sensitive" in the API will not
 32075  // be included in the string output. The member name will be present, but the
 32076  // value will be replaced with "sensitive".
 32077  func (s GetChannelMessageInput) GoString() string {
 32078  	return s.String()
 32079  }
 32080  
 32081  // Validate inspects the fields of the type to determine if they are valid.
 32082  func (s *GetChannelMessageInput) Validate() error {
 32083  	invalidParams := request.ErrInvalidParams{Context: "GetChannelMessageInput"}
 32084  	if s.ChannelArn == nil {
 32085  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 32086  	}
 32087  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 32088  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 32089  	}
 32090  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 32091  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 32092  	}
 32093  	if s.MessageId == nil {
 32094  		invalidParams.Add(request.NewErrParamRequired("MessageId"))
 32095  	}
 32096  	if s.MessageId != nil && len(*s.MessageId) < 1 {
 32097  		invalidParams.Add(request.NewErrParamMinLen("MessageId", 1))
 32098  	}
 32099  
 32100  	if invalidParams.Len() > 0 {
 32101  		return invalidParams
 32102  	}
 32103  	return nil
 32104  }
 32105  
 32106  // SetChannelArn sets the ChannelArn field's value.
 32107  func (s *GetChannelMessageInput) SetChannelArn(v string) *GetChannelMessageInput {
 32108  	s.ChannelArn = &v
 32109  	return s
 32110  }
 32111  
 32112  // SetChimeBearer sets the ChimeBearer field's value.
 32113  func (s *GetChannelMessageInput) SetChimeBearer(v string) *GetChannelMessageInput {
 32114  	s.ChimeBearer = &v
 32115  	return s
 32116  }
 32117  
 32118  // SetMessageId sets the MessageId field's value.
 32119  func (s *GetChannelMessageInput) SetMessageId(v string) *GetChannelMessageInput {
 32120  	s.MessageId = &v
 32121  	return s
 32122  }
 32123  
 32124  type GetChannelMessageOutput struct {
 32125  	_ struct{} `type:"structure"`
 32126  
 32127  	// The details of and content in the message.
 32128  	ChannelMessage *ChannelMessage `type:"structure"`
 32129  }
 32130  
 32131  // String returns the string representation.
 32132  //
 32133  // API parameter values that are decorated as "sensitive" in the API will not
 32134  // be included in the string output. The member name will be present, but the
 32135  // value will be replaced with "sensitive".
 32136  func (s GetChannelMessageOutput) String() string {
 32137  	return awsutil.Prettify(s)
 32138  }
 32139  
 32140  // GoString returns the string representation.
 32141  //
 32142  // API parameter values that are decorated as "sensitive" in the API will not
 32143  // be included in the string output. The member name will be present, but the
 32144  // value will be replaced with "sensitive".
 32145  func (s GetChannelMessageOutput) GoString() string {
 32146  	return s.String()
 32147  }
 32148  
 32149  // SetChannelMessage sets the ChannelMessage field's value.
 32150  func (s *GetChannelMessageOutput) SetChannelMessage(v *ChannelMessage) *GetChannelMessageOutput {
 32151  	s.ChannelMessage = v
 32152  	return s
 32153  }
 32154  
 32155  type GetEventsConfigurationInput struct {
 32156  	_ struct{} `type:"structure" nopayload:"true"`
 32157  
 32158  	// The Amazon Chime account ID.
 32159  	//
 32160  	// AccountId is a required field
 32161  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 32162  
 32163  	// The bot ID.
 32164  	//
 32165  	// BotId is a required field
 32166  	BotId *string `location:"uri" locationName:"botId" type:"string" required:"true"`
 32167  }
 32168  
 32169  // String returns the string representation.
 32170  //
 32171  // API parameter values that are decorated as "sensitive" in the API will not
 32172  // be included in the string output. The member name will be present, but the
 32173  // value will be replaced with "sensitive".
 32174  func (s GetEventsConfigurationInput) String() string {
 32175  	return awsutil.Prettify(s)
 32176  }
 32177  
 32178  // GoString returns the string representation.
 32179  //
 32180  // API parameter values that are decorated as "sensitive" in the API will not
 32181  // be included in the string output. The member name will be present, but the
 32182  // value will be replaced with "sensitive".
 32183  func (s GetEventsConfigurationInput) GoString() string {
 32184  	return s.String()
 32185  }
 32186  
 32187  // Validate inspects the fields of the type to determine if they are valid.
 32188  func (s *GetEventsConfigurationInput) Validate() error {
 32189  	invalidParams := request.ErrInvalidParams{Context: "GetEventsConfigurationInput"}
 32190  	if s.AccountId == nil {
 32191  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 32192  	}
 32193  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 32194  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 32195  	}
 32196  	if s.BotId == nil {
 32197  		invalidParams.Add(request.NewErrParamRequired("BotId"))
 32198  	}
 32199  	if s.BotId != nil && len(*s.BotId) < 1 {
 32200  		invalidParams.Add(request.NewErrParamMinLen("BotId", 1))
 32201  	}
 32202  
 32203  	if invalidParams.Len() > 0 {
 32204  		return invalidParams
 32205  	}
 32206  	return nil
 32207  }
 32208  
 32209  // SetAccountId sets the AccountId field's value.
 32210  func (s *GetEventsConfigurationInput) SetAccountId(v string) *GetEventsConfigurationInput {
 32211  	s.AccountId = &v
 32212  	return s
 32213  }
 32214  
 32215  // SetBotId sets the BotId field's value.
 32216  func (s *GetEventsConfigurationInput) SetBotId(v string) *GetEventsConfigurationInput {
 32217  	s.BotId = &v
 32218  	return s
 32219  }
 32220  
 32221  type GetEventsConfigurationOutput struct {
 32222  	_ struct{} `type:"structure"`
 32223  
 32224  	// The events configuration details.
 32225  	EventsConfiguration *EventsConfiguration `type:"structure"`
 32226  }
 32227  
 32228  // String returns the string representation.
 32229  //
 32230  // API parameter values that are decorated as "sensitive" in the API will not
 32231  // be included in the string output. The member name will be present, but the
 32232  // value will be replaced with "sensitive".
 32233  func (s GetEventsConfigurationOutput) String() string {
 32234  	return awsutil.Prettify(s)
 32235  }
 32236  
 32237  // GoString returns the string representation.
 32238  //
 32239  // API parameter values that are decorated as "sensitive" in the API will not
 32240  // be included in the string output. The member name will be present, but the
 32241  // value will be replaced with "sensitive".
 32242  func (s GetEventsConfigurationOutput) GoString() string {
 32243  	return s.String()
 32244  }
 32245  
 32246  // SetEventsConfiguration sets the EventsConfiguration field's value.
 32247  func (s *GetEventsConfigurationOutput) SetEventsConfiguration(v *EventsConfiguration) *GetEventsConfigurationOutput {
 32248  	s.EventsConfiguration = v
 32249  	return s
 32250  }
 32251  
 32252  type GetGlobalSettingsInput struct {
 32253  	_ struct{} `type:"structure" nopayload:"true"`
 32254  }
 32255  
 32256  // String returns the string representation.
 32257  //
 32258  // API parameter values that are decorated as "sensitive" in the API will not
 32259  // be included in the string output. The member name will be present, but the
 32260  // value will be replaced with "sensitive".
 32261  func (s GetGlobalSettingsInput) String() string {
 32262  	return awsutil.Prettify(s)
 32263  }
 32264  
 32265  // GoString returns the string representation.
 32266  //
 32267  // API parameter values that are decorated as "sensitive" in the API will not
 32268  // be included in the string output. The member name will be present, but the
 32269  // value will be replaced with "sensitive".
 32270  func (s GetGlobalSettingsInput) GoString() string {
 32271  	return s.String()
 32272  }
 32273  
 32274  type GetGlobalSettingsOutput struct {
 32275  	_ struct{} `type:"structure"`
 32276  
 32277  	// The Amazon Chime Business Calling settings.
 32278  	BusinessCalling *BusinessCallingSettings `type:"structure"`
 32279  
 32280  	// The Amazon Chime Voice Connector settings.
 32281  	VoiceConnector *VoiceConnectorSettings `type:"structure"`
 32282  }
 32283  
 32284  // String returns the string representation.
 32285  //
 32286  // API parameter values that are decorated as "sensitive" in the API will not
 32287  // be included in the string output. The member name will be present, but the
 32288  // value will be replaced with "sensitive".
 32289  func (s GetGlobalSettingsOutput) String() string {
 32290  	return awsutil.Prettify(s)
 32291  }
 32292  
 32293  // GoString returns the string representation.
 32294  //
 32295  // API parameter values that are decorated as "sensitive" in the API will not
 32296  // be included in the string output. The member name will be present, but the
 32297  // value will be replaced with "sensitive".
 32298  func (s GetGlobalSettingsOutput) GoString() string {
 32299  	return s.String()
 32300  }
 32301  
 32302  // SetBusinessCalling sets the BusinessCalling field's value.
 32303  func (s *GetGlobalSettingsOutput) SetBusinessCalling(v *BusinessCallingSettings) *GetGlobalSettingsOutput {
 32304  	s.BusinessCalling = v
 32305  	return s
 32306  }
 32307  
 32308  // SetVoiceConnector sets the VoiceConnector field's value.
 32309  func (s *GetGlobalSettingsOutput) SetVoiceConnector(v *VoiceConnectorSettings) *GetGlobalSettingsOutput {
 32310  	s.VoiceConnector = v
 32311  	return s
 32312  }
 32313  
 32314  type GetMediaCapturePipelineInput struct {
 32315  	_ struct{} `type:"structure" nopayload:"true"`
 32316  
 32317  	// The ID of the pipeline that you want to get.
 32318  	//
 32319  	// MediaPipelineId is a required field
 32320  	MediaPipelineId *string `location:"uri" locationName:"mediaPipelineId" type:"string" required:"true"`
 32321  }
 32322  
 32323  // String returns the string representation.
 32324  //
 32325  // API parameter values that are decorated as "sensitive" in the API will not
 32326  // be included in the string output. The member name will be present, but the
 32327  // value will be replaced with "sensitive".
 32328  func (s GetMediaCapturePipelineInput) String() string {
 32329  	return awsutil.Prettify(s)
 32330  }
 32331  
 32332  // GoString returns the string representation.
 32333  //
 32334  // API parameter values that are decorated as "sensitive" in the API will not
 32335  // be included in the string output. The member name will be present, but the
 32336  // value will be replaced with "sensitive".
 32337  func (s GetMediaCapturePipelineInput) GoString() string {
 32338  	return s.String()
 32339  }
 32340  
 32341  // Validate inspects the fields of the type to determine if they are valid.
 32342  func (s *GetMediaCapturePipelineInput) Validate() error {
 32343  	invalidParams := request.ErrInvalidParams{Context: "GetMediaCapturePipelineInput"}
 32344  	if s.MediaPipelineId == nil {
 32345  		invalidParams.Add(request.NewErrParamRequired("MediaPipelineId"))
 32346  	}
 32347  	if s.MediaPipelineId != nil && len(*s.MediaPipelineId) < 1 {
 32348  		invalidParams.Add(request.NewErrParamMinLen("MediaPipelineId", 1))
 32349  	}
 32350  
 32351  	if invalidParams.Len() > 0 {
 32352  		return invalidParams
 32353  	}
 32354  	return nil
 32355  }
 32356  
 32357  // SetMediaPipelineId sets the MediaPipelineId field's value.
 32358  func (s *GetMediaCapturePipelineInput) SetMediaPipelineId(v string) *GetMediaCapturePipelineInput {
 32359  	s.MediaPipelineId = &v
 32360  	return s
 32361  }
 32362  
 32363  type GetMediaCapturePipelineOutput struct {
 32364  	_ struct{} `type:"structure"`
 32365  
 32366  	// The media capture pipeline object.
 32367  	MediaCapturePipeline *MediaCapturePipeline `type:"structure"`
 32368  }
 32369  
 32370  // String returns the string representation.
 32371  //
 32372  // API parameter values that are decorated as "sensitive" in the API will not
 32373  // be included in the string output. The member name will be present, but the
 32374  // value will be replaced with "sensitive".
 32375  func (s GetMediaCapturePipelineOutput) String() string {
 32376  	return awsutil.Prettify(s)
 32377  }
 32378  
 32379  // GoString returns the string representation.
 32380  //
 32381  // API parameter values that are decorated as "sensitive" in the API will not
 32382  // be included in the string output. The member name will be present, but the
 32383  // value will be replaced with "sensitive".
 32384  func (s GetMediaCapturePipelineOutput) GoString() string {
 32385  	return s.String()
 32386  }
 32387  
 32388  // SetMediaCapturePipeline sets the MediaCapturePipeline field's value.
 32389  func (s *GetMediaCapturePipelineOutput) SetMediaCapturePipeline(v *MediaCapturePipeline) *GetMediaCapturePipelineOutput {
 32390  	s.MediaCapturePipeline = v
 32391  	return s
 32392  }
 32393  
 32394  type GetMeetingInput struct {
 32395  	_ struct{} `type:"structure" nopayload:"true"`
 32396  
 32397  	// The Amazon Chime SDK meeting ID.
 32398  	//
 32399  	// MeetingId is a required field
 32400  	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
 32401  }
 32402  
 32403  // String returns the string representation.
 32404  //
 32405  // API parameter values that are decorated as "sensitive" in the API will not
 32406  // be included in the string output. The member name will be present, but the
 32407  // value will be replaced with "sensitive".
 32408  func (s GetMeetingInput) String() string {
 32409  	return awsutil.Prettify(s)
 32410  }
 32411  
 32412  // GoString returns the string representation.
 32413  //
 32414  // API parameter values that are decorated as "sensitive" in the API will not
 32415  // be included in the string output. The member name will be present, but the
 32416  // value will be replaced with "sensitive".
 32417  func (s GetMeetingInput) GoString() string {
 32418  	return s.String()
 32419  }
 32420  
 32421  // Validate inspects the fields of the type to determine if they are valid.
 32422  func (s *GetMeetingInput) Validate() error {
 32423  	invalidParams := request.ErrInvalidParams{Context: "GetMeetingInput"}
 32424  	if s.MeetingId == nil {
 32425  		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
 32426  	}
 32427  	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
 32428  		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
 32429  	}
 32430  
 32431  	if invalidParams.Len() > 0 {
 32432  		return invalidParams
 32433  	}
 32434  	return nil
 32435  }
 32436  
 32437  // SetMeetingId sets the MeetingId field's value.
 32438  func (s *GetMeetingInput) SetMeetingId(v string) *GetMeetingInput {
 32439  	s.MeetingId = &v
 32440  	return s
 32441  }
 32442  
 32443  type GetMeetingOutput struct {
 32444  	_ struct{} `type:"structure"`
 32445  
 32446  	// The Amazon Chime SDK meeting information.
 32447  	Meeting *Meeting `type:"structure"`
 32448  }
 32449  
 32450  // String returns the string representation.
 32451  //
 32452  // API parameter values that are decorated as "sensitive" in the API will not
 32453  // be included in the string output. The member name will be present, but the
 32454  // value will be replaced with "sensitive".
 32455  func (s GetMeetingOutput) String() string {
 32456  	return awsutil.Prettify(s)
 32457  }
 32458  
 32459  // GoString returns the string representation.
 32460  //
 32461  // API parameter values that are decorated as "sensitive" in the API will not
 32462  // be included in the string output. The member name will be present, but the
 32463  // value will be replaced with "sensitive".
 32464  func (s GetMeetingOutput) GoString() string {
 32465  	return s.String()
 32466  }
 32467  
 32468  // SetMeeting sets the Meeting field's value.
 32469  func (s *GetMeetingOutput) SetMeeting(v *Meeting) *GetMeetingOutput {
 32470  	s.Meeting = v
 32471  	return s
 32472  }
 32473  
 32474  type GetMessagingSessionEndpointInput struct {
 32475  	_ struct{} `type:"structure" nopayload:"true"`
 32476  }
 32477  
 32478  // String returns the string representation.
 32479  //
 32480  // API parameter values that are decorated as "sensitive" in the API will not
 32481  // be included in the string output. The member name will be present, but the
 32482  // value will be replaced with "sensitive".
 32483  func (s GetMessagingSessionEndpointInput) String() string {
 32484  	return awsutil.Prettify(s)
 32485  }
 32486  
 32487  // GoString returns the string representation.
 32488  //
 32489  // API parameter values that are decorated as "sensitive" in the API will not
 32490  // be included in the string output. The member name will be present, but the
 32491  // value will be replaced with "sensitive".
 32492  func (s GetMessagingSessionEndpointInput) GoString() string {
 32493  	return s.String()
 32494  }
 32495  
 32496  type GetMessagingSessionEndpointOutput struct {
 32497  	_ struct{} `type:"structure"`
 32498  
 32499  	// The endpoint returned in the response.
 32500  	Endpoint *MessagingSessionEndpoint `type:"structure"`
 32501  }
 32502  
 32503  // String returns the string representation.
 32504  //
 32505  // API parameter values that are decorated as "sensitive" in the API will not
 32506  // be included in the string output. The member name will be present, but the
 32507  // value will be replaced with "sensitive".
 32508  func (s GetMessagingSessionEndpointOutput) String() string {
 32509  	return awsutil.Prettify(s)
 32510  }
 32511  
 32512  // GoString returns the string representation.
 32513  //
 32514  // API parameter values that are decorated as "sensitive" in the API will not
 32515  // be included in the string output. The member name will be present, but the
 32516  // value will be replaced with "sensitive".
 32517  func (s GetMessagingSessionEndpointOutput) GoString() string {
 32518  	return s.String()
 32519  }
 32520  
 32521  // SetEndpoint sets the Endpoint field's value.
 32522  func (s *GetMessagingSessionEndpointOutput) SetEndpoint(v *MessagingSessionEndpoint) *GetMessagingSessionEndpointOutput {
 32523  	s.Endpoint = v
 32524  	return s
 32525  }
 32526  
 32527  type GetPhoneNumberInput struct {
 32528  	_ struct{} `type:"structure" nopayload:"true"`
 32529  
 32530  	// The phone number ID.
 32531  	//
 32532  	// PhoneNumberId is a required field
 32533  	PhoneNumberId *string `location:"uri" locationName:"phoneNumberId" type:"string" required:"true"`
 32534  }
 32535  
 32536  // String returns the string representation.
 32537  //
 32538  // API parameter values that are decorated as "sensitive" in the API will not
 32539  // be included in the string output. The member name will be present, but the
 32540  // value will be replaced with "sensitive".
 32541  func (s GetPhoneNumberInput) String() string {
 32542  	return awsutil.Prettify(s)
 32543  }
 32544  
 32545  // GoString returns the string representation.
 32546  //
 32547  // API parameter values that are decorated as "sensitive" in the API will not
 32548  // be included in the string output. The member name will be present, but the
 32549  // value will be replaced with "sensitive".
 32550  func (s GetPhoneNumberInput) GoString() string {
 32551  	return s.String()
 32552  }
 32553  
 32554  // Validate inspects the fields of the type to determine if they are valid.
 32555  func (s *GetPhoneNumberInput) Validate() error {
 32556  	invalidParams := request.ErrInvalidParams{Context: "GetPhoneNumberInput"}
 32557  	if s.PhoneNumberId == nil {
 32558  		invalidParams.Add(request.NewErrParamRequired("PhoneNumberId"))
 32559  	}
 32560  	if s.PhoneNumberId != nil && len(*s.PhoneNumberId) < 1 {
 32561  		invalidParams.Add(request.NewErrParamMinLen("PhoneNumberId", 1))
 32562  	}
 32563  
 32564  	if invalidParams.Len() > 0 {
 32565  		return invalidParams
 32566  	}
 32567  	return nil
 32568  }
 32569  
 32570  // SetPhoneNumberId sets the PhoneNumberId field's value.
 32571  func (s *GetPhoneNumberInput) SetPhoneNumberId(v string) *GetPhoneNumberInput {
 32572  	s.PhoneNumberId = &v
 32573  	return s
 32574  }
 32575  
 32576  type GetPhoneNumberOrderInput struct {
 32577  	_ struct{} `type:"structure" nopayload:"true"`
 32578  
 32579  	// The ID for the phone number order.
 32580  	//
 32581  	// PhoneNumberOrderId is a required field
 32582  	PhoneNumberOrderId *string `location:"uri" locationName:"phoneNumberOrderId" type:"string" required:"true"`
 32583  }
 32584  
 32585  // String returns the string representation.
 32586  //
 32587  // API parameter values that are decorated as "sensitive" in the API will not
 32588  // be included in the string output. The member name will be present, but the
 32589  // value will be replaced with "sensitive".
 32590  func (s GetPhoneNumberOrderInput) String() string {
 32591  	return awsutil.Prettify(s)
 32592  }
 32593  
 32594  // GoString returns the string representation.
 32595  //
 32596  // API parameter values that are decorated as "sensitive" in the API will not
 32597  // be included in the string output. The member name will be present, but the
 32598  // value will be replaced with "sensitive".
 32599  func (s GetPhoneNumberOrderInput) GoString() string {
 32600  	return s.String()
 32601  }
 32602  
 32603  // Validate inspects the fields of the type to determine if they are valid.
 32604  func (s *GetPhoneNumberOrderInput) Validate() error {
 32605  	invalidParams := request.ErrInvalidParams{Context: "GetPhoneNumberOrderInput"}
 32606  	if s.PhoneNumberOrderId == nil {
 32607  		invalidParams.Add(request.NewErrParamRequired("PhoneNumberOrderId"))
 32608  	}
 32609  	if s.PhoneNumberOrderId != nil && len(*s.PhoneNumberOrderId) < 1 {
 32610  		invalidParams.Add(request.NewErrParamMinLen("PhoneNumberOrderId", 1))
 32611  	}
 32612  
 32613  	if invalidParams.Len() > 0 {
 32614  		return invalidParams
 32615  	}
 32616  	return nil
 32617  }
 32618  
 32619  // SetPhoneNumberOrderId sets the PhoneNumberOrderId field's value.
 32620  func (s *GetPhoneNumberOrderInput) SetPhoneNumberOrderId(v string) *GetPhoneNumberOrderInput {
 32621  	s.PhoneNumberOrderId = &v
 32622  	return s
 32623  }
 32624  
 32625  type GetPhoneNumberOrderOutput struct {
 32626  	_ struct{} `type:"structure"`
 32627  
 32628  	// The phone number order details.
 32629  	PhoneNumberOrder *PhoneNumberOrder `type:"structure"`
 32630  }
 32631  
 32632  // String returns the string representation.
 32633  //
 32634  // API parameter values that are decorated as "sensitive" in the API will not
 32635  // be included in the string output. The member name will be present, but the
 32636  // value will be replaced with "sensitive".
 32637  func (s GetPhoneNumberOrderOutput) String() string {
 32638  	return awsutil.Prettify(s)
 32639  }
 32640  
 32641  // GoString returns the string representation.
 32642  //
 32643  // API parameter values that are decorated as "sensitive" in the API will not
 32644  // be included in the string output. The member name will be present, but the
 32645  // value will be replaced with "sensitive".
 32646  func (s GetPhoneNumberOrderOutput) GoString() string {
 32647  	return s.String()
 32648  }
 32649  
 32650  // SetPhoneNumberOrder sets the PhoneNumberOrder field's value.
 32651  func (s *GetPhoneNumberOrderOutput) SetPhoneNumberOrder(v *PhoneNumberOrder) *GetPhoneNumberOrderOutput {
 32652  	s.PhoneNumberOrder = v
 32653  	return s
 32654  }
 32655  
 32656  type GetPhoneNumberOutput struct {
 32657  	_ struct{} `type:"structure"`
 32658  
 32659  	// The phone number details.
 32660  	PhoneNumber *PhoneNumber `type:"structure"`
 32661  }
 32662  
 32663  // String returns the string representation.
 32664  //
 32665  // API parameter values that are decorated as "sensitive" in the API will not
 32666  // be included in the string output. The member name will be present, but the
 32667  // value will be replaced with "sensitive".
 32668  func (s GetPhoneNumberOutput) String() string {
 32669  	return awsutil.Prettify(s)
 32670  }
 32671  
 32672  // GoString returns the string representation.
 32673  //
 32674  // API parameter values that are decorated as "sensitive" in the API will not
 32675  // be included in the string output. The member name will be present, but the
 32676  // value will be replaced with "sensitive".
 32677  func (s GetPhoneNumberOutput) GoString() string {
 32678  	return s.String()
 32679  }
 32680  
 32681  // SetPhoneNumber sets the PhoneNumber field's value.
 32682  func (s *GetPhoneNumberOutput) SetPhoneNumber(v *PhoneNumber) *GetPhoneNumberOutput {
 32683  	s.PhoneNumber = v
 32684  	return s
 32685  }
 32686  
 32687  type GetPhoneNumberSettingsInput struct {
 32688  	_ struct{} `type:"structure" nopayload:"true"`
 32689  }
 32690  
 32691  // String returns the string representation.
 32692  //
 32693  // API parameter values that are decorated as "sensitive" in the API will not
 32694  // be included in the string output. The member name will be present, but the
 32695  // value will be replaced with "sensitive".
 32696  func (s GetPhoneNumberSettingsInput) String() string {
 32697  	return awsutil.Prettify(s)
 32698  }
 32699  
 32700  // GoString returns the string representation.
 32701  //
 32702  // API parameter values that are decorated as "sensitive" in the API will not
 32703  // be included in the string output. The member name will be present, but the
 32704  // value will be replaced with "sensitive".
 32705  func (s GetPhoneNumberSettingsInput) GoString() string {
 32706  	return s.String()
 32707  }
 32708  
 32709  type GetPhoneNumberSettingsOutput struct {
 32710  	_ struct{} `type:"structure"`
 32711  
 32712  	// The default outbound calling name for the account.
 32713  	//
 32714  	// CallingName is a sensitive parameter and its value will be
 32715  	// replaced with "sensitive" in string returned by GetPhoneNumberSettingsOutput's
 32716  	// String and GoString methods.
 32717  	CallingName *string `type:"string" sensitive:"true"`
 32718  
 32719  	// The updated outbound calling name timestamp, in ISO 8601 format.
 32720  	CallingNameUpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 32721  }
 32722  
 32723  // String returns the string representation.
 32724  //
 32725  // API parameter values that are decorated as "sensitive" in the API will not
 32726  // be included in the string output. The member name will be present, but the
 32727  // value will be replaced with "sensitive".
 32728  func (s GetPhoneNumberSettingsOutput) String() string {
 32729  	return awsutil.Prettify(s)
 32730  }
 32731  
 32732  // GoString returns the string representation.
 32733  //
 32734  // API parameter values that are decorated as "sensitive" in the API will not
 32735  // be included in the string output. The member name will be present, but the
 32736  // value will be replaced with "sensitive".
 32737  func (s GetPhoneNumberSettingsOutput) GoString() string {
 32738  	return s.String()
 32739  }
 32740  
 32741  // SetCallingName sets the CallingName field's value.
 32742  func (s *GetPhoneNumberSettingsOutput) SetCallingName(v string) *GetPhoneNumberSettingsOutput {
 32743  	s.CallingName = &v
 32744  	return s
 32745  }
 32746  
 32747  // SetCallingNameUpdatedTimestamp sets the CallingNameUpdatedTimestamp field's value.
 32748  func (s *GetPhoneNumberSettingsOutput) SetCallingNameUpdatedTimestamp(v time.Time) *GetPhoneNumberSettingsOutput {
 32749  	s.CallingNameUpdatedTimestamp = &v
 32750  	return s
 32751  }
 32752  
 32753  type GetProxySessionInput struct {
 32754  	_ struct{} `type:"structure" nopayload:"true"`
 32755  
 32756  	// The proxy session ID.
 32757  	//
 32758  	// ProxySessionId is a required field
 32759  	ProxySessionId *string `location:"uri" locationName:"proxySessionId" min:"1" type:"string" required:"true"`
 32760  
 32761  	// The Amazon Chime voice connector ID.
 32762  	//
 32763  	// VoiceConnectorId is a required field
 32764  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" min:"1" type:"string" required:"true"`
 32765  }
 32766  
 32767  // String returns the string representation.
 32768  //
 32769  // API parameter values that are decorated as "sensitive" in the API will not
 32770  // be included in the string output. The member name will be present, but the
 32771  // value will be replaced with "sensitive".
 32772  func (s GetProxySessionInput) String() string {
 32773  	return awsutil.Prettify(s)
 32774  }
 32775  
 32776  // GoString returns the string representation.
 32777  //
 32778  // API parameter values that are decorated as "sensitive" in the API will not
 32779  // be included in the string output. The member name will be present, but the
 32780  // value will be replaced with "sensitive".
 32781  func (s GetProxySessionInput) GoString() string {
 32782  	return s.String()
 32783  }
 32784  
 32785  // Validate inspects the fields of the type to determine if they are valid.
 32786  func (s *GetProxySessionInput) Validate() error {
 32787  	invalidParams := request.ErrInvalidParams{Context: "GetProxySessionInput"}
 32788  	if s.ProxySessionId == nil {
 32789  		invalidParams.Add(request.NewErrParamRequired("ProxySessionId"))
 32790  	}
 32791  	if s.ProxySessionId != nil && len(*s.ProxySessionId) < 1 {
 32792  		invalidParams.Add(request.NewErrParamMinLen("ProxySessionId", 1))
 32793  	}
 32794  	if s.VoiceConnectorId == nil {
 32795  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 32796  	}
 32797  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 32798  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 32799  	}
 32800  
 32801  	if invalidParams.Len() > 0 {
 32802  		return invalidParams
 32803  	}
 32804  	return nil
 32805  }
 32806  
 32807  // SetProxySessionId sets the ProxySessionId field's value.
 32808  func (s *GetProxySessionInput) SetProxySessionId(v string) *GetProxySessionInput {
 32809  	s.ProxySessionId = &v
 32810  	return s
 32811  }
 32812  
 32813  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 32814  func (s *GetProxySessionInput) SetVoiceConnectorId(v string) *GetProxySessionInput {
 32815  	s.VoiceConnectorId = &v
 32816  	return s
 32817  }
 32818  
 32819  type GetProxySessionOutput struct {
 32820  	_ struct{} `type:"structure"`
 32821  
 32822  	// The proxy session details.
 32823  	ProxySession *ProxySession `type:"structure"`
 32824  }
 32825  
 32826  // String returns the string representation.
 32827  //
 32828  // API parameter values that are decorated as "sensitive" in the API will not
 32829  // be included in the string output. The member name will be present, but the
 32830  // value will be replaced with "sensitive".
 32831  func (s GetProxySessionOutput) String() string {
 32832  	return awsutil.Prettify(s)
 32833  }
 32834  
 32835  // GoString returns the string representation.
 32836  //
 32837  // API parameter values that are decorated as "sensitive" in the API will not
 32838  // be included in the string output. The member name will be present, but the
 32839  // value will be replaced with "sensitive".
 32840  func (s GetProxySessionOutput) GoString() string {
 32841  	return s.String()
 32842  }
 32843  
 32844  // SetProxySession sets the ProxySession field's value.
 32845  func (s *GetProxySessionOutput) SetProxySession(v *ProxySession) *GetProxySessionOutput {
 32846  	s.ProxySession = v
 32847  	return s
 32848  }
 32849  
 32850  type GetRetentionSettingsInput struct {
 32851  	_ struct{} `type:"structure" nopayload:"true"`
 32852  
 32853  	// The Amazon Chime account ID.
 32854  	//
 32855  	// AccountId is a required field
 32856  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 32857  }
 32858  
 32859  // String returns the string representation.
 32860  //
 32861  // API parameter values that are decorated as "sensitive" in the API will not
 32862  // be included in the string output. The member name will be present, but the
 32863  // value will be replaced with "sensitive".
 32864  func (s GetRetentionSettingsInput) String() string {
 32865  	return awsutil.Prettify(s)
 32866  }
 32867  
 32868  // GoString returns the string representation.
 32869  //
 32870  // API parameter values that are decorated as "sensitive" in the API will not
 32871  // be included in the string output. The member name will be present, but the
 32872  // value will be replaced with "sensitive".
 32873  func (s GetRetentionSettingsInput) GoString() string {
 32874  	return s.String()
 32875  }
 32876  
 32877  // Validate inspects the fields of the type to determine if they are valid.
 32878  func (s *GetRetentionSettingsInput) Validate() error {
 32879  	invalidParams := request.ErrInvalidParams{Context: "GetRetentionSettingsInput"}
 32880  	if s.AccountId == nil {
 32881  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 32882  	}
 32883  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 32884  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 32885  	}
 32886  
 32887  	if invalidParams.Len() > 0 {
 32888  		return invalidParams
 32889  	}
 32890  	return nil
 32891  }
 32892  
 32893  // SetAccountId sets the AccountId field's value.
 32894  func (s *GetRetentionSettingsInput) SetAccountId(v string) *GetRetentionSettingsInput {
 32895  	s.AccountId = &v
 32896  	return s
 32897  }
 32898  
 32899  type GetRetentionSettingsOutput struct {
 32900  	_ struct{} `type:"structure"`
 32901  
 32902  	// The timestamp representing the time at which the specified items are permanently
 32903  	// deleted, in ISO 8601 format.
 32904  	InitiateDeletionTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 32905  
 32906  	// The retention settings.
 32907  	RetentionSettings *RetentionSettings `type:"structure"`
 32908  }
 32909  
 32910  // String returns the string representation.
 32911  //
 32912  // API parameter values that are decorated as "sensitive" in the API will not
 32913  // be included in the string output. The member name will be present, but the
 32914  // value will be replaced with "sensitive".
 32915  func (s GetRetentionSettingsOutput) String() string {
 32916  	return awsutil.Prettify(s)
 32917  }
 32918  
 32919  // GoString returns the string representation.
 32920  //
 32921  // API parameter values that are decorated as "sensitive" in the API will not
 32922  // be included in the string output. The member name will be present, but the
 32923  // value will be replaced with "sensitive".
 32924  func (s GetRetentionSettingsOutput) GoString() string {
 32925  	return s.String()
 32926  }
 32927  
 32928  // SetInitiateDeletionTimestamp sets the InitiateDeletionTimestamp field's value.
 32929  func (s *GetRetentionSettingsOutput) SetInitiateDeletionTimestamp(v time.Time) *GetRetentionSettingsOutput {
 32930  	s.InitiateDeletionTimestamp = &v
 32931  	return s
 32932  }
 32933  
 32934  // SetRetentionSettings sets the RetentionSettings field's value.
 32935  func (s *GetRetentionSettingsOutput) SetRetentionSettings(v *RetentionSettings) *GetRetentionSettingsOutput {
 32936  	s.RetentionSettings = v
 32937  	return s
 32938  }
 32939  
 32940  type GetRoomInput struct {
 32941  	_ struct{} `type:"structure" nopayload:"true"`
 32942  
 32943  	// The Amazon Chime account ID.
 32944  	//
 32945  	// AccountId is a required field
 32946  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 32947  
 32948  	// The room ID.
 32949  	//
 32950  	// RoomId is a required field
 32951  	RoomId *string `location:"uri" locationName:"roomId" type:"string" required:"true"`
 32952  }
 32953  
 32954  // String returns the string representation.
 32955  //
 32956  // API parameter values that are decorated as "sensitive" in the API will not
 32957  // be included in the string output. The member name will be present, but the
 32958  // value will be replaced with "sensitive".
 32959  func (s GetRoomInput) String() string {
 32960  	return awsutil.Prettify(s)
 32961  }
 32962  
 32963  // GoString returns the string representation.
 32964  //
 32965  // API parameter values that are decorated as "sensitive" in the API will not
 32966  // be included in the string output. The member name will be present, but the
 32967  // value will be replaced with "sensitive".
 32968  func (s GetRoomInput) GoString() string {
 32969  	return s.String()
 32970  }
 32971  
 32972  // Validate inspects the fields of the type to determine if they are valid.
 32973  func (s *GetRoomInput) Validate() error {
 32974  	invalidParams := request.ErrInvalidParams{Context: "GetRoomInput"}
 32975  	if s.AccountId == nil {
 32976  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 32977  	}
 32978  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 32979  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 32980  	}
 32981  	if s.RoomId == nil {
 32982  		invalidParams.Add(request.NewErrParamRequired("RoomId"))
 32983  	}
 32984  	if s.RoomId != nil && len(*s.RoomId) < 1 {
 32985  		invalidParams.Add(request.NewErrParamMinLen("RoomId", 1))
 32986  	}
 32987  
 32988  	if invalidParams.Len() > 0 {
 32989  		return invalidParams
 32990  	}
 32991  	return nil
 32992  }
 32993  
 32994  // SetAccountId sets the AccountId field's value.
 32995  func (s *GetRoomInput) SetAccountId(v string) *GetRoomInput {
 32996  	s.AccountId = &v
 32997  	return s
 32998  }
 32999  
 33000  // SetRoomId sets the RoomId field's value.
 33001  func (s *GetRoomInput) SetRoomId(v string) *GetRoomInput {
 33002  	s.RoomId = &v
 33003  	return s
 33004  }
 33005  
 33006  type GetRoomOutput struct {
 33007  	_ struct{} `type:"structure"`
 33008  
 33009  	// The room details.
 33010  	Room *Room `type:"structure"`
 33011  }
 33012  
 33013  // String returns the string representation.
 33014  //
 33015  // API parameter values that are decorated as "sensitive" in the API will not
 33016  // be included in the string output. The member name will be present, but the
 33017  // value will be replaced with "sensitive".
 33018  func (s GetRoomOutput) String() string {
 33019  	return awsutil.Prettify(s)
 33020  }
 33021  
 33022  // GoString returns the string representation.
 33023  //
 33024  // API parameter values that are decorated as "sensitive" in the API will not
 33025  // be included in the string output. The member name will be present, but the
 33026  // value will be replaced with "sensitive".
 33027  func (s GetRoomOutput) GoString() string {
 33028  	return s.String()
 33029  }
 33030  
 33031  // SetRoom sets the Room field's value.
 33032  func (s *GetRoomOutput) SetRoom(v *Room) *GetRoomOutput {
 33033  	s.Room = v
 33034  	return s
 33035  }
 33036  
 33037  type GetSipMediaApplicationInput struct {
 33038  	_ struct{} `type:"structure" nopayload:"true"`
 33039  
 33040  	// The SIP media application ID.
 33041  	//
 33042  	// SipMediaApplicationId is a required field
 33043  	SipMediaApplicationId *string `location:"uri" locationName:"sipMediaApplicationId" type:"string" required:"true"`
 33044  }
 33045  
 33046  // String returns the string representation.
 33047  //
 33048  // API parameter values that are decorated as "sensitive" in the API will not
 33049  // be included in the string output. The member name will be present, but the
 33050  // value will be replaced with "sensitive".
 33051  func (s GetSipMediaApplicationInput) String() string {
 33052  	return awsutil.Prettify(s)
 33053  }
 33054  
 33055  // GoString returns the string representation.
 33056  //
 33057  // API parameter values that are decorated as "sensitive" in the API will not
 33058  // be included in the string output. The member name will be present, but the
 33059  // value will be replaced with "sensitive".
 33060  func (s GetSipMediaApplicationInput) GoString() string {
 33061  	return s.String()
 33062  }
 33063  
 33064  // Validate inspects the fields of the type to determine if they are valid.
 33065  func (s *GetSipMediaApplicationInput) Validate() error {
 33066  	invalidParams := request.ErrInvalidParams{Context: "GetSipMediaApplicationInput"}
 33067  	if s.SipMediaApplicationId == nil {
 33068  		invalidParams.Add(request.NewErrParamRequired("SipMediaApplicationId"))
 33069  	}
 33070  	if s.SipMediaApplicationId != nil && len(*s.SipMediaApplicationId) < 1 {
 33071  		invalidParams.Add(request.NewErrParamMinLen("SipMediaApplicationId", 1))
 33072  	}
 33073  
 33074  	if invalidParams.Len() > 0 {
 33075  		return invalidParams
 33076  	}
 33077  	return nil
 33078  }
 33079  
 33080  // SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
 33081  func (s *GetSipMediaApplicationInput) SetSipMediaApplicationId(v string) *GetSipMediaApplicationInput {
 33082  	s.SipMediaApplicationId = &v
 33083  	return s
 33084  }
 33085  
 33086  type GetSipMediaApplicationLoggingConfigurationInput struct {
 33087  	_ struct{} `type:"structure" nopayload:"true"`
 33088  
 33089  	// The SIP media application ID.
 33090  	//
 33091  	// SipMediaApplicationId is a required field
 33092  	SipMediaApplicationId *string `location:"uri" locationName:"sipMediaApplicationId" type:"string" required:"true"`
 33093  }
 33094  
 33095  // String returns the string representation.
 33096  //
 33097  // API parameter values that are decorated as "sensitive" in the API will not
 33098  // be included in the string output. The member name will be present, but the
 33099  // value will be replaced with "sensitive".
 33100  func (s GetSipMediaApplicationLoggingConfigurationInput) String() string {
 33101  	return awsutil.Prettify(s)
 33102  }
 33103  
 33104  // GoString returns the string representation.
 33105  //
 33106  // API parameter values that are decorated as "sensitive" in the API will not
 33107  // be included in the string output. The member name will be present, but the
 33108  // value will be replaced with "sensitive".
 33109  func (s GetSipMediaApplicationLoggingConfigurationInput) GoString() string {
 33110  	return s.String()
 33111  }
 33112  
 33113  // Validate inspects the fields of the type to determine if they are valid.
 33114  func (s *GetSipMediaApplicationLoggingConfigurationInput) Validate() error {
 33115  	invalidParams := request.ErrInvalidParams{Context: "GetSipMediaApplicationLoggingConfigurationInput"}
 33116  	if s.SipMediaApplicationId == nil {
 33117  		invalidParams.Add(request.NewErrParamRequired("SipMediaApplicationId"))
 33118  	}
 33119  	if s.SipMediaApplicationId != nil && len(*s.SipMediaApplicationId) < 1 {
 33120  		invalidParams.Add(request.NewErrParamMinLen("SipMediaApplicationId", 1))
 33121  	}
 33122  
 33123  	if invalidParams.Len() > 0 {
 33124  		return invalidParams
 33125  	}
 33126  	return nil
 33127  }
 33128  
 33129  // SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
 33130  func (s *GetSipMediaApplicationLoggingConfigurationInput) SetSipMediaApplicationId(v string) *GetSipMediaApplicationLoggingConfigurationInput {
 33131  	s.SipMediaApplicationId = &v
 33132  	return s
 33133  }
 33134  
 33135  type GetSipMediaApplicationLoggingConfigurationOutput struct {
 33136  	_ struct{} `type:"structure"`
 33137  
 33138  	// The actual logging configuration.
 33139  	SipMediaApplicationLoggingConfiguration *SipMediaApplicationLoggingConfiguration `type:"structure"`
 33140  }
 33141  
 33142  // String returns the string representation.
 33143  //
 33144  // API parameter values that are decorated as "sensitive" in the API will not
 33145  // be included in the string output. The member name will be present, but the
 33146  // value will be replaced with "sensitive".
 33147  func (s GetSipMediaApplicationLoggingConfigurationOutput) String() string {
 33148  	return awsutil.Prettify(s)
 33149  }
 33150  
 33151  // GoString returns the string representation.
 33152  //
 33153  // API parameter values that are decorated as "sensitive" in the API will not
 33154  // be included in the string output. The member name will be present, but the
 33155  // value will be replaced with "sensitive".
 33156  func (s GetSipMediaApplicationLoggingConfigurationOutput) GoString() string {
 33157  	return s.String()
 33158  }
 33159  
 33160  // SetSipMediaApplicationLoggingConfiguration sets the SipMediaApplicationLoggingConfiguration field's value.
 33161  func (s *GetSipMediaApplicationLoggingConfigurationOutput) SetSipMediaApplicationLoggingConfiguration(v *SipMediaApplicationLoggingConfiguration) *GetSipMediaApplicationLoggingConfigurationOutput {
 33162  	s.SipMediaApplicationLoggingConfiguration = v
 33163  	return s
 33164  }
 33165  
 33166  type GetSipMediaApplicationOutput struct {
 33167  	_ struct{} `type:"structure"`
 33168  
 33169  	// The SIP media application details.
 33170  	SipMediaApplication *SipMediaApplication `type:"structure"`
 33171  }
 33172  
 33173  // String returns the string representation.
 33174  //
 33175  // API parameter values that are decorated as "sensitive" in the API will not
 33176  // be included in the string output. The member name will be present, but the
 33177  // value will be replaced with "sensitive".
 33178  func (s GetSipMediaApplicationOutput) String() string {
 33179  	return awsutil.Prettify(s)
 33180  }
 33181  
 33182  // GoString returns the string representation.
 33183  //
 33184  // API parameter values that are decorated as "sensitive" in the API will not
 33185  // be included in the string output. The member name will be present, but the
 33186  // value will be replaced with "sensitive".
 33187  func (s GetSipMediaApplicationOutput) GoString() string {
 33188  	return s.String()
 33189  }
 33190  
 33191  // SetSipMediaApplication sets the SipMediaApplication field's value.
 33192  func (s *GetSipMediaApplicationOutput) SetSipMediaApplication(v *SipMediaApplication) *GetSipMediaApplicationOutput {
 33193  	s.SipMediaApplication = v
 33194  	return s
 33195  }
 33196  
 33197  type GetSipRuleInput struct {
 33198  	_ struct{} `type:"structure" nopayload:"true"`
 33199  
 33200  	// The SIP rule ID.
 33201  	//
 33202  	// SipRuleId is a required field
 33203  	SipRuleId *string `location:"uri" locationName:"sipRuleId" type:"string" required:"true"`
 33204  }
 33205  
 33206  // String returns the string representation.
 33207  //
 33208  // API parameter values that are decorated as "sensitive" in the API will not
 33209  // be included in the string output. The member name will be present, but the
 33210  // value will be replaced with "sensitive".
 33211  func (s GetSipRuleInput) String() string {
 33212  	return awsutil.Prettify(s)
 33213  }
 33214  
 33215  // GoString returns the string representation.
 33216  //
 33217  // API parameter values that are decorated as "sensitive" in the API will not
 33218  // be included in the string output. The member name will be present, but the
 33219  // value will be replaced with "sensitive".
 33220  func (s GetSipRuleInput) GoString() string {
 33221  	return s.String()
 33222  }
 33223  
 33224  // Validate inspects the fields of the type to determine if they are valid.
 33225  func (s *GetSipRuleInput) Validate() error {
 33226  	invalidParams := request.ErrInvalidParams{Context: "GetSipRuleInput"}
 33227  	if s.SipRuleId == nil {
 33228  		invalidParams.Add(request.NewErrParamRequired("SipRuleId"))
 33229  	}
 33230  	if s.SipRuleId != nil && len(*s.SipRuleId) < 1 {
 33231  		invalidParams.Add(request.NewErrParamMinLen("SipRuleId", 1))
 33232  	}
 33233  
 33234  	if invalidParams.Len() > 0 {
 33235  		return invalidParams
 33236  	}
 33237  	return nil
 33238  }
 33239  
 33240  // SetSipRuleId sets the SipRuleId field's value.
 33241  func (s *GetSipRuleInput) SetSipRuleId(v string) *GetSipRuleInput {
 33242  	s.SipRuleId = &v
 33243  	return s
 33244  }
 33245  
 33246  type GetSipRuleOutput struct {
 33247  	_ struct{} `type:"structure"`
 33248  
 33249  	// The SIP rule details.
 33250  	SipRule *SipRule `type:"structure"`
 33251  }
 33252  
 33253  // String returns the string representation.
 33254  //
 33255  // API parameter values that are decorated as "sensitive" in the API will not
 33256  // be included in the string output. The member name will be present, but the
 33257  // value will be replaced with "sensitive".
 33258  func (s GetSipRuleOutput) String() string {
 33259  	return awsutil.Prettify(s)
 33260  }
 33261  
 33262  // GoString returns the string representation.
 33263  //
 33264  // API parameter values that are decorated as "sensitive" in the API will not
 33265  // be included in the string output. The member name will be present, but the
 33266  // value will be replaced with "sensitive".
 33267  func (s GetSipRuleOutput) GoString() string {
 33268  	return s.String()
 33269  }
 33270  
 33271  // SetSipRule sets the SipRule field's value.
 33272  func (s *GetSipRuleOutput) SetSipRule(v *SipRule) *GetSipRuleOutput {
 33273  	s.SipRule = v
 33274  	return s
 33275  }
 33276  
 33277  type GetUserInput struct {
 33278  	_ struct{} `type:"structure" nopayload:"true"`
 33279  
 33280  	// The Amazon Chime account ID.
 33281  	//
 33282  	// AccountId is a required field
 33283  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 33284  
 33285  	// The user ID.
 33286  	//
 33287  	// UserId is a required field
 33288  	UserId *string `location:"uri" locationName:"userId" type:"string" required:"true"`
 33289  }
 33290  
 33291  // String returns the string representation.
 33292  //
 33293  // API parameter values that are decorated as "sensitive" in the API will not
 33294  // be included in the string output. The member name will be present, but the
 33295  // value will be replaced with "sensitive".
 33296  func (s GetUserInput) String() string {
 33297  	return awsutil.Prettify(s)
 33298  }
 33299  
 33300  // GoString returns the string representation.
 33301  //
 33302  // API parameter values that are decorated as "sensitive" in the API will not
 33303  // be included in the string output. The member name will be present, but the
 33304  // value will be replaced with "sensitive".
 33305  func (s GetUserInput) GoString() string {
 33306  	return s.String()
 33307  }
 33308  
 33309  // Validate inspects the fields of the type to determine if they are valid.
 33310  func (s *GetUserInput) Validate() error {
 33311  	invalidParams := request.ErrInvalidParams{Context: "GetUserInput"}
 33312  	if s.AccountId == nil {
 33313  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 33314  	}
 33315  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 33316  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 33317  	}
 33318  	if s.UserId == nil {
 33319  		invalidParams.Add(request.NewErrParamRequired("UserId"))
 33320  	}
 33321  	if s.UserId != nil && len(*s.UserId) < 1 {
 33322  		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
 33323  	}
 33324  
 33325  	if invalidParams.Len() > 0 {
 33326  		return invalidParams
 33327  	}
 33328  	return nil
 33329  }
 33330  
 33331  // SetAccountId sets the AccountId field's value.
 33332  func (s *GetUserInput) SetAccountId(v string) *GetUserInput {
 33333  	s.AccountId = &v
 33334  	return s
 33335  }
 33336  
 33337  // SetUserId sets the UserId field's value.
 33338  func (s *GetUserInput) SetUserId(v string) *GetUserInput {
 33339  	s.UserId = &v
 33340  	return s
 33341  }
 33342  
 33343  type GetUserOutput struct {
 33344  	_ struct{} `type:"structure"`
 33345  
 33346  	// The user details.
 33347  	User *User `type:"structure"`
 33348  }
 33349  
 33350  // String returns the string representation.
 33351  //
 33352  // API parameter values that are decorated as "sensitive" in the API will not
 33353  // be included in the string output. The member name will be present, but the
 33354  // value will be replaced with "sensitive".
 33355  func (s GetUserOutput) String() string {
 33356  	return awsutil.Prettify(s)
 33357  }
 33358  
 33359  // GoString returns the string representation.
 33360  //
 33361  // API parameter values that are decorated as "sensitive" in the API will not
 33362  // be included in the string output. The member name will be present, but the
 33363  // value will be replaced with "sensitive".
 33364  func (s GetUserOutput) GoString() string {
 33365  	return s.String()
 33366  }
 33367  
 33368  // SetUser sets the User field's value.
 33369  func (s *GetUserOutput) SetUser(v *User) *GetUserOutput {
 33370  	s.User = v
 33371  	return s
 33372  }
 33373  
 33374  type GetUserSettingsInput struct {
 33375  	_ struct{} `type:"structure" nopayload:"true"`
 33376  
 33377  	// The Amazon Chime account ID.
 33378  	//
 33379  	// AccountId is a required field
 33380  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 33381  
 33382  	// The user ID.
 33383  	//
 33384  	// UserId is a required field
 33385  	UserId *string `location:"uri" locationName:"userId" type:"string" required:"true"`
 33386  }
 33387  
 33388  // String returns the string representation.
 33389  //
 33390  // API parameter values that are decorated as "sensitive" in the API will not
 33391  // be included in the string output. The member name will be present, but the
 33392  // value will be replaced with "sensitive".
 33393  func (s GetUserSettingsInput) String() string {
 33394  	return awsutil.Prettify(s)
 33395  }
 33396  
 33397  // GoString returns the string representation.
 33398  //
 33399  // API parameter values that are decorated as "sensitive" in the API will not
 33400  // be included in the string output. The member name will be present, but the
 33401  // value will be replaced with "sensitive".
 33402  func (s GetUserSettingsInput) GoString() string {
 33403  	return s.String()
 33404  }
 33405  
 33406  // Validate inspects the fields of the type to determine if they are valid.
 33407  func (s *GetUserSettingsInput) Validate() error {
 33408  	invalidParams := request.ErrInvalidParams{Context: "GetUserSettingsInput"}
 33409  	if s.AccountId == nil {
 33410  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 33411  	}
 33412  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 33413  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 33414  	}
 33415  	if s.UserId == nil {
 33416  		invalidParams.Add(request.NewErrParamRequired("UserId"))
 33417  	}
 33418  	if s.UserId != nil && len(*s.UserId) < 1 {
 33419  		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
 33420  	}
 33421  
 33422  	if invalidParams.Len() > 0 {
 33423  		return invalidParams
 33424  	}
 33425  	return nil
 33426  }
 33427  
 33428  // SetAccountId sets the AccountId field's value.
 33429  func (s *GetUserSettingsInput) SetAccountId(v string) *GetUserSettingsInput {
 33430  	s.AccountId = &v
 33431  	return s
 33432  }
 33433  
 33434  // SetUserId sets the UserId field's value.
 33435  func (s *GetUserSettingsInput) SetUserId(v string) *GetUserSettingsInput {
 33436  	s.UserId = &v
 33437  	return s
 33438  }
 33439  
 33440  type GetUserSettingsOutput struct {
 33441  	_ struct{} `type:"structure"`
 33442  
 33443  	// The user settings.
 33444  	UserSettings *UserSettings `type:"structure"`
 33445  }
 33446  
 33447  // String returns the string representation.
 33448  //
 33449  // API parameter values that are decorated as "sensitive" in the API will not
 33450  // be included in the string output. The member name will be present, but the
 33451  // value will be replaced with "sensitive".
 33452  func (s GetUserSettingsOutput) String() string {
 33453  	return awsutil.Prettify(s)
 33454  }
 33455  
 33456  // GoString returns the string representation.
 33457  //
 33458  // API parameter values that are decorated as "sensitive" in the API will not
 33459  // be included in the string output. The member name will be present, but the
 33460  // value will be replaced with "sensitive".
 33461  func (s GetUserSettingsOutput) GoString() string {
 33462  	return s.String()
 33463  }
 33464  
 33465  // SetUserSettings sets the UserSettings field's value.
 33466  func (s *GetUserSettingsOutput) SetUserSettings(v *UserSettings) *GetUserSettingsOutput {
 33467  	s.UserSettings = v
 33468  	return s
 33469  }
 33470  
 33471  type GetVoiceConnectorEmergencyCallingConfigurationInput struct {
 33472  	_ struct{} `type:"structure" nopayload:"true"`
 33473  
 33474  	// The Amazon Chime Voice Connector ID.
 33475  	//
 33476  	// VoiceConnectorId is a required field
 33477  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 33478  }
 33479  
 33480  // String returns the string representation.
 33481  //
 33482  // API parameter values that are decorated as "sensitive" in the API will not
 33483  // be included in the string output. The member name will be present, but the
 33484  // value will be replaced with "sensitive".
 33485  func (s GetVoiceConnectorEmergencyCallingConfigurationInput) String() string {
 33486  	return awsutil.Prettify(s)
 33487  }
 33488  
 33489  // GoString returns the string representation.
 33490  //
 33491  // API parameter values that are decorated as "sensitive" in the API will not
 33492  // be included in the string output. The member name will be present, but the
 33493  // value will be replaced with "sensitive".
 33494  func (s GetVoiceConnectorEmergencyCallingConfigurationInput) GoString() string {
 33495  	return s.String()
 33496  }
 33497  
 33498  // Validate inspects the fields of the type to determine if they are valid.
 33499  func (s *GetVoiceConnectorEmergencyCallingConfigurationInput) Validate() error {
 33500  	invalidParams := request.ErrInvalidParams{Context: "GetVoiceConnectorEmergencyCallingConfigurationInput"}
 33501  	if s.VoiceConnectorId == nil {
 33502  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 33503  	}
 33504  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 33505  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 33506  	}
 33507  
 33508  	if invalidParams.Len() > 0 {
 33509  		return invalidParams
 33510  	}
 33511  	return nil
 33512  }
 33513  
 33514  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 33515  func (s *GetVoiceConnectorEmergencyCallingConfigurationInput) SetVoiceConnectorId(v string) *GetVoiceConnectorEmergencyCallingConfigurationInput {
 33516  	s.VoiceConnectorId = &v
 33517  	return s
 33518  }
 33519  
 33520  type GetVoiceConnectorEmergencyCallingConfigurationOutput struct {
 33521  	_ struct{} `type:"structure"`
 33522  
 33523  	// The emergency calling configuration details.
 33524  	EmergencyCallingConfiguration *EmergencyCallingConfiguration `type:"structure"`
 33525  }
 33526  
 33527  // String returns the string representation.
 33528  //
 33529  // API parameter values that are decorated as "sensitive" in the API will not
 33530  // be included in the string output. The member name will be present, but the
 33531  // value will be replaced with "sensitive".
 33532  func (s GetVoiceConnectorEmergencyCallingConfigurationOutput) String() string {
 33533  	return awsutil.Prettify(s)
 33534  }
 33535  
 33536  // GoString returns the string representation.
 33537  //
 33538  // API parameter values that are decorated as "sensitive" in the API will not
 33539  // be included in the string output. The member name will be present, but the
 33540  // value will be replaced with "sensitive".
 33541  func (s GetVoiceConnectorEmergencyCallingConfigurationOutput) GoString() string {
 33542  	return s.String()
 33543  }
 33544  
 33545  // SetEmergencyCallingConfiguration sets the EmergencyCallingConfiguration field's value.
 33546  func (s *GetVoiceConnectorEmergencyCallingConfigurationOutput) SetEmergencyCallingConfiguration(v *EmergencyCallingConfiguration) *GetVoiceConnectorEmergencyCallingConfigurationOutput {
 33547  	s.EmergencyCallingConfiguration = v
 33548  	return s
 33549  }
 33550  
 33551  type GetVoiceConnectorGroupInput struct {
 33552  	_ struct{} `type:"structure" nopayload:"true"`
 33553  
 33554  	// The Amazon Chime Voice Connector group ID.
 33555  	//
 33556  	// VoiceConnectorGroupId is a required field
 33557  	VoiceConnectorGroupId *string `location:"uri" locationName:"voiceConnectorGroupId" type:"string" required:"true"`
 33558  }
 33559  
 33560  // String returns the string representation.
 33561  //
 33562  // API parameter values that are decorated as "sensitive" in the API will not
 33563  // be included in the string output. The member name will be present, but the
 33564  // value will be replaced with "sensitive".
 33565  func (s GetVoiceConnectorGroupInput) String() string {
 33566  	return awsutil.Prettify(s)
 33567  }
 33568  
 33569  // GoString returns the string representation.
 33570  //
 33571  // API parameter values that are decorated as "sensitive" in the API will not
 33572  // be included in the string output. The member name will be present, but the
 33573  // value will be replaced with "sensitive".
 33574  func (s GetVoiceConnectorGroupInput) GoString() string {
 33575  	return s.String()
 33576  }
 33577  
 33578  // Validate inspects the fields of the type to determine if they are valid.
 33579  func (s *GetVoiceConnectorGroupInput) Validate() error {
 33580  	invalidParams := request.ErrInvalidParams{Context: "GetVoiceConnectorGroupInput"}
 33581  	if s.VoiceConnectorGroupId == nil {
 33582  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorGroupId"))
 33583  	}
 33584  	if s.VoiceConnectorGroupId != nil && len(*s.VoiceConnectorGroupId) < 1 {
 33585  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorGroupId", 1))
 33586  	}
 33587  
 33588  	if invalidParams.Len() > 0 {
 33589  		return invalidParams
 33590  	}
 33591  	return nil
 33592  }
 33593  
 33594  // SetVoiceConnectorGroupId sets the VoiceConnectorGroupId field's value.
 33595  func (s *GetVoiceConnectorGroupInput) SetVoiceConnectorGroupId(v string) *GetVoiceConnectorGroupInput {
 33596  	s.VoiceConnectorGroupId = &v
 33597  	return s
 33598  }
 33599  
 33600  type GetVoiceConnectorGroupOutput struct {
 33601  	_ struct{} `type:"structure"`
 33602  
 33603  	// The Amazon Chime Voice Connector group details.
 33604  	VoiceConnectorGroup *VoiceConnectorGroup `type:"structure"`
 33605  }
 33606  
 33607  // String returns the string representation.
 33608  //
 33609  // API parameter values that are decorated as "sensitive" in the API will not
 33610  // be included in the string output. The member name will be present, but the
 33611  // value will be replaced with "sensitive".
 33612  func (s GetVoiceConnectorGroupOutput) String() string {
 33613  	return awsutil.Prettify(s)
 33614  }
 33615  
 33616  // GoString returns the string representation.
 33617  //
 33618  // API parameter values that are decorated as "sensitive" in the API will not
 33619  // be included in the string output. The member name will be present, but the
 33620  // value will be replaced with "sensitive".
 33621  func (s GetVoiceConnectorGroupOutput) GoString() string {
 33622  	return s.String()
 33623  }
 33624  
 33625  // SetVoiceConnectorGroup sets the VoiceConnectorGroup field's value.
 33626  func (s *GetVoiceConnectorGroupOutput) SetVoiceConnectorGroup(v *VoiceConnectorGroup) *GetVoiceConnectorGroupOutput {
 33627  	s.VoiceConnectorGroup = v
 33628  	return s
 33629  }
 33630  
 33631  type GetVoiceConnectorInput struct {
 33632  	_ struct{} `type:"structure" nopayload:"true"`
 33633  
 33634  	// The Amazon Chime Voice Connector ID.
 33635  	//
 33636  	// VoiceConnectorId is a required field
 33637  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 33638  }
 33639  
 33640  // String returns the string representation.
 33641  //
 33642  // API parameter values that are decorated as "sensitive" in the API will not
 33643  // be included in the string output. The member name will be present, but the
 33644  // value will be replaced with "sensitive".
 33645  func (s GetVoiceConnectorInput) String() string {
 33646  	return awsutil.Prettify(s)
 33647  }
 33648  
 33649  // GoString returns the string representation.
 33650  //
 33651  // API parameter values that are decorated as "sensitive" in the API will not
 33652  // be included in the string output. The member name will be present, but the
 33653  // value will be replaced with "sensitive".
 33654  func (s GetVoiceConnectorInput) GoString() string {
 33655  	return s.String()
 33656  }
 33657  
 33658  // Validate inspects the fields of the type to determine if they are valid.
 33659  func (s *GetVoiceConnectorInput) Validate() error {
 33660  	invalidParams := request.ErrInvalidParams{Context: "GetVoiceConnectorInput"}
 33661  	if s.VoiceConnectorId == nil {
 33662  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 33663  	}
 33664  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 33665  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 33666  	}
 33667  
 33668  	if invalidParams.Len() > 0 {
 33669  		return invalidParams
 33670  	}
 33671  	return nil
 33672  }
 33673  
 33674  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 33675  func (s *GetVoiceConnectorInput) SetVoiceConnectorId(v string) *GetVoiceConnectorInput {
 33676  	s.VoiceConnectorId = &v
 33677  	return s
 33678  }
 33679  
 33680  type GetVoiceConnectorLoggingConfigurationInput struct {
 33681  	_ struct{} `type:"structure" nopayload:"true"`
 33682  
 33683  	// The Amazon Chime Voice Connector ID.
 33684  	//
 33685  	// VoiceConnectorId is a required field
 33686  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 33687  }
 33688  
 33689  // String returns the string representation.
 33690  //
 33691  // API parameter values that are decorated as "sensitive" in the API will not
 33692  // be included in the string output. The member name will be present, but the
 33693  // value will be replaced with "sensitive".
 33694  func (s GetVoiceConnectorLoggingConfigurationInput) String() string {
 33695  	return awsutil.Prettify(s)
 33696  }
 33697  
 33698  // GoString returns the string representation.
 33699  //
 33700  // API parameter values that are decorated as "sensitive" in the API will not
 33701  // be included in the string output. The member name will be present, but the
 33702  // value will be replaced with "sensitive".
 33703  func (s GetVoiceConnectorLoggingConfigurationInput) GoString() string {
 33704  	return s.String()
 33705  }
 33706  
 33707  // Validate inspects the fields of the type to determine if they are valid.
 33708  func (s *GetVoiceConnectorLoggingConfigurationInput) Validate() error {
 33709  	invalidParams := request.ErrInvalidParams{Context: "GetVoiceConnectorLoggingConfigurationInput"}
 33710  	if s.VoiceConnectorId == nil {
 33711  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 33712  	}
 33713  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 33714  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 33715  	}
 33716  
 33717  	if invalidParams.Len() > 0 {
 33718  		return invalidParams
 33719  	}
 33720  	return nil
 33721  }
 33722  
 33723  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 33724  func (s *GetVoiceConnectorLoggingConfigurationInput) SetVoiceConnectorId(v string) *GetVoiceConnectorLoggingConfigurationInput {
 33725  	s.VoiceConnectorId = &v
 33726  	return s
 33727  }
 33728  
 33729  type GetVoiceConnectorLoggingConfigurationOutput struct {
 33730  	_ struct{} `type:"structure"`
 33731  
 33732  	// The logging configuration details.
 33733  	LoggingConfiguration *LoggingConfiguration `type:"structure"`
 33734  }
 33735  
 33736  // String returns the string representation.
 33737  //
 33738  // API parameter values that are decorated as "sensitive" in the API will not
 33739  // be included in the string output. The member name will be present, but the
 33740  // value will be replaced with "sensitive".
 33741  func (s GetVoiceConnectorLoggingConfigurationOutput) String() string {
 33742  	return awsutil.Prettify(s)
 33743  }
 33744  
 33745  // GoString returns the string representation.
 33746  //
 33747  // API parameter values that are decorated as "sensitive" in the API will not
 33748  // be included in the string output. The member name will be present, but the
 33749  // value will be replaced with "sensitive".
 33750  func (s GetVoiceConnectorLoggingConfigurationOutput) GoString() string {
 33751  	return s.String()
 33752  }
 33753  
 33754  // SetLoggingConfiguration sets the LoggingConfiguration field's value.
 33755  func (s *GetVoiceConnectorLoggingConfigurationOutput) SetLoggingConfiguration(v *LoggingConfiguration) *GetVoiceConnectorLoggingConfigurationOutput {
 33756  	s.LoggingConfiguration = v
 33757  	return s
 33758  }
 33759  
 33760  type GetVoiceConnectorOriginationInput struct {
 33761  	_ struct{} `type:"structure" nopayload:"true"`
 33762  
 33763  	// The Amazon Chime Voice Connector ID.
 33764  	//
 33765  	// VoiceConnectorId is a required field
 33766  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 33767  }
 33768  
 33769  // String returns the string representation.
 33770  //
 33771  // API parameter values that are decorated as "sensitive" in the API will not
 33772  // be included in the string output. The member name will be present, but the
 33773  // value will be replaced with "sensitive".
 33774  func (s GetVoiceConnectorOriginationInput) String() string {
 33775  	return awsutil.Prettify(s)
 33776  }
 33777  
 33778  // GoString returns the string representation.
 33779  //
 33780  // API parameter values that are decorated as "sensitive" in the API will not
 33781  // be included in the string output. The member name will be present, but the
 33782  // value will be replaced with "sensitive".
 33783  func (s GetVoiceConnectorOriginationInput) GoString() string {
 33784  	return s.String()
 33785  }
 33786  
 33787  // Validate inspects the fields of the type to determine if they are valid.
 33788  func (s *GetVoiceConnectorOriginationInput) Validate() error {
 33789  	invalidParams := request.ErrInvalidParams{Context: "GetVoiceConnectorOriginationInput"}
 33790  	if s.VoiceConnectorId == nil {
 33791  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 33792  	}
 33793  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 33794  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 33795  	}
 33796  
 33797  	if invalidParams.Len() > 0 {
 33798  		return invalidParams
 33799  	}
 33800  	return nil
 33801  }
 33802  
 33803  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 33804  func (s *GetVoiceConnectorOriginationInput) SetVoiceConnectorId(v string) *GetVoiceConnectorOriginationInput {
 33805  	s.VoiceConnectorId = &v
 33806  	return s
 33807  }
 33808  
 33809  type GetVoiceConnectorOriginationOutput struct {
 33810  	_ struct{} `type:"structure"`
 33811  
 33812  	// The origination setting details.
 33813  	Origination *Origination `type:"structure"`
 33814  }
 33815  
 33816  // String returns the string representation.
 33817  //
 33818  // API parameter values that are decorated as "sensitive" in the API will not
 33819  // be included in the string output. The member name will be present, but the
 33820  // value will be replaced with "sensitive".
 33821  func (s GetVoiceConnectorOriginationOutput) String() string {
 33822  	return awsutil.Prettify(s)
 33823  }
 33824  
 33825  // GoString returns the string representation.
 33826  //
 33827  // API parameter values that are decorated as "sensitive" in the API will not
 33828  // be included in the string output. The member name will be present, but the
 33829  // value will be replaced with "sensitive".
 33830  func (s GetVoiceConnectorOriginationOutput) GoString() string {
 33831  	return s.String()
 33832  }
 33833  
 33834  // SetOrigination sets the Origination field's value.
 33835  func (s *GetVoiceConnectorOriginationOutput) SetOrigination(v *Origination) *GetVoiceConnectorOriginationOutput {
 33836  	s.Origination = v
 33837  	return s
 33838  }
 33839  
 33840  type GetVoiceConnectorOutput struct {
 33841  	_ struct{} `type:"structure"`
 33842  
 33843  	// The Amazon Chime Voice Connector details.
 33844  	VoiceConnector *VoiceConnector `type:"structure"`
 33845  }
 33846  
 33847  // String returns the string representation.
 33848  //
 33849  // API parameter values that are decorated as "sensitive" in the API will not
 33850  // be included in the string output. The member name will be present, but the
 33851  // value will be replaced with "sensitive".
 33852  func (s GetVoiceConnectorOutput) String() string {
 33853  	return awsutil.Prettify(s)
 33854  }
 33855  
 33856  // GoString returns the string representation.
 33857  //
 33858  // API parameter values that are decorated as "sensitive" in the API will not
 33859  // be included in the string output. The member name will be present, but the
 33860  // value will be replaced with "sensitive".
 33861  func (s GetVoiceConnectorOutput) GoString() string {
 33862  	return s.String()
 33863  }
 33864  
 33865  // SetVoiceConnector sets the VoiceConnector field's value.
 33866  func (s *GetVoiceConnectorOutput) SetVoiceConnector(v *VoiceConnector) *GetVoiceConnectorOutput {
 33867  	s.VoiceConnector = v
 33868  	return s
 33869  }
 33870  
 33871  type GetVoiceConnectorProxyInput struct {
 33872  	_ struct{} `type:"structure" nopayload:"true"`
 33873  
 33874  	// The Amazon Chime voice connector ID.
 33875  	//
 33876  	// VoiceConnectorId is a required field
 33877  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" min:"1" type:"string" required:"true"`
 33878  }
 33879  
 33880  // String returns the string representation.
 33881  //
 33882  // API parameter values that are decorated as "sensitive" in the API will not
 33883  // be included in the string output. The member name will be present, but the
 33884  // value will be replaced with "sensitive".
 33885  func (s GetVoiceConnectorProxyInput) String() string {
 33886  	return awsutil.Prettify(s)
 33887  }
 33888  
 33889  // GoString returns the string representation.
 33890  //
 33891  // API parameter values that are decorated as "sensitive" in the API will not
 33892  // be included in the string output. The member name will be present, but the
 33893  // value will be replaced with "sensitive".
 33894  func (s GetVoiceConnectorProxyInput) GoString() string {
 33895  	return s.String()
 33896  }
 33897  
 33898  // Validate inspects the fields of the type to determine if they are valid.
 33899  func (s *GetVoiceConnectorProxyInput) Validate() error {
 33900  	invalidParams := request.ErrInvalidParams{Context: "GetVoiceConnectorProxyInput"}
 33901  	if s.VoiceConnectorId == nil {
 33902  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 33903  	}
 33904  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 33905  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 33906  	}
 33907  
 33908  	if invalidParams.Len() > 0 {
 33909  		return invalidParams
 33910  	}
 33911  	return nil
 33912  }
 33913  
 33914  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 33915  func (s *GetVoiceConnectorProxyInput) SetVoiceConnectorId(v string) *GetVoiceConnectorProxyInput {
 33916  	s.VoiceConnectorId = &v
 33917  	return s
 33918  }
 33919  
 33920  type GetVoiceConnectorProxyOutput struct {
 33921  	_ struct{} `type:"structure"`
 33922  
 33923  	// The proxy configuration details.
 33924  	Proxy *Proxy `type:"structure"`
 33925  }
 33926  
 33927  // String returns the string representation.
 33928  //
 33929  // API parameter values that are decorated as "sensitive" in the API will not
 33930  // be included in the string output. The member name will be present, but the
 33931  // value will be replaced with "sensitive".
 33932  func (s GetVoiceConnectorProxyOutput) String() string {
 33933  	return awsutil.Prettify(s)
 33934  }
 33935  
 33936  // GoString returns the string representation.
 33937  //
 33938  // API parameter values that are decorated as "sensitive" in the API will not
 33939  // be included in the string output. The member name will be present, but the
 33940  // value will be replaced with "sensitive".
 33941  func (s GetVoiceConnectorProxyOutput) GoString() string {
 33942  	return s.String()
 33943  }
 33944  
 33945  // SetProxy sets the Proxy field's value.
 33946  func (s *GetVoiceConnectorProxyOutput) SetProxy(v *Proxy) *GetVoiceConnectorProxyOutput {
 33947  	s.Proxy = v
 33948  	return s
 33949  }
 33950  
 33951  type GetVoiceConnectorStreamingConfigurationInput struct {
 33952  	_ struct{} `type:"structure" nopayload:"true"`
 33953  
 33954  	// The Amazon Chime Voice Connector ID.
 33955  	//
 33956  	// VoiceConnectorId is a required field
 33957  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 33958  }
 33959  
 33960  // String returns the string representation.
 33961  //
 33962  // API parameter values that are decorated as "sensitive" in the API will not
 33963  // be included in the string output. The member name will be present, but the
 33964  // value will be replaced with "sensitive".
 33965  func (s GetVoiceConnectorStreamingConfigurationInput) String() string {
 33966  	return awsutil.Prettify(s)
 33967  }
 33968  
 33969  // GoString returns the string representation.
 33970  //
 33971  // API parameter values that are decorated as "sensitive" in the API will not
 33972  // be included in the string output. The member name will be present, but the
 33973  // value will be replaced with "sensitive".
 33974  func (s GetVoiceConnectorStreamingConfigurationInput) GoString() string {
 33975  	return s.String()
 33976  }
 33977  
 33978  // Validate inspects the fields of the type to determine if they are valid.
 33979  func (s *GetVoiceConnectorStreamingConfigurationInput) Validate() error {
 33980  	invalidParams := request.ErrInvalidParams{Context: "GetVoiceConnectorStreamingConfigurationInput"}
 33981  	if s.VoiceConnectorId == nil {
 33982  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 33983  	}
 33984  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 33985  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 33986  	}
 33987  
 33988  	if invalidParams.Len() > 0 {
 33989  		return invalidParams
 33990  	}
 33991  	return nil
 33992  }
 33993  
 33994  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 33995  func (s *GetVoiceConnectorStreamingConfigurationInput) SetVoiceConnectorId(v string) *GetVoiceConnectorStreamingConfigurationInput {
 33996  	s.VoiceConnectorId = &v
 33997  	return s
 33998  }
 33999  
 34000  type GetVoiceConnectorStreamingConfigurationOutput struct {
 34001  	_ struct{} `type:"structure"`
 34002  
 34003  	// The streaming configuration details.
 34004  	StreamingConfiguration *StreamingConfiguration `type:"structure"`
 34005  }
 34006  
 34007  // String returns the string representation.
 34008  //
 34009  // API parameter values that are decorated as "sensitive" in the API will not
 34010  // be included in the string output. The member name will be present, but the
 34011  // value will be replaced with "sensitive".
 34012  func (s GetVoiceConnectorStreamingConfigurationOutput) String() string {
 34013  	return awsutil.Prettify(s)
 34014  }
 34015  
 34016  // GoString returns the string representation.
 34017  //
 34018  // API parameter values that are decorated as "sensitive" in the API will not
 34019  // be included in the string output. The member name will be present, but the
 34020  // value will be replaced with "sensitive".
 34021  func (s GetVoiceConnectorStreamingConfigurationOutput) GoString() string {
 34022  	return s.String()
 34023  }
 34024  
 34025  // SetStreamingConfiguration sets the StreamingConfiguration field's value.
 34026  func (s *GetVoiceConnectorStreamingConfigurationOutput) SetStreamingConfiguration(v *StreamingConfiguration) *GetVoiceConnectorStreamingConfigurationOutput {
 34027  	s.StreamingConfiguration = v
 34028  	return s
 34029  }
 34030  
 34031  type GetVoiceConnectorTerminationHealthInput struct {
 34032  	_ struct{} `type:"structure" nopayload:"true"`
 34033  
 34034  	// The Amazon Chime Voice Connector ID.
 34035  	//
 34036  	// VoiceConnectorId is a required field
 34037  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 34038  }
 34039  
 34040  // String returns the string representation.
 34041  //
 34042  // API parameter values that are decorated as "sensitive" in the API will not
 34043  // be included in the string output. The member name will be present, but the
 34044  // value will be replaced with "sensitive".
 34045  func (s GetVoiceConnectorTerminationHealthInput) String() string {
 34046  	return awsutil.Prettify(s)
 34047  }
 34048  
 34049  // GoString returns the string representation.
 34050  //
 34051  // API parameter values that are decorated as "sensitive" in the API will not
 34052  // be included in the string output. The member name will be present, but the
 34053  // value will be replaced with "sensitive".
 34054  func (s GetVoiceConnectorTerminationHealthInput) GoString() string {
 34055  	return s.String()
 34056  }
 34057  
 34058  // Validate inspects the fields of the type to determine if they are valid.
 34059  func (s *GetVoiceConnectorTerminationHealthInput) Validate() error {
 34060  	invalidParams := request.ErrInvalidParams{Context: "GetVoiceConnectorTerminationHealthInput"}
 34061  	if s.VoiceConnectorId == nil {
 34062  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 34063  	}
 34064  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 34065  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 34066  	}
 34067  
 34068  	if invalidParams.Len() > 0 {
 34069  		return invalidParams
 34070  	}
 34071  	return nil
 34072  }
 34073  
 34074  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 34075  func (s *GetVoiceConnectorTerminationHealthInput) SetVoiceConnectorId(v string) *GetVoiceConnectorTerminationHealthInput {
 34076  	s.VoiceConnectorId = &v
 34077  	return s
 34078  }
 34079  
 34080  type GetVoiceConnectorTerminationHealthOutput struct {
 34081  	_ struct{} `type:"structure"`
 34082  
 34083  	// The termination health details.
 34084  	TerminationHealth *TerminationHealth `type:"structure"`
 34085  }
 34086  
 34087  // String returns the string representation.
 34088  //
 34089  // API parameter values that are decorated as "sensitive" in the API will not
 34090  // be included in the string output. The member name will be present, but the
 34091  // value will be replaced with "sensitive".
 34092  func (s GetVoiceConnectorTerminationHealthOutput) String() string {
 34093  	return awsutil.Prettify(s)
 34094  }
 34095  
 34096  // GoString returns the string representation.
 34097  //
 34098  // API parameter values that are decorated as "sensitive" in the API will not
 34099  // be included in the string output. The member name will be present, but the
 34100  // value will be replaced with "sensitive".
 34101  func (s GetVoiceConnectorTerminationHealthOutput) GoString() string {
 34102  	return s.String()
 34103  }
 34104  
 34105  // SetTerminationHealth sets the TerminationHealth field's value.
 34106  func (s *GetVoiceConnectorTerminationHealthOutput) SetTerminationHealth(v *TerminationHealth) *GetVoiceConnectorTerminationHealthOutput {
 34107  	s.TerminationHealth = v
 34108  	return s
 34109  }
 34110  
 34111  type GetVoiceConnectorTerminationInput struct {
 34112  	_ struct{} `type:"structure" nopayload:"true"`
 34113  
 34114  	// The Amazon Chime Voice Connector ID.
 34115  	//
 34116  	// VoiceConnectorId is a required field
 34117  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 34118  }
 34119  
 34120  // String returns the string representation.
 34121  //
 34122  // API parameter values that are decorated as "sensitive" in the API will not
 34123  // be included in the string output. The member name will be present, but the
 34124  // value will be replaced with "sensitive".
 34125  func (s GetVoiceConnectorTerminationInput) String() string {
 34126  	return awsutil.Prettify(s)
 34127  }
 34128  
 34129  // GoString returns the string representation.
 34130  //
 34131  // API parameter values that are decorated as "sensitive" in the API will not
 34132  // be included in the string output. The member name will be present, but the
 34133  // value will be replaced with "sensitive".
 34134  func (s GetVoiceConnectorTerminationInput) GoString() string {
 34135  	return s.String()
 34136  }
 34137  
 34138  // Validate inspects the fields of the type to determine if they are valid.
 34139  func (s *GetVoiceConnectorTerminationInput) Validate() error {
 34140  	invalidParams := request.ErrInvalidParams{Context: "GetVoiceConnectorTerminationInput"}
 34141  	if s.VoiceConnectorId == nil {
 34142  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 34143  	}
 34144  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 34145  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 34146  	}
 34147  
 34148  	if invalidParams.Len() > 0 {
 34149  		return invalidParams
 34150  	}
 34151  	return nil
 34152  }
 34153  
 34154  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 34155  func (s *GetVoiceConnectorTerminationInput) SetVoiceConnectorId(v string) *GetVoiceConnectorTerminationInput {
 34156  	s.VoiceConnectorId = &v
 34157  	return s
 34158  }
 34159  
 34160  type GetVoiceConnectorTerminationOutput struct {
 34161  	_ struct{} `type:"structure"`
 34162  
 34163  	// The termination setting details.
 34164  	Termination *Termination `type:"structure"`
 34165  }
 34166  
 34167  // String returns the string representation.
 34168  //
 34169  // API parameter values that are decorated as "sensitive" in the API will not
 34170  // be included in the string output. The member name will be present, but the
 34171  // value will be replaced with "sensitive".
 34172  func (s GetVoiceConnectorTerminationOutput) String() string {
 34173  	return awsutil.Prettify(s)
 34174  }
 34175  
 34176  // GoString returns the string representation.
 34177  //
 34178  // API parameter values that are decorated as "sensitive" in the API will not
 34179  // be included in the string output. The member name will be present, but the
 34180  // value will be replaced with "sensitive".
 34181  func (s GetVoiceConnectorTerminationOutput) GoString() string {
 34182  	return s.String()
 34183  }
 34184  
 34185  // SetTermination sets the Termination field's value.
 34186  func (s *GetVoiceConnectorTerminationOutput) SetTermination(v *Termination) *GetVoiceConnectorTerminationOutput {
 34187  	s.Termination = v
 34188  	return s
 34189  }
 34190  
 34191  // The details of a user.
 34192  type Identity struct {
 34193  	_ struct{} `type:"structure"`
 34194  
 34195  	// The ARN in an Identity.
 34196  	Arn *string `min:"5" type:"string"`
 34197  
 34198  	// The name in an Identity.
 34199  	//
 34200  	// Name is a sensitive parameter and its value will be
 34201  	// replaced with "sensitive" in string returned by Identity's
 34202  	// String and GoString methods.
 34203  	Name *string `type:"string" sensitive:"true"`
 34204  }
 34205  
 34206  // String returns the string representation.
 34207  //
 34208  // API parameter values that are decorated as "sensitive" in the API will not
 34209  // be included in the string output. The member name will be present, but the
 34210  // value will be replaced with "sensitive".
 34211  func (s Identity) String() string {
 34212  	return awsutil.Prettify(s)
 34213  }
 34214  
 34215  // GoString returns the string representation.
 34216  //
 34217  // API parameter values that are decorated as "sensitive" in the API will not
 34218  // be included in the string output. The member name will be present, but the
 34219  // value will be replaced with "sensitive".
 34220  func (s Identity) GoString() string {
 34221  	return s.String()
 34222  }
 34223  
 34224  // SetArn sets the Arn field's value.
 34225  func (s *Identity) SetArn(v string) *Identity {
 34226  	s.Arn = &v
 34227  	return s
 34228  }
 34229  
 34230  // SetName sets the Name field's value.
 34231  func (s *Identity) SetName(v string) *Identity {
 34232  	s.Name = &v
 34233  	return s
 34234  }
 34235  
 34236  // Invitation object returned after emailing users to invite them to join the
 34237  // Amazon Chime Team account.
 34238  type Invite struct {
 34239  	_ struct{} `type:"structure"`
 34240  
 34241  	// The email address to which the invite is sent.
 34242  	//
 34243  	// EmailAddress is a sensitive parameter and its value will be
 34244  	// replaced with "sensitive" in string returned by Invite's
 34245  	// String and GoString methods.
 34246  	EmailAddress *string `type:"string" sensitive:"true"`
 34247  
 34248  	// The status of the invite email.
 34249  	EmailStatus *string `type:"string" enum:"EmailStatus"`
 34250  
 34251  	// The invite ID.
 34252  	InviteId *string `type:"string"`
 34253  
 34254  	// The status of the invite.
 34255  	Status *string `type:"string" enum:"InviteStatus"`
 34256  }
 34257  
 34258  // String returns the string representation.
 34259  //
 34260  // API parameter values that are decorated as "sensitive" in the API will not
 34261  // be included in the string output. The member name will be present, but the
 34262  // value will be replaced with "sensitive".
 34263  func (s Invite) String() string {
 34264  	return awsutil.Prettify(s)
 34265  }
 34266  
 34267  // GoString returns the string representation.
 34268  //
 34269  // API parameter values that are decorated as "sensitive" in the API will not
 34270  // be included in the string output. The member name will be present, but the
 34271  // value will be replaced with "sensitive".
 34272  func (s Invite) GoString() string {
 34273  	return s.String()
 34274  }
 34275  
 34276  // SetEmailAddress sets the EmailAddress field's value.
 34277  func (s *Invite) SetEmailAddress(v string) *Invite {
 34278  	s.EmailAddress = &v
 34279  	return s
 34280  }
 34281  
 34282  // SetEmailStatus sets the EmailStatus field's value.
 34283  func (s *Invite) SetEmailStatus(v string) *Invite {
 34284  	s.EmailStatus = &v
 34285  	return s
 34286  }
 34287  
 34288  // SetInviteId sets the InviteId field's value.
 34289  func (s *Invite) SetInviteId(v string) *Invite {
 34290  	s.InviteId = &v
 34291  	return s
 34292  }
 34293  
 34294  // SetStatus sets the Status field's value.
 34295  func (s *Invite) SetStatus(v string) *Invite {
 34296  	s.Status = &v
 34297  	return s
 34298  }
 34299  
 34300  type InviteUsersInput struct {
 34301  	_ struct{} `type:"structure"`
 34302  
 34303  	// The Amazon Chime account ID.
 34304  	//
 34305  	// AccountId is a required field
 34306  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 34307  
 34308  	// The user email addresses to which to send the email invitation.
 34309  	//
 34310  	// UserEmailList is a required field
 34311  	UserEmailList []*string `type:"list" required:"true"`
 34312  
 34313  	// The user type.
 34314  	UserType *string `type:"string" enum:"UserType"`
 34315  }
 34316  
 34317  // String returns the string representation.
 34318  //
 34319  // API parameter values that are decorated as "sensitive" in the API will not
 34320  // be included in the string output. The member name will be present, but the
 34321  // value will be replaced with "sensitive".
 34322  func (s InviteUsersInput) String() string {
 34323  	return awsutil.Prettify(s)
 34324  }
 34325  
 34326  // GoString returns the string representation.
 34327  //
 34328  // API parameter values that are decorated as "sensitive" in the API will not
 34329  // be included in the string output. The member name will be present, but the
 34330  // value will be replaced with "sensitive".
 34331  func (s InviteUsersInput) GoString() string {
 34332  	return s.String()
 34333  }
 34334  
 34335  // Validate inspects the fields of the type to determine if they are valid.
 34336  func (s *InviteUsersInput) Validate() error {
 34337  	invalidParams := request.ErrInvalidParams{Context: "InviteUsersInput"}
 34338  	if s.AccountId == nil {
 34339  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 34340  	}
 34341  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 34342  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 34343  	}
 34344  	if s.UserEmailList == nil {
 34345  		invalidParams.Add(request.NewErrParamRequired("UserEmailList"))
 34346  	}
 34347  
 34348  	if invalidParams.Len() > 0 {
 34349  		return invalidParams
 34350  	}
 34351  	return nil
 34352  }
 34353  
 34354  // SetAccountId sets the AccountId field's value.
 34355  func (s *InviteUsersInput) SetAccountId(v string) *InviteUsersInput {
 34356  	s.AccountId = &v
 34357  	return s
 34358  }
 34359  
 34360  // SetUserEmailList sets the UserEmailList field's value.
 34361  func (s *InviteUsersInput) SetUserEmailList(v []*string) *InviteUsersInput {
 34362  	s.UserEmailList = v
 34363  	return s
 34364  }
 34365  
 34366  // SetUserType sets the UserType field's value.
 34367  func (s *InviteUsersInput) SetUserType(v string) *InviteUsersInput {
 34368  	s.UserType = &v
 34369  	return s
 34370  }
 34371  
 34372  type InviteUsersOutput struct {
 34373  	_ struct{} `type:"structure"`
 34374  
 34375  	// The email invitation details.
 34376  	Invites []*Invite `type:"list"`
 34377  }
 34378  
 34379  // String returns the string representation.
 34380  //
 34381  // API parameter values that are decorated as "sensitive" in the API will not
 34382  // be included in the string output. The member name will be present, but the
 34383  // value will be replaced with "sensitive".
 34384  func (s InviteUsersOutput) String() string {
 34385  	return awsutil.Prettify(s)
 34386  }
 34387  
 34388  // GoString returns the string representation.
 34389  //
 34390  // API parameter values that are decorated as "sensitive" in the API will not
 34391  // be included in the string output. The member name will be present, but the
 34392  // value will be replaced with "sensitive".
 34393  func (s InviteUsersOutput) GoString() string {
 34394  	return s.String()
 34395  }
 34396  
 34397  // SetInvites sets the Invites field's value.
 34398  func (s *InviteUsersOutput) SetInvites(v []*Invite) *InviteUsersOutput {
 34399  	s.Invites = v
 34400  	return s
 34401  }
 34402  
 34403  type ListAccountsInput struct {
 34404  	_ struct{} `type:"structure" nopayload:"true"`
 34405  
 34406  	// The maximum number of results to return in a single call. Defaults to 100.
 34407  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 34408  
 34409  	// Amazon Chime account name prefix with which to filter results.
 34410  	Name *string `location:"querystring" locationName:"name" min:"1" type:"string"`
 34411  
 34412  	// The token to use to retrieve the next page of results.
 34413  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 34414  
 34415  	// User email address with which to filter results.
 34416  	//
 34417  	// UserEmail is a sensitive parameter and its value will be
 34418  	// replaced with "sensitive" in string returned by ListAccountsInput's
 34419  	// String and GoString methods.
 34420  	UserEmail *string `location:"querystring" locationName:"user-email" type:"string" sensitive:"true"`
 34421  }
 34422  
 34423  // String returns the string representation.
 34424  //
 34425  // API parameter values that are decorated as "sensitive" in the API will not
 34426  // be included in the string output. The member name will be present, but the
 34427  // value will be replaced with "sensitive".
 34428  func (s ListAccountsInput) String() string {
 34429  	return awsutil.Prettify(s)
 34430  }
 34431  
 34432  // GoString returns the string representation.
 34433  //
 34434  // API parameter values that are decorated as "sensitive" in the API will not
 34435  // be included in the string output. The member name will be present, but the
 34436  // value will be replaced with "sensitive".
 34437  func (s ListAccountsInput) GoString() string {
 34438  	return s.String()
 34439  }
 34440  
 34441  // Validate inspects the fields of the type to determine if they are valid.
 34442  func (s *ListAccountsInput) Validate() error {
 34443  	invalidParams := request.ErrInvalidParams{Context: "ListAccountsInput"}
 34444  	if s.MaxResults != nil && *s.MaxResults < 1 {
 34445  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 34446  	}
 34447  	if s.Name != nil && len(*s.Name) < 1 {
 34448  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 34449  	}
 34450  
 34451  	if invalidParams.Len() > 0 {
 34452  		return invalidParams
 34453  	}
 34454  	return nil
 34455  }
 34456  
 34457  // SetMaxResults sets the MaxResults field's value.
 34458  func (s *ListAccountsInput) SetMaxResults(v int64) *ListAccountsInput {
 34459  	s.MaxResults = &v
 34460  	return s
 34461  }
 34462  
 34463  // SetName sets the Name field's value.
 34464  func (s *ListAccountsInput) SetName(v string) *ListAccountsInput {
 34465  	s.Name = &v
 34466  	return s
 34467  }
 34468  
 34469  // SetNextToken sets the NextToken field's value.
 34470  func (s *ListAccountsInput) SetNextToken(v string) *ListAccountsInput {
 34471  	s.NextToken = &v
 34472  	return s
 34473  }
 34474  
 34475  // SetUserEmail sets the UserEmail field's value.
 34476  func (s *ListAccountsInput) SetUserEmail(v string) *ListAccountsInput {
 34477  	s.UserEmail = &v
 34478  	return s
 34479  }
 34480  
 34481  type ListAccountsOutput struct {
 34482  	_ struct{} `type:"structure"`
 34483  
 34484  	// List of Amazon Chime accounts and account details.
 34485  	Accounts []*Account `type:"list"`
 34486  
 34487  	// The token to use to retrieve the next page of results.
 34488  	NextToken *string `type:"string"`
 34489  }
 34490  
 34491  // String returns the string representation.
 34492  //
 34493  // API parameter values that are decorated as "sensitive" in the API will not
 34494  // be included in the string output. The member name will be present, but the
 34495  // value will be replaced with "sensitive".
 34496  func (s ListAccountsOutput) String() string {
 34497  	return awsutil.Prettify(s)
 34498  }
 34499  
 34500  // GoString returns the string representation.
 34501  //
 34502  // API parameter values that are decorated as "sensitive" in the API will not
 34503  // be included in the string output. The member name will be present, but the
 34504  // value will be replaced with "sensitive".
 34505  func (s ListAccountsOutput) GoString() string {
 34506  	return s.String()
 34507  }
 34508  
 34509  // SetAccounts sets the Accounts field's value.
 34510  func (s *ListAccountsOutput) SetAccounts(v []*Account) *ListAccountsOutput {
 34511  	s.Accounts = v
 34512  	return s
 34513  }
 34514  
 34515  // SetNextToken sets the NextToken field's value.
 34516  func (s *ListAccountsOutput) SetNextToken(v string) *ListAccountsOutput {
 34517  	s.NextToken = &v
 34518  	return s
 34519  }
 34520  
 34521  type ListAppInstanceAdminsInput struct {
 34522  	_ struct{} `type:"structure" nopayload:"true"`
 34523  
 34524  	// The ARN of the AppInstance.
 34525  	//
 34526  	// AppInstanceArn is a required field
 34527  	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
 34528  
 34529  	// The maximum number of administrators that you want to return.
 34530  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 34531  
 34532  	// The token returned from previous API requests until the number of administrators
 34533  	// is reached.
 34534  	//
 34535  	// NextToken is a sensitive parameter and its value will be
 34536  	// replaced with "sensitive" in string returned by ListAppInstanceAdminsInput's
 34537  	// String and GoString methods.
 34538  	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
 34539  }
 34540  
 34541  // String returns the string representation.
 34542  //
 34543  // API parameter values that are decorated as "sensitive" in the API will not
 34544  // be included in the string output. The member name will be present, but the
 34545  // value will be replaced with "sensitive".
 34546  func (s ListAppInstanceAdminsInput) String() string {
 34547  	return awsutil.Prettify(s)
 34548  }
 34549  
 34550  // GoString returns the string representation.
 34551  //
 34552  // API parameter values that are decorated as "sensitive" in the API will not
 34553  // be included in the string output. The member name will be present, but the
 34554  // value will be replaced with "sensitive".
 34555  func (s ListAppInstanceAdminsInput) GoString() string {
 34556  	return s.String()
 34557  }
 34558  
 34559  // Validate inspects the fields of the type to determine if they are valid.
 34560  func (s *ListAppInstanceAdminsInput) Validate() error {
 34561  	invalidParams := request.ErrInvalidParams{Context: "ListAppInstanceAdminsInput"}
 34562  	if s.AppInstanceArn == nil {
 34563  		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
 34564  	}
 34565  	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
 34566  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
 34567  	}
 34568  	if s.MaxResults != nil && *s.MaxResults < 1 {
 34569  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 34570  	}
 34571  
 34572  	if invalidParams.Len() > 0 {
 34573  		return invalidParams
 34574  	}
 34575  	return nil
 34576  }
 34577  
 34578  // SetAppInstanceArn sets the AppInstanceArn field's value.
 34579  func (s *ListAppInstanceAdminsInput) SetAppInstanceArn(v string) *ListAppInstanceAdminsInput {
 34580  	s.AppInstanceArn = &v
 34581  	return s
 34582  }
 34583  
 34584  // SetMaxResults sets the MaxResults field's value.
 34585  func (s *ListAppInstanceAdminsInput) SetMaxResults(v int64) *ListAppInstanceAdminsInput {
 34586  	s.MaxResults = &v
 34587  	return s
 34588  }
 34589  
 34590  // SetNextToken sets the NextToken field's value.
 34591  func (s *ListAppInstanceAdminsInput) SetNextToken(v string) *ListAppInstanceAdminsInput {
 34592  	s.NextToken = &v
 34593  	return s
 34594  }
 34595  
 34596  type ListAppInstanceAdminsOutput struct {
 34597  	_ struct{} `type:"structure"`
 34598  
 34599  	// The information for each administrator.
 34600  	AppInstanceAdmins []*AppInstanceAdminSummary `type:"list"`
 34601  
 34602  	// The ARN of the AppInstance.
 34603  	AppInstanceArn *string `min:"5" type:"string"`
 34604  
 34605  	// The token returned from previous API requests until the number of administrators
 34606  	// is reached.
 34607  	//
 34608  	// NextToken is a sensitive parameter and its value will be
 34609  	// replaced with "sensitive" in string returned by ListAppInstanceAdminsOutput's
 34610  	// String and GoString methods.
 34611  	NextToken *string `type:"string" sensitive:"true"`
 34612  }
 34613  
 34614  // String returns the string representation.
 34615  //
 34616  // API parameter values that are decorated as "sensitive" in the API will not
 34617  // be included in the string output. The member name will be present, but the
 34618  // value will be replaced with "sensitive".
 34619  func (s ListAppInstanceAdminsOutput) String() string {
 34620  	return awsutil.Prettify(s)
 34621  }
 34622  
 34623  // GoString returns the string representation.
 34624  //
 34625  // API parameter values that are decorated as "sensitive" in the API will not
 34626  // be included in the string output. The member name will be present, but the
 34627  // value will be replaced with "sensitive".
 34628  func (s ListAppInstanceAdminsOutput) GoString() string {
 34629  	return s.String()
 34630  }
 34631  
 34632  // SetAppInstanceAdmins sets the AppInstanceAdmins field's value.
 34633  func (s *ListAppInstanceAdminsOutput) SetAppInstanceAdmins(v []*AppInstanceAdminSummary) *ListAppInstanceAdminsOutput {
 34634  	s.AppInstanceAdmins = v
 34635  	return s
 34636  }
 34637  
 34638  // SetAppInstanceArn sets the AppInstanceArn field's value.
 34639  func (s *ListAppInstanceAdminsOutput) SetAppInstanceArn(v string) *ListAppInstanceAdminsOutput {
 34640  	s.AppInstanceArn = &v
 34641  	return s
 34642  }
 34643  
 34644  // SetNextToken sets the NextToken field's value.
 34645  func (s *ListAppInstanceAdminsOutput) SetNextToken(v string) *ListAppInstanceAdminsOutput {
 34646  	s.NextToken = &v
 34647  	return s
 34648  }
 34649  
 34650  type ListAppInstanceUsersInput struct {
 34651  	_ struct{} `type:"structure" nopayload:"true"`
 34652  
 34653  	// The ARN of the AppInstance.
 34654  	//
 34655  	// AppInstanceArn is a required field
 34656  	AppInstanceArn *string `location:"querystring" locationName:"app-instance-arn" min:"5" type:"string" required:"true"`
 34657  
 34658  	// The maximum number of requests that you want returned.
 34659  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 34660  
 34661  	// The token passed by previous API calls until all requested users are returned.
 34662  	//
 34663  	// NextToken is a sensitive parameter and its value will be
 34664  	// replaced with "sensitive" in string returned by ListAppInstanceUsersInput's
 34665  	// String and GoString methods.
 34666  	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
 34667  }
 34668  
 34669  // String returns the string representation.
 34670  //
 34671  // API parameter values that are decorated as "sensitive" in the API will not
 34672  // be included in the string output. The member name will be present, but the
 34673  // value will be replaced with "sensitive".
 34674  func (s ListAppInstanceUsersInput) String() string {
 34675  	return awsutil.Prettify(s)
 34676  }
 34677  
 34678  // GoString returns the string representation.
 34679  //
 34680  // API parameter values that are decorated as "sensitive" in the API will not
 34681  // be included in the string output. The member name will be present, but the
 34682  // value will be replaced with "sensitive".
 34683  func (s ListAppInstanceUsersInput) GoString() string {
 34684  	return s.String()
 34685  }
 34686  
 34687  // Validate inspects the fields of the type to determine if they are valid.
 34688  func (s *ListAppInstanceUsersInput) Validate() error {
 34689  	invalidParams := request.ErrInvalidParams{Context: "ListAppInstanceUsersInput"}
 34690  	if s.AppInstanceArn == nil {
 34691  		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
 34692  	}
 34693  	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
 34694  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
 34695  	}
 34696  	if s.MaxResults != nil && *s.MaxResults < 1 {
 34697  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 34698  	}
 34699  
 34700  	if invalidParams.Len() > 0 {
 34701  		return invalidParams
 34702  	}
 34703  	return nil
 34704  }
 34705  
 34706  // SetAppInstanceArn sets the AppInstanceArn field's value.
 34707  func (s *ListAppInstanceUsersInput) SetAppInstanceArn(v string) *ListAppInstanceUsersInput {
 34708  	s.AppInstanceArn = &v
 34709  	return s
 34710  }
 34711  
 34712  // SetMaxResults sets the MaxResults field's value.
 34713  func (s *ListAppInstanceUsersInput) SetMaxResults(v int64) *ListAppInstanceUsersInput {
 34714  	s.MaxResults = &v
 34715  	return s
 34716  }
 34717  
 34718  // SetNextToken sets the NextToken field's value.
 34719  func (s *ListAppInstanceUsersInput) SetNextToken(v string) *ListAppInstanceUsersInput {
 34720  	s.NextToken = &v
 34721  	return s
 34722  }
 34723  
 34724  type ListAppInstanceUsersOutput struct {
 34725  	_ struct{} `type:"structure"`
 34726  
 34727  	// The ARN of the AppInstance.
 34728  	AppInstanceArn *string `min:"5" type:"string"`
 34729  
 34730  	// The information for each requested AppInstanceUser.
 34731  	AppInstanceUsers []*AppInstanceUserSummary `type:"list"`
 34732  
 34733  	// The token passed by previous API calls until all requested users are returned.
 34734  	//
 34735  	// NextToken is a sensitive parameter and its value will be
 34736  	// replaced with "sensitive" in string returned by ListAppInstanceUsersOutput's
 34737  	// String and GoString methods.
 34738  	NextToken *string `type:"string" sensitive:"true"`
 34739  }
 34740  
 34741  // String returns the string representation.
 34742  //
 34743  // API parameter values that are decorated as "sensitive" in the API will not
 34744  // be included in the string output. The member name will be present, but the
 34745  // value will be replaced with "sensitive".
 34746  func (s ListAppInstanceUsersOutput) String() string {
 34747  	return awsutil.Prettify(s)
 34748  }
 34749  
 34750  // GoString returns the string representation.
 34751  //
 34752  // API parameter values that are decorated as "sensitive" in the API will not
 34753  // be included in the string output. The member name will be present, but the
 34754  // value will be replaced with "sensitive".
 34755  func (s ListAppInstanceUsersOutput) GoString() string {
 34756  	return s.String()
 34757  }
 34758  
 34759  // SetAppInstanceArn sets the AppInstanceArn field's value.
 34760  func (s *ListAppInstanceUsersOutput) SetAppInstanceArn(v string) *ListAppInstanceUsersOutput {
 34761  	s.AppInstanceArn = &v
 34762  	return s
 34763  }
 34764  
 34765  // SetAppInstanceUsers sets the AppInstanceUsers field's value.
 34766  func (s *ListAppInstanceUsersOutput) SetAppInstanceUsers(v []*AppInstanceUserSummary) *ListAppInstanceUsersOutput {
 34767  	s.AppInstanceUsers = v
 34768  	return s
 34769  }
 34770  
 34771  // SetNextToken sets the NextToken field's value.
 34772  func (s *ListAppInstanceUsersOutput) SetNextToken(v string) *ListAppInstanceUsersOutput {
 34773  	s.NextToken = &v
 34774  	return s
 34775  }
 34776  
 34777  type ListAppInstancesInput struct {
 34778  	_ struct{} `type:"structure" nopayload:"true"`
 34779  
 34780  	// The maximum number of AppInstances that you want to return.
 34781  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 34782  
 34783  	// The token passed by previous API requests until you reach the maximum number
 34784  	// of AppInstances.
 34785  	//
 34786  	// NextToken is a sensitive parameter and its value will be
 34787  	// replaced with "sensitive" in string returned by ListAppInstancesInput's
 34788  	// String and GoString methods.
 34789  	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
 34790  }
 34791  
 34792  // String returns the string representation.
 34793  //
 34794  // API parameter values that are decorated as "sensitive" in the API will not
 34795  // be included in the string output. The member name will be present, but the
 34796  // value will be replaced with "sensitive".
 34797  func (s ListAppInstancesInput) String() string {
 34798  	return awsutil.Prettify(s)
 34799  }
 34800  
 34801  // GoString returns the string representation.
 34802  //
 34803  // API parameter values that are decorated as "sensitive" in the API will not
 34804  // be included in the string output. The member name will be present, but the
 34805  // value will be replaced with "sensitive".
 34806  func (s ListAppInstancesInput) GoString() string {
 34807  	return s.String()
 34808  }
 34809  
 34810  // Validate inspects the fields of the type to determine if they are valid.
 34811  func (s *ListAppInstancesInput) Validate() error {
 34812  	invalidParams := request.ErrInvalidParams{Context: "ListAppInstancesInput"}
 34813  	if s.MaxResults != nil && *s.MaxResults < 1 {
 34814  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 34815  	}
 34816  
 34817  	if invalidParams.Len() > 0 {
 34818  		return invalidParams
 34819  	}
 34820  	return nil
 34821  }
 34822  
 34823  // SetMaxResults sets the MaxResults field's value.
 34824  func (s *ListAppInstancesInput) SetMaxResults(v int64) *ListAppInstancesInput {
 34825  	s.MaxResults = &v
 34826  	return s
 34827  }
 34828  
 34829  // SetNextToken sets the NextToken field's value.
 34830  func (s *ListAppInstancesInput) SetNextToken(v string) *ListAppInstancesInput {
 34831  	s.NextToken = &v
 34832  	return s
 34833  }
 34834  
 34835  type ListAppInstancesOutput struct {
 34836  	_ struct{} `type:"structure"`
 34837  
 34838  	// The information for each AppInstance.
 34839  	AppInstances []*AppInstanceSummary `type:"list"`
 34840  
 34841  	// The token passed by previous API requests until the maximum number of AppInstances
 34842  	// is reached.
 34843  	//
 34844  	// NextToken is a sensitive parameter and its value will be
 34845  	// replaced with "sensitive" in string returned by ListAppInstancesOutput's
 34846  	// String and GoString methods.
 34847  	NextToken *string `type:"string" sensitive:"true"`
 34848  }
 34849  
 34850  // String returns the string representation.
 34851  //
 34852  // API parameter values that are decorated as "sensitive" in the API will not
 34853  // be included in the string output. The member name will be present, but the
 34854  // value will be replaced with "sensitive".
 34855  func (s ListAppInstancesOutput) String() string {
 34856  	return awsutil.Prettify(s)
 34857  }
 34858  
 34859  // GoString returns the string representation.
 34860  //
 34861  // API parameter values that are decorated as "sensitive" in the API will not
 34862  // be included in the string output. The member name will be present, but the
 34863  // value will be replaced with "sensitive".
 34864  func (s ListAppInstancesOutput) GoString() string {
 34865  	return s.String()
 34866  }
 34867  
 34868  // SetAppInstances sets the AppInstances field's value.
 34869  func (s *ListAppInstancesOutput) SetAppInstances(v []*AppInstanceSummary) *ListAppInstancesOutput {
 34870  	s.AppInstances = v
 34871  	return s
 34872  }
 34873  
 34874  // SetNextToken sets the NextToken field's value.
 34875  func (s *ListAppInstancesOutput) SetNextToken(v string) *ListAppInstancesOutput {
 34876  	s.NextToken = &v
 34877  	return s
 34878  }
 34879  
 34880  type ListAttendeeTagsInput struct {
 34881  	_ struct{} `type:"structure" nopayload:"true"`
 34882  
 34883  	// The Amazon Chime SDK attendee ID.
 34884  	//
 34885  	// AttendeeId is a required field
 34886  	AttendeeId *string `location:"uri" locationName:"attendeeId" type:"string" required:"true"`
 34887  
 34888  	// The Amazon Chime SDK meeting ID.
 34889  	//
 34890  	// MeetingId is a required field
 34891  	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
 34892  }
 34893  
 34894  // String returns the string representation.
 34895  //
 34896  // API parameter values that are decorated as "sensitive" in the API will not
 34897  // be included in the string output. The member name will be present, but the
 34898  // value will be replaced with "sensitive".
 34899  func (s ListAttendeeTagsInput) String() string {
 34900  	return awsutil.Prettify(s)
 34901  }
 34902  
 34903  // GoString returns the string representation.
 34904  //
 34905  // API parameter values that are decorated as "sensitive" in the API will not
 34906  // be included in the string output. The member name will be present, but the
 34907  // value will be replaced with "sensitive".
 34908  func (s ListAttendeeTagsInput) GoString() string {
 34909  	return s.String()
 34910  }
 34911  
 34912  // Validate inspects the fields of the type to determine if they are valid.
 34913  func (s *ListAttendeeTagsInput) Validate() error {
 34914  	invalidParams := request.ErrInvalidParams{Context: "ListAttendeeTagsInput"}
 34915  	if s.AttendeeId == nil {
 34916  		invalidParams.Add(request.NewErrParamRequired("AttendeeId"))
 34917  	}
 34918  	if s.AttendeeId != nil && len(*s.AttendeeId) < 1 {
 34919  		invalidParams.Add(request.NewErrParamMinLen("AttendeeId", 1))
 34920  	}
 34921  	if s.MeetingId == nil {
 34922  		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
 34923  	}
 34924  	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
 34925  		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
 34926  	}
 34927  
 34928  	if invalidParams.Len() > 0 {
 34929  		return invalidParams
 34930  	}
 34931  	return nil
 34932  }
 34933  
 34934  // SetAttendeeId sets the AttendeeId field's value.
 34935  func (s *ListAttendeeTagsInput) SetAttendeeId(v string) *ListAttendeeTagsInput {
 34936  	s.AttendeeId = &v
 34937  	return s
 34938  }
 34939  
 34940  // SetMeetingId sets the MeetingId field's value.
 34941  func (s *ListAttendeeTagsInput) SetMeetingId(v string) *ListAttendeeTagsInput {
 34942  	s.MeetingId = &v
 34943  	return s
 34944  }
 34945  
 34946  type ListAttendeeTagsOutput struct {
 34947  	_ struct{} `type:"structure"`
 34948  
 34949  	// A list of tag key-value pairs.
 34950  	Tags []*Tag `min:"1" type:"list"`
 34951  }
 34952  
 34953  // String returns the string representation.
 34954  //
 34955  // API parameter values that are decorated as "sensitive" in the API will not
 34956  // be included in the string output. The member name will be present, but the
 34957  // value will be replaced with "sensitive".
 34958  func (s ListAttendeeTagsOutput) String() string {
 34959  	return awsutil.Prettify(s)
 34960  }
 34961  
 34962  // GoString returns the string representation.
 34963  //
 34964  // API parameter values that are decorated as "sensitive" in the API will not
 34965  // be included in the string output. The member name will be present, but the
 34966  // value will be replaced with "sensitive".
 34967  func (s ListAttendeeTagsOutput) GoString() string {
 34968  	return s.String()
 34969  }
 34970  
 34971  // SetTags sets the Tags field's value.
 34972  func (s *ListAttendeeTagsOutput) SetTags(v []*Tag) *ListAttendeeTagsOutput {
 34973  	s.Tags = v
 34974  	return s
 34975  }
 34976  
 34977  type ListAttendeesInput struct {
 34978  	_ struct{} `type:"structure" nopayload:"true"`
 34979  
 34980  	// The maximum number of results to return in a single call.
 34981  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 34982  
 34983  	// The Amazon Chime SDK meeting ID.
 34984  	//
 34985  	// MeetingId is a required field
 34986  	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
 34987  
 34988  	// The token to use to retrieve the next page of results.
 34989  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 34990  }
 34991  
 34992  // String returns the string representation.
 34993  //
 34994  // API parameter values that are decorated as "sensitive" in the API will not
 34995  // be included in the string output. The member name will be present, but the
 34996  // value will be replaced with "sensitive".
 34997  func (s ListAttendeesInput) String() string {
 34998  	return awsutil.Prettify(s)
 34999  }
 35000  
 35001  // GoString returns the string representation.
 35002  //
 35003  // API parameter values that are decorated as "sensitive" in the API will not
 35004  // be included in the string output. The member name will be present, but the
 35005  // value will be replaced with "sensitive".
 35006  func (s ListAttendeesInput) GoString() string {
 35007  	return s.String()
 35008  }
 35009  
 35010  // Validate inspects the fields of the type to determine if they are valid.
 35011  func (s *ListAttendeesInput) Validate() error {
 35012  	invalidParams := request.ErrInvalidParams{Context: "ListAttendeesInput"}
 35013  	if s.MaxResults != nil && *s.MaxResults < 1 {
 35014  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 35015  	}
 35016  	if s.MeetingId == nil {
 35017  		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
 35018  	}
 35019  	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
 35020  		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
 35021  	}
 35022  
 35023  	if invalidParams.Len() > 0 {
 35024  		return invalidParams
 35025  	}
 35026  	return nil
 35027  }
 35028  
 35029  // SetMaxResults sets the MaxResults field's value.
 35030  func (s *ListAttendeesInput) SetMaxResults(v int64) *ListAttendeesInput {
 35031  	s.MaxResults = &v
 35032  	return s
 35033  }
 35034  
 35035  // SetMeetingId sets the MeetingId field's value.
 35036  func (s *ListAttendeesInput) SetMeetingId(v string) *ListAttendeesInput {
 35037  	s.MeetingId = &v
 35038  	return s
 35039  }
 35040  
 35041  // SetNextToken sets the NextToken field's value.
 35042  func (s *ListAttendeesInput) SetNextToken(v string) *ListAttendeesInput {
 35043  	s.NextToken = &v
 35044  	return s
 35045  }
 35046  
 35047  type ListAttendeesOutput struct {
 35048  	_ struct{} `type:"structure"`
 35049  
 35050  	// The Amazon Chime SDK attendee information.
 35051  	Attendees []*Attendee `type:"list"`
 35052  
 35053  	// The token to use to retrieve the next page of results.
 35054  	NextToken *string `type:"string"`
 35055  }
 35056  
 35057  // String returns the string representation.
 35058  //
 35059  // API parameter values that are decorated as "sensitive" in the API will not
 35060  // be included in the string output. The member name will be present, but the
 35061  // value will be replaced with "sensitive".
 35062  func (s ListAttendeesOutput) String() string {
 35063  	return awsutil.Prettify(s)
 35064  }
 35065  
 35066  // GoString returns the string representation.
 35067  //
 35068  // API parameter values that are decorated as "sensitive" in the API will not
 35069  // be included in the string output. The member name will be present, but the
 35070  // value will be replaced with "sensitive".
 35071  func (s ListAttendeesOutput) GoString() string {
 35072  	return s.String()
 35073  }
 35074  
 35075  // SetAttendees sets the Attendees field's value.
 35076  func (s *ListAttendeesOutput) SetAttendees(v []*Attendee) *ListAttendeesOutput {
 35077  	s.Attendees = v
 35078  	return s
 35079  }
 35080  
 35081  // SetNextToken sets the NextToken field's value.
 35082  func (s *ListAttendeesOutput) SetNextToken(v string) *ListAttendeesOutput {
 35083  	s.NextToken = &v
 35084  	return s
 35085  }
 35086  
 35087  type ListBotsInput struct {
 35088  	_ struct{} `type:"structure" nopayload:"true"`
 35089  
 35090  	// The Amazon Chime account ID.
 35091  	//
 35092  	// AccountId is a required field
 35093  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 35094  
 35095  	// The maximum number of results to return in a single call. The default is
 35096  	// 10.
 35097  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 35098  
 35099  	// The token to use to retrieve the next page of results.
 35100  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 35101  }
 35102  
 35103  // String returns the string representation.
 35104  //
 35105  // API parameter values that are decorated as "sensitive" in the API will not
 35106  // be included in the string output. The member name will be present, but the
 35107  // value will be replaced with "sensitive".
 35108  func (s ListBotsInput) String() string {
 35109  	return awsutil.Prettify(s)
 35110  }
 35111  
 35112  // GoString returns the string representation.
 35113  //
 35114  // API parameter values that are decorated as "sensitive" in the API will not
 35115  // be included in the string output. The member name will be present, but the
 35116  // value will be replaced with "sensitive".
 35117  func (s ListBotsInput) GoString() string {
 35118  	return s.String()
 35119  }
 35120  
 35121  // Validate inspects the fields of the type to determine if they are valid.
 35122  func (s *ListBotsInput) Validate() error {
 35123  	invalidParams := request.ErrInvalidParams{Context: "ListBotsInput"}
 35124  	if s.AccountId == nil {
 35125  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 35126  	}
 35127  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 35128  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 35129  	}
 35130  	if s.MaxResults != nil && *s.MaxResults < 1 {
 35131  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 35132  	}
 35133  
 35134  	if invalidParams.Len() > 0 {
 35135  		return invalidParams
 35136  	}
 35137  	return nil
 35138  }
 35139  
 35140  // SetAccountId sets the AccountId field's value.
 35141  func (s *ListBotsInput) SetAccountId(v string) *ListBotsInput {
 35142  	s.AccountId = &v
 35143  	return s
 35144  }
 35145  
 35146  // SetMaxResults sets the MaxResults field's value.
 35147  func (s *ListBotsInput) SetMaxResults(v int64) *ListBotsInput {
 35148  	s.MaxResults = &v
 35149  	return s
 35150  }
 35151  
 35152  // SetNextToken sets the NextToken field's value.
 35153  func (s *ListBotsInput) SetNextToken(v string) *ListBotsInput {
 35154  	s.NextToken = &v
 35155  	return s
 35156  }
 35157  
 35158  type ListBotsOutput struct {
 35159  	_ struct{} `type:"structure"`
 35160  
 35161  	// List of bots and bot details.
 35162  	Bots []*Bot `type:"list"`
 35163  
 35164  	// The token to use to retrieve the next page of results.
 35165  	NextToken *string `type:"string"`
 35166  }
 35167  
 35168  // String returns the string representation.
 35169  //
 35170  // API parameter values that are decorated as "sensitive" in the API will not
 35171  // be included in the string output. The member name will be present, but the
 35172  // value will be replaced with "sensitive".
 35173  func (s ListBotsOutput) String() string {
 35174  	return awsutil.Prettify(s)
 35175  }
 35176  
 35177  // GoString returns the string representation.
 35178  //
 35179  // API parameter values that are decorated as "sensitive" in the API will not
 35180  // be included in the string output. The member name will be present, but the
 35181  // value will be replaced with "sensitive".
 35182  func (s ListBotsOutput) GoString() string {
 35183  	return s.String()
 35184  }
 35185  
 35186  // SetBots sets the Bots field's value.
 35187  func (s *ListBotsOutput) SetBots(v []*Bot) *ListBotsOutput {
 35188  	s.Bots = v
 35189  	return s
 35190  }
 35191  
 35192  // SetNextToken sets the NextToken field's value.
 35193  func (s *ListBotsOutput) SetNextToken(v string) *ListBotsOutput {
 35194  	s.NextToken = &v
 35195  	return s
 35196  }
 35197  
 35198  type ListChannelBansInput struct {
 35199  	_ struct{} `type:"structure" nopayload:"true"`
 35200  
 35201  	// The ARN of the channel.
 35202  	//
 35203  	// ChannelArn is a required field
 35204  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 35205  
 35206  	// The AppInstanceUserArn of the user that makes the API call.
 35207  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 35208  
 35209  	// The maximum number of bans that you want returned.
 35210  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 35211  
 35212  	// The token passed by previous API calls until all requested bans are returned.
 35213  	//
 35214  	// NextToken is a sensitive parameter and its value will be
 35215  	// replaced with "sensitive" in string returned by ListChannelBansInput's
 35216  	// String and GoString methods.
 35217  	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
 35218  }
 35219  
 35220  // String returns the string representation.
 35221  //
 35222  // API parameter values that are decorated as "sensitive" in the API will not
 35223  // be included in the string output. The member name will be present, but the
 35224  // value will be replaced with "sensitive".
 35225  func (s ListChannelBansInput) String() string {
 35226  	return awsutil.Prettify(s)
 35227  }
 35228  
 35229  // GoString returns the string representation.
 35230  //
 35231  // API parameter values that are decorated as "sensitive" in the API will not
 35232  // be included in the string output. The member name will be present, but the
 35233  // value will be replaced with "sensitive".
 35234  func (s ListChannelBansInput) GoString() string {
 35235  	return s.String()
 35236  }
 35237  
 35238  // Validate inspects the fields of the type to determine if they are valid.
 35239  func (s *ListChannelBansInput) Validate() error {
 35240  	invalidParams := request.ErrInvalidParams{Context: "ListChannelBansInput"}
 35241  	if s.ChannelArn == nil {
 35242  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 35243  	}
 35244  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 35245  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 35246  	}
 35247  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 35248  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 35249  	}
 35250  	if s.MaxResults != nil && *s.MaxResults < 1 {
 35251  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 35252  	}
 35253  
 35254  	if invalidParams.Len() > 0 {
 35255  		return invalidParams
 35256  	}
 35257  	return nil
 35258  }
 35259  
 35260  // SetChannelArn sets the ChannelArn field's value.
 35261  func (s *ListChannelBansInput) SetChannelArn(v string) *ListChannelBansInput {
 35262  	s.ChannelArn = &v
 35263  	return s
 35264  }
 35265  
 35266  // SetChimeBearer sets the ChimeBearer field's value.
 35267  func (s *ListChannelBansInput) SetChimeBearer(v string) *ListChannelBansInput {
 35268  	s.ChimeBearer = &v
 35269  	return s
 35270  }
 35271  
 35272  // SetMaxResults sets the MaxResults field's value.
 35273  func (s *ListChannelBansInput) SetMaxResults(v int64) *ListChannelBansInput {
 35274  	s.MaxResults = &v
 35275  	return s
 35276  }
 35277  
 35278  // SetNextToken sets the NextToken field's value.
 35279  func (s *ListChannelBansInput) SetNextToken(v string) *ListChannelBansInput {
 35280  	s.NextToken = &v
 35281  	return s
 35282  }
 35283  
 35284  type ListChannelBansOutput struct {
 35285  	_ struct{} `type:"structure"`
 35286  
 35287  	// The ARN of the channel.
 35288  	ChannelArn *string `min:"5" type:"string"`
 35289  
 35290  	// The information for each requested ban.
 35291  	ChannelBans []*ChannelBanSummary `type:"list"`
 35292  
 35293  	// The token passed by previous API calls until all requested bans are returned.
 35294  	//
 35295  	// NextToken is a sensitive parameter and its value will be
 35296  	// replaced with "sensitive" in string returned by ListChannelBansOutput's
 35297  	// String and GoString methods.
 35298  	NextToken *string `type:"string" sensitive:"true"`
 35299  }
 35300  
 35301  // String returns the string representation.
 35302  //
 35303  // API parameter values that are decorated as "sensitive" in the API will not
 35304  // be included in the string output. The member name will be present, but the
 35305  // value will be replaced with "sensitive".
 35306  func (s ListChannelBansOutput) String() string {
 35307  	return awsutil.Prettify(s)
 35308  }
 35309  
 35310  // GoString returns the string representation.
 35311  //
 35312  // API parameter values that are decorated as "sensitive" in the API will not
 35313  // be included in the string output. The member name will be present, but the
 35314  // value will be replaced with "sensitive".
 35315  func (s ListChannelBansOutput) GoString() string {
 35316  	return s.String()
 35317  }
 35318  
 35319  // SetChannelArn sets the ChannelArn field's value.
 35320  func (s *ListChannelBansOutput) SetChannelArn(v string) *ListChannelBansOutput {
 35321  	s.ChannelArn = &v
 35322  	return s
 35323  }
 35324  
 35325  // SetChannelBans sets the ChannelBans field's value.
 35326  func (s *ListChannelBansOutput) SetChannelBans(v []*ChannelBanSummary) *ListChannelBansOutput {
 35327  	s.ChannelBans = v
 35328  	return s
 35329  }
 35330  
 35331  // SetNextToken sets the NextToken field's value.
 35332  func (s *ListChannelBansOutput) SetNextToken(v string) *ListChannelBansOutput {
 35333  	s.NextToken = &v
 35334  	return s
 35335  }
 35336  
 35337  type ListChannelMembershipsForAppInstanceUserInput struct {
 35338  	_ struct{} `type:"structure" nopayload:"true"`
 35339  
 35340  	// The ARN of the AppInstanceUsers
 35341  	AppInstanceUserArn *string `location:"querystring" locationName:"app-instance-user-arn" min:"5" type:"string"`
 35342  
 35343  	// The AppInstanceUserArn of the user that makes the API call.
 35344  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 35345  
 35346  	// The maximum number of users that you want returned.
 35347  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 35348  
 35349  	// The token returned from previous API requests until the number of channel
 35350  	// memberships is reached.
 35351  	//
 35352  	// NextToken is a sensitive parameter and its value will be
 35353  	// replaced with "sensitive" in string returned by ListChannelMembershipsForAppInstanceUserInput's
 35354  	// String and GoString methods.
 35355  	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
 35356  }
 35357  
 35358  // String returns the string representation.
 35359  //
 35360  // API parameter values that are decorated as "sensitive" in the API will not
 35361  // be included in the string output. The member name will be present, but the
 35362  // value will be replaced with "sensitive".
 35363  func (s ListChannelMembershipsForAppInstanceUserInput) String() string {
 35364  	return awsutil.Prettify(s)
 35365  }
 35366  
 35367  // GoString returns the string representation.
 35368  //
 35369  // API parameter values that are decorated as "sensitive" in the API will not
 35370  // be included in the string output. The member name will be present, but the
 35371  // value will be replaced with "sensitive".
 35372  func (s ListChannelMembershipsForAppInstanceUserInput) GoString() string {
 35373  	return s.String()
 35374  }
 35375  
 35376  // Validate inspects the fields of the type to determine if they are valid.
 35377  func (s *ListChannelMembershipsForAppInstanceUserInput) Validate() error {
 35378  	invalidParams := request.ErrInvalidParams{Context: "ListChannelMembershipsForAppInstanceUserInput"}
 35379  	if s.AppInstanceUserArn != nil && len(*s.AppInstanceUserArn) < 5 {
 35380  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceUserArn", 5))
 35381  	}
 35382  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 35383  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 35384  	}
 35385  	if s.MaxResults != nil && *s.MaxResults < 1 {
 35386  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 35387  	}
 35388  
 35389  	if invalidParams.Len() > 0 {
 35390  		return invalidParams
 35391  	}
 35392  	return nil
 35393  }
 35394  
 35395  // SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
 35396  func (s *ListChannelMembershipsForAppInstanceUserInput) SetAppInstanceUserArn(v string) *ListChannelMembershipsForAppInstanceUserInput {
 35397  	s.AppInstanceUserArn = &v
 35398  	return s
 35399  }
 35400  
 35401  // SetChimeBearer sets the ChimeBearer field's value.
 35402  func (s *ListChannelMembershipsForAppInstanceUserInput) SetChimeBearer(v string) *ListChannelMembershipsForAppInstanceUserInput {
 35403  	s.ChimeBearer = &v
 35404  	return s
 35405  }
 35406  
 35407  // SetMaxResults sets the MaxResults field's value.
 35408  func (s *ListChannelMembershipsForAppInstanceUserInput) SetMaxResults(v int64) *ListChannelMembershipsForAppInstanceUserInput {
 35409  	s.MaxResults = &v
 35410  	return s
 35411  }
 35412  
 35413  // SetNextToken sets the NextToken field's value.
 35414  func (s *ListChannelMembershipsForAppInstanceUserInput) SetNextToken(v string) *ListChannelMembershipsForAppInstanceUserInput {
 35415  	s.NextToken = &v
 35416  	return s
 35417  }
 35418  
 35419  type ListChannelMembershipsForAppInstanceUserOutput struct {
 35420  	_ struct{} `type:"structure"`
 35421  
 35422  	// The token passed by previous API calls until all requested users are returned.
 35423  	ChannelMemberships []*ChannelMembershipForAppInstanceUserSummary `type:"list"`
 35424  
 35425  	// The token passed by previous API calls until all requested users are returned.
 35426  	//
 35427  	// NextToken is a sensitive parameter and its value will be
 35428  	// replaced with "sensitive" in string returned by ListChannelMembershipsForAppInstanceUserOutput's
 35429  	// String and GoString methods.
 35430  	NextToken *string `type:"string" sensitive:"true"`
 35431  }
 35432  
 35433  // String returns the string representation.
 35434  //
 35435  // API parameter values that are decorated as "sensitive" in the API will not
 35436  // be included in the string output. The member name will be present, but the
 35437  // value will be replaced with "sensitive".
 35438  func (s ListChannelMembershipsForAppInstanceUserOutput) String() string {
 35439  	return awsutil.Prettify(s)
 35440  }
 35441  
 35442  // GoString returns the string representation.
 35443  //
 35444  // API parameter values that are decorated as "sensitive" in the API will not
 35445  // be included in the string output. The member name will be present, but the
 35446  // value will be replaced with "sensitive".
 35447  func (s ListChannelMembershipsForAppInstanceUserOutput) GoString() string {
 35448  	return s.String()
 35449  }
 35450  
 35451  // SetChannelMemberships sets the ChannelMemberships field's value.
 35452  func (s *ListChannelMembershipsForAppInstanceUserOutput) SetChannelMemberships(v []*ChannelMembershipForAppInstanceUserSummary) *ListChannelMembershipsForAppInstanceUserOutput {
 35453  	s.ChannelMemberships = v
 35454  	return s
 35455  }
 35456  
 35457  // SetNextToken sets the NextToken field's value.
 35458  func (s *ListChannelMembershipsForAppInstanceUserOutput) SetNextToken(v string) *ListChannelMembershipsForAppInstanceUserOutput {
 35459  	s.NextToken = &v
 35460  	return s
 35461  }
 35462  
 35463  type ListChannelMembershipsInput struct {
 35464  	_ struct{} `type:"structure" nopayload:"true"`
 35465  
 35466  	// The maximum number of channel memberships that you want returned.
 35467  	//
 35468  	// ChannelArn is a required field
 35469  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 35470  
 35471  	// The AppInstanceUserArn of the user that makes the API call.
 35472  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 35473  
 35474  	// The maximum number of channel memberships that you want returned.
 35475  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 35476  
 35477  	// The token passed by previous API calls until all requested channel memberships
 35478  	// are returned.
 35479  	//
 35480  	// NextToken is a sensitive parameter and its value will be
 35481  	// replaced with "sensitive" in string returned by ListChannelMembershipsInput's
 35482  	// String and GoString methods.
 35483  	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
 35484  
 35485  	// The membership type of a user, DEFAULT or HIDDEN. Default members are always
 35486  	// returned as part of ListChannelMemberships. Hidden members are only returned
 35487  	// if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden
 35488  	// members are not returned.
 35489  	Type *string `location:"querystring" locationName:"type" type:"string" enum:"ChannelMembershipType"`
 35490  }
 35491  
 35492  // String returns the string representation.
 35493  //
 35494  // API parameter values that are decorated as "sensitive" in the API will not
 35495  // be included in the string output. The member name will be present, but the
 35496  // value will be replaced with "sensitive".
 35497  func (s ListChannelMembershipsInput) String() string {
 35498  	return awsutil.Prettify(s)
 35499  }
 35500  
 35501  // GoString returns the string representation.
 35502  //
 35503  // API parameter values that are decorated as "sensitive" in the API will not
 35504  // be included in the string output. The member name will be present, but the
 35505  // value will be replaced with "sensitive".
 35506  func (s ListChannelMembershipsInput) GoString() string {
 35507  	return s.String()
 35508  }
 35509  
 35510  // Validate inspects the fields of the type to determine if they are valid.
 35511  func (s *ListChannelMembershipsInput) Validate() error {
 35512  	invalidParams := request.ErrInvalidParams{Context: "ListChannelMembershipsInput"}
 35513  	if s.ChannelArn == nil {
 35514  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 35515  	}
 35516  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 35517  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 35518  	}
 35519  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 35520  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 35521  	}
 35522  	if s.MaxResults != nil && *s.MaxResults < 1 {
 35523  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 35524  	}
 35525  
 35526  	if invalidParams.Len() > 0 {
 35527  		return invalidParams
 35528  	}
 35529  	return nil
 35530  }
 35531  
 35532  // SetChannelArn sets the ChannelArn field's value.
 35533  func (s *ListChannelMembershipsInput) SetChannelArn(v string) *ListChannelMembershipsInput {
 35534  	s.ChannelArn = &v
 35535  	return s
 35536  }
 35537  
 35538  // SetChimeBearer sets the ChimeBearer field's value.
 35539  func (s *ListChannelMembershipsInput) SetChimeBearer(v string) *ListChannelMembershipsInput {
 35540  	s.ChimeBearer = &v
 35541  	return s
 35542  }
 35543  
 35544  // SetMaxResults sets the MaxResults field's value.
 35545  func (s *ListChannelMembershipsInput) SetMaxResults(v int64) *ListChannelMembershipsInput {
 35546  	s.MaxResults = &v
 35547  	return s
 35548  }
 35549  
 35550  // SetNextToken sets the NextToken field's value.
 35551  func (s *ListChannelMembershipsInput) SetNextToken(v string) *ListChannelMembershipsInput {
 35552  	s.NextToken = &v
 35553  	return s
 35554  }
 35555  
 35556  // SetType sets the Type field's value.
 35557  func (s *ListChannelMembershipsInput) SetType(v string) *ListChannelMembershipsInput {
 35558  	s.Type = &v
 35559  	return s
 35560  }
 35561  
 35562  type ListChannelMembershipsOutput struct {
 35563  	_ struct{} `type:"structure"`
 35564  
 35565  	// The ARN of the channel.
 35566  	ChannelArn *string `min:"5" type:"string"`
 35567  
 35568  	// The information for the requested channel memberships.
 35569  	ChannelMemberships []*ChannelMembershipSummary `type:"list"`
 35570  
 35571  	// The token passed by previous API calls until all requested channel memberships
 35572  	// are returned.
 35573  	//
 35574  	// NextToken is a sensitive parameter and its value will be
 35575  	// replaced with "sensitive" in string returned by ListChannelMembershipsOutput's
 35576  	// String and GoString methods.
 35577  	NextToken *string `type:"string" sensitive:"true"`
 35578  }
 35579  
 35580  // String returns the string representation.
 35581  //
 35582  // API parameter values that are decorated as "sensitive" in the API will not
 35583  // be included in the string output. The member name will be present, but the
 35584  // value will be replaced with "sensitive".
 35585  func (s ListChannelMembershipsOutput) String() string {
 35586  	return awsutil.Prettify(s)
 35587  }
 35588  
 35589  // GoString returns the string representation.
 35590  //
 35591  // API parameter values that are decorated as "sensitive" in the API will not
 35592  // be included in the string output. The member name will be present, but the
 35593  // value will be replaced with "sensitive".
 35594  func (s ListChannelMembershipsOutput) GoString() string {
 35595  	return s.String()
 35596  }
 35597  
 35598  // SetChannelArn sets the ChannelArn field's value.
 35599  func (s *ListChannelMembershipsOutput) SetChannelArn(v string) *ListChannelMembershipsOutput {
 35600  	s.ChannelArn = &v
 35601  	return s
 35602  }
 35603  
 35604  // SetChannelMemberships sets the ChannelMemberships field's value.
 35605  func (s *ListChannelMembershipsOutput) SetChannelMemberships(v []*ChannelMembershipSummary) *ListChannelMembershipsOutput {
 35606  	s.ChannelMemberships = v
 35607  	return s
 35608  }
 35609  
 35610  // SetNextToken sets the NextToken field's value.
 35611  func (s *ListChannelMembershipsOutput) SetNextToken(v string) *ListChannelMembershipsOutput {
 35612  	s.NextToken = &v
 35613  	return s
 35614  }
 35615  
 35616  type ListChannelMessagesInput struct {
 35617  	_ struct{} `type:"structure" nopayload:"true"`
 35618  
 35619  	// The ARN of the channel.
 35620  	//
 35621  	// ChannelArn is a required field
 35622  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 35623  
 35624  	// The AppInstanceUserArn of the user that makes the API call.
 35625  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 35626  
 35627  	// The maximum number of messages that you want returned.
 35628  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 35629  
 35630  	// The token passed by previous API calls until all requested messages are returned.
 35631  	//
 35632  	// NextToken is a sensitive parameter and its value will be
 35633  	// replaced with "sensitive" in string returned by ListChannelMessagesInput's
 35634  	// String and GoString methods.
 35635  	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
 35636  
 35637  	// The final or ending time stamp for your requested messages.
 35638  	NotAfter *time.Time `location:"querystring" locationName:"not-after" type:"timestamp"`
 35639  
 35640  	// The initial or starting time stamp for your requested messages.
 35641  	NotBefore *time.Time `location:"querystring" locationName:"not-before" type:"timestamp"`
 35642  
 35643  	// The order in which you want messages sorted. Default is Descending, based
 35644  	// on time created.
 35645  	SortOrder *string `location:"querystring" locationName:"sort-order" type:"string" enum:"SortOrder"`
 35646  }
 35647  
 35648  // String returns the string representation.
 35649  //
 35650  // API parameter values that are decorated as "sensitive" in the API will not
 35651  // be included in the string output. The member name will be present, but the
 35652  // value will be replaced with "sensitive".
 35653  func (s ListChannelMessagesInput) String() string {
 35654  	return awsutil.Prettify(s)
 35655  }
 35656  
 35657  // GoString returns the string representation.
 35658  //
 35659  // API parameter values that are decorated as "sensitive" in the API will not
 35660  // be included in the string output. The member name will be present, but the
 35661  // value will be replaced with "sensitive".
 35662  func (s ListChannelMessagesInput) GoString() string {
 35663  	return s.String()
 35664  }
 35665  
 35666  // Validate inspects the fields of the type to determine if they are valid.
 35667  func (s *ListChannelMessagesInput) Validate() error {
 35668  	invalidParams := request.ErrInvalidParams{Context: "ListChannelMessagesInput"}
 35669  	if s.ChannelArn == nil {
 35670  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 35671  	}
 35672  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 35673  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 35674  	}
 35675  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 35676  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 35677  	}
 35678  	if s.MaxResults != nil && *s.MaxResults < 1 {
 35679  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 35680  	}
 35681  
 35682  	if invalidParams.Len() > 0 {
 35683  		return invalidParams
 35684  	}
 35685  	return nil
 35686  }
 35687  
 35688  // SetChannelArn sets the ChannelArn field's value.
 35689  func (s *ListChannelMessagesInput) SetChannelArn(v string) *ListChannelMessagesInput {
 35690  	s.ChannelArn = &v
 35691  	return s
 35692  }
 35693  
 35694  // SetChimeBearer sets the ChimeBearer field's value.
 35695  func (s *ListChannelMessagesInput) SetChimeBearer(v string) *ListChannelMessagesInput {
 35696  	s.ChimeBearer = &v
 35697  	return s
 35698  }
 35699  
 35700  // SetMaxResults sets the MaxResults field's value.
 35701  func (s *ListChannelMessagesInput) SetMaxResults(v int64) *ListChannelMessagesInput {
 35702  	s.MaxResults = &v
 35703  	return s
 35704  }
 35705  
 35706  // SetNextToken sets the NextToken field's value.
 35707  func (s *ListChannelMessagesInput) SetNextToken(v string) *ListChannelMessagesInput {
 35708  	s.NextToken = &v
 35709  	return s
 35710  }
 35711  
 35712  // SetNotAfter sets the NotAfter field's value.
 35713  func (s *ListChannelMessagesInput) SetNotAfter(v time.Time) *ListChannelMessagesInput {
 35714  	s.NotAfter = &v
 35715  	return s
 35716  }
 35717  
 35718  // SetNotBefore sets the NotBefore field's value.
 35719  func (s *ListChannelMessagesInput) SetNotBefore(v time.Time) *ListChannelMessagesInput {
 35720  	s.NotBefore = &v
 35721  	return s
 35722  }
 35723  
 35724  // SetSortOrder sets the SortOrder field's value.
 35725  func (s *ListChannelMessagesInput) SetSortOrder(v string) *ListChannelMessagesInput {
 35726  	s.SortOrder = &v
 35727  	return s
 35728  }
 35729  
 35730  type ListChannelMessagesOutput struct {
 35731  	_ struct{} `type:"structure"`
 35732  
 35733  	// The ARN of the channel containing the requested messages.
 35734  	ChannelArn *string `min:"5" type:"string"`
 35735  
 35736  	// The information about, and content of, each requested message.
 35737  	ChannelMessages []*ChannelMessageSummary `type:"list"`
 35738  
 35739  	// The token passed by previous API calls until all requested messages are returned.
 35740  	//
 35741  	// NextToken is a sensitive parameter and its value will be
 35742  	// replaced with "sensitive" in string returned by ListChannelMessagesOutput's
 35743  	// String and GoString methods.
 35744  	NextToken *string `type:"string" sensitive:"true"`
 35745  }
 35746  
 35747  // String returns the string representation.
 35748  //
 35749  // API parameter values that are decorated as "sensitive" in the API will not
 35750  // be included in the string output. The member name will be present, but the
 35751  // value will be replaced with "sensitive".
 35752  func (s ListChannelMessagesOutput) String() string {
 35753  	return awsutil.Prettify(s)
 35754  }
 35755  
 35756  // GoString returns the string representation.
 35757  //
 35758  // API parameter values that are decorated as "sensitive" in the API will not
 35759  // be included in the string output. The member name will be present, but the
 35760  // value will be replaced with "sensitive".
 35761  func (s ListChannelMessagesOutput) GoString() string {
 35762  	return s.String()
 35763  }
 35764  
 35765  // SetChannelArn sets the ChannelArn field's value.
 35766  func (s *ListChannelMessagesOutput) SetChannelArn(v string) *ListChannelMessagesOutput {
 35767  	s.ChannelArn = &v
 35768  	return s
 35769  }
 35770  
 35771  // SetChannelMessages sets the ChannelMessages field's value.
 35772  func (s *ListChannelMessagesOutput) SetChannelMessages(v []*ChannelMessageSummary) *ListChannelMessagesOutput {
 35773  	s.ChannelMessages = v
 35774  	return s
 35775  }
 35776  
 35777  // SetNextToken sets the NextToken field's value.
 35778  func (s *ListChannelMessagesOutput) SetNextToken(v string) *ListChannelMessagesOutput {
 35779  	s.NextToken = &v
 35780  	return s
 35781  }
 35782  
 35783  type ListChannelModeratorsInput struct {
 35784  	_ struct{} `type:"structure" nopayload:"true"`
 35785  
 35786  	// The ARN of the channel.
 35787  	//
 35788  	// ChannelArn is a required field
 35789  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 35790  
 35791  	// The AppInstanceUserArn of the user that makes the API call.
 35792  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 35793  
 35794  	// The maximum number of moderators that you want returned.
 35795  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 35796  
 35797  	// The token passed by previous API calls until all requested moderators are
 35798  	// returned.
 35799  	//
 35800  	// NextToken is a sensitive parameter and its value will be
 35801  	// replaced with "sensitive" in string returned by ListChannelModeratorsInput's
 35802  	// String and GoString methods.
 35803  	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
 35804  }
 35805  
 35806  // String returns the string representation.
 35807  //
 35808  // API parameter values that are decorated as "sensitive" in the API will not
 35809  // be included in the string output. The member name will be present, but the
 35810  // value will be replaced with "sensitive".
 35811  func (s ListChannelModeratorsInput) String() string {
 35812  	return awsutil.Prettify(s)
 35813  }
 35814  
 35815  // GoString returns the string representation.
 35816  //
 35817  // API parameter values that are decorated as "sensitive" in the API will not
 35818  // be included in the string output. The member name will be present, but the
 35819  // value will be replaced with "sensitive".
 35820  func (s ListChannelModeratorsInput) GoString() string {
 35821  	return s.String()
 35822  }
 35823  
 35824  // Validate inspects the fields of the type to determine if they are valid.
 35825  func (s *ListChannelModeratorsInput) Validate() error {
 35826  	invalidParams := request.ErrInvalidParams{Context: "ListChannelModeratorsInput"}
 35827  	if s.ChannelArn == nil {
 35828  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 35829  	}
 35830  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 35831  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 35832  	}
 35833  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 35834  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 35835  	}
 35836  	if s.MaxResults != nil && *s.MaxResults < 1 {
 35837  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 35838  	}
 35839  
 35840  	if invalidParams.Len() > 0 {
 35841  		return invalidParams
 35842  	}
 35843  	return nil
 35844  }
 35845  
 35846  // SetChannelArn sets the ChannelArn field's value.
 35847  func (s *ListChannelModeratorsInput) SetChannelArn(v string) *ListChannelModeratorsInput {
 35848  	s.ChannelArn = &v
 35849  	return s
 35850  }
 35851  
 35852  // SetChimeBearer sets the ChimeBearer field's value.
 35853  func (s *ListChannelModeratorsInput) SetChimeBearer(v string) *ListChannelModeratorsInput {
 35854  	s.ChimeBearer = &v
 35855  	return s
 35856  }
 35857  
 35858  // SetMaxResults sets the MaxResults field's value.
 35859  func (s *ListChannelModeratorsInput) SetMaxResults(v int64) *ListChannelModeratorsInput {
 35860  	s.MaxResults = &v
 35861  	return s
 35862  }
 35863  
 35864  // SetNextToken sets the NextToken field's value.
 35865  func (s *ListChannelModeratorsInput) SetNextToken(v string) *ListChannelModeratorsInput {
 35866  	s.NextToken = &v
 35867  	return s
 35868  }
 35869  
 35870  type ListChannelModeratorsOutput struct {
 35871  	_ struct{} `type:"structure"`
 35872  
 35873  	// The ARN of the channel.
 35874  	ChannelArn *string `min:"5" type:"string"`
 35875  
 35876  	// The information about and names of each moderator.
 35877  	ChannelModerators []*ChannelModeratorSummary `type:"list"`
 35878  
 35879  	// The token passed by previous API calls until all requested moderators are
 35880  	// returned.
 35881  	//
 35882  	// NextToken is a sensitive parameter and its value will be
 35883  	// replaced with "sensitive" in string returned by ListChannelModeratorsOutput's
 35884  	// String and GoString methods.
 35885  	NextToken *string `type:"string" sensitive:"true"`
 35886  }
 35887  
 35888  // String returns the string representation.
 35889  //
 35890  // API parameter values that are decorated as "sensitive" in the API will not
 35891  // be included in the string output. The member name will be present, but the
 35892  // value will be replaced with "sensitive".
 35893  func (s ListChannelModeratorsOutput) String() string {
 35894  	return awsutil.Prettify(s)
 35895  }
 35896  
 35897  // GoString returns the string representation.
 35898  //
 35899  // API parameter values that are decorated as "sensitive" in the API will not
 35900  // be included in the string output. The member name will be present, but the
 35901  // value will be replaced with "sensitive".
 35902  func (s ListChannelModeratorsOutput) GoString() string {
 35903  	return s.String()
 35904  }
 35905  
 35906  // SetChannelArn sets the ChannelArn field's value.
 35907  func (s *ListChannelModeratorsOutput) SetChannelArn(v string) *ListChannelModeratorsOutput {
 35908  	s.ChannelArn = &v
 35909  	return s
 35910  }
 35911  
 35912  // SetChannelModerators sets the ChannelModerators field's value.
 35913  func (s *ListChannelModeratorsOutput) SetChannelModerators(v []*ChannelModeratorSummary) *ListChannelModeratorsOutput {
 35914  	s.ChannelModerators = v
 35915  	return s
 35916  }
 35917  
 35918  // SetNextToken sets the NextToken field's value.
 35919  func (s *ListChannelModeratorsOutput) SetNextToken(v string) *ListChannelModeratorsOutput {
 35920  	s.NextToken = &v
 35921  	return s
 35922  }
 35923  
 35924  type ListChannelsInput struct {
 35925  	_ struct{} `type:"structure" nopayload:"true"`
 35926  
 35927  	// The ARN of the AppInstance.
 35928  	//
 35929  	// AppInstanceArn is a required field
 35930  	AppInstanceArn *string `location:"querystring" locationName:"app-instance-arn" min:"5" type:"string" required:"true"`
 35931  
 35932  	// The AppInstanceUserArn of the user that makes the API call.
 35933  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 35934  
 35935  	// The maximum number of channels that you want to return.
 35936  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 35937  
 35938  	// The token passed by previous API calls until all requested channels are returned.
 35939  	//
 35940  	// NextToken is a sensitive parameter and its value will be
 35941  	// replaced with "sensitive" in string returned by ListChannelsInput's
 35942  	// String and GoString methods.
 35943  	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
 35944  
 35945  	// The privacy setting. PUBLIC retrieves all the public channels. PRIVATE retrieves
 35946  	// private channels. Only an AppInstanceAdmin can retrieve private channels.
 35947  	Privacy *string `location:"querystring" locationName:"privacy" type:"string" enum:"ChannelPrivacy"`
 35948  }
 35949  
 35950  // String returns the string representation.
 35951  //
 35952  // API parameter values that are decorated as "sensitive" in the API will not
 35953  // be included in the string output. The member name will be present, but the
 35954  // value will be replaced with "sensitive".
 35955  func (s ListChannelsInput) String() string {
 35956  	return awsutil.Prettify(s)
 35957  }
 35958  
 35959  // GoString returns the string representation.
 35960  //
 35961  // API parameter values that are decorated as "sensitive" in the API will not
 35962  // be included in the string output. The member name will be present, but the
 35963  // value will be replaced with "sensitive".
 35964  func (s ListChannelsInput) GoString() string {
 35965  	return s.String()
 35966  }
 35967  
 35968  // Validate inspects the fields of the type to determine if they are valid.
 35969  func (s *ListChannelsInput) Validate() error {
 35970  	invalidParams := request.ErrInvalidParams{Context: "ListChannelsInput"}
 35971  	if s.AppInstanceArn == nil {
 35972  		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
 35973  	}
 35974  	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
 35975  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
 35976  	}
 35977  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 35978  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 35979  	}
 35980  	if s.MaxResults != nil && *s.MaxResults < 1 {
 35981  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 35982  	}
 35983  
 35984  	if invalidParams.Len() > 0 {
 35985  		return invalidParams
 35986  	}
 35987  	return nil
 35988  }
 35989  
 35990  // SetAppInstanceArn sets the AppInstanceArn field's value.
 35991  func (s *ListChannelsInput) SetAppInstanceArn(v string) *ListChannelsInput {
 35992  	s.AppInstanceArn = &v
 35993  	return s
 35994  }
 35995  
 35996  // SetChimeBearer sets the ChimeBearer field's value.
 35997  func (s *ListChannelsInput) SetChimeBearer(v string) *ListChannelsInput {
 35998  	s.ChimeBearer = &v
 35999  	return s
 36000  }
 36001  
 36002  // SetMaxResults sets the MaxResults field's value.
 36003  func (s *ListChannelsInput) SetMaxResults(v int64) *ListChannelsInput {
 36004  	s.MaxResults = &v
 36005  	return s
 36006  }
 36007  
 36008  // SetNextToken sets the NextToken field's value.
 36009  func (s *ListChannelsInput) SetNextToken(v string) *ListChannelsInput {
 36010  	s.NextToken = &v
 36011  	return s
 36012  }
 36013  
 36014  // SetPrivacy sets the Privacy field's value.
 36015  func (s *ListChannelsInput) SetPrivacy(v string) *ListChannelsInput {
 36016  	s.Privacy = &v
 36017  	return s
 36018  }
 36019  
 36020  type ListChannelsModeratedByAppInstanceUserInput struct {
 36021  	_ struct{} `type:"structure" nopayload:"true"`
 36022  
 36023  	// The ARN of the user in the moderated channel.
 36024  	AppInstanceUserArn *string `location:"querystring" locationName:"app-instance-user-arn" min:"5" type:"string"`
 36025  
 36026  	// The AppInstanceUserArn of the user that makes the API call.
 36027  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 36028  
 36029  	// The maximum number of channels in the request.
 36030  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 36031  
 36032  	// The token returned from previous API requests until the number of channels
 36033  	// moderated by the user is reached.
 36034  	//
 36035  	// NextToken is a sensitive parameter and its value will be
 36036  	// replaced with "sensitive" in string returned by ListChannelsModeratedByAppInstanceUserInput's
 36037  	// String and GoString methods.
 36038  	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
 36039  }
 36040  
 36041  // String returns the string representation.
 36042  //
 36043  // API parameter values that are decorated as "sensitive" in the API will not
 36044  // be included in the string output. The member name will be present, but the
 36045  // value will be replaced with "sensitive".
 36046  func (s ListChannelsModeratedByAppInstanceUserInput) String() string {
 36047  	return awsutil.Prettify(s)
 36048  }
 36049  
 36050  // GoString returns the string representation.
 36051  //
 36052  // API parameter values that are decorated as "sensitive" in the API will not
 36053  // be included in the string output. The member name will be present, but the
 36054  // value will be replaced with "sensitive".
 36055  func (s ListChannelsModeratedByAppInstanceUserInput) GoString() string {
 36056  	return s.String()
 36057  }
 36058  
 36059  // Validate inspects the fields of the type to determine if they are valid.
 36060  func (s *ListChannelsModeratedByAppInstanceUserInput) Validate() error {
 36061  	invalidParams := request.ErrInvalidParams{Context: "ListChannelsModeratedByAppInstanceUserInput"}
 36062  	if s.AppInstanceUserArn != nil && len(*s.AppInstanceUserArn) < 5 {
 36063  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceUserArn", 5))
 36064  	}
 36065  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 36066  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 36067  	}
 36068  	if s.MaxResults != nil && *s.MaxResults < 1 {
 36069  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 36070  	}
 36071  
 36072  	if invalidParams.Len() > 0 {
 36073  		return invalidParams
 36074  	}
 36075  	return nil
 36076  }
 36077  
 36078  // SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
 36079  func (s *ListChannelsModeratedByAppInstanceUserInput) SetAppInstanceUserArn(v string) *ListChannelsModeratedByAppInstanceUserInput {
 36080  	s.AppInstanceUserArn = &v
 36081  	return s
 36082  }
 36083  
 36084  // SetChimeBearer sets the ChimeBearer field's value.
 36085  func (s *ListChannelsModeratedByAppInstanceUserInput) SetChimeBearer(v string) *ListChannelsModeratedByAppInstanceUserInput {
 36086  	s.ChimeBearer = &v
 36087  	return s
 36088  }
 36089  
 36090  // SetMaxResults sets the MaxResults field's value.
 36091  func (s *ListChannelsModeratedByAppInstanceUserInput) SetMaxResults(v int64) *ListChannelsModeratedByAppInstanceUserInput {
 36092  	s.MaxResults = &v
 36093  	return s
 36094  }
 36095  
 36096  // SetNextToken sets the NextToken field's value.
 36097  func (s *ListChannelsModeratedByAppInstanceUserInput) SetNextToken(v string) *ListChannelsModeratedByAppInstanceUserInput {
 36098  	s.NextToken = &v
 36099  	return s
 36100  }
 36101  
 36102  type ListChannelsModeratedByAppInstanceUserOutput struct {
 36103  	_ struct{} `type:"structure"`
 36104  
 36105  	// The moderated channels in the request.
 36106  	Channels []*ChannelModeratedByAppInstanceUserSummary `type:"list"`
 36107  
 36108  	// The token returned from previous API requests until the number of channels
 36109  	// moderated by the user is reached.
 36110  	//
 36111  	// NextToken is a sensitive parameter and its value will be
 36112  	// replaced with "sensitive" in string returned by ListChannelsModeratedByAppInstanceUserOutput's
 36113  	// String and GoString methods.
 36114  	NextToken *string `type:"string" sensitive:"true"`
 36115  }
 36116  
 36117  // String returns the string representation.
 36118  //
 36119  // API parameter values that are decorated as "sensitive" in the API will not
 36120  // be included in the string output. The member name will be present, but the
 36121  // value will be replaced with "sensitive".
 36122  func (s ListChannelsModeratedByAppInstanceUserOutput) String() string {
 36123  	return awsutil.Prettify(s)
 36124  }
 36125  
 36126  // GoString returns the string representation.
 36127  //
 36128  // API parameter values that are decorated as "sensitive" in the API will not
 36129  // be included in the string output. The member name will be present, but the
 36130  // value will be replaced with "sensitive".
 36131  func (s ListChannelsModeratedByAppInstanceUserOutput) GoString() string {
 36132  	return s.String()
 36133  }
 36134  
 36135  // SetChannels sets the Channels field's value.
 36136  func (s *ListChannelsModeratedByAppInstanceUserOutput) SetChannels(v []*ChannelModeratedByAppInstanceUserSummary) *ListChannelsModeratedByAppInstanceUserOutput {
 36137  	s.Channels = v
 36138  	return s
 36139  }
 36140  
 36141  // SetNextToken sets the NextToken field's value.
 36142  func (s *ListChannelsModeratedByAppInstanceUserOutput) SetNextToken(v string) *ListChannelsModeratedByAppInstanceUserOutput {
 36143  	s.NextToken = &v
 36144  	return s
 36145  }
 36146  
 36147  type ListChannelsOutput struct {
 36148  	_ struct{} `type:"structure"`
 36149  
 36150  	// The information about each channel.
 36151  	Channels []*ChannelSummary `type:"list"`
 36152  
 36153  	// The token returned from previous API requests until the number of channels
 36154  	// is reached.
 36155  	//
 36156  	// NextToken is a sensitive parameter and its value will be
 36157  	// replaced with "sensitive" in string returned by ListChannelsOutput's
 36158  	// String and GoString methods.
 36159  	NextToken *string `type:"string" sensitive:"true"`
 36160  }
 36161  
 36162  // String returns the string representation.
 36163  //
 36164  // API parameter values that are decorated as "sensitive" in the API will not
 36165  // be included in the string output. The member name will be present, but the
 36166  // value will be replaced with "sensitive".
 36167  func (s ListChannelsOutput) String() string {
 36168  	return awsutil.Prettify(s)
 36169  }
 36170  
 36171  // GoString returns the string representation.
 36172  //
 36173  // API parameter values that are decorated as "sensitive" in the API will not
 36174  // be included in the string output. The member name will be present, but the
 36175  // value will be replaced with "sensitive".
 36176  func (s ListChannelsOutput) GoString() string {
 36177  	return s.String()
 36178  }
 36179  
 36180  // SetChannels sets the Channels field's value.
 36181  func (s *ListChannelsOutput) SetChannels(v []*ChannelSummary) *ListChannelsOutput {
 36182  	s.Channels = v
 36183  	return s
 36184  }
 36185  
 36186  // SetNextToken sets the NextToken field's value.
 36187  func (s *ListChannelsOutput) SetNextToken(v string) *ListChannelsOutput {
 36188  	s.NextToken = &v
 36189  	return s
 36190  }
 36191  
 36192  type ListMediaCapturePipelinesInput struct {
 36193  	_ struct{} `type:"structure" nopayload:"true"`
 36194  
 36195  	// The maximum number of results to return in a single call. Valid Range: 1
 36196  	// - 99.
 36197  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 36198  
 36199  	// The token used to retrieve the next page of results.
 36200  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 36201  }
 36202  
 36203  // String returns the string representation.
 36204  //
 36205  // API parameter values that are decorated as "sensitive" in the API will not
 36206  // be included in the string output. The member name will be present, but the
 36207  // value will be replaced with "sensitive".
 36208  func (s ListMediaCapturePipelinesInput) String() string {
 36209  	return awsutil.Prettify(s)
 36210  }
 36211  
 36212  // GoString returns the string representation.
 36213  //
 36214  // API parameter values that are decorated as "sensitive" in the API will not
 36215  // be included in the string output. The member name will be present, but the
 36216  // value will be replaced with "sensitive".
 36217  func (s ListMediaCapturePipelinesInput) GoString() string {
 36218  	return s.String()
 36219  }
 36220  
 36221  // Validate inspects the fields of the type to determine if they are valid.
 36222  func (s *ListMediaCapturePipelinesInput) Validate() error {
 36223  	invalidParams := request.ErrInvalidParams{Context: "ListMediaCapturePipelinesInput"}
 36224  	if s.MaxResults != nil && *s.MaxResults < 1 {
 36225  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 36226  	}
 36227  
 36228  	if invalidParams.Len() > 0 {
 36229  		return invalidParams
 36230  	}
 36231  	return nil
 36232  }
 36233  
 36234  // SetMaxResults sets the MaxResults field's value.
 36235  func (s *ListMediaCapturePipelinesInput) SetMaxResults(v int64) *ListMediaCapturePipelinesInput {
 36236  	s.MaxResults = &v
 36237  	return s
 36238  }
 36239  
 36240  // SetNextToken sets the NextToken field's value.
 36241  func (s *ListMediaCapturePipelinesInput) SetNextToken(v string) *ListMediaCapturePipelinesInput {
 36242  	s.NextToken = &v
 36243  	return s
 36244  }
 36245  
 36246  type ListMediaCapturePipelinesOutput struct {
 36247  	_ struct{} `type:"structure"`
 36248  
 36249  	// The media capture pipeline objects in the list.
 36250  	MediaCapturePipelines []*MediaCapturePipeline `type:"list"`
 36251  
 36252  	// The token used to retrieve the next page of results.
 36253  	NextToken *string `type:"string"`
 36254  }
 36255  
 36256  // String returns the string representation.
 36257  //
 36258  // API parameter values that are decorated as "sensitive" in the API will not
 36259  // be included in the string output. The member name will be present, but the
 36260  // value will be replaced with "sensitive".
 36261  func (s ListMediaCapturePipelinesOutput) String() string {
 36262  	return awsutil.Prettify(s)
 36263  }
 36264  
 36265  // GoString returns the string representation.
 36266  //
 36267  // API parameter values that are decorated as "sensitive" in the API will not
 36268  // be included in the string output. The member name will be present, but the
 36269  // value will be replaced with "sensitive".
 36270  func (s ListMediaCapturePipelinesOutput) GoString() string {
 36271  	return s.String()
 36272  }
 36273  
 36274  // SetMediaCapturePipelines sets the MediaCapturePipelines field's value.
 36275  func (s *ListMediaCapturePipelinesOutput) SetMediaCapturePipelines(v []*MediaCapturePipeline) *ListMediaCapturePipelinesOutput {
 36276  	s.MediaCapturePipelines = v
 36277  	return s
 36278  }
 36279  
 36280  // SetNextToken sets the NextToken field's value.
 36281  func (s *ListMediaCapturePipelinesOutput) SetNextToken(v string) *ListMediaCapturePipelinesOutput {
 36282  	s.NextToken = &v
 36283  	return s
 36284  }
 36285  
 36286  type ListMeetingTagsInput struct {
 36287  	_ struct{} `type:"structure" nopayload:"true"`
 36288  
 36289  	// The Amazon Chime SDK meeting ID.
 36290  	//
 36291  	// MeetingId is a required field
 36292  	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
 36293  }
 36294  
 36295  // String returns the string representation.
 36296  //
 36297  // API parameter values that are decorated as "sensitive" in the API will not
 36298  // be included in the string output. The member name will be present, but the
 36299  // value will be replaced with "sensitive".
 36300  func (s ListMeetingTagsInput) String() string {
 36301  	return awsutil.Prettify(s)
 36302  }
 36303  
 36304  // GoString returns the string representation.
 36305  //
 36306  // API parameter values that are decorated as "sensitive" in the API will not
 36307  // be included in the string output. The member name will be present, but the
 36308  // value will be replaced with "sensitive".
 36309  func (s ListMeetingTagsInput) GoString() string {
 36310  	return s.String()
 36311  }
 36312  
 36313  // Validate inspects the fields of the type to determine if they are valid.
 36314  func (s *ListMeetingTagsInput) Validate() error {
 36315  	invalidParams := request.ErrInvalidParams{Context: "ListMeetingTagsInput"}
 36316  	if s.MeetingId == nil {
 36317  		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
 36318  	}
 36319  	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
 36320  		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
 36321  	}
 36322  
 36323  	if invalidParams.Len() > 0 {
 36324  		return invalidParams
 36325  	}
 36326  	return nil
 36327  }
 36328  
 36329  // SetMeetingId sets the MeetingId field's value.
 36330  func (s *ListMeetingTagsInput) SetMeetingId(v string) *ListMeetingTagsInput {
 36331  	s.MeetingId = &v
 36332  	return s
 36333  }
 36334  
 36335  type ListMeetingTagsOutput struct {
 36336  	_ struct{} `type:"structure"`
 36337  
 36338  	// A list of tag key-value pairs.
 36339  	Tags []*Tag `min:"1" type:"list"`
 36340  }
 36341  
 36342  // String returns the string representation.
 36343  //
 36344  // API parameter values that are decorated as "sensitive" in the API will not
 36345  // be included in the string output. The member name will be present, but the
 36346  // value will be replaced with "sensitive".
 36347  func (s ListMeetingTagsOutput) String() string {
 36348  	return awsutil.Prettify(s)
 36349  }
 36350  
 36351  // GoString returns the string representation.
 36352  //
 36353  // API parameter values that are decorated as "sensitive" in the API will not
 36354  // be included in the string output. The member name will be present, but the
 36355  // value will be replaced with "sensitive".
 36356  func (s ListMeetingTagsOutput) GoString() string {
 36357  	return s.String()
 36358  }
 36359  
 36360  // SetTags sets the Tags field's value.
 36361  func (s *ListMeetingTagsOutput) SetTags(v []*Tag) *ListMeetingTagsOutput {
 36362  	s.Tags = v
 36363  	return s
 36364  }
 36365  
 36366  type ListMeetingsInput struct {
 36367  	_ struct{} `type:"structure" nopayload:"true"`
 36368  
 36369  	// The maximum number of results to return in a single call.
 36370  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 36371  
 36372  	// The token to use to retrieve the next page of results.
 36373  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 36374  }
 36375  
 36376  // String returns the string representation.
 36377  //
 36378  // API parameter values that are decorated as "sensitive" in the API will not
 36379  // be included in the string output. The member name will be present, but the
 36380  // value will be replaced with "sensitive".
 36381  func (s ListMeetingsInput) String() string {
 36382  	return awsutil.Prettify(s)
 36383  }
 36384  
 36385  // GoString returns the string representation.
 36386  //
 36387  // API parameter values that are decorated as "sensitive" in the API will not
 36388  // be included in the string output. The member name will be present, but the
 36389  // value will be replaced with "sensitive".
 36390  func (s ListMeetingsInput) GoString() string {
 36391  	return s.String()
 36392  }
 36393  
 36394  // Validate inspects the fields of the type to determine if they are valid.
 36395  func (s *ListMeetingsInput) Validate() error {
 36396  	invalidParams := request.ErrInvalidParams{Context: "ListMeetingsInput"}
 36397  	if s.MaxResults != nil && *s.MaxResults < 1 {
 36398  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 36399  	}
 36400  
 36401  	if invalidParams.Len() > 0 {
 36402  		return invalidParams
 36403  	}
 36404  	return nil
 36405  }
 36406  
 36407  // SetMaxResults sets the MaxResults field's value.
 36408  func (s *ListMeetingsInput) SetMaxResults(v int64) *ListMeetingsInput {
 36409  	s.MaxResults = &v
 36410  	return s
 36411  }
 36412  
 36413  // SetNextToken sets the NextToken field's value.
 36414  func (s *ListMeetingsInput) SetNextToken(v string) *ListMeetingsInput {
 36415  	s.NextToken = &v
 36416  	return s
 36417  }
 36418  
 36419  type ListMeetingsOutput struct {
 36420  	_ struct{} `type:"structure"`
 36421  
 36422  	// The Amazon Chime SDK meeting information.
 36423  	Meetings []*Meeting `type:"list"`
 36424  
 36425  	// The token to use to retrieve the next page of results.
 36426  	NextToken *string `type:"string"`
 36427  }
 36428  
 36429  // String returns the string representation.
 36430  //
 36431  // API parameter values that are decorated as "sensitive" in the API will not
 36432  // be included in the string output. The member name will be present, but the
 36433  // value will be replaced with "sensitive".
 36434  func (s ListMeetingsOutput) String() string {
 36435  	return awsutil.Prettify(s)
 36436  }
 36437  
 36438  // GoString returns the string representation.
 36439  //
 36440  // API parameter values that are decorated as "sensitive" in the API will not
 36441  // be included in the string output. The member name will be present, but the
 36442  // value will be replaced with "sensitive".
 36443  func (s ListMeetingsOutput) GoString() string {
 36444  	return s.String()
 36445  }
 36446  
 36447  // SetMeetings sets the Meetings field's value.
 36448  func (s *ListMeetingsOutput) SetMeetings(v []*Meeting) *ListMeetingsOutput {
 36449  	s.Meetings = v
 36450  	return s
 36451  }
 36452  
 36453  // SetNextToken sets the NextToken field's value.
 36454  func (s *ListMeetingsOutput) SetNextToken(v string) *ListMeetingsOutput {
 36455  	s.NextToken = &v
 36456  	return s
 36457  }
 36458  
 36459  type ListPhoneNumberOrdersInput struct {
 36460  	_ struct{} `type:"structure" nopayload:"true"`
 36461  
 36462  	// The maximum number of results to return in a single call.
 36463  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 36464  
 36465  	// The token to use to retrieve the next page of results.
 36466  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 36467  }
 36468  
 36469  // String returns the string representation.
 36470  //
 36471  // API parameter values that are decorated as "sensitive" in the API will not
 36472  // be included in the string output. The member name will be present, but the
 36473  // value will be replaced with "sensitive".
 36474  func (s ListPhoneNumberOrdersInput) String() string {
 36475  	return awsutil.Prettify(s)
 36476  }
 36477  
 36478  // GoString returns the string representation.
 36479  //
 36480  // API parameter values that are decorated as "sensitive" in the API will not
 36481  // be included in the string output. The member name will be present, but the
 36482  // value will be replaced with "sensitive".
 36483  func (s ListPhoneNumberOrdersInput) GoString() string {
 36484  	return s.String()
 36485  }
 36486  
 36487  // Validate inspects the fields of the type to determine if they are valid.
 36488  func (s *ListPhoneNumberOrdersInput) Validate() error {
 36489  	invalidParams := request.ErrInvalidParams{Context: "ListPhoneNumberOrdersInput"}
 36490  	if s.MaxResults != nil && *s.MaxResults < 1 {
 36491  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 36492  	}
 36493  
 36494  	if invalidParams.Len() > 0 {
 36495  		return invalidParams
 36496  	}
 36497  	return nil
 36498  }
 36499  
 36500  // SetMaxResults sets the MaxResults field's value.
 36501  func (s *ListPhoneNumberOrdersInput) SetMaxResults(v int64) *ListPhoneNumberOrdersInput {
 36502  	s.MaxResults = &v
 36503  	return s
 36504  }
 36505  
 36506  // SetNextToken sets the NextToken field's value.
 36507  func (s *ListPhoneNumberOrdersInput) SetNextToken(v string) *ListPhoneNumberOrdersInput {
 36508  	s.NextToken = &v
 36509  	return s
 36510  }
 36511  
 36512  type ListPhoneNumberOrdersOutput struct {
 36513  	_ struct{} `type:"structure"`
 36514  
 36515  	// The token to use to retrieve the next page of results.
 36516  	NextToken *string `type:"string"`
 36517  
 36518  	// The phone number order details.
 36519  	PhoneNumberOrders []*PhoneNumberOrder `type:"list"`
 36520  }
 36521  
 36522  // String returns the string representation.
 36523  //
 36524  // API parameter values that are decorated as "sensitive" in the API will not
 36525  // be included in the string output. The member name will be present, but the
 36526  // value will be replaced with "sensitive".
 36527  func (s ListPhoneNumberOrdersOutput) String() string {
 36528  	return awsutil.Prettify(s)
 36529  }
 36530  
 36531  // GoString returns the string representation.
 36532  //
 36533  // API parameter values that are decorated as "sensitive" in the API will not
 36534  // be included in the string output. The member name will be present, but the
 36535  // value will be replaced with "sensitive".
 36536  func (s ListPhoneNumberOrdersOutput) GoString() string {
 36537  	return s.String()
 36538  }
 36539  
 36540  // SetNextToken sets the NextToken field's value.
 36541  func (s *ListPhoneNumberOrdersOutput) SetNextToken(v string) *ListPhoneNumberOrdersOutput {
 36542  	s.NextToken = &v
 36543  	return s
 36544  }
 36545  
 36546  // SetPhoneNumberOrders sets the PhoneNumberOrders field's value.
 36547  func (s *ListPhoneNumberOrdersOutput) SetPhoneNumberOrders(v []*PhoneNumberOrder) *ListPhoneNumberOrdersOutput {
 36548  	s.PhoneNumberOrders = v
 36549  	return s
 36550  }
 36551  
 36552  type ListPhoneNumbersInput struct {
 36553  	_ struct{} `type:"structure" nopayload:"true"`
 36554  
 36555  	// The filter to use to limit the number of results.
 36556  	FilterName *string `location:"querystring" locationName:"filter-name" type:"string" enum:"PhoneNumberAssociationName"`
 36557  
 36558  	// The value to use for the filter.
 36559  	FilterValue *string `location:"querystring" locationName:"filter-value" type:"string"`
 36560  
 36561  	// The maximum number of results to return in a single call.
 36562  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 36563  
 36564  	// The token to use to retrieve the next page of results.
 36565  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 36566  
 36567  	// The phone number product type.
 36568  	ProductType *string `location:"querystring" locationName:"product-type" type:"string" enum:"PhoneNumberProductType"`
 36569  
 36570  	// The phone number status.
 36571  	Status *string `location:"querystring" locationName:"status" type:"string" enum:"PhoneNumberStatus"`
 36572  }
 36573  
 36574  // String returns the string representation.
 36575  //
 36576  // API parameter values that are decorated as "sensitive" in the API will not
 36577  // be included in the string output. The member name will be present, but the
 36578  // value will be replaced with "sensitive".
 36579  func (s ListPhoneNumbersInput) String() string {
 36580  	return awsutil.Prettify(s)
 36581  }
 36582  
 36583  // GoString returns the string representation.
 36584  //
 36585  // API parameter values that are decorated as "sensitive" in the API will not
 36586  // be included in the string output. The member name will be present, but the
 36587  // value will be replaced with "sensitive".
 36588  func (s ListPhoneNumbersInput) GoString() string {
 36589  	return s.String()
 36590  }
 36591  
 36592  // Validate inspects the fields of the type to determine if they are valid.
 36593  func (s *ListPhoneNumbersInput) Validate() error {
 36594  	invalidParams := request.ErrInvalidParams{Context: "ListPhoneNumbersInput"}
 36595  	if s.MaxResults != nil && *s.MaxResults < 1 {
 36596  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 36597  	}
 36598  
 36599  	if invalidParams.Len() > 0 {
 36600  		return invalidParams
 36601  	}
 36602  	return nil
 36603  }
 36604  
 36605  // SetFilterName sets the FilterName field's value.
 36606  func (s *ListPhoneNumbersInput) SetFilterName(v string) *ListPhoneNumbersInput {
 36607  	s.FilterName = &v
 36608  	return s
 36609  }
 36610  
 36611  // SetFilterValue sets the FilterValue field's value.
 36612  func (s *ListPhoneNumbersInput) SetFilterValue(v string) *ListPhoneNumbersInput {
 36613  	s.FilterValue = &v
 36614  	return s
 36615  }
 36616  
 36617  // SetMaxResults sets the MaxResults field's value.
 36618  func (s *ListPhoneNumbersInput) SetMaxResults(v int64) *ListPhoneNumbersInput {
 36619  	s.MaxResults = &v
 36620  	return s
 36621  }
 36622  
 36623  // SetNextToken sets the NextToken field's value.
 36624  func (s *ListPhoneNumbersInput) SetNextToken(v string) *ListPhoneNumbersInput {
 36625  	s.NextToken = &v
 36626  	return s
 36627  }
 36628  
 36629  // SetProductType sets the ProductType field's value.
 36630  func (s *ListPhoneNumbersInput) SetProductType(v string) *ListPhoneNumbersInput {
 36631  	s.ProductType = &v
 36632  	return s
 36633  }
 36634  
 36635  // SetStatus sets the Status field's value.
 36636  func (s *ListPhoneNumbersInput) SetStatus(v string) *ListPhoneNumbersInput {
 36637  	s.Status = &v
 36638  	return s
 36639  }
 36640  
 36641  type ListPhoneNumbersOutput struct {
 36642  	_ struct{} `type:"structure"`
 36643  
 36644  	// The token to use to retrieve the next page of results.
 36645  	NextToken *string `type:"string"`
 36646  
 36647  	// The phone number details.
 36648  	PhoneNumbers []*PhoneNumber `type:"list"`
 36649  }
 36650  
 36651  // String returns the string representation.
 36652  //
 36653  // API parameter values that are decorated as "sensitive" in the API will not
 36654  // be included in the string output. The member name will be present, but the
 36655  // value will be replaced with "sensitive".
 36656  func (s ListPhoneNumbersOutput) String() string {
 36657  	return awsutil.Prettify(s)
 36658  }
 36659  
 36660  // GoString returns the string representation.
 36661  //
 36662  // API parameter values that are decorated as "sensitive" in the API will not
 36663  // be included in the string output. The member name will be present, but the
 36664  // value will be replaced with "sensitive".
 36665  func (s ListPhoneNumbersOutput) GoString() string {
 36666  	return s.String()
 36667  }
 36668  
 36669  // SetNextToken sets the NextToken field's value.
 36670  func (s *ListPhoneNumbersOutput) SetNextToken(v string) *ListPhoneNumbersOutput {
 36671  	s.NextToken = &v
 36672  	return s
 36673  }
 36674  
 36675  // SetPhoneNumbers sets the PhoneNumbers field's value.
 36676  func (s *ListPhoneNumbersOutput) SetPhoneNumbers(v []*PhoneNumber) *ListPhoneNumbersOutput {
 36677  	s.PhoneNumbers = v
 36678  	return s
 36679  }
 36680  
 36681  type ListProxySessionsInput struct {
 36682  	_ struct{} `type:"structure" nopayload:"true"`
 36683  
 36684  	// The maximum number of results to return in a single call.
 36685  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 36686  
 36687  	// The token to use to retrieve the next page of results.
 36688  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 36689  
 36690  	// The proxy session status.
 36691  	Status *string `location:"querystring" locationName:"status" type:"string" enum:"ProxySessionStatus"`
 36692  
 36693  	// The Amazon Chime voice connector ID.
 36694  	//
 36695  	// VoiceConnectorId is a required field
 36696  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" min:"1" type:"string" required:"true"`
 36697  }
 36698  
 36699  // String returns the string representation.
 36700  //
 36701  // API parameter values that are decorated as "sensitive" in the API will not
 36702  // be included in the string output. The member name will be present, but the
 36703  // value will be replaced with "sensitive".
 36704  func (s ListProxySessionsInput) String() string {
 36705  	return awsutil.Prettify(s)
 36706  }
 36707  
 36708  // GoString returns the string representation.
 36709  //
 36710  // API parameter values that are decorated as "sensitive" in the API will not
 36711  // be included in the string output. The member name will be present, but the
 36712  // value will be replaced with "sensitive".
 36713  func (s ListProxySessionsInput) GoString() string {
 36714  	return s.String()
 36715  }
 36716  
 36717  // Validate inspects the fields of the type to determine if they are valid.
 36718  func (s *ListProxySessionsInput) Validate() error {
 36719  	invalidParams := request.ErrInvalidParams{Context: "ListProxySessionsInput"}
 36720  	if s.MaxResults != nil && *s.MaxResults < 1 {
 36721  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 36722  	}
 36723  	if s.VoiceConnectorId == nil {
 36724  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 36725  	}
 36726  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 36727  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 36728  	}
 36729  
 36730  	if invalidParams.Len() > 0 {
 36731  		return invalidParams
 36732  	}
 36733  	return nil
 36734  }
 36735  
 36736  // SetMaxResults sets the MaxResults field's value.
 36737  func (s *ListProxySessionsInput) SetMaxResults(v int64) *ListProxySessionsInput {
 36738  	s.MaxResults = &v
 36739  	return s
 36740  }
 36741  
 36742  // SetNextToken sets the NextToken field's value.
 36743  func (s *ListProxySessionsInput) SetNextToken(v string) *ListProxySessionsInput {
 36744  	s.NextToken = &v
 36745  	return s
 36746  }
 36747  
 36748  // SetStatus sets the Status field's value.
 36749  func (s *ListProxySessionsInput) SetStatus(v string) *ListProxySessionsInput {
 36750  	s.Status = &v
 36751  	return s
 36752  }
 36753  
 36754  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 36755  func (s *ListProxySessionsInput) SetVoiceConnectorId(v string) *ListProxySessionsInput {
 36756  	s.VoiceConnectorId = &v
 36757  	return s
 36758  }
 36759  
 36760  type ListProxySessionsOutput struct {
 36761  	_ struct{} `type:"structure"`
 36762  
 36763  	// The token to use to retrieve the next page of results.
 36764  	NextToken *string `type:"string"`
 36765  
 36766  	// The proxy session details.
 36767  	ProxySessions []*ProxySession `type:"list"`
 36768  }
 36769  
 36770  // String returns the string representation.
 36771  //
 36772  // API parameter values that are decorated as "sensitive" in the API will not
 36773  // be included in the string output. The member name will be present, but the
 36774  // value will be replaced with "sensitive".
 36775  func (s ListProxySessionsOutput) String() string {
 36776  	return awsutil.Prettify(s)
 36777  }
 36778  
 36779  // GoString returns the string representation.
 36780  //
 36781  // API parameter values that are decorated as "sensitive" in the API will not
 36782  // be included in the string output. The member name will be present, but the
 36783  // value will be replaced with "sensitive".
 36784  func (s ListProxySessionsOutput) GoString() string {
 36785  	return s.String()
 36786  }
 36787  
 36788  // SetNextToken sets the NextToken field's value.
 36789  func (s *ListProxySessionsOutput) SetNextToken(v string) *ListProxySessionsOutput {
 36790  	s.NextToken = &v
 36791  	return s
 36792  }
 36793  
 36794  // SetProxySessions sets the ProxySessions field's value.
 36795  func (s *ListProxySessionsOutput) SetProxySessions(v []*ProxySession) *ListProxySessionsOutput {
 36796  	s.ProxySessions = v
 36797  	return s
 36798  }
 36799  
 36800  type ListRoomMembershipsInput struct {
 36801  	_ struct{} `type:"structure" nopayload:"true"`
 36802  
 36803  	// The Amazon Chime account ID.
 36804  	//
 36805  	// AccountId is a required field
 36806  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 36807  
 36808  	// The maximum number of results to return in a single call.
 36809  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 36810  
 36811  	// The token to use to retrieve the next page of results.
 36812  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 36813  
 36814  	// The room ID.
 36815  	//
 36816  	// RoomId is a required field
 36817  	RoomId *string `location:"uri" locationName:"roomId" type:"string" required:"true"`
 36818  }
 36819  
 36820  // String returns the string representation.
 36821  //
 36822  // API parameter values that are decorated as "sensitive" in the API will not
 36823  // be included in the string output. The member name will be present, but the
 36824  // value will be replaced with "sensitive".
 36825  func (s ListRoomMembershipsInput) String() string {
 36826  	return awsutil.Prettify(s)
 36827  }
 36828  
 36829  // GoString returns the string representation.
 36830  //
 36831  // API parameter values that are decorated as "sensitive" in the API will not
 36832  // be included in the string output. The member name will be present, but the
 36833  // value will be replaced with "sensitive".
 36834  func (s ListRoomMembershipsInput) GoString() string {
 36835  	return s.String()
 36836  }
 36837  
 36838  // Validate inspects the fields of the type to determine if they are valid.
 36839  func (s *ListRoomMembershipsInput) Validate() error {
 36840  	invalidParams := request.ErrInvalidParams{Context: "ListRoomMembershipsInput"}
 36841  	if s.AccountId == nil {
 36842  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 36843  	}
 36844  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 36845  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 36846  	}
 36847  	if s.MaxResults != nil && *s.MaxResults < 1 {
 36848  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 36849  	}
 36850  	if s.RoomId == nil {
 36851  		invalidParams.Add(request.NewErrParamRequired("RoomId"))
 36852  	}
 36853  	if s.RoomId != nil && len(*s.RoomId) < 1 {
 36854  		invalidParams.Add(request.NewErrParamMinLen("RoomId", 1))
 36855  	}
 36856  
 36857  	if invalidParams.Len() > 0 {
 36858  		return invalidParams
 36859  	}
 36860  	return nil
 36861  }
 36862  
 36863  // SetAccountId sets the AccountId field's value.
 36864  func (s *ListRoomMembershipsInput) SetAccountId(v string) *ListRoomMembershipsInput {
 36865  	s.AccountId = &v
 36866  	return s
 36867  }
 36868  
 36869  // SetMaxResults sets the MaxResults field's value.
 36870  func (s *ListRoomMembershipsInput) SetMaxResults(v int64) *ListRoomMembershipsInput {
 36871  	s.MaxResults = &v
 36872  	return s
 36873  }
 36874  
 36875  // SetNextToken sets the NextToken field's value.
 36876  func (s *ListRoomMembershipsInput) SetNextToken(v string) *ListRoomMembershipsInput {
 36877  	s.NextToken = &v
 36878  	return s
 36879  }
 36880  
 36881  // SetRoomId sets the RoomId field's value.
 36882  func (s *ListRoomMembershipsInput) SetRoomId(v string) *ListRoomMembershipsInput {
 36883  	s.RoomId = &v
 36884  	return s
 36885  }
 36886  
 36887  type ListRoomMembershipsOutput struct {
 36888  	_ struct{} `type:"structure"`
 36889  
 36890  	// The token to use to retrieve the next page of results.
 36891  	NextToken *string `type:"string"`
 36892  
 36893  	// The room membership details.
 36894  	RoomMemberships []*RoomMembership `type:"list"`
 36895  }
 36896  
 36897  // String returns the string representation.
 36898  //
 36899  // API parameter values that are decorated as "sensitive" in the API will not
 36900  // be included in the string output. The member name will be present, but the
 36901  // value will be replaced with "sensitive".
 36902  func (s ListRoomMembershipsOutput) String() string {
 36903  	return awsutil.Prettify(s)
 36904  }
 36905  
 36906  // GoString returns the string representation.
 36907  //
 36908  // API parameter values that are decorated as "sensitive" in the API will not
 36909  // be included in the string output. The member name will be present, but the
 36910  // value will be replaced with "sensitive".
 36911  func (s ListRoomMembershipsOutput) GoString() string {
 36912  	return s.String()
 36913  }
 36914  
 36915  // SetNextToken sets the NextToken field's value.
 36916  func (s *ListRoomMembershipsOutput) SetNextToken(v string) *ListRoomMembershipsOutput {
 36917  	s.NextToken = &v
 36918  	return s
 36919  }
 36920  
 36921  // SetRoomMemberships sets the RoomMemberships field's value.
 36922  func (s *ListRoomMembershipsOutput) SetRoomMemberships(v []*RoomMembership) *ListRoomMembershipsOutput {
 36923  	s.RoomMemberships = v
 36924  	return s
 36925  }
 36926  
 36927  type ListRoomsInput struct {
 36928  	_ struct{} `type:"structure" nopayload:"true"`
 36929  
 36930  	// The Amazon Chime account ID.
 36931  	//
 36932  	// AccountId is a required field
 36933  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 36934  
 36935  	// The maximum number of results to return in a single call.
 36936  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 36937  
 36938  	// The member ID (user ID or bot ID).
 36939  	MemberId *string `location:"querystring" locationName:"member-id" type:"string"`
 36940  
 36941  	// The token to use to retrieve the next page of results.
 36942  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 36943  }
 36944  
 36945  // String returns the string representation.
 36946  //
 36947  // API parameter values that are decorated as "sensitive" in the API will not
 36948  // be included in the string output. The member name will be present, but the
 36949  // value will be replaced with "sensitive".
 36950  func (s ListRoomsInput) String() string {
 36951  	return awsutil.Prettify(s)
 36952  }
 36953  
 36954  // GoString returns the string representation.
 36955  //
 36956  // API parameter values that are decorated as "sensitive" in the API will not
 36957  // be included in the string output. The member name will be present, but the
 36958  // value will be replaced with "sensitive".
 36959  func (s ListRoomsInput) GoString() string {
 36960  	return s.String()
 36961  }
 36962  
 36963  // Validate inspects the fields of the type to determine if they are valid.
 36964  func (s *ListRoomsInput) Validate() error {
 36965  	invalidParams := request.ErrInvalidParams{Context: "ListRoomsInput"}
 36966  	if s.AccountId == nil {
 36967  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 36968  	}
 36969  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 36970  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 36971  	}
 36972  	if s.MaxResults != nil && *s.MaxResults < 1 {
 36973  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 36974  	}
 36975  
 36976  	if invalidParams.Len() > 0 {
 36977  		return invalidParams
 36978  	}
 36979  	return nil
 36980  }
 36981  
 36982  // SetAccountId sets the AccountId field's value.
 36983  func (s *ListRoomsInput) SetAccountId(v string) *ListRoomsInput {
 36984  	s.AccountId = &v
 36985  	return s
 36986  }
 36987  
 36988  // SetMaxResults sets the MaxResults field's value.
 36989  func (s *ListRoomsInput) SetMaxResults(v int64) *ListRoomsInput {
 36990  	s.MaxResults = &v
 36991  	return s
 36992  }
 36993  
 36994  // SetMemberId sets the MemberId field's value.
 36995  func (s *ListRoomsInput) SetMemberId(v string) *ListRoomsInput {
 36996  	s.MemberId = &v
 36997  	return s
 36998  }
 36999  
 37000  // SetNextToken sets the NextToken field's value.
 37001  func (s *ListRoomsInput) SetNextToken(v string) *ListRoomsInput {
 37002  	s.NextToken = &v
 37003  	return s
 37004  }
 37005  
 37006  type ListRoomsOutput struct {
 37007  	_ struct{} `type:"structure"`
 37008  
 37009  	// The token to use to retrieve the next page of results.
 37010  	NextToken *string `type:"string"`
 37011  
 37012  	// The room details.
 37013  	Rooms []*Room `type:"list"`
 37014  }
 37015  
 37016  // String returns the string representation.
 37017  //
 37018  // API parameter values that are decorated as "sensitive" in the API will not
 37019  // be included in the string output. The member name will be present, but the
 37020  // value will be replaced with "sensitive".
 37021  func (s ListRoomsOutput) String() string {
 37022  	return awsutil.Prettify(s)
 37023  }
 37024  
 37025  // GoString returns the string representation.
 37026  //
 37027  // API parameter values that are decorated as "sensitive" in the API will not
 37028  // be included in the string output. The member name will be present, but the
 37029  // value will be replaced with "sensitive".
 37030  func (s ListRoomsOutput) GoString() string {
 37031  	return s.String()
 37032  }
 37033  
 37034  // SetNextToken sets the NextToken field's value.
 37035  func (s *ListRoomsOutput) SetNextToken(v string) *ListRoomsOutput {
 37036  	s.NextToken = &v
 37037  	return s
 37038  }
 37039  
 37040  // SetRooms sets the Rooms field's value.
 37041  func (s *ListRoomsOutput) SetRooms(v []*Room) *ListRoomsOutput {
 37042  	s.Rooms = v
 37043  	return s
 37044  }
 37045  
 37046  type ListSipMediaApplicationsInput struct {
 37047  	_ struct{} `type:"structure" nopayload:"true"`
 37048  
 37049  	// The maximum number of results to return in a single call. Defaults to 100.
 37050  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 37051  
 37052  	// The token to use to retrieve the next page of results.
 37053  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 37054  }
 37055  
 37056  // String returns the string representation.
 37057  //
 37058  // API parameter values that are decorated as "sensitive" in the API will not
 37059  // be included in the string output. The member name will be present, but the
 37060  // value will be replaced with "sensitive".
 37061  func (s ListSipMediaApplicationsInput) String() string {
 37062  	return awsutil.Prettify(s)
 37063  }
 37064  
 37065  // GoString returns the string representation.
 37066  //
 37067  // API parameter values that are decorated as "sensitive" in the API will not
 37068  // be included in the string output. The member name will be present, but the
 37069  // value will be replaced with "sensitive".
 37070  func (s ListSipMediaApplicationsInput) GoString() string {
 37071  	return s.String()
 37072  }
 37073  
 37074  // Validate inspects the fields of the type to determine if they are valid.
 37075  func (s *ListSipMediaApplicationsInput) Validate() error {
 37076  	invalidParams := request.ErrInvalidParams{Context: "ListSipMediaApplicationsInput"}
 37077  	if s.MaxResults != nil && *s.MaxResults < 1 {
 37078  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 37079  	}
 37080  
 37081  	if invalidParams.Len() > 0 {
 37082  		return invalidParams
 37083  	}
 37084  	return nil
 37085  }
 37086  
 37087  // SetMaxResults sets the MaxResults field's value.
 37088  func (s *ListSipMediaApplicationsInput) SetMaxResults(v int64) *ListSipMediaApplicationsInput {
 37089  	s.MaxResults = &v
 37090  	return s
 37091  }
 37092  
 37093  // SetNextToken sets the NextToken field's value.
 37094  func (s *ListSipMediaApplicationsInput) SetNextToken(v string) *ListSipMediaApplicationsInput {
 37095  	s.NextToken = &v
 37096  	return s
 37097  }
 37098  
 37099  type ListSipMediaApplicationsOutput struct {
 37100  	_ struct{} `type:"structure"`
 37101  
 37102  	// The token to use to retrieve the next page of results.
 37103  	NextToken *string `type:"string"`
 37104  
 37105  	// List of SIP media applications and application details.
 37106  	SipMediaApplications []*SipMediaApplication `type:"list"`
 37107  }
 37108  
 37109  // String returns the string representation.
 37110  //
 37111  // API parameter values that are decorated as "sensitive" in the API will not
 37112  // be included in the string output. The member name will be present, but the
 37113  // value will be replaced with "sensitive".
 37114  func (s ListSipMediaApplicationsOutput) String() string {
 37115  	return awsutil.Prettify(s)
 37116  }
 37117  
 37118  // GoString returns the string representation.
 37119  //
 37120  // API parameter values that are decorated as "sensitive" in the API will not
 37121  // be included in the string output. The member name will be present, but the
 37122  // value will be replaced with "sensitive".
 37123  func (s ListSipMediaApplicationsOutput) GoString() string {
 37124  	return s.String()
 37125  }
 37126  
 37127  // SetNextToken sets the NextToken field's value.
 37128  func (s *ListSipMediaApplicationsOutput) SetNextToken(v string) *ListSipMediaApplicationsOutput {
 37129  	s.NextToken = &v
 37130  	return s
 37131  }
 37132  
 37133  // SetSipMediaApplications sets the SipMediaApplications field's value.
 37134  func (s *ListSipMediaApplicationsOutput) SetSipMediaApplications(v []*SipMediaApplication) *ListSipMediaApplicationsOutput {
 37135  	s.SipMediaApplications = v
 37136  	return s
 37137  }
 37138  
 37139  type ListSipRulesInput struct {
 37140  	_ struct{} `type:"structure" nopayload:"true"`
 37141  
 37142  	// The maximum number of results to return in a single call. Defaults to 100.
 37143  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 37144  
 37145  	// The token to use to retrieve the next page of results.
 37146  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 37147  
 37148  	// The SIP media application ID.
 37149  	SipMediaApplicationId *string `location:"querystring" locationName:"sip-media-application" type:"string"`
 37150  }
 37151  
 37152  // String returns the string representation.
 37153  //
 37154  // API parameter values that are decorated as "sensitive" in the API will not
 37155  // be included in the string output. The member name will be present, but the
 37156  // value will be replaced with "sensitive".
 37157  func (s ListSipRulesInput) String() string {
 37158  	return awsutil.Prettify(s)
 37159  }
 37160  
 37161  // GoString returns the string representation.
 37162  //
 37163  // API parameter values that are decorated as "sensitive" in the API will not
 37164  // be included in the string output. The member name will be present, but the
 37165  // value will be replaced with "sensitive".
 37166  func (s ListSipRulesInput) GoString() string {
 37167  	return s.String()
 37168  }
 37169  
 37170  // Validate inspects the fields of the type to determine if they are valid.
 37171  func (s *ListSipRulesInput) Validate() error {
 37172  	invalidParams := request.ErrInvalidParams{Context: "ListSipRulesInput"}
 37173  	if s.MaxResults != nil && *s.MaxResults < 1 {
 37174  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 37175  	}
 37176  
 37177  	if invalidParams.Len() > 0 {
 37178  		return invalidParams
 37179  	}
 37180  	return nil
 37181  }
 37182  
 37183  // SetMaxResults sets the MaxResults field's value.
 37184  func (s *ListSipRulesInput) SetMaxResults(v int64) *ListSipRulesInput {
 37185  	s.MaxResults = &v
 37186  	return s
 37187  }
 37188  
 37189  // SetNextToken sets the NextToken field's value.
 37190  func (s *ListSipRulesInput) SetNextToken(v string) *ListSipRulesInput {
 37191  	s.NextToken = &v
 37192  	return s
 37193  }
 37194  
 37195  // SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
 37196  func (s *ListSipRulesInput) SetSipMediaApplicationId(v string) *ListSipRulesInput {
 37197  	s.SipMediaApplicationId = &v
 37198  	return s
 37199  }
 37200  
 37201  type ListSipRulesOutput struct {
 37202  	_ struct{} `type:"structure"`
 37203  
 37204  	// The token to use to retrieve the next page of results.
 37205  	NextToken *string `type:"string"`
 37206  
 37207  	// List of SIP rules and rule details.
 37208  	SipRules []*SipRule `type:"list"`
 37209  }
 37210  
 37211  // String returns the string representation.
 37212  //
 37213  // API parameter values that are decorated as "sensitive" in the API will not
 37214  // be included in the string output. The member name will be present, but the
 37215  // value will be replaced with "sensitive".
 37216  func (s ListSipRulesOutput) String() string {
 37217  	return awsutil.Prettify(s)
 37218  }
 37219  
 37220  // GoString returns the string representation.
 37221  //
 37222  // API parameter values that are decorated as "sensitive" in the API will not
 37223  // be included in the string output. The member name will be present, but the
 37224  // value will be replaced with "sensitive".
 37225  func (s ListSipRulesOutput) GoString() string {
 37226  	return s.String()
 37227  }
 37228  
 37229  // SetNextToken sets the NextToken field's value.
 37230  func (s *ListSipRulesOutput) SetNextToken(v string) *ListSipRulesOutput {
 37231  	s.NextToken = &v
 37232  	return s
 37233  }
 37234  
 37235  // SetSipRules sets the SipRules field's value.
 37236  func (s *ListSipRulesOutput) SetSipRules(v []*SipRule) *ListSipRulesOutput {
 37237  	s.SipRules = v
 37238  	return s
 37239  }
 37240  
 37241  type ListSupportedPhoneNumberCountriesInput struct {
 37242  	_ struct{} `type:"structure" nopayload:"true"`
 37243  
 37244  	// The phone number product type.
 37245  	//
 37246  	// ProductType is a required field
 37247  	ProductType *string `location:"querystring" locationName:"product-type" type:"string" required:"true" enum:"PhoneNumberProductType"`
 37248  }
 37249  
 37250  // String returns the string representation.
 37251  //
 37252  // API parameter values that are decorated as "sensitive" in the API will not
 37253  // be included in the string output. The member name will be present, but the
 37254  // value will be replaced with "sensitive".
 37255  func (s ListSupportedPhoneNumberCountriesInput) String() string {
 37256  	return awsutil.Prettify(s)
 37257  }
 37258  
 37259  // GoString returns the string representation.
 37260  //
 37261  // API parameter values that are decorated as "sensitive" in the API will not
 37262  // be included in the string output. The member name will be present, but the
 37263  // value will be replaced with "sensitive".
 37264  func (s ListSupportedPhoneNumberCountriesInput) GoString() string {
 37265  	return s.String()
 37266  }
 37267  
 37268  // Validate inspects the fields of the type to determine if they are valid.
 37269  func (s *ListSupportedPhoneNumberCountriesInput) Validate() error {
 37270  	invalidParams := request.ErrInvalidParams{Context: "ListSupportedPhoneNumberCountriesInput"}
 37271  	if s.ProductType == nil {
 37272  		invalidParams.Add(request.NewErrParamRequired("ProductType"))
 37273  	}
 37274  
 37275  	if invalidParams.Len() > 0 {
 37276  		return invalidParams
 37277  	}
 37278  	return nil
 37279  }
 37280  
 37281  // SetProductType sets the ProductType field's value.
 37282  func (s *ListSupportedPhoneNumberCountriesInput) SetProductType(v string) *ListSupportedPhoneNumberCountriesInput {
 37283  	s.ProductType = &v
 37284  	return s
 37285  }
 37286  
 37287  type ListSupportedPhoneNumberCountriesOutput struct {
 37288  	_ struct{} `type:"structure"`
 37289  
 37290  	// The supported phone number countries.
 37291  	PhoneNumberCountries []*PhoneNumberCountry `type:"list"`
 37292  }
 37293  
 37294  // String returns the string representation.
 37295  //
 37296  // API parameter values that are decorated as "sensitive" in the API will not
 37297  // be included in the string output. The member name will be present, but the
 37298  // value will be replaced with "sensitive".
 37299  func (s ListSupportedPhoneNumberCountriesOutput) String() string {
 37300  	return awsutil.Prettify(s)
 37301  }
 37302  
 37303  // GoString returns the string representation.
 37304  //
 37305  // API parameter values that are decorated as "sensitive" in the API will not
 37306  // be included in the string output. The member name will be present, but the
 37307  // value will be replaced with "sensitive".
 37308  func (s ListSupportedPhoneNumberCountriesOutput) GoString() string {
 37309  	return s.String()
 37310  }
 37311  
 37312  // SetPhoneNumberCountries sets the PhoneNumberCountries field's value.
 37313  func (s *ListSupportedPhoneNumberCountriesOutput) SetPhoneNumberCountries(v []*PhoneNumberCountry) *ListSupportedPhoneNumberCountriesOutput {
 37314  	s.PhoneNumberCountries = v
 37315  	return s
 37316  }
 37317  
 37318  type ListTagsForResourceInput struct {
 37319  	_ struct{} `type:"structure" nopayload:"true"`
 37320  
 37321  	// The resource ARN.
 37322  	//
 37323  	// ResourceARN is a sensitive parameter and its value will be
 37324  	// replaced with "sensitive" in string returned by ListTagsForResourceInput's
 37325  	// String and GoString methods.
 37326  	//
 37327  	// ResourceARN is a required field
 37328  	ResourceARN *string `location:"querystring" locationName:"arn" min:"1" type:"string" required:"true" sensitive:"true"`
 37329  }
 37330  
 37331  // String returns the string representation.
 37332  //
 37333  // API parameter values that are decorated as "sensitive" in the API will not
 37334  // be included in the string output. The member name will be present, but the
 37335  // value will be replaced with "sensitive".
 37336  func (s ListTagsForResourceInput) String() string {
 37337  	return awsutil.Prettify(s)
 37338  }
 37339  
 37340  // GoString returns the string representation.
 37341  //
 37342  // API parameter values that are decorated as "sensitive" in the API will not
 37343  // be included in the string output. The member name will be present, but the
 37344  // value will be replaced with "sensitive".
 37345  func (s ListTagsForResourceInput) GoString() string {
 37346  	return s.String()
 37347  }
 37348  
 37349  // Validate inspects the fields of the type to determine if they are valid.
 37350  func (s *ListTagsForResourceInput) Validate() error {
 37351  	invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
 37352  	if s.ResourceARN == nil {
 37353  		invalidParams.Add(request.NewErrParamRequired("ResourceARN"))
 37354  	}
 37355  	if s.ResourceARN != nil && len(*s.ResourceARN) < 1 {
 37356  		invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1))
 37357  	}
 37358  
 37359  	if invalidParams.Len() > 0 {
 37360  		return invalidParams
 37361  	}
 37362  	return nil
 37363  }
 37364  
 37365  // SetResourceARN sets the ResourceARN field's value.
 37366  func (s *ListTagsForResourceInput) SetResourceARN(v string) *ListTagsForResourceInput {
 37367  	s.ResourceARN = &v
 37368  	return s
 37369  }
 37370  
 37371  type ListTagsForResourceOutput struct {
 37372  	_ struct{} `type:"structure"`
 37373  
 37374  	// A list of tag-key value pairs.
 37375  	Tags []*Tag `min:"1" type:"list"`
 37376  }
 37377  
 37378  // String returns the string representation.
 37379  //
 37380  // API parameter values that are decorated as "sensitive" in the API will not
 37381  // be included in the string output. The member name will be present, but the
 37382  // value will be replaced with "sensitive".
 37383  func (s ListTagsForResourceOutput) String() string {
 37384  	return awsutil.Prettify(s)
 37385  }
 37386  
 37387  // GoString returns the string representation.
 37388  //
 37389  // API parameter values that are decorated as "sensitive" in the API will not
 37390  // be included in the string output. The member name will be present, but the
 37391  // value will be replaced with "sensitive".
 37392  func (s ListTagsForResourceOutput) GoString() string {
 37393  	return s.String()
 37394  }
 37395  
 37396  // SetTags sets the Tags field's value.
 37397  func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput {
 37398  	s.Tags = v
 37399  	return s
 37400  }
 37401  
 37402  type ListUsersInput struct {
 37403  	_ struct{} `type:"structure" nopayload:"true"`
 37404  
 37405  	// The Amazon Chime account ID.
 37406  	//
 37407  	// AccountId is a required field
 37408  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 37409  
 37410  	// The maximum number of results to return in a single call. Defaults to 100.
 37411  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 37412  
 37413  	// The token to use to retrieve the next page of results.
 37414  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 37415  
 37416  	// Optional. The user email address used to filter results. Maximum 1.
 37417  	//
 37418  	// UserEmail is a sensitive parameter and its value will be
 37419  	// replaced with "sensitive" in string returned by ListUsersInput's
 37420  	// String and GoString methods.
 37421  	UserEmail *string `location:"querystring" locationName:"user-email" type:"string" sensitive:"true"`
 37422  
 37423  	// The user type.
 37424  	UserType *string `location:"querystring" locationName:"user-type" type:"string" enum:"UserType"`
 37425  }
 37426  
 37427  // String returns the string representation.
 37428  //
 37429  // API parameter values that are decorated as "sensitive" in the API will not
 37430  // be included in the string output. The member name will be present, but the
 37431  // value will be replaced with "sensitive".
 37432  func (s ListUsersInput) String() string {
 37433  	return awsutil.Prettify(s)
 37434  }
 37435  
 37436  // GoString returns the string representation.
 37437  //
 37438  // API parameter values that are decorated as "sensitive" in the API will not
 37439  // be included in the string output. The member name will be present, but the
 37440  // value will be replaced with "sensitive".
 37441  func (s ListUsersInput) GoString() string {
 37442  	return s.String()
 37443  }
 37444  
 37445  // Validate inspects the fields of the type to determine if they are valid.
 37446  func (s *ListUsersInput) Validate() error {
 37447  	invalidParams := request.ErrInvalidParams{Context: "ListUsersInput"}
 37448  	if s.AccountId == nil {
 37449  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 37450  	}
 37451  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 37452  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 37453  	}
 37454  	if s.MaxResults != nil && *s.MaxResults < 1 {
 37455  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 37456  	}
 37457  
 37458  	if invalidParams.Len() > 0 {
 37459  		return invalidParams
 37460  	}
 37461  	return nil
 37462  }
 37463  
 37464  // SetAccountId sets the AccountId field's value.
 37465  func (s *ListUsersInput) SetAccountId(v string) *ListUsersInput {
 37466  	s.AccountId = &v
 37467  	return s
 37468  }
 37469  
 37470  // SetMaxResults sets the MaxResults field's value.
 37471  func (s *ListUsersInput) SetMaxResults(v int64) *ListUsersInput {
 37472  	s.MaxResults = &v
 37473  	return s
 37474  }
 37475  
 37476  // SetNextToken sets the NextToken field's value.
 37477  func (s *ListUsersInput) SetNextToken(v string) *ListUsersInput {
 37478  	s.NextToken = &v
 37479  	return s
 37480  }
 37481  
 37482  // SetUserEmail sets the UserEmail field's value.
 37483  func (s *ListUsersInput) SetUserEmail(v string) *ListUsersInput {
 37484  	s.UserEmail = &v
 37485  	return s
 37486  }
 37487  
 37488  // SetUserType sets the UserType field's value.
 37489  func (s *ListUsersInput) SetUserType(v string) *ListUsersInput {
 37490  	s.UserType = &v
 37491  	return s
 37492  }
 37493  
 37494  type ListUsersOutput struct {
 37495  	_ struct{} `type:"structure"`
 37496  
 37497  	// The token to use to retrieve the next page of results.
 37498  	NextToken *string `type:"string"`
 37499  
 37500  	// List of users and user details.
 37501  	Users []*User `type:"list"`
 37502  }
 37503  
 37504  // String returns the string representation.
 37505  //
 37506  // API parameter values that are decorated as "sensitive" in the API will not
 37507  // be included in the string output. The member name will be present, but the
 37508  // value will be replaced with "sensitive".
 37509  func (s ListUsersOutput) String() string {
 37510  	return awsutil.Prettify(s)
 37511  }
 37512  
 37513  // GoString returns the string representation.
 37514  //
 37515  // API parameter values that are decorated as "sensitive" in the API will not
 37516  // be included in the string output. The member name will be present, but the
 37517  // value will be replaced with "sensitive".
 37518  func (s ListUsersOutput) GoString() string {
 37519  	return s.String()
 37520  }
 37521  
 37522  // SetNextToken sets the NextToken field's value.
 37523  func (s *ListUsersOutput) SetNextToken(v string) *ListUsersOutput {
 37524  	s.NextToken = &v
 37525  	return s
 37526  }
 37527  
 37528  // SetUsers sets the Users field's value.
 37529  func (s *ListUsersOutput) SetUsers(v []*User) *ListUsersOutput {
 37530  	s.Users = v
 37531  	return s
 37532  }
 37533  
 37534  type ListVoiceConnectorGroupsInput struct {
 37535  	_ struct{} `type:"structure" nopayload:"true"`
 37536  
 37537  	// The maximum number of results to return in a single call.
 37538  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 37539  
 37540  	// The token to use to retrieve the next page of results.
 37541  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 37542  }
 37543  
 37544  // String returns the string representation.
 37545  //
 37546  // API parameter values that are decorated as "sensitive" in the API will not
 37547  // be included in the string output. The member name will be present, but the
 37548  // value will be replaced with "sensitive".
 37549  func (s ListVoiceConnectorGroupsInput) String() string {
 37550  	return awsutil.Prettify(s)
 37551  }
 37552  
 37553  // GoString returns the string representation.
 37554  //
 37555  // API parameter values that are decorated as "sensitive" in the API will not
 37556  // be included in the string output. The member name will be present, but the
 37557  // value will be replaced with "sensitive".
 37558  func (s ListVoiceConnectorGroupsInput) GoString() string {
 37559  	return s.String()
 37560  }
 37561  
 37562  // Validate inspects the fields of the type to determine if they are valid.
 37563  func (s *ListVoiceConnectorGroupsInput) Validate() error {
 37564  	invalidParams := request.ErrInvalidParams{Context: "ListVoiceConnectorGroupsInput"}
 37565  	if s.MaxResults != nil && *s.MaxResults < 1 {
 37566  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 37567  	}
 37568  
 37569  	if invalidParams.Len() > 0 {
 37570  		return invalidParams
 37571  	}
 37572  	return nil
 37573  }
 37574  
 37575  // SetMaxResults sets the MaxResults field's value.
 37576  func (s *ListVoiceConnectorGroupsInput) SetMaxResults(v int64) *ListVoiceConnectorGroupsInput {
 37577  	s.MaxResults = &v
 37578  	return s
 37579  }
 37580  
 37581  // SetNextToken sets the NextToken field's value.
 37582  func (s *ListVoiceConnectorGroupsInput) SetNextToken(v string) *ListVoiceConnectorGroupsInput {
 37583  	s.NextToken = &v
 37584  	return s
 37585  }
 37586  
 37587  type ListVoiceConnectorGroupsOutput struct {
 37588  	_ struct{} `type:"structure"`
 37589  
 37590  	// The token to use to retrieve the next page of results.
 37591  	NextToken *string `type:"string"`
 37592  
 37593  	// The details of the Amazon Chime Voice Connector groups.
 37594  	VoiceConnectorGroups []*VoiceConnectorGroup `type:"list"`
 37595  }
 37596  
 37597  // String returns the string representation.
 37598  //
 37599  // API parameter values that are decorated as "sensitive" in the API will not
 37600  // be included in the string output. The member name will be present, but the
 37601  // value will be replaced with "sensitive".
 37602  func (s ListVoiceConnectorGroupsOutput) String() string {
 37603  	return awsutil.Prettify(s)
 37604  }
 37605  
 37606  // GoString returns the string representation.
 37607  //
 37608  // API parameter values that are decorated as "sensitive" in the API will not
 37609  // be included in the string output. The member name will be present, but the
 37610  // value will be replaced with "sensitive".
 37611  func (s ListVoiceConnectorGroupsOutput) GoString() string {
 37612  	return s.String()
 37613  }
 37614  
 37615  // SetNextToken sets the NextToken field's value.
 37616  func (s *ListVoiceConnectorGroupsOutput) SetNextToken(v string) *ListVoiceConnectorGroupsOutput {
 37617  	s.NextToken = &v
 37618  	return s
 37619  }
 37620  
 37621  // SetVoiceConnectorGroups sets the VoiceConnectorGroups field's value.
 37622  func (s *ListVoiceConnectorGroupsOutput) SetVoiceConnectorGroups(v []*VoiceConnectorGroup) *ListVoiceConnectorGroupsOutput {
 37623  	s.VoiceConnectorGroups = v
 37624  	return s
 37625  }
 37626  
 37627  type ListVoiceConnectorTerminationCredentialsInput struct {
 37628  	_ struct{} `type:"structure" nopayload:"true"`
 37629  
 37630  	// The Amazon Chime Voice Connector ID.
 37631  	//
 37632  	// VoiceConnectorId is a required field
 37633  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 37634  }
 37635  
 37636  // String returns the string representation.
 37637  //
 37638  // API parameter values that are decorated as "sensitive" in the API will not
 37639  // be included in the string output. The member name will be present, but the
 37640  // value will be replaced with "sensitive".
 37641  func (s ListVoiceConnectorTerminationCredentialsInput) String() string {
 37642  	return awsutil.Prettify(s)
 37643  }
 37644  
 37645  // GoString returns the string representation.
 37646  //
 37647  // API parameter values that are decorated as "sensitive" in the API will not
 37648  // be included in the string output. The member name will be present, but the
 37649  // value will be replaced with "sensitive".
 37650  func (s ListVoiceConnectorTerminationCredentialsInput) GoString() string {
 37651  	return s.String()
 37652  }
 37653  
 37654  // Validate inspects the fields of the type to determine if they are valid.
 37655  func (s *ListVoiceConnectorTerminationCredentialsInput) Validate() error {
 37656  	invalidParams := request.ErrInvalidParams{Context: "ListVoiceConnectorTerminationCredentialsInput"}
 37657  	if s.VoiceConnectorId == nil {
 37658  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 37659  	}
 37660  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 37661  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 37662  	}
 37663  
 37664  	if invalidParams.Len() > 0 {
 37665  		return invalidParams
 37666  	}
 37667  	return nil
 37668  }
 37669  
 37670  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 37671  func (s *ListVoiceConnectorTerminationCredentialsInput) SetVoiceConnectorId(v string) *ListVoiceConnectorTerminationCredentialsInput {
 37672  	s.VoiceConnectorId = &v
 37673  	return s
 37674  }
 37675  
 37676  type ListVoiceConnectorTerminationCredentialsOutput struct {
 37677  	_ struct{} `type:"structure"`
 37678  
 37679  	// A list of user names.
 37680  	Usernames []*string `type:"list"`
 37681  }
 37682  
 37683  // String returns the string representation.
 37684  //
 37685  // API parameter values that are decorated as "sensitive" in the API will not
 37686  // be included in the string output. The member name will be present, but the
 37687  // value will be replaced with "sensitive".
 37688  func (s ListVoiceConnectorTerminationCredentialsOutput) String() string {
 37689  	return awsutil.Prettify(s)
 37690  }
 37691  
 37692  // GoString returns the string representation.
 37693  //
 37694  // API parameter values that are decorated as "sensitive" in the API will not
 37695  // be included in the string output. The member name will be present, but the
 37696  // value will be replaced with "sensitive".
 37697  func (s ListVoiceConnectorTerminationCredentialsOutput) GoString() string {
 37698  	return s.String()
 37699  }
 37700  
 37701  // SetUsernames sets the Usernames field's value.
 37702  func (s *ListVoiceConnectorTerminationCredentialsOutput) SetUsernames(v []*string) *ListVoiceConnectorTerminationCredentialsOutput {
 37703  	s.Usernames = v
 37704  	return s
 37705  }
 37706  
 37707  type ListVoiceConnectorsInput struct {
 37708  	_ struct{} `type:"structure" nopayload:"true"`
 37709  
 37710  	// The maximum number of results to return in a single call.
 37711  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 37712  
 37713  	// The token to use to retrieve the next page of results.
 37714  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 37715  }
 37716  
 37717  // String returns the string representation.
 37718  //
 37719  // API parameter values that are decorated as "sensitive" in the API will not
 37720  // be included in the string output. The member name will be present, but the
 37721  // value will be replaced with "sensitive".
 37722  func (s ListVoiceConnectorsInput) String() string {
 37723  	return awsutil.Prettify(s)
 37724  }
 37725  
 37726  // GoString returns the string representation.
 37727  //
 37728  // API parameter values that are decorated as "sensitive" in the API will not
 37729  // be included in the string output. The member name will be present, but the
 37730  // value will be replaced with "sensitive".
 37731  func (s ListVoiceConnectorsInput) GoString() string {
 37732  	return s.String()
 37733  }
 37734  
 37735  // Validate inspects the fields of the type to determine if they are valid.
 37736  func (s *ListVoiceConnectorsInput) Validate() error {
 37737  	invalidParams := request.ErrInvalidParams{Context: "ListVoiceConnectorsInput"}
 37738  	if s.MaxResults != nil && *s.MaxResults < 1 {
 37739  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 37740  	}
 37741  
 37742  	if invalidParams.Len() > 0 {
 37743  		return invalidParams
 37744  	}
 37745  	return nil
 37746  }
 37747  
 37748  // SetMaxResults sets the MaxResults field's value.
 37749  func (s *ListVoiceConnectorsInput) SetMaxResults(v int64) *ListVoiceConnectorsInput {
 37750  	s.MaxResults = &v
 37751  	return s
 37752  }
 37753  
 37754  // SetNextToken sets the NextToken field's value.
 37755  func (s *ListVoiceConnectorsInput) SetNextToken(v string) *ListVoiceConnectorsInput {
 37756  	s.NextToken = &v
 37757  	return s
 37758  }
 37759  
 37760  type ListVoiceConnectorsOutput struct {
 37761  	_ struct{} `type:"structure"`
 37762  
 37763  	// The token to use to retrieve the next page of results.
 37764  	NextToken *string `type:"string"`
 37765  
 37766  	// The details of the Amazon Chime Voice Connectors.
 37767  	VoiceConnectors []*VoiceConnector `type:"list"`
 37768  }
 37769  
 37770  // String returns the string representation.
 37771  //
 37772  // API parameter values that are decorated as "sensitive" in the API will not
 37773  // be included in the string output. The member name will be present, but the
 37774  // value will be replaced with "sensitive".
 37775  func (s ListVoiceConnectorsOutput) String() string {
 37776  	return awsutil.Prettify(s)
 37777  }
 37778  
 37779  // GoString returns the string representation.
 37780  //
 37781  // API parameter values that are decorated as "sensitive" in the API will not
 37782  // be included in the string output. The member name will be present, but the
 37783  // value will be replaced with "sensitive".
 37784  func (s ListVoiceConnectorsOutput) GoString() string {
 37785  	return s.String()
 37786  }
 37787  
 37788  // SetNextToken sets the NextToken field's value.
 37789  func (s *ListVoiceConnectorsOutput) SetNextToken(v string) *ListVoiceConnectorsOutput {
 37790  	s.NextToken = &v
 37791  	return s
 37792  }
 37793  
 37794  // SetVoiceConnectors sets the VoiceConnectors field's value.
 37795  func (s *ListVoiceConnectorsOutput) SetVoiceConnectors(v []*VoiceConnector) *ListVoiceConnectorsOutput {
 37796  	s.VoiceConnectors = v
 37797  	return s
 37798  }
 37799  
 37800  // The logging configuration associated with an Amazon Chime Voice Connector.
 37801  // Specifies whether SIP message logs are enabled for sending to Amazon CloudWatch
 37802  // Logs.
 37803  type LoggingConfiguration struct {
 37804  	_ struct{} `type:"structure"`
 37805  
 37806  	// When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
 37807  	EnableSIPLogs *bool `type:"boolean"`
 37808  }
 37809  
 37810  // String returns the string representation.
 37811  //
 37812  // API parameter values that are decorated as "sensitive" in the API will not
 37813  // be included in the string output. The member name will be present, but the
 37814  // value will be replaced with "sensitive".
 37815  func (s LoggingConfiguration) String() string {
 37816  	return awsutil.Prettify(s)
 37817  }
 37818  
 37819  // GoString returns the string representation.
 37820  //
 37821  // API parameter values that are decorated as "sensitive" in the API will not
 37822  // be included in the string output. The member name will be present, but the
 37823  // value will be replaced with "sensitive".
 37824  func (s LoggingConfiguration) GoString() string {
 37825  	return s.String()
 37826  }
 37827  
 37828  // SetEnableSIPLogs sets the EnableSIPLogs field's value.
 37829  func (s *LoggingConfiguration) SetEnableSIPLogs(v bool) *LoggingConfiguration {
 37830  	s.EnableSIPLogs = &v
 37831  	return s
 37832  }
 37833  
 37834  type LogoutUserInput struct {
 37835  	_ struct{} `type:"structure" nopayload:"true"`
 37836  
 37837  	// The Amazon Chime account ID.
 37838  	//
 37839  	// AccountId is a required field
 37840  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 37841  
 37842  	// The user ID.
 37843  	//
 37844  	// UserId is a required field
 37845  	UserId *string `location:"uri" locationName:"userId" type:"string" required:"true"`
 37846  }
 37847  
 37848  // String returns the string representation.
 37849  //
 37850  // API parameter values that are decorated as "sensitive" in the API will not
 37851  // be included in the string output. The member name will be present, but the
 37852  // value will be replaced with "sensitive".
 37853  func (s LogoutUserInput) String() string {
 37854  	return awsutil.Prettify(s)
 37855  }
 37856  
 37857  // GoString returns the string representation.
 37858  //
 37859  // API parameter values that are decorated as "sensitive" in the API will not
 37860  // be included in the string output. The member name will be present, but the
 37861  // value will be replaced with "sensitive".
 37862  func (s LogoutUserInput) GoString() string {
 37863  	return s.String()
 37864  }
 37865  
 37866  // Validate inspects the fields of the type to determine if they are valid.
 37867  func (s *LogoutUserInput) Validate() error {
 37868  	invalidParams := request.ErrInvalidParams{Context: "LogoutUserInput"}
 37869  	if s.AccountId == nil {
 37870  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 37871  	}
 37872  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 37873  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 37874  	}
 37875  	if s.UserId == nil {
 37876  		invalidParams.Add(request.NewErrParamRequired("UserId"))
 37877  	}
 37878  	if s.UserId != nil && len(*s.UserId) < 1 {
 37879  		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
 37880  	}
 37881  
 37882  	if invalidParams.Len() > 0 {
 37883  		return invalidParams
 37884  	}
 37885  	return nil
 37886  }
 37887  
 37888  // SetAccountId sets the AccountId field's value.
 37889  func (s *LogoutUserInput) SetAccountId(v string) *LogoutUserInput {
 37890  	s.AccountId = &v
 37891  	return s
 37892  }
 37893  
 37894  // SetUserId sets the UserId field's value.
 37895  func (s *LogoutUserInput) SetUserId(v string) *LogoutUserInput {
 37896  	s.UserId = &v
 37897  	return s
 37898  }
 37899  
 37900  type LogoutUserOutput struct {
 37901  	_ struct{} `type:"structure" nopayload:"true"`
 37902  }
 37903  
 37904  // String returns the string representation.
 37905  //
 37906  // API parameter values that are decorated as "sensitive" in the API will not
 37907  // be included in the string output. The member name will be present, but the
 37908  // value will be replaced with "sensitive".
 37909  func (s LogoutUserOutput) String() string {
 37910  	return awsutil.Prettify(s)
 37911  }
 37912  
 37913  // GoString returns the string representation.
 37914  //
 37915  // API parameter values that are decorated as "sensitive" in the API will not
 37916  // be included in the string output. The member name will be present, but the
 37917  // value will be replaced with "sensitive".
 37918  func (s LogoutUserOutput) GoString() string {
 37919  	return s.String()
 37920  }
 37921  
 37922  // A media capture pipeline object consisting of an ID, source type, source
 37923  // ARN, a sink type, a sink ARN, and a configuration object.
 37924  type MediaCapturePipeline struct {
 37925  	_ struct{} `type:"structure"`
 37926  
 37927  	// The configuration for a specified media capture pipeline. SourceType must
 37928  	// be ChimeSdkMeeting.
 37929  	ChimeSdkMeetingConfiguration *ChimeSdkMeetingConfiguration `type:"structure"`
 37930  
 37931  	// The time at which the capture pipeline was created, in ISO 8601 format.
 37932  	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 37933  
 37934  	// The ID of a media capture pipeline.
 37935  	MediaPipelineId *string `type:"string"`
 37936  
 37937  	// ARN of the destination to which the media artifacts are saved.
 37938  	//
 37939  	// SinkArn is a sensitive parameter and its value will be
 37940  	// replaced with "sensitive" in string returned by MediaCapturePipeline's
 37941  	// String and GoString methods.
 37942  	SinkArn *string `min:"1" type:"string" sensitive:"true"`
 37943  
 37944  	// Destination type to which the media artifacts are saved. You must use an
 37945  	// S3 Bucket.
 37946  	SinkType *string `type:"string" enum:"MediaPipelineSinkType"`
 37947  
 37948  	// ARN of the source from which the media artifacts will be saved.
 37949  	//
 37950  	// SourceArn is a sensitive parameter and its value will be
 37951  	// replaced with "sensitive" in string returned by MediaCapturePipeline's
 37952  	// String and GoString methods.
 37953  	SourceArn *string `min:"1" type:"string" sensitive:"true"`
 37954  
 37955  	// Source type from which media artifacts are saved. You must use ChimeMeeting.
 37956  	SourceType *string `type:"string" enum:"MediaPipelineSourceType"`
 37957  
 37958  	// The status of the media capture pipeline.
 37959  	Status *string `type:"string" enum:"MediaPipelineStatus"`
 37960  
 37961  	// The time at which the capture pipeline was updated, in ISO 8601 format.
 37962  	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 37963  }
 37964  
 37965  // String returns the string representation.
 37966  //
 37967  // API parameter values that are decorated as "sensitive" in the API will not
 37968  // be included in the string output. The member name will be present, but the
 37969  // value will be replaced with "sensitive".
 37970  func (s MediaCapturePipeline) String() string {
 37971  	return awsutil.Prettify(s)
 37972  }
 37973  
 37974  // GoString returns the string representation.
 37975  //
 37976  // API parameter values that are decorated as "sensitive" in the API will not
 37977  // be included in the string output. The member name will be present, but the
 37978  // value will be replaced with "sensitive".
 37979  func (s MediaCapturePipeline) GoString() string {
 37980  	return s.String()
 37981  }
 37982  
 37983  // SetChimeSdkMeetingConfiguration sets the ChimeSdkMeetingConfiguration field's value.
 37984  func (s *MediaCapturePipeline) SetChimeSdkMeetingConfiguration(v *ChimeSdkMeetingConfiguration) *MediaCapturePipeline {
 37985  	s.ChimeSdkMeetingConfiguration = v
 37986  	return s
 37987  }
 37988  
 37989  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 37990  func (s *MediaCapturePipeline) SetCreatedTimestamp(v time.Time) *MediaCapturePipeline {
 37991  	s.CreatedTimestamp = &v
 37992  	return s
 37993  }
 37994  
 37995  // SetMediaPipelineId sets the MediaPipelineId field's value.
 37996  func (s *MediaCapturePipeline) SetMediaPipelineId(v string) *MediaCapturePipeline {
 37997  	s.MediaPipelineId = &v
 37998  	return s
 37999  }
 38000  
 38001  // SetSinkArn sets the SinkArn field's value.
 38002  func (s *MediaCapturePipeline) SetSinkArn(v string) *MediaCapturePipeline {
 38003  	s.SinkArn = &v
 38004  	return s
 38005  }
 38006  
 38007  // SetSinkType sets the SinkType field's value.
 38008  func (s *MediaCapturePipeline) SetSinkType(v string) *MediaCapturePipeline {
 38009  	s.SinkType = &v
 38010  	return s
 38011  }
 38012  
 38013  // SetSourceArn sets the SourceArn field's value.
 38014  func (s *MediaCapturePipeline) SetSourceArn(v string) *MediaCapturePipeline {
 38015  	s.SourceArn = &v
 38016  	return s
 38017  }
 38018  
 38019  // SetSourceType sets the SourceType field's value.
 38020  func (s *MediaCapturePipeline) SetSourceType(v string) *MediaCapturePipeline {
 38021  	s.SourceType = &v
 38022  	return s
 38023  }
 38024  
 38025  // SetStatus sets the Status field's value.
 38026  func (s *MediaCapturePipeline) SetStatus(v string) *MediaCapturePipeline {
 38027  	s.Status = &v
 38028  	return s
 38029  }
 38030  
 38031  // SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
 38032  func (s *MediaCapturePipeline) SetUpdatedTimestamp(v time.Time) *MediaCapturePipeline {
 38033  	s.UpdatedTimestamp = &v
 38034  	return s
 38035  }
 38036  
 38037  // A set of endpoints used by clients to connect to the media service group
 38038  // for an Amazon Chime SDK meeting.
 38039  type MediaPlacement struct {
 38040  	_ struct{} `type:"structure"`
 38041  
 38042  	// The audio fallback URL.
 38043  	AudioFallbackUrl *string `type:"string"`
 38044  
 38045  	// The audio host URL.
 38046  	AudioHostUrl *string `type:"string"`
 38047  
 38048  	// The event ingestion URL.
 38049  	EventIngestionUrl *string `type:"string"`
 38050  
 38051  	// The screen data URL.
 38052  	ScreenDataUrl *string `type:"string"`
 38053  
 38054  	// The screen sharing URL.
 38055  	ScreenSharingUrl *string `type:"string"`
 38056  
 38057  	// The screen viewing URL.
 38058  	ScreenViewingUrl *string `type:"string"`
 38059  
 38060  	// The signaling URL.
 38061  	SignalingUrl *string `type:"string"`
 38062  
 38063  	// The turn control URL.
 38064  	TurnControlUrl *string `type:"string"`
 38065  }
 38066  
 38067  // String returns the string representation.
 38068  //
 38069  // API parameter values that are decorated as "sensitive" in the API will not
 38070  // be included in the string output. The member name will be present, but the
 38071  // value will be replaced with "sensitive".
 38072  func (s MediaPlacement) String() string {
 38073  	return awsutil.Prettify(s)
 38074  }
 38075  
 38076  // GoString returns the string representation.
 38077  //
 38078  // API parameter values that are decorated as "sensitive" in the API will not
 38079  // be included in the string output. The member name will be present, but the
 38080  // value will be replaced with "sensitive".
 38081  func (s MediaPlacement) GoString() string {
 38082  	return s.String()
 38083  }
 38084  
 38085  // SetAudioFallbackUrl sets the AudioFallbackUrl field's value.
 38086  func (s *MediaPlacement) SetAudioFallbackUrl(v string) *MediaPlacement {
 38087  	s.AudioFallbackUrl = &v
 38088  	return s
 38089  }
 38090  
 38091  // SetAudioHostUrl sets the AudioHostUrl field's value.
 38092  func (s *MediaPlacement) SetAudioHostUrl(v string) *MediaPlacement {
 38093  	s.AudioHostUrl = &v
 38094  	return s
 38095  }
 38096  
 38097  // SetEventIngestionUrl sets the EventIngestionUrl field's value.
 38098  func (s *MediaPlacement) SetEventIngestionUrl(v string) *MediaPlacement {
 38099  	s.EventIngestionUrl = &v
 38100  	return s
 38101  }
 38102  
 38103  // SetScreenDataUrl sets the ScreenDataUrl field's value.
 38104  func (s *MediaPlacement) SetScreenDataUrl(v string) *MediaPlacement {
 38105  	s.ScreenDataUrl = &v
 38106  	return s
 38107  }
 38108  
 38109  // SetScreenSharingUrl sets the ScreenSharingUrl field's value.
 38110  func (s *MediaPlacement) SetScreenSharingUrl(v string) *MediaPlacement {
 38111  	s.ScreenSharingUrl = &v
 38112  	return s
 38113  }
 38114  
 38115  // SetScreenViewingUrl sets the ScreenViewingUrl field's value.
 38116  func (s *MediaPlacement) SetScreenViewingUrl(v string) *MediaPlacement {
 38117  	s.ScreenViewingUrl = &v
 38118  	return s
 38119  }
 38120  
 38121  // SetSignalingUrl sets the SignalingUrl field's value.
 38122  func (s *MediaPlacement) SetSignalingUrl(v string) *MediaPlacement {
 38123  	s.SignalingUrl = &v
 38124  	return s
 38125  }
 38126  
 38127  // SetTurnControlUrl sets the TurnControlUrl field's value.
 38128  func (s *MediaPlacement) SetTurnControlUrl(v string) *MediaPlacement {
 38129  	s.TurnControlUrl = &v
 38130  	return s
 38131  }
 38132  
 38133  // A meeting created using the Amazon Chime SDK.
 38134  type Meeting struct {
 38135  	_ struct{} `type:"structure"`
 38136  
 38137  	// The external meeting ID.
 38138  	//
 38139  	// ExternalMeetingId is a sensitive parameter and its value will be
 38140  	// replaced with "sensitive" in string returned by Meeting's
 38141  	// String and GoString methods.
 38142  	ExternalMeetingId *string `min:"2" type:"string" sensitive:"true"`
 38143  
 38144  	// The media placement for the meeting.
 38145  	MediaPlacement *MediaPlacement `type:"structure"`
 38146  
 38147  	// The Region in which you create the meeting. Available values: af-south-1,
 38148  	// ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2,
 38149  	// ca-central-1, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2,
 38150  	// eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2.
 38151  	MediaRegion *string `type:"string"`
 38152  
 38153  	// The Amazon Chime SDK meeting ID.
 38154  	MeetingId *string `type:"string"`
 38155  }
 38156  
 38157  // String returns the string representation.
 38158  //
 38159  // API parameter values that are decorated as "sensitive" in the API will not
 38160  // be included in the string output. The member name will be present, but the
 38161  // value will be replaced with "sensitive".
 38162  func (s Meeting) String() string {
 38163  	return awsutil.Prettify(s)
 38164  }
 38165  
 38166  // GoString returns the string representation.
 38167  //
 38168  // API parameter values that are decorated as "sensitive" in the API will not
 38169  // be included in the string output. The member name will be present, but the
 38170  // value will be replaced with "sensitive".
 38171  func (s Meeting) GoString() string {
 38172  	return s.String()
 38173  }
 38174  
 38175  // SetExternalMeetingId sets the ExternalMeetingId field's value.
 38176  func (s *Meeting) SetExternalMeetingId(v string) *Meeting {
 38177  	s.ExternalMeetingId = &v
 38178  	return s
 38179  }
 38180  
 38181  // SetMediaPlacement sets the MediaPlacement field's value.
 38182  func (s *Meeting) SetMediaPlacement(v *MediaPlacement) *Meeting {
 38183  	s.MediaPlacement = v
 38184  	return s
 38185  }
 38186  
 38187  // SetMediaRegion sets the MediaRegion field's value.
 38188  func (s *Meeting) SetMediaRegion(v string) *Meeting {
 38189  	s.MediaRegion = &v
 38190  	return s
 38191  }
 38192  
 38193  // SetMeetingId sets the MeetingId field's value.
 38194  func (s *Meeting) SetMeetingId(v string) *Meeting {
 38195  	s.MeetingId = &v
 38196  	return s
 38197  }
 38198  
 38199  // The resource target configurations for receiving Amazon Chime SDK meeting
 38200  // and attendee event notifications. The Amazon Chime SDK supports resource
 38201  // targets located in the US East (N. Virginia) AWS Region (us-east-1).
 38202  type MeetingNotificationConfiguration struct {
 38203  	_ struct{} `type:"structure"`
 38204  
 38205  	// The SNS topic ARN.
 38206  	//
 38207  	// SnsTopicArn is a sensitive parameter and its value will be
 38208  	// replaced with "sensitive" in string returned by MeetingNotificationConfiguration's
 38209  	// String and GoString methods.
 38210  	SnsTopicArn *string `min:"1" type:"string" sensitive:"true"`
 38211  
 38212  	// The SQS queue ARN.
 38213  	//
 38214  	// SqsQueueArn is a sensitive parameter and its value will be
 38215  	// replaced with "sensitive" in string returned by MeetingNotificationConfiguration's
 38216  	// String and GoString methods.
 38217  	SqsQueueArn *string `min:"1" type:"string" sensitive:"true"`
 38218  }
 38219  
 38220  // String returns the string representation.
 38221  //
 38222  // API parameter values that are decorated as "sensitive" in the API will not
 38223  // be included in the string output. The member name will be present, but the
 38224  // value will be replaced with "sensitive".
 38225  func (s MeetingNotificationConfiguration) String() string {
 38226  	return awsutil.Prettify(s)
 38227  }
 38228  
 38229  // GoString returns the string representation.
 38230  //
 38231  // API parameter values that are decorated as "sensitive" in the API will not
 38232  // be included in the string output. The member name will be present, but the
 38233  // value will be replaced with "sensitive".
 38234  func (s MeetingNotificationConfiguration) GoString() string {
 38235  	return s.String()
 38236  }
 38237  
 38238  // Validate inspects the fields of the type to determine if they are valid.
 38239  func (s *MeetingNotificationConfiguration) Validate() error {
 38240  	invalidParams := request.ErrInvalidParams{Context: "MeetingNotificationConfiguration"}
 38241  	if s.SnsTopicArn != nil && len(*s.SnsTopicArn) < 1 {
 38242  		invalidParams.Add(request.NewErrParamMinLen("SnsTopicArn", 1))
 38243  	}
 38244  	if s.SqsQueueArn != nil && len(*s.SqsQueueArn) < 1 {
 38245  		invalidParams.Add(request.NewErrParamMinLen("SqsQueueArn", 1))
 38246  	}
 38247  
 38248  	if invalidParams.Len() > 0 {
 38249  		return invalidParams
 38250  	}
 38251  	return nil
 38252  }
 38253  
 38254  // SetSnsTopicArn sets the SnsTopicArn field's value.
 38255  func (s *MeetingNotificationConfiguration) SetSnsTopicArn(v string) *MeetingNotificationConfiguration {
 38256  	s.SnsTopicArn = &v
 38257  	return s
 38258  }
 38259  
 38260  // SetSqsQueueArn sets the SqsQueueArn field's value.
 38261  func (s *MeetingNotificationConfiguration) SetSqsQueueArn(v string) *MeetingNotificationConfiguration {
 38262  	s.SqsQueueArn = &v
 38263  	return s
 38264  }
 38265  
 38266  // The member details, such as email address, name, member ID, and member type.
 38267  type Member struct {
 38268  	_ struct{} `type:"structure"`
 38269  
 38270  	// The Amazon Chime account ID.
 38271  	AccountId *string `type:"string"`
 38272  
 38273  	// The member email address.
 38274  	//
 38275  	// Email is a sensitive parameter and its value will be
 38276  	// replaced with "sensitive" in string returned by Member's
 38277  	// String and GoString methods.
 38278  	Email *string `type:"string" sensitive:"true"`
 38279  
 38280  	// The member name.
 38281  	//
 38282  	// FullName is a sensitive parameter and its value will be
 38283  	// replaced with "sensitive" in string returned by Member's
 38284  	// String and GoString methods.
 38285  	FullName *string `type:"string" sensitive:"true"`
 38286  
 38287  	// The member ID (user ID or bot ID).
 38288  	MemberId *string `type:"string"`
 38289  
 38290  	// The member type.
 38291  	MemberType *string `type:"string" enum:"MemberType"`
 38292  }
 38293  
 38294  // String returns the string representation.
 38295  //
 38296  // API parameter values that are decorated as "sensitive" in the API will not
 38297  // be included in the string output. The member name will be present, but the
 38298  // value will be replaced with "sensitive".
 38299  func (s Member) String() string {
 38300  	return awsutil.Prettify(s)
 38301  }
 38302  
 38303  // GoString returns the string representation.
 38304  //
 38305  // API parameter values that are decorated as "sensitive" in the API will not
 38306  // be included in the string output. The member name will be present, but the
 38307  // value will be replaced with "sensitive".
 38308  func (s Member) GoString() string {
 38309  	return s.String()
 38310  }
 38311  
 38312  // SetAccountId sets the AccountId field's value.
 38313  func (s *Member) SetAccountId(v string) *Member {
 38314  	s.AccountId = &v
 38315  	return s
 38316  }
 38317  
 38318  // SetEmail sets the Email field's value.
 38319  func (s *Member) SetEmail(v string) *Member {
 38320  	s.Email = &v
 38321  	return s
 38322  }
 38323  
 38324  // SetFullName sets the FullName field's value.
 38325  func (s *Member) SetFullName(v string) *Member {
 38326  	s.FullName = &v
 38327  	return s
 38328  }
 38329  
 38330  // SetMemberId sets the MemberId field's value.
 38331  func (s *Member) SetMemberId(v string) *Member {
 38332  	s.MemberId = &v
 38333  	return s
 38334  }
 38335  
 38336  // SetMemberType sets the MemberType field's value.
 38337  func (s *Member) SetMemberType(v string) *Member {
 38338  	s.MemberType = &v
 38339  	return s
 38340  }
 38341  
 38342  // The list of errors returned when a member action results in an error.
 38343  type MemberError struct {
 38344  	_ struct{} `type:"structure"`
 38345  
 38346  	// The error code.
 38347  	ErrorCode *string `type:"string" enum:"ErrorCode"`
 38348  
 38349  	// The error message.
 38350  	ErrorMessage *string `type:"string"`
 38351  
 38352  	// The member ID.
 38353  	MemberId *string `type:"string"`
 38354  }
 38355  
 38356  // String returns the string representation.
 38357  //
 38358  // API parameter values that are decorated as "sensitive" in the API will not
 38359  // be included in the string output. The member name will be present, but the
 38360  // value will be replaced with "sensitive".
 38361  func (s MemberError) String() string {
 38362  	return awsutil.Prettify(s)
 38363  }
 38364  
 38365  // GoString returns the string representation.
 38366  //
 38367  // API parameter values that are decorated as "sensitive" in the API will not
 38368  // be included in the string output. The member name will be present, but the
 38369  // value will be replaced with "sensitive".
 38370  func (s MemberError) GoString() string {
 38371  	return s.String()
 38372  }
 38373  
 38374  // SetErrorCode sets the ErrorCode field's value.
 38375  func (s *MemberError) SetErrorCode(v string) *MemberError {
 38376  	s.ErrorCode = &v
 38377  	return s
 38378  }
 38379  
 38380  // SetErrorMessage sets the ErrorMessage field's value.
 38381  func (s *MemberError) SetErrorMessage(v string) *MemberError {
 38382  	s.ErrorMessage = &v
 38383  	return s
 38384  }
 38385  
 38386  // SetMemberId sets the MemberId field's value.
 38387  func (s *MemberError) SetMemberId(v string) *MemberError {
 38388  	s.MemberId = &v
 38389  	return s
 38390  }
 38391  
 38392  // Membership details, such as member ID and member role.
 38393  type MembershipItem struct {
 38394  	_ struct{} `type:"structure"`
 38395  
 38396  	// The member ID.
 38397  	MemberId *string `type:"string"`
 38398  
 38399  	// The member role.
 38400  	Role *string `type:"string" enum:"RoomMembershipRole"`
 38401  }
 38402  
 38403  // String returns the string representation.
 38404  //
 38405  // API parameter values that are decorated as "sensitive" in the API will not
 38406  // be included in the string output. The member name will be present, but the
 38407  // value will be replaced with "sensitive".
 38408  func (s MembershipItem) String() string {
 38409  	return awsutil.Prettify(s)
 38410  }
 38411  
 38412  // GoString returns the string representation.
 38413  //
 38414  // API parameter values that are decorated as "sensitive" in the API will not
 38415  // be included in the string output. The member name will be present, but the
 38416  // value will be replaced with "sensitive".
 38417  func (s MembershipItem) GoString() string {
 38418  	return s.String()
 38419  }
 38420  
 38421  // SetMemberId sets the MemberId field's value.
 38422  func (s *MembershipItem) SetMemberId(v string) *MembershipItem {
 38423  	s.MemberId = &v
 38424  	return s
 38425  }
 38426  
 38427  // SetRole sets the Role field's value.
 38428  func (s *MembershipItem) SetRole(v string) *MembershipItem {
 38429  	s.Role = &v
 38430  	return s
 38431  }
 38432  
 38433  // The websocket endpoint used to connect to Amazon Chime SDK messaging.
 38434  type MessagingSessionEndpoint struct {
 38435  	_ struct{} `type:"structure"`
 38436  
 38437  	// The endpoint to which you establish a websocket connection.
 38438  	Url *string `type:"string"`
 38439  }
 38440  
 38441  // String returns the string representation.
 38442  //
 38443  // API parameter values that are decorated as "sensitive" in the API will not
 38444  // be included in the string output. The member name will be present, but the
 38445  // value will be replaced with "sensitive".
 38446  func (s MessagingSessionEndpoint) String() string {
 38447  	return awsutil.Prettify(s)
 38448  }
 38449  
 38450  // GoString returns the string representation.
 38451  //
 38452  // API parameter values that are decorated as "sensitive" in the API will not
 38453  // be included in the string output. The member name will be present, but the
 38454  // value will be replaced with "sensitive".
 38455  func (s MessagingSessionEndpoint) GoString() string {
 38456  	return s.String()
 38457  }
 38458  
 38459  // SetUrl sets the Url field's value.
 38460  func (s *MessagingSessionEndpoint) SetUrl(v string) *MessagingSessionEndpoint {
 38461  	s.Url = &v
 38462  	return s
 38463  }
 38464  
 38465  // One or more of the resources in the request does not exist in the system.
 38466  type NotFoundException struct {
 38467  	_            struct{}                  `type:"structure"`
 38468  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 38469  
 38470  	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
 38471  
 38472  	Message_ *string `locationName:"Message" type:"string"`
 38473  }
 38474  
 38475  // String returns the string representation.
 38476  //
 38477  // API parameter values that are decorated as "sensitive" in the API will not
 38478  // be included in the string output. The member name will be present, but the
 38479  // value will be replaced with "sensitive".
 38480  func (s NotFoundException) String() string {
 38481  	return awsutil.Prettify(s)
 38482  }
 38483  
 38484  // GoString returns the string representation.
 38485  //
 38486  // API parameter values that are decorated as "sensitive" in the API will not
 38487  // be included in the string output. The member name will be present, but the
 38488  // value will be replaced with "sensitive".
 38489  func (s NotFoundException) GoString() string {
 38490  	return s.String()
 38491  }
 38492  
 38493  func newErrorNotFoundException(v protocol.ResponseMetadata) error {
 38494  	return &NotFoundException{
 38495  		RespMetadata: v,
 38496  	}
 38497  }
 38498  
 38499  // Code returns the exception type name.
 38500  func (s *NotFoundException) Code() string {
 38501  	return "NotFoundException"
 38502  }
 38503  
 38504  // Message returns the exception's message.
 38505  func (s *NotFoundException) Message() string {
 38506  	if s.Message_ != nil {
 38507  		return *s.Message_
 38508  	}
 38509  	return ""
 38510  }
 38511  
 38512  // OrigErr always returns nil, satisfies awserr.Error interface.
 38513  func (s *NotFoundException) OrigErr() error {
 38514  	return nil
 38515  }
 38516  
 38517  func (s *NotFoundException) Error() string {
 38518  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 38519  }
 38520  
 38521  // Status code returns the HTTP status code for the request's response error.
 38522  func (s *NotFoundException) StatusCode() int {
 38523  	return s.RespMetadata.StatusCode
 38524  }
 38525  
 38526  // RequestID returns the service's response RequestID for request.
 38527  func (s *NotFoundException) RequestID() string {
 38528  	return s.RespMetadata.RequestID
 38529  }
 38530  
 38531  // A phone number for which an order has been placed.
 38532  type OrderedPhoneNumber struct {
 38533  	_ struct{} `type:"structure"`
 38534  
 38535  	// The phone number, in E.164 format.
 38536  	//
 38537  	// E164PhoneNumber is a sensitive parameter and its value will be
 38538  	// replaced with "sensitive" in string returned by OrderedPhoneNumber's
 38539  	// String and GoString methods.
 38540  	E164PhoneNumber *string `type:"string" sensitive:"true"`
 38541  
 38542  	// The phone number status.
 38543  	Status *string `type:"string" enum:"OrderedPhoneNumberStatus"`
 38544  }
 38545  
 38546  // String returns the string representation.
 38547  //
 38548  // API parameter values that are decorated as "sensitive" in the API will not
 38549  // be included in the string output. The member name will be present, but the
 38550  // value will be replaced with "sensitive".
 38551  func (s OrderedPhoneNumber) String() string {
 38552  	return awsutil.Prettify(s)
 38553  }
 38554  
 38555  // GoString returns the string representation.
 38556  //
 38557  // API parameter values that are decorated as "sensitive" in the API will not
 38558  // be included in the string output. The member name will be present, but the
 38559  // value will be replaced with "sensitive".
 38560  func (s OrderedPhoneNumber) GoString() string {
 38561  	return s.String()
 38562  }
 38563  
 38564  // SetE164PhoneNumber sets the E164PhoneNumber field's value.
 38565  func (s *OrderedPhoneNumber) SetE164PhoneNumber(v string) *OrderedPhoneNumber {
 38566  	s.E164PhoneNumber = &v
 38567  	return s
 38568  }
 38569  
 38570  // SetStatus sets the Status field's value.
 38571  func (s *OrderedPhoneNumber) SetStatus(v string) *OrderedPhoneNumber {
 38572  	s.Status = &v
 38573  	return s
 38574  }
 38575  
 38576  // Origination settings enable your SIP hosts to receive inbound calls using
 38577  // your Amazon Chime Voice Connector.
 38578  //
 38579  // The parameters listed below are not required, but you must use at least one.
 38580  type Origination struct {
 38581  	_ struct{} `type:"structure"`
 38582  
 38583  	// When origination settings are disabled, inbound calls are not enabled for
 38584  	// your Amazon Chime Voice Connector. This parameter is not required, but you
 38585  	// must specify this parameter or Routes.
 38586  	Disabled *bool `type:"boolean"`
 38587  
 38588  	// The call distribution properties defined for your SIP hosts. Valid range:
 38589  	// Minimum value of 1. Maximum value of 20. This parameter is not required,
 38590  	// but you must specify this parameter or Disabled.
 38591  	Routes []*OriginationRoute `type:"list"`
 38592  }
 38593  
 38594  // String returns the string representation.
 38595  //
 38596  // API parameter values that are decorated as "sensitive" in the API will not
 38597  // be included in the string output. The member name will be present, but the
 38598  // value will be replaced with "sensitive".
 38599  func (s Origination) String() string {
 38600  	return awsutil.Prettify(s)
 38601  }
 38602  
 38603  // GoString returns the string representation.
 38604  //
 38605  // API parameter values that are decorated as "sensitive" in the API will not
 38606  // be included in the string output. The member name will be present, but the
 38607  // value will be replaced with "sensitive".
 38608  func (s Origination) GoString() string {
 38609  	return s.String()
 38610  }
 38611  
 38612  // Validate inspects the fields of the type to determine if they are valid.
 38613  func (s *Origination) Validate() error {
 38614  	invalidParams := request.ErrInvalidParams{Context: "Origination"}
 38615  	if s.Routes != nil {
 38616  		for i, v := range s.Routes {
 38617  			if v == nil {
 38618  				continue
 38619  			}
 38620  			if err := v.Validate(); err != nil {
 38621  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Routes", i), err.(request.ErrInvalidParams))
 38622  			}
 38623  		}
 38624  	}
 38625  
 38626  	if invalidParams.Len() > 0 {
 38627  		return invalidParams
 38628  	}
 38629  	return nil
 38630  }
 38631  
 38632  // SetDisabled sets the Disabled field's value.
 38633  func (s *Origination) SetDisabled(v bool) *Origination {
 38634  	s.Disabled = &v
 38635  	return s
 38636  }
 38637  
 38638  // SetRoutes sets the Routes field's value.
 38639  func (s *Origination) SetRoutes(v []*OriginationRoute) *Origination {
 38640  	s.Routes = v
 38641  	return s
 38642  }
 38643  
 38644  // Origination routes define call distribution properties for your SIP hosts
 38645  // to receive inbound calls using your Amazon Chime Voice Connector. Limit:
 38646  // Ten origination routes for each Amazon Chime Voice Connector.
 38647  //
 38648  // The parameters listed below are not required, but you must use at least one.
 38649  type OriginationRoute struct {
 38650  	_ struct{} `type:"structure"`
 38651  
 38652  	// The FQDN or IP address to contact for origination traffic.
 38653  	Host *string `type:"string"`
 38654  
 38655  	// The designated origination route port. Defaults to 5060.
 38656  	Port *int64 `type:"integer"`
 38657  
 38658  	// The priority associated with the host, with 1 being the highest priority.
 38659  	// Higher priority hosts are attempted first.
 38660  	Priority *int64 `min:"1" type:"integer"`
 38661  
 38662  	// The protocol to use for the origination route. Encryption-enabled Amazon
 38663  	// Chime Voice Connectors use TCP protocol by default.
 38664  	Protocol *string `type:"string" enum:"OriginationRouteProtocol"`
 38665  
 38666  	// The weight associated with the host. If hosts are equal in priority, calls
 38667  	// are redistributed among them based on their relative weight.
 38668  	Weight *int64 `min:"1" type:"integer"`
 38669  }
 38670  
 38671  // String returns the string representation.
 38672  //
 38673  // API parameter values that are decorated as "sensitive" in the API will not
 38674  // be included in the string output. The member name will be present, but the
 38675  // value will be replaced with "sensitive".
 38676  func (s OriginationRoute) String() string {
 38677  	return awsutil.Prettify(s)
 38678  }
 38679  
 38680  // GoString returns the string representation.
 38681  //
 38682  // API parameter values that are decorated as "sensitive" in the API will not
 38683  // be included in the string output. The member name will be present, but the
 38684  // value will be replaced with "sensitive".
 38685  func (s OriginationRoute) GoString() string {
 38686  	return s.String()
 38687  }
 38688  
 38689  // Validate inspects the fields of the type to determine if they are valid.
 38690  func (s *OriginationRoute) Validate() error {
 38691  	invalidParams := request.ErrInvalidParams{Context: "OriginationRoute"}
 38692  	if s.Priority != nil && *s.Priority < 1 {
 38693  		invalidParams.Add(request.NewErrParamMinValue("Priority", 1))
 38694  	}
 38695  	if s.Weight != nil && *s.Weight < 1 {
 38696  		invalidParams.Add(request.NewErrParamMinValue("Weight", 1))
 38697  	}
 38698  
 38699  	if invalidParams.Len() > 0 {
 38700  		return invalidParams
 38701  	}
 38702  	return nil
 38703  }
 38704  
 38705  // SetHost sets the Host field's value.
 38706  func (s *OriginationRoute) SetHost(v string) *OriginationRoute {
 38707  	s.Host = &v
 38708  	return s
 38709  }
 38710  
 38711  // SetPort sets the Port field's value.
 38712  func (s *OriginationRoute) SetPort(v int64) *OriginationRoute {
 38713  	s.Port = &v
 38714  	return s
 38715  }
 38716  
 38717  // SetPriority sets the Priority field's value.
 38718  func (s *OriginationRoute) SetPriority(v int64) *OriginationRoute {
 38719  	s.Priority = &v
 38720  	return s
 38721  }
 38722  
 38723  // SetProtocol sets the Protocol field's value.
 38724  func (s *OriginationRoute) SetProtocol(v string) *OriginationRoute {
 38725  	s.Protocol = &v
 38726  	return s
 38727  }
 38728  
 38729  // SetWeight sets the Weight field's value.
 38730  func (s *OriginationRoute) SetWeight(v int64) *OriginationRoute {
 38731  	s.Weight = &v
 38732  	return s
 38733  }
 38734  
 38735  // The phone number and proxy phone number for a participant in an Amazon Chime
 38736  // Voice Connector proxy session.
 38737  type Participant struct {
 38738  	_ struct{} `type:"structure"`
 38739  
 38740  	// The participant's phone number.
 38741  	//
 38742  	// PhoneNumber is a sensitive parameter and its value will be
 38743  	// replaced with "sensitive" in string returned by Participant's
 38744  	// String and GoString methods.
 38745  	PhoneNumber *string `type:"string" sensitive:"true"`
 38746  
 38747  	// The participant's proxy phone number.
 38748  	//
 38749  	// ProxyPhoneNumber is a sensitive parameter and its value will be
 38750  	// replaced with "sensitive" in string returned by Participant's
 38751  	// String and GoString methods.
 38752  	ProxyPhoneNumber *string `type:"string" sensitive:"true"`
 38753  }
 38754  
 38755  // String returns the string representation.
 38756  //
 38757  // API parameter values that are decorated as "sensitive" in the API will not
 38758  // be included in the string output. The member name will be present, but the
 38759  // value will be replaced with "sensitive".
 38760  func (s Participant) String() string {
 38761  	return awsutil.Prettify(s)
 38762  }
 38763  
 38764  // GoString returns the string representation.
 38765  //
 38766  // API parameter values that are decorated as "sensitive" in the API will not
 38767  // be included in the string output. The member name will be present, but the
 38768  // value will be replaced with "sensitive".
 38769  func (s Participant) GoString() string {
 38770  	return s.String()
 38771  }
 38772  
 38773  // SetPhoneNumber sets the PhoneNumber field's value.
 38774  func (s *Participant) SetPhoneNumber(v string) *Participant {
 38775  	s.PhoneNumber = &v
 38776  	return s
 38777  }
 38778  
 38779  // SetProxyPhoneNumber sets the ProxyPhoneNumber field's value.
 38780  func (s *Participant) SetProxyPhoneNumber(v string) *Participant {
 38781  	s.ProxyPhoneNumber = &v
 38782  	return s
 38783  }
 38784  
 38785  // A phone number used for Amazon Chime Business Calling or an Amazon Chime
 38786  // Voice Connector.
 38787  type PhoneNumber struct {
 38788  	_ struct{} `type:"structure"`
 38789  
 38790  	// The phone number associations.
 38791  	Associations []*PhoneNumberAssociation `type:"list"`
 38792  
 38793  	// The outbound calling name associated with the phone number.
 38794  	//
 38795  	// CallingName is a sensitive parameter and its value will be
 38796  	// replaced with "sensitive" in string returned by PhoneNumber's
 38797  	// String and GoString methods.
 38798  	CallingName *string `type:"string" sensitive:"true"`
 38799  
 38800  	// The outbound calling name status.
 38801  	CallingNameStatus *string `type:"string" enum:"CallingNameStatus"`
 38802  
 38803  	// The phone number capabilities.
 38804  	Capabilities *PhoneNumberCapabilities `type:"structure"`
 38805  
 38806  	// The phone number country. Format: ISO 3166-1 alpha-2.
 38807  	Country *string `type:"string"`
 38808  
 38809  	// The phone number creation timestamp, in ISO 8601 format.
 38810  	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 38811  
 38812  	// The deleted phone number timestamp, in ISO 8601 format.
 38813  	DeletionTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 38814  
 38815  	// The phone number, in E.164 format.
 38816  	//
 38817  	// E164PhoneNumber is a sensitive parameter and its value will be
 38818  	// replaced with "sensitive" in string returned by PhoneNumber's
 38819  	// String and GoString methods.
 38820  	E164PhoneNumber *string `type:"string" sensitive:"true"`
 38821  
 38822  	// The phone number ID.
 38823  	PhoneNumberId *string `type:"string"`
 38824  
 38825  	// The phone number product type.
 38826  	ProductType *string `type:"string" enum:"PhoneNumberProductType"`
 38827  
 38828  	// The phone number status.
 38829  	Status *string `type:"string" enum:"PhoneNumberStatus"`
 38830  
 38831  	// The phone number type.
 38832  	Type *string `type:"string" enum:"PhoneNumberType"`
 38833  
 38834  	// The updated phone number timestamp, in ISO 8601 format.
 38835  	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 38836  }
 38837  
 38838  // String returns the string representation.
 38839  //
 38840  // API parameter values that are decorated as "sensitive" in the API will not
 38841  // be included in the string output. The member name will be present, but the
 38842  // value will be replaced with "sensitive".
 38843  func (s PhoneNumber) String() string {
 38844  	return awsutil.Prettify(s)
 38845  }
 38846  
 38847  // GoString returns the string representation.
 38848  //
 38849  // API parameter values that are decorated as "sensitive" in the API will not
 38850  // be included in the string output. The member name will be present, but the
 38851  // value will be replaced with "sensitive".
 38852  func (s PhoneNumber) GoString() string {
 38853  	return s.String()
 38854  }
 38855  
 38856  // SetAssociations sets the Associations field's value.
 38857  func (s *PhoneNumber) SetAssociations(v []*PhoneNumberAssociation) *PhoneNumber {
 38858  	s.Associations = v
 38859  	return s
 38860  }
 38861  
 38862  // SetCallingName sets the CallingName field's value.
 38863  func (s *PhoneNumber) SetCallingName(v string) *PhoneNumber {
 38864  	s.CallingName = &v
 38865  	return s
 38866  }
 38867  
 38868  // SetCallingNameStatus sets the CallingNameStatus field's value.
 38869  func (s *PhoneNumber) SetCallingNameStatus(v string) *PhoneNumber {
 38870  	s.CallingNameStatus = &v
 38871  	return s
 38872  }
 38873  
 38874  // SetCapabilities sets the Capabilities field's value.
 38875  func (s *PhoneNumber) SetCapabilities(v *PhoneNumberCapabilities) *PhoneNumber {
 38876  	s.Capabilities = v
 38877  	return s
 38878  }
 38879  
 38880  // SetCountry sets the Country field's value.
 38881  func (s *PhoneNumber) SetCountry(v string) *PhoneNumber {
 38882  	s.Country = &v
 38883  	return s
 38884  }
 38885  
 38886  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 38887  func (s *PhoneNumber) SetCreatedTimestamp(v time.Time) *PhoneNumber {
 38888  	s.CreatedTimestamp = &v
 38889  	return s
 38890  }
 38891  
 38892  // SetDeletionTimestamp sets the DeletionTimestamp field's value.
 38893  func (s *PhoneNumber) SetDeletionTimestamp(v time.Time) *PhoneNumber {
 38894  	s.DeletionTimestamp = &v
 38895  	return s
 38896  }
 38897  
 38898  // SetE164PhoneNumber sets the E164PhoneNumber field's value.
 38899  func (s *PhoneNumber) SetE164PhoneNumber(v string) *PhoneNumber {
 38900  	s.E164PhoneNumber = &v
 38901  	return s
 38902  }
 38903  
 38904  // SetPhoneNumberId sets the PhoneNumberId field's value.
 38905  func (s *PhoneNumber) SetPhoneNumberId(v string) *PhoneNumber {
 38906  	s.PhoneNumberId = &v
 38907  	return s
 38908  }
 38909  
 38910  // SetProductType sets the ProductType field's value.
 38911  func (s *PhoneNumber) SetProductType(v string) *PhoneNumber {
 38912  	s.ProductType = &v
 38913  	return s
 38914  }
 38915  
 38916  // SetStatus sets the Status field's value.
 38917  func (s *PhoneNumber) SetStatus(v string) *PhoneNumber {
 38918  	s.Status = &v
 38919  	return s
 38920  }
 38921  
 38922  // SetType sets the Type field's value.
 38923  func (s *PhoneNumber) SetType(v string) *PhoneNumber {
 38924  	s.Type = &v
 38925  	return s
 38926  }
 38927  
 38928  // SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
 38929  func (s *PhoneNumber) SetUpdatedTimestamp(v time.Time) *PhoneNumber {
 38930  	s.UpdatedTimestamp = &v
 38931  	return s
 38932  }
 38933  
 38934  // The phone number associations, such as Amazon Chime account ID, Amazon Chime
 38935  // user ID, Amazon Chime Voice Connector ID, or Amazon Chime Voice Connector
 38936  // group ID.
 38937  type PhoneNumberAssociation struct {
 38938  	_ struct{} `type:"structure"`
 38939  
 38940  	// The timestamp of the phone number association, in ISO 8601 format.
 38941  	AssociatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 38942  
 38943  	// Defines the association with an Amazon Chime account ID, user ID, Amazon
 38944  	// Chime Voice Connector ID, or Amazon Chime Voice Connector group ID.
 38945  	Name *string `type:"string" enum:"PhoneNumberAssociationName"`
 38946  
 38947  	// Contains the ID for the entity specified in Name.
 38948  	Value *string `type:"string"`
 38949  }
 38950  
 38951  // String returns the string representation.
 38952  //
 38953  // API parameter values that are decorated as "sensitive" in the API will not
 38954  // be included in the string output. The member name will be present, but the
 38955  // value will be replaced with "sensitive".
 38956  func (s PhoneNumberAssociation) String() string {
 38957  	return awsutil.Prettify(s)
 38958  }
 38959  
 38960  // GoString returns the string representation.
 38961  //
 38962  // API parameter values that are decorated as "sensitive" in the API will not
 38963  // be included in the string output. The member name will be present, but the
 38964  // value will be replaced with "sensitive".
 38965  func (s PhoneNumberAssociation) GoString() string {
 38966  	return s.String()
 38967  }
 38968  
 38969  // SetAssociatedTimestamp sets the AssociatedTimestamp field's value.
 38970  func (s *PhoneNumberAssociation) SetAssociatedTimestamp(v time.Time) *PhoneNumberAssociation {
 38971  	s.AssociatedTimestamp = &v
 38972  	return s
 38973  }
 38974  
 38975  // SetName sets the Name field's value.
 38976  func (s *PhoneNumberAssociation) SetName(v string) *PhoneNumberAssociation {
 38977  	s.Name = &v
 38978  	return s
 38979  }
 38980  
 38981  // SetValue sets the Value field's value.
 38982  func (s *PhoneNumberAssociation) SetValue(v string) *PhoneNumberAssociation {
 38983  	s.Value = &v
 38984  	return s
 38985  }
 38986  
 38987  // The phone number capabilities for Amazon Chime Business Calling phone numbers,
 38988  // such as enabled inbound and outbound calling and text messaging.
 38989  type PhoneNumberCapabilities struct {
 38990  	_ struct{} `type:"structure"`
 38991  
 38992  	// Allows or denies inbound calling for the specified phone number.
 38993  	InboundCall *bool `type:"boolean"`
 38994  
 38995  	// Allows or denies inbound MMS messaging for the specified phone number.
 38996  	InboundMMS *bool `type:"boolean"`
 38997  
 38998  	// Allows or denies inbound SMS messaging for the specified phone number.
 38999  	InboundSMS *bool `type:"boolean"`
 39000  
 39001  	// Allows or denies outbound calling for the specified phone number.
 39002  	OutboundCall *bool `type:"boolean"`
 39003  
 39004  	// Allows or denies outbound MMS messaging for the specified phone number.
 39005  	OutboundMMS *bool `type:"boolean"`
 39006  
 39007  	// Allows or denies outbound SMS messaging for the specified phone number.
 39008  	OutboundSMS *bool `type:"boolean"`
 39009  }
 39010  
 39011  // String returns the string representation.
 39012  //
 39013  // API parameter values that are decorated as "sensitive" in the API will not
 39014  // be included in the string output. The member name will be present, but the
 39015  // value will be replaced with "sensitive".
 39016  func (s PhoneNumberCapabilities) String() string {
 39017  	return awsutil.Prettify(s)
 39018  }
 39019  
 39020  // GoString returns the string representation.
 39021  //
 39022  // API parameter values that are decorated as "sensitive" in the API will not
 39023  // be included in the string output. The member name will be present, but the
 39024  // value will be replaced with "sensitive".
 39025  func (s PhoneNumberCapabilities) GoString() string {
 39026  	return s.String()
 39027  }
 39028  
 39029  // SetInboundCall sets the InboundCall field's value.
 39030  func (s *PhoneNumberCapabilities) SetInboundCall(v bool) *PhoneNumberCapabilities {
 39031  	s.InboundCall = &v
 39032  	return s
 39033  }
 39034  
 39035  // SetInboundMMS sets the InboundMMS field's value.
 39036  func (s *PhoneNumberCapabilities) SetInboundMMS(v bool) *PhoneNumberCapabilities {
 39037  	s.InboundMMS = &v
 39038  	return s
 39039  }
 39040  
 39041  // SetInboundSMS sets the InboundSMS field's value.
 39042  func (s *PhoneNumberCapabilities) SetInboundSMS(v bool) *PhoneNumberCapabilities {
 39043  	s.InboundSMS = &v
 39044  	return s
 39045  }
 39046  
 39047  // SetOutboundCall sets the OutboundCall field's value.
 39048  func (s *PhoneNumberCapabilities) SetOutboundCall(v bool) *PhoneNumberCapabilities {
 39049  	s.OutboundCall = &v
 39050  	return s
 39051  }
 39052  
 39053  // SetOutboundMMS sets the OutboundMMS field's value.
 39054  func (s *PhoneNumberCapabilities) SetOutboundMMS(v bool) *PhoneNumberCapabilities {
 39055  	s.OutboundMMS = &v
 39056  	return s
 39057  }
 39058  
 39059  // SetOutboundSMS sets the OutboundSMS field's value.
 39060  func (s *PhoneNumberCapabilities) SetOutboundSMS(v bool) *PhoneNumberCapabilities {
 39061  	s.OutboundSMS = &v
 39062  	return s
 39063  }
 39064  
 39065  // The phone number country.
 39066  type PhoneNumberCountry struct {
 39067  	_ struct{} `type:"structure"`
 39068  
 39069  	// The phone number country code. Format: ISO 3166-1 alpha-2.
 39070  	CountryCode *string `type:"string"`
 39071  
 39072  	// The supported phone number types.
 39073  	SupportedPhoneNumberTypes []*string `type:"list"`
 39074  }
 39075  
 39076  // String returns the string representation.
 39077  //
 39078  // API parameter values that are decorated as "sensitive" in the API will not
 39079  // be included in the string output. The member name will be present, but the
 39080  // value will be replaced with "sensitive".
 39081  func (s PhoneNumberCountry) String() string {
 39082  	return awsutil.Prettify(s)
 39083  }
 39084  
 39085  // GoString returns the string representation.
 39086  //
 39087  // API parameter values that are decorated as "sensitive" in the API will not
 39088  // be included in the string output. The member name will be present, but the
 39089  // value will be replaced with "sensitive".
 39090  func (s PhoneNumberCountry) GoString() string {
 39091  	return s.String()
 39092  }
 39093  
 39094  // SetCountryCode sets the CountryCode field's value.
 39095  func (s *PhoneNumberCountry) SetCountryCode(v string) *PhoneNumberCountry {
 39096  	s.CountryCode = &v
 39097  	return s
 39098  }
 39099  
 39100  // SetSupportedPhoneNumberTypes sets the SupportedPhoneNumberTypes field's value.
 39101  func (s *PhoneNumberCountry) SetSupportedPhoneNumberTypes(v []*string) *PhoneNumberCountry {
 39102  	s.SupportedPhoneNumberTypes = v
 39103  	return s
 39104  }
 39105  
 39106  // If the phone number action fails for one or more of the phone numbers in
 39107  // the request, a list of the phone numbers is returned, along with error codes
 39108  // and error messages.
 39109  type PhoneNumberError struct {
 39110  	_ struct{} `type:"structure"`
 39111  
 39112  	// The error code.
 39113  	ErrorCode *string `type:"string" enum:"ErrorCode"`
 39114  
 39115  	// The error message.
 39116  	ErrorMessage *string `type:"string"`
 39117  
 39118  	// The phone number ID for which the action failed.
 39119  	PhoneNumberId *string `type:"string"`
 39120  }
 39121  
 39122  // String returns the string representation.
 39123  //
 39124  // API parameter values that are decorated as "sensitive" in the API will not
 39125  // be included in the string output. The member name will be present, but the
 39126  // value will be replaced with "sensitive".
 39127  func (s PhoneNumberError) String() string {
 39128  	return awsutil.Prettify(s)
 39129  }
 39130  
 39131  // GoString returns the string representation.
 39132  //
 39133  // API parameter values that are decorated as "sensitive" in the API will not
 39134  // be included in the string output. The member name will be present, but the
 39135  // value will be replaced with "sensitive".
 39136  func (s PhoneNumberError) GoString() string {
 39137  	return s.String()
 39138  }
 39139  
 39140  // SetErrorCode sets the ErrorCode field's value.
 39141  func (s *PhoneNumberError) SetErrorCode(v string) *PhoneNumberError {
 39142  	s.ErrorCode = &v
 39143  	return s
 39144  }
 39145  
 39146  // SetErrorMessage sets the ErrorMessage field's value.
 39147  func (s *PhoneNumberError) SetErrorMessage(v string) *PhoneNumberError {
 39148  	s.ErrorMessage = &v
 39149  	return s
 39150  }
 39151  
 39152  // SetPhoneNumberId sets the PhoneNumberId field's value.
 39153  func (s *PhoneNumberError) SetPhoneNumberId(v string) *PhoneNumberError {
 39154  	s.PhoneNumberId = &v
 39155  	return s
 39156  }
 39157  
 39158  // The details of a phone number order created for Amazon Chime.
 39159  type PhoneNumberOrder struct {
 39160  	_ struct{} `type:"structure"`
 39161  
 39162  	// The phone number order creation time stamp, in ISO 8601 format.
 39163  	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 39164  
 39165  	// The ordered phone number details, such as the phone number in E.164 format
 39166  	// and the phone number status.
 39167  	OrderedPhoneNumbers []*OrderedPhoneNumber `type:"list"`
 39168  
 39169  	// The phone number order ID.
 39170  	PhoneNumberOrderId *string `type:"string"`
 39171  
 39172  	// The phone number order product type.
 39173  	ProductType *string `type:"string" enum:"PhoneNumberProductType"`
 39174  
 39175  	// The status of the phone number order.
 39176  	Status *string `type:"string" enum:"PhoneNumberOrderStatus"`
 39177  
 39178  	// The updated phone number order time stamp, in ISO 8601 format.
 39179  	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 39180  }
 39181  
 39182  // String returns the string representation.
 39183  //
 39184  // API parameter values that are decorated as "sensitive" in the API will not
 39185  // be included in the string output. The member name will be present, but the
 39186  // value will be replaced with "sensitive".
 39187  func (s PhoneNumberOrder) String() string {
 39188  	return awsutil.Prettify(s)
 39189  }
 39190  
 39191  // GoString returns the string representation.
 39192  //
 39193  // API parameter values that are decorated as "sensitive" in the API will not
 39194  // be included in the string output. The member name will be present, but the
 39195  // value will be replaced with "sensitive".
 39196  func (s PhoneNumberOrder) GoString() string {
 39197  	return s.String()
 39198  }
 39199  
 39200  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 39201  func (s *PhoneNumberOrder) SetCreatedTimestamp(v time.Time) *PhoneNumberOrder {
 39202  	s.CreatedTimestamp = &v
 39203  	return s
 39204  }
 39205  
 39206  // SetOrderedPhoneNumbers sets the OrderedPhoneNumbers field's value.
 39207  func (s *PhoneNumberOrder) SetOrderedPhoneNumbers(v []*OrderedPhoneNumber) *PhoneNumberOrder {
 39208  	s.OrderedPhoneNumbers = v
 39209  	return s
 39210  }
 39211  
 39212  // SetPhoneNumberOrderId sets the PhoneNumberOrderId field's value.
 39213  func (s *PhoneNumberOrder) SetPhoneNumberOrderId(v string) *PhoneNumberOrder {
 39214  	s.PhoneNumberOrderId = &v
 39215  	return s
 39216  }
 39217  
 39218  // SetProductType sets the ProductType field's value.
 39219  func (s *PhoneNumberOrder) SetProductType(v string) *PhoneNumberOrder {
 39220  	s.ProductType = &v
 39221  	return s
 39222  }
 39223  
 39224  // SetStatus sets the Status field's value.
 39225  func (s *PhoneNumberOrder) SetStatus(v string) *PhoneNumberOrder {
 39226  	s.Status = &v
 39227  	return s
 39228  }
 39229  
 39230  // SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
 39231  func (s *PhoneNumberOrder) SetUpdatedTimestamp(v time.Time) *PhoneNumberOrder {
 39232  	s.UpdatedTimestamp = &v
 39233  	return s
 39234  }
 39235  
 39236  // The proxy configuration for an Amazon Chime Voice Connector.
 39237  type Proxy struct {
 39238  	_ struct{} `type:"structure"`
 39239  
 39240  	// The default number of minutes allowed for proxy sessions.
 39241  	DefaultSessionExpiryMinutes *int64 `type:"integer"`
 39242  
 39243  	// When true, stops proxy sessions from being created on the specified Amazon
 39244  	// Chime Voice Connector.
 39245  	Disabled *bool `type:"boolean"`
 39246  
 39247  	// The phone number to route calls to after a proxy session expires.
 39248  	//
 39249  	// FallBackPhoneNumber is a sensitive parameter and its value will be
 39250  	// replaced with "sensitive" in string returned by Proxy's
 39251  	// String and GoString methods.
 39252  	FallBackPhoneNumber *string `type:"string" sensitive:"true"`
 39253  
 39254  	// The countries for proxy phone numbers to be selected from.
 39255  	PhoneNumberCountries []*string `type:"list"`
 39256  }
 39257  
 39258  // String returns the string representation.
 39259  //
 39260  // API parameter values that are decorated as "sensitive" in the API will not
 39261  // be included in the string output. The member name will be present, but the
 39262  // value will be replaced with "sensitive".
 39263  func (s Proxy) String() string {
 39264  	return awsutil.Prettify(s)
 39265  }
 39266  
 39267  // GoString returns the string representation.
 39268  //
 39269  // API parameter values that are decorated as "sensitive" in the API will not
 39270  // be included in the string output. The member name will be present, but the
 39271  // value will be replaced with "sensitive".
 39272  func (s Proxy) GoString() string {
 39273  	return s.String()
 39274  }
 39275  
 39276  // SetDefaultSessionExpiryMinutes sets the DefaultSessionExpiryMinutes field's value.
 39277  func (s *Proxy) SetDefaultSessionExpiryMinutes(v int64) *Proxy {
 39278  	s.DefaultSessionExpiryMinutes = &v
 39279  	return s
 39280  }
 39281  
 39282  // SetDisabled sets the Disabled field's value.
 39283  func (s *Proxy) SetDisabled(v bool) *Proxy {
 39284  	s.Disabled = &v
 39285  	return s
 39286  }
 39287  
 39288  // SetFallBackPhoneNumber sets the FallBackPhoneNumber field's value.
 39289  func (s *Proxy) SetFallBackPhoneNumber(v string) *Proxy {
 39290  	s.FallBackPhoneNumber = &v
 39291  	return s
 39292  }
 39293  
 39294  // SetPhoneNumberCountries sets the PhoneNumberCountries field's value.
 39295  func (s *Proxy) SetPhoneNumberCountries(v []*string) *Proxy {
 39296  	s.PhoneNumberCountries = v
 39297  	return s
 39298  }
 39299  
 39300  // The proxy session for an Amazon Chime Voice Connector.
 39301  type ProxySession struct {
 39302  	_ struct{} `type:"structure"`
 39303  
 39304  	// The proxy session capabilities.
 39305  	Capabilities []*string `type:"list"`
 39306  
 39307  	// The created time stamp, in ISO 8601 format.
 39308  	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 39309  
 39310  	// The ended time stamp, in ISO 8601 format.
 39311  	EndedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 39312  
 39313  	// The number of minutes allowed for the proxy session.
 39314  	ExpiryMinutes *int64 `min:"1" type:"integer"`
 39315  
 39316  	// The preference for matching the country or area code of the proxy phone number
 39317  	// with that of the first participant.
 39318  	GeoMatchLevel *string `type:"string" enum:"GeoMatchLevel"`
 39319  
 39320  	// The country and area code for the proxy phone number.
 39321  	GeoMatchParams *GeoMatchParams `type:"structure"`
 39322  
 39323  	// The name of the proxy session.
 39324  	Name *string `type:"string"`
 39325  
 39326  	// The preference for proxy phone number reuse, or stickiness, between the same
 39327  	// participants across sessions.
 39328  	NumberSelectionBehavior *string `type:"string" enum:"NumberSelectionBehavior"`
 39329  
 39330  	// The proxy session participants.
 39331  	Participants []*Participant `type:"list"`
 39332  
 39333  	// The proxy session ID.
 39334  	ProxySessionId *string `min:"1" type:"string"`
 39335  
 39336  	// The status of the proxy session.
 39337  	Status *string `type:"string" enum:"ProxySessionStatus"`
 39338  
 39339  	// The updated time stamp, in ISO 8601 format.
 39340  	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 39341  
 39342  	// The Amazon Chime voice connector ID.
 39343  	VoiceConnectorId *string `min:"1" type:"string"`
 39344  }
 39345  
 39346  // String returns the string representation.
 39347  //
 39348  // API parameter values that are decorated as "sensitive" in the API will not
 39349  // be included in the string output. The member name will be present, but the
 39350  // value will be replaced with "sensitive".
 39351  func (s ProxySession) String() string {
 39352  	return awsutil.Prettify(s)
 39353  }
 39354  
 39355  // GoString returns the string representation.
 39356  //
 39357  // API parameter values that are decorated as "sensitive" in the API will not
 39358  // be included in the string output. The member name will be present, but the
 39359  // value will be replaced with "sensitive".
 39360  func (s ProxySession) GoString() string {
 39361  	return s.String()
 39362  }
 39363  
 39364  // SetCapabilities sets the Capabilities field's value.
 39365  func (s *ProxySession) SetCapabilities(v []*string) *ProxySession {
 39366  	s.Capabilities = v
 39367  	return s
 39368  }
 39369  
 39370  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 39371  func (s *ProxySession) SetCreatedTimestamp(v time.Time) *ProxySession {
 39372  	s.CreatedTimestamp = &v
 39373  	return s
 39374  }
 39375  
 39376  // SetEndedTimestamp sets the EndedTimestamp field's value.
 39377  func (s *ProxySession) SetEndedTimestamp(v time.Time) *ProxySession {
 39378  	s.EndedTimestamp = &v
 39379  	return s
 39380  }
 39381  
 39382  // SetExpiryMinutes sets the ExpiryMinutes field's value.
 39383  func (s *ProxySession) SetExpiryMinutes(v int64) *ProxySession {
 39384  	s.ExpiryMinutes = &v
 39385  	return s
 39386  }
 39387  
 39388  // SetGeoMatchLevel sets the GeoMatchLevel field's value.
 39389  func (s *ProxySession) SetGeoMatchLevel(v string) *ProxySession {
 39390  	s.GeoMatchLevel = &v
 39391  	return s
 39392  }
 39393  
 39394  // SetGeoMatchParams sets the GeoMatchParams field's value.
 39395  func (s *ProxySession) SetGeoMatchParams(v *GeoMatchParams) *ProxySession {
 39396  	s.GeoMatchParams = v
 39397  	return s
 39398  }
 39399  
 39400  // SetName sets the Name field's value.
 39401  func (s *ProxySession) SetName(v string) *ProxySession {
 39402  	s.Name = &v
 39403  	return s
 39404  }
 39405  
 39406  // SetNumberSelectionBehavior sets the NumberSelectionBehavior field's value.
 39407  func (s *ProxySession) SetNumberSelectionBehavior(v string) *ProxySession {
 39408  	s.NumberSelectionBehavior = &v
 39409  	return s
 39410  }
 39411  
 39412  // SetParticipants sets the Participants field's value.
 39413  func (s *ProxySession) SetParticipants(v []*Participant) *ProxySession {
 39414  	s.Participants = v
 39415  	return s
 39416  }
 39417  
 39418  // SetProxySessionId sets the ProxySessionId field's value.
 39419  func (s *ProxySession) SetProxySessionId(v string) *ProxySession {
 39420  	s.ProxySessionId = &v
 39421  	return s
 39422  }
 39423  
 39424  // SetStatus sets the Status field's value.
 39425  func (s *ProxySession) SetStatus(v string) *ProxySession {
 39426  	s.Status = &v
 39427  	return s
 39428  }
 39429  
 39430  // SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
 39431  func (s *ProxySession) SetUpdatedTimestamp(v time.Time) *ProxySession {
 39432  	s.UpdatedTimestamp = &v
 39433  	return s
 39434  }
 39435  
 39436  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 39437  func (s *ProxySession) SetVoiceConnectorId(v string) *ProxySession {
 39438  	s.VoiceConnectorId = &v
 39439  	return s
 39440  }
 39441  
 39442  type PutAppInstanceRetentionSettingsInput struct {
 39443  	_ struct{} `type:"structure"`
 39444  
 39445  	// The ARN of the AppInstance.
 39446  	//
 39447  	// AppInstanceArn is a required field
 39448  	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
 39449  
 39450  	// The time in days to retain data. Data type: number.
 39451  	//
 39452  	// AppInstanceRetentionSettings is a required field
 39453  	AppInstanceRetentionSettings *AppInstanceRetentionSettings `type:"structure" required:"true"`
 39454  }
 39455  
 39456  // String returns the string representation.
 39457  //
 39458  // API parameter values that are decorated as "sensitive" in the API will not
 39459  // be included in the string output. The member name will be present, but the
 39460  // value will be replaced with "sensitive".
 39461  func (s PutAppInstanceRetentionSettingsInput) String() string {
 39462  	return awsutil.Prettify(s)
 39463  }
 39464  
 39465  // GoString returns the string representation.
 39466  //
 39467  // API parameter values that are decorated as "sensitive" in the API will not
 39468  // be included in the string output. The member name will be present, but the
 39469  // value will be replaced with "sensitive".
 39470  func (s PutAppInstanceRetentionSettingsInput) GoString() string {
 39471  	return s.String()
 39472  }
 39473  
 39474  // Validate inspects the fields of the type to determine if they are valid.
 39475  func (s *PutAppInstanceRetentionSettingsInput) Validate() error {
 39476  	invalidParams := request.ErrInvalidParams{Context: "PutAppInstanceRetentionSettingsInput"}
 39477  	if s.AppInstanceArn == nil {
 39478  		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
 39479  	}
 39480  	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
 39481  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
 39482  	}
 39483  	if s.AppInstanceRetentionSettings == nil {
 39484  		invalidParams.Add(request.NewErrParamRequired("AppInstanceRetentionSettings"))
 39485  	}
 39486  	if s.AppInstanceRetentionSettings != nil {
 39487  		if err := s.AppInstanceRetentionSettings.Validate(); err != nil {
 39488  			invalidParams.AddNested("AppInstanceRetentionSettings", err.(request.ErrInvalidParams))
 39489  		}
 39490  	}
 39491  
 39492  	if invalidParams.Len() > 0 {
 39493  		return invalidParams
 39494  	}
 39495  	return nil
 39496  }
 39497  
 39498  // SetAppInstanceArn sets the AppInstanceArn field's value.
 39499  func (s *PutAppInstanceRetentionSettingsInput) SetAppInstanceArn(v string) *PutAppInstanceRetentionSettingsInput {
 39500  	s.AppInstanceArn = &v
 39501  	return s
 39502  }
 39503  
 39504  // SetAppInstanceRetentionSettings sets the AppInstanceRetentionSettings field's value.
 39505  func (s *PutAppInstanceRetentionSettingsInput) SetAppInstanceRetentionSettings(v *AppInstanceRetentionSettings) *PutAppInstanceRetentionSettingsInput {
 39506  	s.AppInstanceRetentionSettings = v
 39507  	return s
 39508  }
 39509  
 39510  type PutAppInstanceRetentionSettingsOutput struct {
 39511  	_ struct{} `type:"structure"`
 39512  
 39513  	// The time in days to retain data. Data type: number.
 39514  	AppInstanceRetentionSettings *AppInstanceRetentionSettings `type:"structure"`
 39515  
 39516  	// The time at which the API deletes data.
 39517  	InitiateDeletionTimestamp *time.Time `type:"timestamp"`
 39518  }
 39519  
 39520  // String returns the string representation.
 39521  //
 39522  // API parameter values that are decorated as "sensitive" in the API will not
 39523  // be included in the string output. The member name will be present, but the
 39524  // value will be replaced with "sensitive".
 39525  func (s PutAppInstanceRetentionSettingsOutput) String() string {
 39526  	return awsutil.Prettify(s)
 39527  }
 39528  
 39529  // GoString returns the string representation.
 39530  //
 39531  // API parameter values that are decorated as "sensitive" in the API will not
 39532  // be included in the string output. The member name will be present, but the
 39533  // value will be replaced with "sensitive".
 39534  func (s PutAppInstanceRetentionSettingsOutput) GoString() string {
 39535  	return s.String()
 39536  }
 39537  
 39538  // SetAppInstanceRetentionSettings sets the AppInstanceRetentionSettings field's value.
 39539  func (s *PutAppInstanceRetentionSettingsOutput) SetAppInstanceRetentionSettings(v *AppInstanceRetentionSettings) *PutAppInstanceRetentionSettingsOutput {
 39540  	s.AppInstanceRetentionSettings = v
 39541  	return s
 39542  }
 39543  
 39544  // SetInitiateDeletionTimestamp sets the InitiateDeletionTimestamp field's value.
 39545  func (s *PutAppInstanceRetentionSettingsOutput) SetInitiateDeletionTimestamp(v time.Time) *PutAppInstanceRetentionSettingsOutput {
 39546  	s.InitiateDeletionTimestamp = &v
 39547  	return s
 39548  }
 39549  
 39550  type PutAppInstanceStreamingConfigurationsInput struct {
 39551  	_ struct{} `type:"structure"`
 39552  
 39553  	// The ARN of the AppInstance.
 39554  	//
 39555  	// AppInstanceArn is a required field
 39556  	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
 39557  
 39558  	// The streaming configurations set for an AppInstance.
 39559  	//
 39560  	// AppInstanceStreamingConfigurations is a required field
 39561  	AppInstanceStreamingConfigurations []*AppInstanceStreamingConfiguration `min:"1" type:"list" required:"true"`
 39562  }
 39563  
 39564  // String returns the string representation.
 39565  //
 39566  // API parameter values that are decorated as "sensitive" in the API will not
 39567  // be included in the string output. The member name will be present, but the
 39568  // value will be replaced with "sensitive".
 39569  func (s PutAppInstanceStreamingConfigurationsInput) String() string {
 39570  	return awsutil.Prettify(s)
 39571  }
 39572  
 39573  // GoString returns the string representation.
 39574  //
 39575  // API parameter values that are decorated as "sensitive" in the API will not
 39576  // be included in the string output. The member name will be present, but the
 39577  // value will be replaced with "sensitive".
 39578  func (s PutAppInstanceStreamingConfigurationsInput) GoString() string {
 39579  	return s.String()
 39580  }
 39581  
 39582  // Validate inspects the fields of the type to determine if they are valid.
 39583  func (s *PutAppInstanceStreamingConfigurationsInput) Validate() error {
 39584  	invalidParams := request.ErrInvalidParams{Context: "PutAppInstanceStreamingConfigurationsInput"}
 39585  	if s.AppInstanceArn == nil {
 39586  		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
 39587  	}
 39588  	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
 39589  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
 39590  	}
 39591  	if s.AppInstanceStreamingConfigurations == nil {
 39592  		invalidParams.Add(request.NewErrParamRequired("AppInstanceStreamingConfigurations"))
 39593  	}
 39594  	if s.AppInstanceStreamingConfigurations != nil && len(s.AppInstanceStreamingConfigurations) < 1 {
 39595  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceStreamingConfigurations", 1))
 39596  	}
 39597  	if s.AppInstanceStreamingConfigurations != nil {
 39598  		for i, v := range s.AppInstanceStreamingConfigurations {
 39599  			if v == nil {
 39600  				continue
 39601  			}
 39602  			if err := v.Validate(); err != nil {
 39603  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AppInstanceStreamingConfigurations", i), err.(request.ErrInvalidParams))
 39604  			}
 39605  		}
 39606  	}
 39607  
 39608  	if invalidParams.Len() > 0 {
 39609  		return invalidParams
 39610  	}
 39611  	return nil
 39612  }
 39613  
 39614  // SetAppInstanceArn sets the AppInstanceArn field's value.
 39615  func (s *PutAppInstanceStreamingConfigurationsInput) SetAppInstanceArn(v string) *PutAppInstanceStreamingConfigurationsInput {
 39616  	s.AppInstanceArn = &v
 39617  	return s
 39618  }
 39619  
 39620  // SetAppInstanceStreamingConfigurations sets the AppInstanceStreamingConfigurations field's value.
 39621  func (s *PutAppInstanceStreamingConfigurationsInput) SetAppInstanceStreamingConfigurations(v []*AppInstanceStreamingConfiguration) *PutAppInstanceStreamingConfigurationsInput {
 39622  	s.AppInstanceStreamingConfigurations = v
 39623  	return s
 39624  }
 39625  
 39626  type PutAppInstanceStreamingConfigurationsOutput struct {
 39627  	_ struct{} `type:"structure"`
 39628  
 39629  	// The streaming configurations of an AppInstance.
 39630  	AppInstanceStreamingConfigurations []*AppInstanceStreamingConfiguration `min:"1" type:"list"`
 39631  }
 39632  
 39633  // String returns the string representation.
 39634  //
 39635  // API parameter values that are decorated as "sensitive" in the API will not
 39636  // be included in the string output. The member name will be present, but the
 39637  // value will be replaced with "sensitive".
 39638  func (s PutAppInstanceStreamingConfigurationsOutput) String() string {
 39639  	return awsutil.Prettify(s)
 39640  }
 39641  
 39642  // GoString returns the string representation.
 39643  //
 39644  // API parameter values that are decorated as "sensitive" in the API will not
 39645  // be included in the string output. The member name will be present, but the
 39646  // value will be replaced with "sensitive".
 39647  func (s PutAppInstanceStreamingConfigurationsOutput) GoString() string {
 39648  	return s.String()
 39649  }
 39650  
 39651  // SetAppInstanceStreamingConfigurations sets the AppInstanceStreamingConfigurations field's value.
 39652  func (s *PutAppInstanceStreamingConfigurationsOutput) SetAppInstanceStreamingConfigurations(v []*AppInstanceStreamingConfiguration) *PutAppInstanceStreamingConfigurationsOutput {
 39653  	s.AppInstanceStreamingConfigurations = v
 39654  	return s
 39655  }
 39656  
 39657  type PutEventsConfigurationInput struct {
 39658  	_ struct{} `type:"structure"`
 39659  
 39660  	// The Amazon Chime account ID.
 39661  	//
 39662  	// AccountId is a required field
 39663  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 39664  
 39665  	// The bot ID.
 39666  	//
 39667  	// BotId is a required field
 39668  	BotId *string `location:"uri" locationName:"botId" type:"string" required:"true"`
 39669  
 39670  	// Lambda function ARN that allows the bot to receive outgoing events.
 39671  	//
 39672  	// LambdaFunctionArn is a sensitive parameter and its value will be
 39673  	// replaced with "sensitive" in string returned by PutEventsConfigurationInput's
 39674  	// String and GoString methods.
 39675  	LambdaFunctionArn *string `type:"string" sensitive:"true"`
 39676  
 39677  	// HTTPS endpoint that allows the bot to receive outgoing events.
 39678  	//
 39679  	// OutboundEventsHTTPSEndpoint is a sensitive parameter and its value will be
 39680  	// replaced with "sensitive" in string returned by PutEventsConfigurationInput's
 39681  	// String and GoString methods.
 39682  	OutboundEventsHTTPSEndpoint *string `type:"string" sensitive:"true"`
 39683  }
 39684  
 39685  // String returns the string representation.
 39686  //
 39687  // API parameter values that are decorated as "sensitive" in the API will not
 39688  // be included in the string output. The member name will be present, but the
 39689  // value will be replaced with "sensitive".
 39690  func (s PutEventsConfigurationInput) String() string {
 39691  	return awsutil.Prettify(s)
 39692  }
 39693  
 39694  // GoString returns the string representation.
 39695  //
 39696  // API parameter values that are decorated as "sensitive" in the API will not
 39697  // be included in the string output. The member name will be present, but the
 39698  // value will be replaced with "sensitive".
 39699  func (s PutEventsConfigurationInput) GoString() string {
 39700  	return s.String()
 39701  }
 39702  
 39703  // Validate inspects the fields of the type to determine if they are valid.
 39704  func (s *PutEventsConfigurationInput) Validate() error {
 39705  	invalidParams := request.ErrInvalidParams{Context: "PutEventsConfigurationInput"}
 39706  	if s.AccountId == nil {
 39707  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 39708  	}
 39709  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 39710  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 39711  	}
 39712  	if s.BotId == nil {
 39713  		invalidParams.Add(request.NewErrParamRequired("BotId"))
 39714  	}
 39715  	if s.BotId != nil && len(*s.BotId) < 1 {
 39716  		invalidParams.Add(request.NewErrParamMinLen("BotId", 1))
 39717  	}
 39718  
 39719  	if invalidParams.Len() > 0 {
 39720  		return invalidParams
 39721  	}
 39722  	return nil
 39723  }
 39724  
 39725  // SetAccountId sets the AccountId field's value.
 39726  func (s *PutEventsConfigurationInput) SetAccountId(v string) *PutEventsConfigurationInput {
 39727  	s.AccountId = &v
 39728  	return s
 39729  }
 39730  
 39731  // SetBotId sets the BotId field's value.
 39732  func (s *PutEventsConfigurationInput) SetBotId(v string) *PutEventsConfigurationInput {
 39733  	s.BotId = &v
 39734  	return s
 39735  }
 39736  
 39737  // SetLambdaFunctionArn sets the LambdaFunctionArn field's value.
 39738  func (s *PutEventsConfigurationInput) SetLambdaFunctionArn(v string) *PutEventsConfigurationInput {
 39739  	s.LambdaFunctionArn = &v
 39740  	return s
 39741  }
 39742  
 39743  // SetOutboundEventsHTTPSEndpoint sets the OutboundEventsHTTPSEndpoint field's value.
 39744  func (s *PutEventsConfigurationInput) SetOutboundEventsHTTPSEndpoint(v string) *PutEventsConfigurationInput {
 39745  	s.OutboundEventsHTTPSEndpoint = &v
 39746  	return s
 39747  }
 39748  
 39749  type PutEventsConfigurationOutput struct {
 39750  	_ struct{} `type:"structure"`
 39751  
 39752  	// The configuration that allows a bot to receive outgoing events. Can be either
 39753  	// an HTTPS endpoint or a Lambda function ARN.
 39754  	EventsConfiguration *EventsConfiguration `type:"structure"`
 39755  }
 39756  
 39757  // String returns the string representation.
 39758  //
 39759  // API parameter values that are decorated as "sensitive" in the API will not
 39760  // be included in the string output. The member name will be present, but the
 39761  // value will be replaced with "sensitive".
 39762  func (s PutEventsConfigurationOutput) String() string {
 39763  	return awsutil.Prettify(s)
 39764  }
 39765  
 39766  // GoString returns the string representation.
 39767  //
 39768  // API parameter values that are decorated as "sensitive" in the API will not
 39769  // be included in the string output. The member name will be present, but the
 39770  // value will be replaced with "sensitive".
 39771  func (s PutEventsConfigurationOutput) GoString() string {
 39772  	return s.String()
 39773  }
 39774  
 39775  // SetEventsConfiguration sets the EventsConfiguration field's value.
 39776  func (s *PutEventsConfigurationOutput) SetEventsConfiguration(v *EventsConfiguration) *PutEventsConfigurationOutput {
 39777  	s.EventsConfiguration = v
 39778  	return s
 39779  }
 39780  
 39781  type PutRetentionSettingsInput struct {
 39782  	_ struct{} `type:"structure"`
 39783  
 39784  	// The Amazon Chime account ID.
 39785  	//
 39786  	// AccountId is a required field
 39787  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 39788  
 39789  	// The retention settings.
 39790  	//
 39791  	// RetentionSettings is a required field
 39792  	RetentionSettings *RetentionSettings `type:"structure" required:"true"`
 39793  }
 39794  
 39795  // String returns the string representation.
 39796  //
 39797  // API parameter values that are decorated as "sensitive" in the API will not
 39798  // be included in the string output. The member name will be present, but the
 39799  // value will be replaced with "sensitive".
 39800  func (s PutRetentionSettingsInput) String() string {
 39801  	return awsutil.Prettify(s)
 39802  }
 39803  
 39804  // GoString returns the string representation.
 39805  //
 39806  // API parameter values that are decorated as "sensitive" in the API will not
 39807  // be included in the string output. The member name will be present, but the
 39808  // value will be replaced with "sensitive".
 39809  func (s PutRetentionSettingsInput) GoString() string {
 39810  	return s.String()
 39811  }
 39812  
 39813  // Validate inspects the fields of the type to determine if they are valid.
 39814  func (s *PutRetentionSettingsInput) Validate() error {
 39815  	invalidParams := request.ErrInvalidParams{Context: "PutRetentionSettingsInput"}
 39816  	if s.AccountId == nil {
 39817  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 39818  	}
 39819  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 39820  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 39821  	}
 39822  	if s.RetentionSettings == nil {
 39823  		invalidParams.Add(request.NewErrParamRequired("RetentionSettings"))
 39824  	}
 39825  	if s.RetentionSettings != nil {
 39826  		if err := s.RetentionSettings.Validate(); err != nil {
 39827  			invalidParams.AddNested("RetentionSettings", err.(request.ErrInvalidParams))
 39828  		}
 39829  	}
 39830  
 39831  	if invalidParams.Len() > 0 {
 39832  		return invalidParams
 39833  	}
 39834  	return nil
 39835  }
 39836  
 39837  // SetAccountId sets the AccountId field's value.
 39838  func (s *PutRetentionSettingsInput) SetAccountId(v string) *PutRetentionSettingsInput {
 39839  	s.AccountId = &v
 39840  	return s
 39841  }
 39842  
 39843  // SetRetentionSettings sets the RetentionSettings field's value.
 39844  func (s *PutRetentionSettingsInput) SetRetentionSettings(v *RetentionSettings) *PutRetentionSettingsInput {
 39845  	s.RetentionSettings = v
 39846  	return s
 39847  }
 39848  
 39849  type PutRetentionSettingsOutput struct {
 39850  	_ struct{} `type:"structure"`
 39851  
 39852  	// The timestamp representing the time at which the specified items are permanently
 39853  	// deleted, in ISO 8601 format.
 39854  	InitiateDeletionTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 39855  
 39856  	// The retention settings.
 39857  	RetentionSettings *RetentionSettings `type:"structure"`
 39858  }
 39859  
 39860  // String returns the string representation.
 39861  //
 39862  // API parameter values that are decorated as "sensitive" in the API will not
 39863  // be included in the string output. The member name will be present, but the
 39864  // value will be replaced with "sensitive".
 39865  func (s PutRetentionSettingsOutput) String() string {
 39866  	return awsutil.Prettify(s)
 39867  }
 39868  
 39869  // GoString returns the string representation.
 39870  //
 39871  // API parameter values that are decorated as "sensitive" in the API will not
 39872  // be included in the string output. The member name will be present, but the
 39873  // value will be replaced with "sensitive".
 39874  func (s PutRetentionSettingsOutput) GoString() string {
 39875  	return s.String()
 39876  }
 39877  
 39878  // SetInitiateDeletionTimestamp sets the InitiateDeletionTimestamp field's value.
 39879  func (s *PutRetentionSettingsOutput) SetInitiateDeletionTimestamp(v time.Time) *PutRetentionSettingsOutput {
 39880  	s.InitiateDeletionTimestamp = &v
 39881  	return s
 39882  }
 39883  
 39884  // SetRetentionSettings sets the RetentionSettings field's value.
 39885  func (s *PutRetentionSettingsOutput) SetRetentionSettings(v *RetentionSettings) *PutRetentionSettingsOutput {
 39886  	s.RetentionSettings = v
 39887  	return s
 39888  }
 39889  
 39890  type PutSipMediaApplicationLoggingConfigurationInput struct {
 39891  	_ struct{} `type:"structure"`
 39892  
 39893  	// The SIP media application ID.
 39894  	//
 39895  	// SipMediaApplicationId is a required field
 39896  	SipMediaApplicationId *string `location:"uri" locationName:"sipMediaApplicationId" type:"string" required:"true"`
 39897  
 39898  	// The actual logging configuration.
 39899  	SipMediaApplicationLoggingConfiguration *SipMediaApplicationLoggingConfiguration `type:"structure"`
 39900  }
 39901  
 39902  // String returns the string representation.
 39903  //
 39904  // API parameter values that are decorated as "sensitive" in the API will not
 39905  // be included in the string output. The member name will be present, but the
 39906  // value will be replaced with "sensitive".
 39907  func (s PutSipMediaApplicationLoggingConfigurationInput) String() string {
 39908  	return awsutil.Prettify(s)
 39909  }
 39910  
 39911  // GoString returns the string representation.
 39912  //
 39913  // API parameter values that are decorated as "sensitive" in the API will not
 39914  // be included in the string output. The member name will be present, but the
 39915  // value will be replaced with "sensitive".
 39916  func (s PutSipMediaApplicationLoggingConfigurationInput) GoString() string {
 39917  	return s.String()
 39918  }
 39919  
 39920  // Validate inspects the fields of the type to determine if they are valid.
 39921  func (s *PutSipMediaApplicationLoggingConfigurationInput) Validate() error {
 39922  	invalidParams := request.ErrInvalidParams{Context: "PutSipMediaApplicationLoggingConfigurationInput"}
 39923  	if s.SipMediaApplicationId == nil {
 39924  		invalidParams.Add(request.NewErrParamRequired("SipMediaApplicationId"))
 39925  	}
 39926  	if s.SipMediaApplicationId != nil && len(*s.SipMediaApplicationId) < 1 {
 39927  		invalidParams.Add(request.NewErrParamMinLen("SipMediaApplicationId", 1))
 39928  	}
 39929  
 39930  	if invalidParams.Len() > 0 {
 39931  		return invalidParams
 39932  	}
 39933  	return nil
 39934  }
 39935  
 39936  // SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
 39937  func (s *PutSipMediaApplicationLoggingConfigurationInput) SetSipMediaApplicationId(v string) *PutSipMediaApplicationLoggingConfigurationInput {
 39938  	s.SipMediaApplicationId = &v
 39939  	return s
 39940  }
 39941  
 39942  // SetSipMediaApplicationLoggingConfiguration sets the SipMediaApplicationLoggingConfiguration field's value.
 39943  func (s *PutSipMediaApplicationLoggingConfigurationInput) SetSipMediaApplicationLoggingConfiguration(v *SipMediaApplicationLoggingConfiguration) *PutSipMediaApplicationLoggingConfigurationInput {
 39944  	s.SipMediaApplicationLoggingConfiguration = v
 39945  	return s
 39946  }
 39947  
 39948  type PutSipMediaApplicationLoggingConfigurationOutput struct {
 39949  	_ struct{} `type:"structure"`
 39950  
 39951  	// Logging configuration of the SIP media application.
 39952  	SipMediaApplicationLoggingConfiguration *SipMediaApplicationLoggingConfiguration `type:"structure"`
 39953  }
 39954  
 39955  // String returns the string representation.
 39956  //
 39957  // API parameter values that are decorated as "sensitive" in the API will not
 39958  // be included in the string output. The member name will be present, but the
 39959  // value will be replaced with "sensitive".
 39960  func (s PutSipMediaApplicationLoggingConfigurationOutput) String() string {
 39961  	return awsutil.Prettify(s)
 39962  }
 39963  
 39964  // GoString returns the string representation.
 39965  //
 39966  // API parameter values that are decorated as "sensitive" in the API will not
 39967  // be included in the string output. The member name will be present, but the
 39968  // value will be replaced with "sensitive".
 39969  func (s PutSipMediaApplicationLoggingConfigurationOutput) GoString() string {
 39970  	return s.String()
 39971  }
 39972  
 39973  // SetSipMediaApplicationLoggingConfiguration sets the SipMediaApplicationLoggingConfiguration field's value.
 39974  func (s *PutSipMediaApplicationLoggingConfigurationOutput) SetSipMediaApplicationLoggingConfiguration(v *SipMediaApplicationLoggingConfiguration) *PutSipMediaApplicationLoggingConfigurationOutput {
 39975  	s.SipMediaApplicationLoggingConfiguration = v
 39976  	return s
 39977  }
 39978  
 39979  type PutVoiceConnectorEmergencyCallingConfigurationInput struct {
 39980  	_ struct{} `type:"structure"`
 39981  
 39982  	// The emergency calling configuration details.
 39983  	//
 39984  	// EmergencyCallingConfiguration is a required field
 39985  	EmergencyCallingConfiguration *EmergencyCallingConfiguration `type:"structure" required:"true"`
 39986  
 39987  	// The Amazon Chime Voice Connector ID.
 39988  	//
 39989  	// VoiceConnectorId is a required field
 39990  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 39991  }
 39992  
 39993  // String returns the string representation.
 39994  //
 39995  // API parameter values that are decorated as "sensitive" in the API will not
 39996  // be included in the string output. The member name will be present, but the
 39997  // value will be replaced with "sensitive".
 39998  func (s PutVoiceConnectorEmergencyCallingConfigurationInput) String() string {
 39999  	return awsutil.Prettify(s)
 40000  }
 40001  
 40002  // GoString returns the string representation.
 40003  //
 40004  // API parameter values that are decorated as "sensitive" in the API will not
 40005  // be included in the string output. The member name will be present, but the
 40006  // value will be replaced with "sensitive".
 40007  func (s PutVoiceConnectorEmergencyCallingConfigurationInput) GoString() string {
 40008  	return s.String()
 40009  }
 40010  
 40011  // Validate inspects the fields of the type to determine if they are valid.
 40012  func (s *PutVoiceConnectorEmergencyCallingConfigurationInput) Validate() error {
 40013  	invalidParams := request.ErrInvalidParams{Context: "PutVoiceConnectorEmergencyCallingConfigurationInput"}
 40014  	if s.EmergencyCallingConfiguration == nil {
 40015  		invalidParams.Add(request.NewErrParamRequired("EmergencyCallingConfiguration"))
 40016  	}
 40017  	if s.VoiceConnectorId == nil {
 40018  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 40019  	}
 40020  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 40021  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 40022  	}
 40023  	if s.EmergencyCallingConfiguration != nil {
 40024  		if err := s.EmergencyCallingConfiguration.Validate(); err != nil {
 40025  			invalidParams.AddNested("EmergencyCallingConfiguration", err.(request.ErrInvalidParams))
 40026  		}
 40027  	}
 40028  
 40029  	if invalidParams.Len() > 0 {
 40030  		return invalidParams
 40031  	}
 40032  	return nil
 40033  }
 40034  
 40035  // SetEmergencyCallingConfiguration sets the EmergencyCallingConfiguration field's value.
 40036  func (s *PutVoiceConnectorEmergencyCallingConfigurationInput) SetEmergencyCallingConfiguration(v *EmergencyCallingConfiguration) *PutVoiceConnectorEmergencyCallingConfigurationInput {
 40037  	s.EmergencyCallingConfiguration = v
 40038  	return s
 40039  }
 40040  
 40041  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 40042  func (s *PutVoiceConnectorEmergencyCallingConfigurationInput) SetVoiceConnectorId(v string) *PutVoiceConnectorEmergencyCallingConfigurationInput {
 40043  	s.VoiceConnectorId = &v
 40044  	return s
 40045  }
 40046  
 40047  type PutVoiceConnectorEmergencyCallingConfigurationOutput struct {
 40048  	_ struct{} `type:"structure"`
 40049  
 40050  	// The emergency calling configuration details.
 40051  	EmergencyCallingConfiguration *EmergencyCallingConfiguration `type:"structure"`
 40052  }
 40053  
 40054  // String returns the string representation.
 40055  //
 40056  // API parameter values that are decorated as "sensitive" in the API will not
 40057  // be included in the string output. The member name will be present, but the
 40058  // value will be replaced with "sensitive".
 40059  func (s PutVoiceConnectorEmergencyCallingConfigurationOutput) String() string {
 40060  	return awsutil.Prettify(s)
 40061  }
 40062  
 40063  // GoString returns the string representation.
 40064  //
 40065  // API parameter values that are decorated as "sensitive" in the API will not
 40066  // be included in the string output. The member name will be present, but the
 40067  // value will be replaced with "sensitive".
 40068  func (s PutVoiceConnectorEmergencyCallingConfigurationOutput) GoString() string {
 40069  	return s.String()
 40070  }
 40071  
 40072  // SetEmergencyCallingConfiguration sets the EmergencyCallingConfiguration field's value.
 40073  func (s *PutVoiceConnectorEmergencyCallingConfigurationOutput) SetEmergencyCallingConfiguration(v *EmergencyCallingConfiguration) *PutVoiceConnectorEmergencyCallingConfigurationOutput {
 40074  	s.EmergencyCallingConfiguration = v
 40075  	return s
 40076  }
 40077  
 40078  type PutVoiceConnectorLoggingConfigurationInput struct {
 40079  	_ struct{} `type:"structure"`
 40080  
 40081  	// The logging configuration details to add.
 40082  	//
 40083  	// LoggingConfiguration is a required field
 40084  	LoggingConfiguration *LoggingConfiguration `type:"structure" required:"true"`
 40085  
 40086  	// The Amazon Chime Voice Connector ID.
 40087  	//
 40088  	// VoiceConnectorId is a required field
 40089  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 40090  }
 40091  
 40092  // String returns the string representation.
 40093  //
 40094  // API parameter values that are decorated as "sensitive" in the API will not
 40095  // be included in the string output. The member name will be present, but the
 40096  // value will be replaced with "sensitive".
 40097  func (s PutVoiceConnectorLoggingConfigurationInput) String() string {
 40098  	return awsutil.Prettify(s)
 40099  }
 40100  
 40101  // GoString returns the string representation.
 40102  //
 40103  // API parameter values that are decorated as "sensitive" in the API will not
 40104  // be included in the string output. The member name will be present, but the
 40105  // value will be replaced with "sensitive".
 40106  func (s PutVoiceConnectorLoggingConfigurationInput) GoString() string {
 40107  	return s.String()
 40108  }
 40109  
 40110  // Validate inspects the fields of the type to determine if they are valid.
 40111  func (s *PutVoiceConnectorLoggingConfigurationInput) Validate() error {
 40112  	invalidParams := request.ErrInvalidParams{Context: "PutVoiceConnectorLoggingConfigurationInput"}
 40113  	if s.LoggingConfiguration == nil {
 40114  		invalidParams.Add(request.NewErrParamRequired("LoggingConfiguration"))
 40115  	}
 40116  	if s.VoiceConnectorId == nil {
 40117  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 40118  	}
 40119  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 40120  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 40121  	}
 40122  
 40123  	if invalidParams.Len() > 0 {
 40124  		return invalidParams
 40125  	}
 40126  	return nil
 40127  }
 40128  
 40129  // SetLoggingConfiguration sets the LoggingConfiguration field's value.
 40130  func (s *PutVoiceConnectorLoggingConfigurationInput) SetLoggingConfiguration(v *LoggingConfiguration) *PutVoiceConnectorLoggingConfigurationInput {
 40131  	s.LoggingConfiguration = v
 40132  	return s
 40133  }
 40134  
 40135  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 40136  func (s *PutVoiceConnectorLoggingConfigurationInput) SetVoiceConnectorId(v string) *PutVoiceConnectorLoggingConfigurationInput {
 40137  	s.VoiceConnectorId = &v
 40138  	return s
 40139  }
 40140  
 40141  type PutVoiceConnectorLoggingConfigurationOutput struct {
 40142  	_ struct{} `type:"structure"`
 40143  
 40144  	// The updated logging configuration details.
 40145  	LoggingConfiguration *LoggingConfiguration `type:"structure"`
 40146  }
 40147  
 40148  // String returns the string representation.
 40149  //
 40150  // API parameter values that are decorated as "sensitive" in the API will not
 40151  // be included in the string output. The member name will be present, but the
 40152  // value will be replaced with "sensitive".
 40153  func (s PutVoiceConnectorLoggingConfigurationOutput) String() string {
 40154  	return awsutil.Prettify(s)
 40155  }
 40156  
 40157  // GoString returns the string representation.
 40158  //
 40159  // API parameter values that are decorated as "sensitive" in the API will not
 40160  // be included in the string output. The member name will be present, but the
 40161  // value will be replaced with "sensitive".
 40162  func (s PutVoiceConnectorLoggingConfigurationOutput) GoString() string {
 40163  	return s.String()
 40164  }
 40165  
 40166  // SetLoggingConfiguration sets the LoggingConfiguration field's value.
 40167  func (s *PutVoiceConnectorLoggingConfigurationOutput) SetLoggingConfiguration(v *LoggingConfiguration) *PutVoiceConnectorLoggingConfigurationOutput {
 40168  	s.LoggingConfiguration = v
 40169  	return s
 40170  }
 40171  
 40172  type PutVoiceConnectorOriginationInput struct {
 40173  	_ struct{} `type:"structure"`
 40174  
 40175  	// The origination setting details to add.
 40176  	//
 40177  	// Origination is a required field
 40178  	Origination *Origination `type:"structure" required:"true"`
 40179  
 40180  	// The Amazon Chime Voice Connector ID.
 40181  	//
 40182  	// VoiceConnectorId is a required field
 40183  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 40184  }
 40185  
 40186  // String returns the string representation.
 40187  //
 40188  // API parameter values that are decorated as "sensitive" in the API will not
 40189  // be included in the string output. The member name will be present, but the
 40190  // value will be replaced with "sensitive".
 40191  func (s PutVoiceConnectorOriginationInput) String() string {
 40192  	return awsutil.Prettify(s)
 40193  }
 40194  
 40195  // GoString returns the string representation.
 40196  //
 40197  // API parameter values that are decorated as "sensitive" in the API will not
 40198  // be included in the string output. The member name will be present, but the
 40199  // value will be replaced with "sensitive".
 40200  func (s PutVoiceConnectorOriginationInput) GoString() string {
 40201  	return s.String()
 40202  }
 40203  
 40204  // Validate inspects the fields of the type to determine if they are valid.
 40205  func (s *PutVoiceConnectorOriginationInput) Validate() error {
 40206  	invalidParams := request.ErrInvalidParams{Context: "PutVoiceConnectorOriginationInput"}
 40207  	if s.Origination == nil {
 40208  		invalidParams.Add(request.NewErrParamRequired("Origination"))
 40209  	}
 40210  	if s.VoiceConnectorId == nil {
 40211  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 40212  	}
 40213  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 40214  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 40215  	}
 40216  	if s.Origination != nil {
 40217  		if err := s.Origination.Validate(); err != nil {
 40218  			invalidParams.AddNested("Origination", err.(request.ErrInvalidParams))
 40219  		}
 40220  	}
 40221  
 40222  	if invalidParams.Len() > 0 {
 40223  		return invalidParams
 40224  	}
 40225  	return nil
 40226  }
 40227  
 40228  // SetOrigination sets the Origination field's value.
 40229  func (s *PutVoiceConnectorOriginationInput) SetOrigination(v *Origination) *PutVoiceConnectorOriginationInput {
 40230  	s.Origination = v
 40231  	return s
 40232  }
 40233  
 40234  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 40235  func (s *PutVoiceConnectorOriginationInput) SetVoiceConnectorId(v string) *PutVoiceConnectorOriginationInput {
 40236  	s.VoiceConnectorId = &v
 40237  	return s
 40238  }
 40239  
 40240  type PutVoiceConnectorOriginationOutput struct {
 40241  	_ struct{} `type:"structure"`
 40242  
 40243  	// The updated origination setting details.
 40244  	Origination *Origination `type:"structure"`
 40245  }
 40246  
 40247  // String returns the string representation.
 40248  //
 40249  // API parameter values that are decorated as "sensitive" in the API will not
 40250  // be included in the string output. The member name will be present, but the
 40251  // value will be replaced with "sensitive".
 40252  func (s PutVoiceConnectorOriginationOutput) String() string {
 40253  	return awsutil.Prettify(s)
 40254  }
 40255  
 40256  // GoString returns the string representation.
 40257  //
 40258  // API parameter values that are decorated as "sensitive" in the API will not
 40259  // be included in the string output. The member name will be present, but the
 40260  // value will be replaced with "sensitive".
 40261  func (s PutVoiceConnectorOriginationOutput) GoString() string {
 40262  	return s.String()
 40263  }
 40264  
 40265  // SetOrigination sets the Origination field's value.
 40266  func (s *PutVoiceConnectorOriginationOutput) SetOrigination(v *Origination) *PutVoiceConnectorOriginationOutput {
 40267  	s.Origination = v
 40268  	return s
 40269  }
 40270  
 40271  type PutVoiceConnectorProxyInput struct {
 40272  	_ struct{} `type:"structure"`
 40273  
 40274  	// The default number of minutes allowed for proxy sessions.
 40275  	//
 40276  	// DefaultSessionExpiryMinutes is a required field
 40277  	DefaultSessionExpiryMinutes *int64 `type:"integer" required:"true"`
 40278  
 40279  	// When true, stops proxy sessions from being created on the specified Amazon
 40280  	// Chime Voice Connector.
 40281  	Disabled *bool `type:"boolean"`
 40282  
 40283  	// The phone number to route calls to after a proxy session expires.
 40284  	//
 40285  	// FallBackPhoneNumber is a sensitive parameter and its value will be
 40286  	// replaced with "sensitive" in string returned by PutVoiceConnectorProxyInput's
 40287  	// String and GoString methods.
 40288  	FallBackPhoneNumber *string `type:"string" sensitive:"true"`
 40289  
 40290  	// The countries for proxy phone numbers to be selected from.
 40291  	//
 40292  	// PhoneNumberPoolCountries is a required field
 40293  	PhoneNumberPoolCountries []*string `min:"1" type:"list" required:"true"`
 40294  
 40295  	// The Amazon Chime voice connector ID.
 40296  	//
 40297  	// VoiceConnectorId is a required field
 40298  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" min:"1" type:"string" required:"true"`
 40299  }
 40300  
 40301  // String returns the string representation.
 40302  //
 40303  // API parameter values that are decorated as "sensitive" in the API will not
 40304  // be included in the string output. The member name will be present, but the
 40305  // value will be replaced with "sensitive".
 40306  func (s PutVoiceConnectorProxyInput) String() string {
 40307  	return awsutil.Prettify(s)
 40308  }
 40309  
 40310  // GoString returns the string representation.
 40311  //
 40312  // API parameter values that are decorated as "sensitive" in the API will not
 40313  // be included in the string output. The member name will be present, but the
 40314  // value will be replaced with "sensitive".
 40315  func (s PutVoiceConnectorProxyInput) GoString() string {
 40316  	return s.String()
 40317  }
 40318  
 40319  // Validate inspects the fields of the type to determine if they are valid.
 40320  func (s *PutVoiceConnectorProxyInput) Validate() error {
 40321  	invalidParams := request.ErrInvalidParams{Context: "PutVoiceConnectorProxyInput"}
 40322  	if s.DefaultSessionExpiryMinutes == nil {
 40323  		invalidParams.Add(request.NewErrParamRequired("DefaultSessionExpiryMinutes"))
 40324  	}
 40325  	if s.PhoneNumberPoolCountries == nil {
 40326  		invalidParams.Add(request.NewErrParamRequired("PhoneNumberPoolCountries"))
 40327  	}
 40328  	if s.PhoneNumberPoolCountries != nil && len(s.PhoneNumberPoolCountries) < 1 {
 40329  		invalidParams.Add(request.NewErrParamMinLen("PhoneNumberPoolCountries", 1))
 40330  	}
 40331  	if s.VoiceConnectorId == nil {
 40332  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 40333  	}
 40334  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 40335  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 40336  	}
 40337  
 40338  	if invalidParams.Len() > 0 {
 40339  		return invalidParams
 40340  	}
 40341  	return nil
 40342  }
 40343  
 40344  // SetDefaultSessionExpiryMinutes sets the DefaultSessionExpiryMinutes field's value.
 40345  func (s *PutVoiceConnectorProxyInput) SetDefaultSessionExpiryMinutes(v int64) *PutVoiceConnectorProxyInput {
 40346  	s.DefaultSessionExpiryMinutes = &v
 40347  	return s
 40348  }
 40349  
 40350  // SetDisabled sets the Disabled field's value.
 40351  func (s *PutVoiceConnectorProxyInput) SetDisabled(v bool) *PutVoiceConnectorProxyInput {
 40352  	s.Disabled = &v
 40353  	return s
 40354  }
 40355  
 40356  // SetFallBackPhoneNumber sets the FallBackPhoneNumber field's value.
 40357  func (s *PutVoiceConnectorProxyInput) SetFallBackPhoneNumber(v string) *PutVoiceConnectorProxyInput {
 40358  	s.FallBackPhoneNumber = &v
 40359  	return s
 40360  }
 40361  
 40362  // SetPhoneNumberPoolCountries sets the PhoneNumberPoolCountries field's value.
 40363  func (s *PutVoiceConnectorProxyInput) SetPhoneNumberPoolCountries(v []*string) *PutVoiceConnectorProxyInput {
 40364  	s.PhoneNumberPoolCountries = v
 40365  	return s
 40366  }
 40367  
 40368  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 40369  func (s *PutVoiceConnectorProxyInput) SetVoiceConnectorId(v string) *PutVoiceConnectorProxyInput {
 40370  	s.VoiceConnectorId = &v
 40371  	return s
 40372  }
 40373  
 40374  type PutVoiceConnectorProxyOutput struct {
 40375  	_ struct{} `type:"structure"`
 40376  
 40377  	// The proxy configuration details.
 40378  	Proxy *Proxy `type:"structure"`
 40379  }
 40380  
 40381  // String returns the string representation.
 40382  //
 40383  // API parameter values that are decorated as "sensitive" in the API will not
 40384  // be included in the string output. The member name will be present, but the
 40385  // value will be replaced with "sensitive".
 40386  func (s PutVoiceConnectorProxyOutput) String() string {
 40387  	return awsutil.Prettify(s)
 40388  }
 40389  
 40390  // GoString returns the string representation.
 40391  //
 40392  // API parameter values that are decorated as "sensitive" in the API will not
 40393  // be included in the string output. The member name will be present, but the
 40394  // value will be replaced with "sensitive".
 40395  func (s PutVoiceConnectorProxyOutput) GoString() string {
 40396  	return s.String()
 40397  }
 40398  
 40399  // SetProxy sets the Proxy field's value.
 40400  func (s *PutVoiceConnectorProxyOutput) SetProxy(v *Proxy) *PutVoiceConnectorProxyOutput {
 40401  	s.Proxy = v
 40402  	return s
 40403  }
 40404  
 40405  type PutVoiceConnectorStreamingConfigurationInput struct {
 40406  	_ struct{} `type:"structure"`
 40407  
 40408  	// The streaming configuration details to add.
 40409  	//
 40410  	// StreamingConfiguration is a required field
 40411  	StreamingConfiguration *StreamingConfiguration `type:"structure" required:"true"`
 40412  
 40413  	// The Amazon Chime Voice Connector ID.
 40414  	//
 40415  	// VoiceConnectorId is a required field
 40416  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 40417  }
 40418  
 40419  // String returns the string representation.
 40420  //
 40421  // API parameter values that are decorated as "sensitive" in the API will not
 40422  // be included in the string output. The member name will be present, but the
 40423  // value will be replaced with "sensitive".
 40424  func (s PutVoiceConnectorStreamingConfigurationInput) String() string {
 40425  	return awsutil.Prettify(s)
 40426  }
 40427  
 40428  // GoString returns the string representation.
 40429  //
 40430  // API parameter values that are decorated as "sensitive" in the API will not
 40431  // be included in the string output. The member name will be present, but the
 40432  // value will be replaced with "sensitive".
 40433  func (s PutVoiceConnectorStreamingConfigurationInput) GoString() string {
 40434  	return s.String()
 40435  }
 40436  
 40437  // Validate inspects the fields of the type to determine if they are valid.
 40438  func (s *PutVoiceConnectorStreamingConfigurationInput) Validate() error {
 40439  	invalidParams := request.ErrInvalidParams{Context: "PutVoiceConnectorStreamingConfigurationInput"}
 40440  	if s.StreamingConfiguration == nil {
 40441  		invalidParams.Add(request.NewErrParamRequired("StreamingConfiguration"))
 40442  	}
 40443  	if s.VoiceConnectorId == nil {
 40444  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 40445  	}
 40446  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 40447  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 40448  	}
 40449  	if s.StreamingConfiguration != nil {
 40450  		if err := s.StreamingConfiguration.Validate(); err != nil {
 40451  			invalidParams.AddNested("StreamingConfiguration", err.(request.ErrInvalidParams))
 40452  		}
 40453  	}
 40454  
 40455  	if invalidParams.Len() > 0 {
 40456  		return invalidParams
 40457  	}
 40458  	return nil
 40459  }
 40460  
 40461  // SetStreamingConfiguration sets the StreamingConfiguration field's value.
 40462  func (s *PutVoiceConnectorStreamingConfigurationInput) SetStreamingConfiguration(v *StreamingConfiguration) *PutVoiceConnectorStreamingConfigurationInput {
 40463  	s.StreamingConfiguration = v
 40464  	return s
 40465  }
 40466  
 40467  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 40468  func (s *PutVoiceConnectorStreamingConfigurationInput) SetVoiceConnectorId(v string) *PutVoiceConnectorStreamingConfigurationInput {
 40469  	s.VoiceConnectorId = &v
 40470  	return s
 40471  }
 40472  
 40473  type PutVoiceConnectorStreamingConfigurationOutput struct {
 40474  	_ struct{} `type:"structure"`
 40475  
 40476  	// The updated streaming configuration details.
 40477  	StreamingConfiguration *StreamingConfiguration `type:"structure"`
 40478  }
 40479  
 40480  // String returns the string representation.
 40481  //
 40482  // API parameter values that are decorated as "sensitive" in the API will not
 40483  // be included in the string output. The member name will be present, but the
 40484  // value will be replaced with "sensitive".
 40485  func (s PutVoiceConnectorStreamingConfigurationOutput) String() string {
 40486  	return awsutil.Prettify(s)
 40487  }
 40488  
 40489  // GoString returns the string representation.
 40490  //
 40491  // API parameter values that are decorated as "sensitive" in the API will not
 40492  // be included in the string output. The member name will be present, but the
 40493  // value will be replaced with "sensitive".
 40494  func (s PutVoiceConnectorStreamingConfigurationOutput) GoString() string {
 40495  	return s.String()
 40496  }
 40497  
 40498  // SetStreamingConfiguration sets the StreamingConfiguration field's value.
 40499  func (s *PutVoiceConnectorStreamingConfigurationOutput) SetStreamingConfiguration(v *StreamingConfiguration) *PutVoiceConnectorStreamingConfigurationOutput {
 40500  	s.StreamingConfiguration = v
 40501  	return s
 40502  }
 40503  
 40504  type PutVoiceConnectorTerminationCredentialsInput struct {
 40505  	_ struct{} `type:"structure"`
 40506  
 40507  	// The termination SIP credentials.
 40508  	Credentials []*Credential `type:"list"`
 40509  
 40510  	// The Amazon Chime Voice Connector ID.
 40511  	//
 40512  	// VoiceConnectorId is a required field
 40513  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 40514  }
 40515  
 40516  // String returns the string representation.
 40517  //
 40518  // API parameter values that are decorated as "sensitive" in the API will not
 40519  // be included in the string output. The member name will be present, but the
 40520  // value will be replaced with "sensitive".
 40521  func (s PutVoiceConnectorTerminationCredentialsInput) String() string {
 40522  	return awsutil.Prettify(s)
 40523  }
 40524  
 40525  // GoString returns the string representation.
 40526  //
 40527  // API parameter values that are decorated as "sensitive" in the API will not
 40528  // be included in the string output. The member name will be present, but the
 40529  // value will be replaced with "sensitive".
 40530  func (s PutVoiceConnectorTerminationCredentialsInput) GoString() string {
 40531  	return s.String()
 40532  }
 40533  
 40534  // Validate inspects the fields of the type to determine if they are valid.
 40535  func (s *PutVoiceConnectorTerminationCredentialsInput) Validate() error {
 40536  	invalidParams := request.ErrInvalidParams{Context: "PutVoiceConnectorTerminationCredentialsInput"}
 40537  	if s.VoiceConnectorId == nil {
 40538  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 40539  	}
 40540  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 40541  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 40542  	}
 40543  
 40544  	if invalidParams.Len() > 0 {
 40545  		return invalidParams
 40546  	}
 40547  	return nil
 40548  }
 40549  
 40550  // SetCredentials sets the Credentials field's value.
 40551  func (s *PutVoiceConnectorTerminationCredentialsInput) SetCredentials(v []*Credential) *PutVoiceConnectorTerminationCredentialsInput {
 40552  	s.Credentials = v
 40553  	return s
 40554  }
 40555  
 40556  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 40557  func (s *PutVoiceConnectorTerminationCredentialsInput) SetVoiceConnectorId(v string) *PutVoiceConnectorTerminationCredentialsInput {
 40558  	s.VoiceConnectorId = &v
 40559  	return s
 40560  }
 40561  
 40562  type PutVoiceConnectorTerminationCredentialsOutput struct {
 40563  	_ struct{} `type:"structure" nopayload:"true"`
 40564  }
 40565  
 40566  // String returns the string representation.
 40567  //
 40568  // API parameter values that are decorated as "sensitive" in the API will not
 40569  // be included in the string output. The member name will be present, but the
 40570  // value will be replaced with "sensitive".
 40571  func (s PutVoiceConnectorTerminationCredentialsOutput) String() string {
 40572  	return awsutil.Prettify(s)
 40573  }
 40574  
 40575  // GoString returns the string representation.
 40576  //
 40577  // API parameter values that are decorated as "sensitive" in the API will not
 40578  // be included in the string output. The member name will be present, but the
 40579  // value will be replaced with "sensitive".
 40580  func (s PutVoiceConnectorTerminationCredentialsOutput) GoString() string {
 40581  	return s.String()
 40582  }
 40583  
 40584  type PutVoiceConnectorTerminationInput struct {
 40585  	_ struct{} `type:"structure"`
 40586  
 40587  	// The termination setting details to add.
 40588  	//
 40589  	// Termination is a required field
 40590  	Termination *Termination `type:"structure" required:"true"`
 40591  
 40592  	// The Amazon Chime Voice Connector ID.
 40593  	//
 40594  	// VoiceConnectorId is a required field
 40595  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 40596  }
 40597  
 40598  // String returns the string representation.
 40599  //
 40600  // API parameter values that are decorated as "sensitive" in the API will not
 40601  // be included in the string output. The member name will be present, but the
 40602  // value will be replaced with "sensitive".
 40603  func (s PutVoiceConnectorTerminationInput) String() string {
 40604  	return awsutil.Prettify(s)
 40605  }
 40606  
 40607  // GoString returns the string representation.
 40608  //
 40609  // API parameter values that are decorated as "sensitive" in the API will not
 40610  // be included in the string output. The member name will be present, but the
 40611  // value will be replaced with "sensitive".
 40612  func (s PutVoiceConnectorTerminationInput) GoString() string {
 40613  	return s.String()
 40614  }
 40615  
 40616  // Validate inspects the fields of the type to determine if they are valid.
 40617  func (s *PutVoiceConnectorTerminationInput) Validate() error {
 40618  	invalidParams := request.ErrInvalidParams{Context: "PutVoiceConnectorTerminationInput"}
 40619  	if s.Termination == nil {
 40620  		invalidParams.Add(request.NewErrParamRequired("Termination"))
 40621  	}
 40622  	if s.VoiceConnectorId == nil {
 40623  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 40624  	}
 40625  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 40626  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 40627  	}
 40628  	if s.Termination != nil {
 40629  		if err := s.Termination.Validate(); err != nil {
 40630  			invalidParams.AddNested("Termination", err.(request.ErrInvalidParams))
 40631  		}
 40632  	}
 40633  
 40634  	if invalidParams.Len() > 0 {
 40635  		return invalidParams
 40636  	}
 40637  	return nil
 40638  }
 40639  
 40640  // SetTermination sets the Termination field's value.
 40641  func (s *PutVoiceConnectorTerminationInput) SetTermination(v *Termination) *PutVoiceConnectorTerminationInput {
 40642  	s.Termination = v
 40643  	return s
 40644  }
 40645  
 40646  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 40647  func (s *PutVoiceConnectorTerminationInput) SetVoiceConnectorId(v string) *PutVoiceConnectorTerminationInput {
 40648  	s.VoiceConnectorId = &v
 40649  	return s
 40650  }
 40651  
 40652  type PutVoiceConnectorTerminationOutput struct {
 40653  	_ struct{} `type:"structure"`
 40654  
 40655  	// The updated termination setting details.
 40656  	Termination *Termination `type:"structure"`
 40657  }
 40658  
 40659  // String returns the string representation.
 40660  //
 40661  // API parameter values that are decorated as "sensitive" in the API will not
 40662  // be included in the string output. The member name will be present, but the
 40663  // value will be replaced with "sensitive".
 40664  func (s PutVoiceConnectorTerminationOutput) String() string {
 40665  	return awsutil.Prettify(s)
 40666  }
 40667  
 40668  // GoString returns the string representation.
 40669  //
 40670  // API parameter values that are decorated as "sensitive" in the API will not
 40671  // be included in the string output. The member name will be present, but the
 40672  // value will be replaced with "sensitive".
 40673  func (s PutVoiceConnectorTerminationOutput) GoString() string {
 40674  	return s.String()
 40675  }
 40676  
 40677  // SetTermination sets the Termination field's value.
 40678  func (s *PutVoiceConnectorTerminationOutput) SetTermination(v *Termination) *PutVoiceConnectorTerminationOutput {
 40679  	s.Termination = v
 40680  	return s
 40681  }
 40682  
 40683  type RedactChannelMessageInput struct {
 40684  	_ struct{} `type:"structure" nopayload:"true"`
 40685  
 40686  	// The ARN of the channel containing the messages that you want to redact.
 40687  	//
 40688  	// ChannelArn is a required field
 40689  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 40690  
 40691  	// The AppInstanceUserArn of the user that makes the API call.
 40692  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 40693  
 40694  	// The ID of the message being redacted.
 40695  	//
 40696  	// MessageId is a required field
 40697  	MessageId *string `location:"uri" locationName:"messageId" min:"1" type:"string" required:"true"`
 40698  }
 40699  
 40700  // String returns the string representation.
 40701  //
 40702  // API parameter values that are decorated as "sensitive" in the API will not
 40703  // be included in the string output. The member name will be present, but the
 40704  // value will be replaced with "sensitive".
 40705  func (s RedactChannelMessageInput) String() string {
 40706  	return awsutil.Prettify(s)
 40707  }
 40708  
 40709  // GoString returns the string representation.
 40710  //
 40711  // API parameter values that are decorated as "sensitive" in the API will not
 40712  // be included in the string output. The member name will be present, but the
 40713  // value will be replaced with "sensitive".
 40714  func (s RedactChannelMessageInput) GoString() string {
 40715  	return s.String()
 40716  }
 40717  
 40718  // Validate inspects the fields of the type to determine if they are valid.
 40719  func (s *RedactChannelMessageInput) Validate() error {
 40720  	invalidParams := request.ErrInvalidParams{Context: "RedactChannelMessageInput"}
 40721  	if s.ChannelArn == nil {
 40722  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 40723  	}
 40724  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 40725  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 40726  	}
 40727  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 40728  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 40729  	}
 40730  	if s.MessageId == nil {
 40731  		invalidParams.Add(request.NewErrParamRequired("MessageId"))
 40732  	}
 40733  	if s.MessageId != nil && len(*s.MessageId) < 1 {
 40734  		invalidParams.Add(request.NewErrParamMinLen("MessageId", 1))
 40735  	}
 40736  
 40737  	if invalidParams.Len() > 0 {
 40738  		return invalidParams
 40739  	}
 40740  	return nil
 40741  }
 40742  
 40743  // SetChannelArn sets the ChannelArn field's value.
 40744  func (s *RedactChannelMessageInput) SetChannelArn(v string) *RedactChannelMessageInput {
 40745  	s.ChannelArn = &v
 40746  	return s
 40747  }
 40748  
 40749  // SetChimeBearer sets the ChimeBearer field's value.
 40750  func (s *RedactChannelMessageInput) SetChimeBearer(v string) *RedactChannelMessageInput {
 40751  	s.ChimeBearer = &v
 40752  	return s
 40753  }
 40754  
 40755  // SetMessageId sets the MessageId field's value.
 40756  func (s *RedactChannelMessageInput) SetMessageId(v string) *RedactChannelMessageInput {
 40757  	s.MessageId = &v
 40758  	return s
 40759  }
 40760  
 40761  type RedactChannelMessageOutput struct {
 40762  	_ struct{} `type:"structure"`
 40763  
 40764  	// The ARN of the channel containing the messages that you want to redact.
 40765  	ChannelArn *string `min:"5" type:"string"`
 40766  
 40767  	// The ID of the message being redacted.
 40768  	MessageId *string `min:"1" type:"string"`
 40769  }
 40770  
 40771  // String returns the string representation.
 40772  //
 40773  // API parameter values that are decorated as "sensitive" in the API will not
 40774  // be included in the string output. The member name will be present, but the
 40775  // value will be replaced with "sensitive".
 40776  func (s RedactChannelMessageOutput) String() string {
 40777  	return awsutil.Prettify(s)
 40778  }
 40779  
 40780  // GoString returns the string representation.
 40781  //
 40782  // API parameter values that are decorated as "sensitive" in the API will not
 40783  // be included in the string output. The member name will be present, but the
 40784  // value will be replaced with "sensitive".
 40785  func (s RedactChannelMessageOutput) GoString() string {
 40786  	return s.String()
 40787  }
 40788  
 40789  // SetChannelArn sets the ChannelArn field's value.
 40790  func (s *RedactChannelMessageOutput) SetChannelArn(v string) *RedactChannelMessageOutput {
 40791  	s.ChannelArn = &v
 40792  	return s
 40793  }
 40794  
 40795  // SetMessageId sets the MessageId field's value.
 40796  func (s *RedactChannelMessageOutput) SetMessageId(v string) *RedactChannelMessageOutput {
 40797  	s.MessageId = &v
 40798  	return s
 40799  }
 40800  
 40801  type RedactConversationMessageInput struct {
 40802  	_ struct{} `type:"structure" nopayload:"true"`
 40803  
 40804  	// The Amazon Chime account ID.
 40805  	//
 40806  	// AccountId is a required field
 40807  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 40808  
 40809  	// The conversation ID.
 40810  	//
 40811  	// ConversationId is a required field
 40812  	ConversationId *string `location:"uri" locationName:"conversationId" type:"string" required:"true"`
 40813  
 40814  	// The message ID.
 40815  	//
 40816  	// MessageId is a required field
 40817  	MessageId *string `location:"uri" locationName:"messageId" type:"string" required:"true"`
 40818  }
 40819  
 40820  // String returns the string representation.
 40821  //
 40822  // API parameter values that are decorated as "sensitive" in the API will not
 40823  // be included in the string output. The member name will be present, but the
 40824  // value will be replaced with "sensitive".
 40825  func (s RedactConversationMessageInput) String() string {
 40826  	return awsutil.Prettify(s)
 40827  }
 40828  
 40829  // GoString returns the string representation.
 40830  //
 40831  // API parameter values that are decorated as "sensitive" in the API will not
 40832  // be included in the string output. The member name will be present, but the
 40833  // value will be replaced with "sensitive".
 40834  func (s RedactConversationMessageInput) GoString() string {
 40835  	return s.String()
 40836  }
 40837  
 40838  // Validate inspects the fields of the type to determine if they are valid.
 40839  func (s *RedactConversationMessageInput) Validate() error {
 40840  	invalidParams := request.ErrInvalidParams{Context: "RedactConversationMessageInput"}
 40841  	if s.AccountId == nil {
 40842  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 40843  	}
 40844  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 40845  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 40846  	}
 40847  	if s.ConversationId == nil {
 40848  		invalidParams.Add(request.NewErrParamRequired("ConversationId"))
 40849  	}
 40850  	if s.ConversationId != nil && len(*s.ConversationId) < 1 {
 40851  		invalidParams.Add(request.NewErrParamMinLen("ConversationId", 1))
 40852  	}
 40853  	if s.MessageId == nil {
 40854  		invalidParams.Add(request.NewErrParamRequired("MessageId"))
 40855  	}
 40856  	if s.MessageId != nil && len(*s.MessageId) < 1 {
 40857  		invalidParams.Add(request.NewErrParamMinLen("MessageId", 1))
 40858  	}
 40859  
 40860  	if invalidParams.Len() > 0 {
 40861  		return invalidParams
 40862  	}
 40863  	return nil
 40864  }
 40865  
 40866  // SetAccountId sets the AccountId field's value.
 40867  func (s *RedactConversationMessageInput) SetAccountId(v string) *RedactConversationMessageInput {
 40868  	s.AccountId = &v
 40869  	return s
 40870  }
 40871  
 40872  // SetConversationId sets the ConversationId field's value.
 40873  func (s *RedactConversationMessageInput) SetConversationId(v string) *RedactConversationMessageInput {
 40874  	s.ConversationId = &v
 40875  	return s
 40876  }
 40877  
 40878  // SetMessageId sets the MessageId field's value.
 40879  func (s *RedactConversationMessageInput) SetMessageId(v string) *RedactConversationMessageInput {
 40880  	s.MessageId = &v
 40881  	return s
 40882  }
 40883  
 40884  type RedactConversationMessageOutput struct {
 40885  	_ struct{} `type:"structure" nopayload:"true"`
 40886  }
 40887  
 40888  // String returns the string representation.
 40889  //
 40890  // API parameter values that are decorated as "sensitive" in the API will not
 40891  // be included in the string output. The member name will be present, but the
 40892  // value will be replaced with "sensitive".
 40893  func (s RedactConversationMessageOutput) String() string {
 40894  	return awsutil.Prettify(s)
 40895  }
 40896  
 40897  // GoString returns the string representation.
 40898  //
 40899  // API parameter values that are decorated as "sensitive" in the API will not
 40900  // be included in the string output. The member name will be present, but the
 40901  // value will be replaced with "sensitive".
 40902  func (s RedactConversationMessageOutput) GoString() string {
 40903  	return s.String()
 40904  }
 40905  
 40906  type RedactRoomMessageInput struct {
 40907  	_ struct{} `type:"structure" nopayload:"true"`
 40908  
 40909  	// The Amazon Chime account ID.
 40910  	//
 40911  	// AccountId is a required field
 40912  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 40913  
 40914  	// The message ID.
 40915  	//
 40916  	// MessageId is a required field
 40917  	MessageId *string `location:"uri" locationName:"messageId" type:"string" required:"true"`
 40918  
 40919  	// The room ID.
 40920  	//
 40921  	// RoomId is a required field
 40922  	RoomId *string `location:"uri" locationName:"roomId" type:"string" required:"true"`
 40923  }
 40924  
 40925  // String returns the string representation.
 40926  //
 40927  // API parameter values that are decorated as "sensitive" in the API will not
 40928  // be included in the string output. The member name will be present, but the
 40929  // value will be replaced with "sensitive".
 40930  func (s RedactRoomMessageInput) String() string {
 40931  	return awsutil.Prettify(s)
 40932  }
 40933  
 40934  // GoString returns the string representation.
 40935  //
 40936  // API parameter values that are decorated as "sensitive" in the API will not
 40937  // be included in the string output. The member name will be present, but the
 40938  // value will be replaced with "sensitive".
 40939  func (s RedactRoomMessageInput) GoString() string {
 40940  	return s.String()
 40941  }
 40942  
 40943  // Validate inspects the fields of the type to determine if they are valid.
 40944  func (s *RedactRoomMessageInput) Validate() error {
 40945  	invalidParams := request.ErrInvalidParams{Context: "RedactRoomMessageInput"}
 40946  	if s.AccountId == nil {
 40947  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 40948  	}
 40949  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 40950  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 40951  	}
 40952  	if s.MessageId == nil {
 40953  		invalidParams.Add(request.NewErrParamRequired("MessageId"))
 40954  	}
 40955  	if s.MessageId != nil && len(*s.MessageId) < 1 {
 40956  		invalidParams.Add(request.NewErrParamMinLen("MessageId", 1))
 40957  	}
 40958  	if s.RoomId == nil {
 40959  		invalidParams.Add(request.NewErrParamRequired("RoomId"))
 40960  	}
 40961  	if s.RoomId != nil && len(*s.RoomId) < 1 {
 40962  		invalidParams.Add(request.NewErrParamMinLen("RoomId", 1))
 40963  	}
 40964  
 40965  	if invalidParams.Len() > 0 {
 40966  		return invalidParams
 40967  	}
 40968  	return nil
 40969  }
 40970  
 40971  // SetAccountId sets the AccountId field's value.
 40972  func (s *RedactRoomMessageInput) SetAccountId(v string) *RedactRoomMessageInput {
 40973  	s.AccountId = &v
 40974  	return s
 40975  }
 40976  
 40977  // SetMessageId sets the MessageId field's value.
 40978  func (s *RedactRoomMessageInput) SetMessageId(v string) *RedactRoomMessageInput {
 40979  	s.MessageId = &v
 40980  	return s
 40981  }
 40982  
 40983  // SetRoomId sets the RoomId field's value.
 40984  func (s *RedactRoomMessageInput) SetRoomId(v string) *RedactRoomMessageInput {
 40985  	s.RoomId = &v
 40986  	return s
 40987  }
 40988  
 40989  type RedactRoomMessageOutput struct {
 40990  	_ struct{} `type:"structure" nopayload:"true"`
 40991  }
 40992  
 40993  // String returns the string representation.
 40994  //
 40995  // API parameter values that are decorated as "sensitive" in the API will not
 40996  // be included in the string output. The member name will be present, but the
 40997  // value will be replaced with "sensitive".
 40998  func (s RedactRoomMessageOutput) String() string {
 40999  	return awsutil.Prettify(s)
 41000  }
 41001  
 41002  // GoString returns the string representation.
 41003  //
 41004  // API parameter values that are decorated as "sensitive" in the API will not
 41005  // be included in the string output. The member name will be present, but the
 41006  // value will be replaced with "sensitive".
 41007  func (s RedactRoomMessageOutput) GoString() string {
 41008  	return s.String()
 41009  }
 41010  
 41011  type RegenerateSecurityTokenInput struct {
 41012  	_ struct{} `type:"structure" nopayload:"true"`
 41013  
 41014  	// The Amazon Chime account ID.
 41015  	//
 41016  	// AccountId is a required field
 41017  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 41018  
 41019  	// The bot ID.
 41020  	//
 41021  	// BotId is a required field
 41022  	BotId *string `location:"uri" locationName:"botId" type:"string" required:"true"`
 41023  }
 41024  
 41025  // String returns the string representation.
 41026  //
 41027  // API parameter values that are decorated as "sensitive" in the API will not
 41028  // be included in the string output. The member name will be present, but the
 41029  // value will be replaced with "sensitive".
 41030  func (s RegenerateSecurityTokenInput) String() string {
 41031  	return awsutil.Prettify(s)
 41032  }
 41033  
 41034  // GoString returns the string representation.
 41035  //
 41036  // API parameter values that are decorated as "sensitive" in the API will not
 41037  // be included in the string output. The member name will be present, but the
 41038  // value will be replaced with "sensitive".
 41039  func (s RegenerateSecurityTokenInput) GoString() string {
 41040  	return s.String()
 41041  }
 41042  
 41043  // Validate inspects the fields of the type to determine if they are valid.
 41044  func (s *RegenerateSecurityTokenInput) Validate() error {
 41045  	invalidParams := request.ErrInvalidParams{Context: "RegenerateSecurityTokenInput"}
 41046  	if s.AccountId == nil {
 41047  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 41048  	}
 41049  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 41050  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 41051  	}
 41052  	if s.BotId == nil {
 41053  		invalidParams.Add(request.NewErrParamRequired("BotId"))
 41054  	}
 41055  	if s.BotId != nil && len(*s.BotId) < 1 {
 41056  		invalidParams.Add(request.NewErrParamMinLen("BotId", 1))
 41057  	}
 41058  
 41059  	if invalidParams.Len() > 0 {
 41060  		return invalidParams
 41061  	}
 41062  	return nil
 41063  }
 41064  
 41065  // SetAccountId sets the AccountId field's value.
 41066  func (s *RegenerateSecurityTokenInput) SetAccountId(v string) *RegenerateSecurityTokenInput {
 41067  	s.AccountId = &v
 41068  	return s
 41069  }
 41070  
 41071  // SetBotId sets the BotId field's value.
 41072  func (s *RegenerateSecurityTokenInput) SetBotId(v string) *RegenerateSecurityTokenInput {
 41073  	s.BotId = &v
 41074  	return s
 41075  }
 41076  
 41077  type RegenerateSecurityTokenOutput struct {
 41078  	_ struct{} `type:"structure"`
 41079  
 41080  	// A resource that allows Enterprise account administrators to configure an
 41081  	// interface to receive events from Amazon Chime.
 41082  	Bot *Bot `type:"structure"`
 41083  }
 41084  
 41085  // String returns the string representation.
 41086  //
 41087  // API parameter values that are decorated as "sensitive" in the API will not
 41088  // be included in the string output. The member name will be present, but the
 41089  // value will be replaced with "sensitive".
 41090  func (s RegenerateSecurityTokenOutput) String() string {
 41091  	return awsutil.Prettify(s)
 41092  }
 41093  
 41094  // GoString returns the string representation.
 41095  //
 41096  // API parameter values that are decorated as "sensitive" in the API will not
 41097  // be included in the string output. The member name will be present, but the
 41098  // value will be replaced with "sensitive".
 41099  func (s RegenerateSecurityTokenOutput) GoString() string {
 41100  	return s.String()
 41101  }
 41102  
 41103  // SetBot sets the Bot field's value.
 41104  func (s *RegenerateSecurityTokenOutput) SetBot(v *Bot) *RegenerateSecurityTokenOutput {
 41105  	s.Bot = v
 41106  	return s
 41107  }
 41108  
 41109  type ResetPersonalPINInput struct {
 41110  	_ struct{} `type:"structure" nopayload:"true"`
 41111  
 41112  	// The Amazon Chime account ID.
 41113  	//
 41114  	// AccountId is a required field
 41115  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 41116  
 41117  	// The user ID.
 41118  	//
 41119  	// UserId is a required field
 41120  	UserId *string `location:"uri" locationName:"userId" type:"string" required:"true"`
 41121  }
 41122  
 41123  // String returns the string representation.
 41124  //
 41125  // API parameter values that are decorated as "sensitive" in the API will not
 41126  // be included in the string output. The member name will be present, but the
 41127  // value will be replaced with "sensitive".
 41128  func (s ResetPersonalPINInput) String() string {
 41129  	return awsutil.Prettify(s)
 41130  }
 41131  
 41132  // GoString returns the string representation.
 41133  //
 41134  // API parameter values that are decorated as "sensitive" in the API will not
 41135  // be included in the string output. The member name will be present, but the
 41136  // value will be replaced with "sensitive".
 41137  func (s ResetPersonalPINInput) GoString() string {
 41138  	return s.String()
 41139  }
 41140  
 41141  // Validate inspects the fields of the type to determine if they are valid.
 41142  func (s *ResetPersonalPINInput) Validate() error {
 41143  	invalidParams := request.ErrInvalidParams{Context: "ResetPersonalPINInput"}
 41144  	if s.AccountId == nil {
 41145  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 41146  	}
 41147  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 41148  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 41149  	}
 41150  	if s.UserId == nil {
 41151  		invalidParams.Add(request.NewErrParamRequired("UserId"))
 41152  	}
 41153  	if s.UserId != nil && len(*s.UserId) < 1 {
 41154  		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
 41155  	}
 41156  
 41157  	if invalidParams.Len() > 0 {
 41158  		return invalidParams
 41159  	}
 41160  	return nil
 41161  }
 41162  
 41163  // SetAccountId sets the AccountId field's value.
 41164  func (s *ResetPersonalPINInput) SetAccountId(v string) *ResetPersonalPINInput {
 41165  	s.AccountId = &v
 41166  	return s
 41167  }
 41168  
 41169  // SetUserId sets the UserId field's value.
 41170  func (s *ResetPersonalPINInput) SetUserId(v string) *ResetPersonalPINInput {
 41171  	s.UserId = &v
 41172  	return s
 41173  }
 41174  
 41175  type ResetPersonalPINOutput struct {
 41176  	_ struct{} `type:"structure"`
 41177  
 41178  	// The user details and new personal meeting PIN.
 41179  	User *User `type:"structure"`
 41180  }
 41181  
 41182  // String returns the string representation.
 41183  //
 41184  // API parameter values that are decorated as "sensitive" in the API will not
 41185  // be included in the string output. The member name will be present, but the
 41186  // value will be replaced with "sensitive".
 41187  func (s ResetPersonalPINOutput) String() string {
 41188  	return awsutil.Prettify(s)
 41189  }
 41190  
 41191  // GoString returns the string representation.
 41192  //
 41193  // API parameter values that are decorated as "sensitive" in the API will not
 41194  // be included in the string output. The member name will be present, but the
 41195  // value will be replaced with "sensitive".
 41196  func (s ResetPersonalPINOutput) GoString() string {
 41197  	return s.String()
 41198  }
 41199  
 41200  // SetUser sets the User field's value.
 41201  func (s *ResetPersonalPINOutput) SetUser(v *User) *ResetPersonalPINOutput {
 41202  	s.User = v
 41203  	return s
 41204  }
 41205  
 41206  // The request exceeds the resource limit.
 41207  type ResourceLimitExceededException struct {
 41208  	_            struct{}                  `type:"structure"`
 41209  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 41210  
 41211  	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
 41212  
 41213  	Message_ *string `locationName:"Message" type:"string"`
 41214  }
 41215  
 41216  // String returns the string representation.
 41217  //
 41218  // API parameter values that are decorated as "sensitive" in the API will not
 41219  // be included in the string output. The member name will be present, but the
 41220  // value will be replaced with "sensitive".
 41221  func (s ResourceLimitExceededException) String() string {
 41222  	return awsutil.Prettify(s)
 41223  }
 41224  
 41225  // GoString returns the string representation.
 41226  //
 41227  // API parameter values that are decorated as "sensitive" in the API will not
 41228  // be included in the string output. The member name will be present, but the
 41229  // value will be replaced with "sensitive".
 41230  func (s ResourceLimitExceededException) GoString() string {
 41231  	return s.String()
 41232  }
 41233  
 41234  func newErrorResourceLimitExceededException(v protocol.ResponseMetadata) error {
 41235  	return &ResourceLimitExceededException{
 41236  		RespMetadata: v,
 41237  	}
 41238  }
 41239  
 41240  // Code returns the exception type name.
 41241  func (s *ResourceLimitExceededException) Code() string {
 41242  	return "ResourceLimitExceededException"
 41243  }
 41244  
 41245  // Message returns the exception's message.
 41246  func (s *ResourceLimitExceededException) Message() string {
 41247  	if s.Message_ != nil {
 41248  		return *s.Message_
 41249  	}
 41250  	return ""
 41251  }
 41252  
 41253  // OrigErr always returns nil, satisfies awserr.Error interface.
 41254  func (s *ResourceLimitExceededException) OrigErr() error {
 41255  	return nil
 41256  }
 41257  
 41258  func (s *ResourceLimitExceededException) Error() string {
 41259  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 41260  }
 41261  
 41262  // Status code returns the HTTP status code for the request's response error.
 41263  func (s *ResourceLimitExceededException) StatusCode() int {
 41264  	return s.RespMetadata.StatusCode
 41265  }
 41266  
 41267  // RequestID returns the service's response RequestID for request.
 41268  func (s *ResourceLimitExceededException) RequestID() string {
 41269  	return s.RespMetadata.RequestID
 41270  }
 41271  
 41272  type RestorePhoneNumberInput struct {
 41273  	_ struct{} `type:"structure" nopayload:"true"`
 41274  
 41275  	// The phone number.
 41276  	//
 41277  	// PhoneNumberId is a required field
 41278  	PhoneNumberId *string `location:"uri" locationName:"phoneNumberId" type:"string" required:"true"`
 41279  }
 41280  
 41281  // String returns the string representation.
 41282  //
 41283  // API parameter values that are decorated as "sensitive" in the API will not
 41284  // be included in the string output. The member name will be present, but the
 41285  // value will be replaced with "sensitive".
 41286  func (s RestorePhoneNumberInput) String() string {
 41287  	return awsutil.Prettify(s)
 41288  }
 41289  
 41290  // GoString returns the string representation.
 41291  //
 41292  // API parameter values that are decorated as "sensitive" in the API will not
 41293  // be included in the string output. The member name will be present, but the
 41294  // value will be replaced with "sensitive".
 41295  func (s RestorePhoneNumberInput) GoString() string {
 41296  	return s.String()
 41297  }
 41298  
 41299  // Validate inspects the fields of the type to determine if they are valid.
 41300  func (s *RestorePhoneNumberInput) Validate() error {
 41301  	invalidParams := request.ErrInvalidParams{Context: "RestorePhoneNumberInput"}
 41302  	if s.PhoneNumberId == nil {
 41303  		invalidParams.Add(request.NewErrParamRequired("PhoneNumberId"))
 41304  	}
 41305  	if s.PhoneNumberId != nil && len(*s.PhoneNumberId) < 1 {
 41306  		invalidParams.Add(request.NewErrParamMinLen("PhoneNumberId", 1))
 41307  	}
 41308  
 41309  	if invalidParams.Len() > 0 {
 41310  		return invalidParams
 41311  	}
 41312  	return nil
 41313  }
 41314  
 41315  // SetPhoneNumberId sets the PhoneNumberId field's value.
 41316  func (s *RestorePhoneNumberInput) SetPhoneNumberId(v string) *RestorePhoneNumberInput {
 41317  	s.PhoneNumberId = &v
 41318  	return s
 41319  }
 41320  
 41321  type RestorePhoneNumberOutput struct {
 41322  	_ struct{} `type:"structure"`
 41323  
 41324  	// The phone number details.
 41325  	PhoneNumber *PhoneNumber `type:"structure"`
 41326  }
 41327  
 41328  // String returns the string representation.
 41329  //
 41330  // API parameter values that are decorated as "sensitive" in the API will not
 41331  // be included in the string output. The member name will be present, but the
 41332  // value will be replaced with "sensitive".
 41333  func (s RestorePhoneNumberOutput) String() string {
 41334  	return awsutil.Prettify(s)
 41335  }
 41336  
 41337  // GoString returns the string representation.
 41338  //
 41339  // API parameter values that are decorated as "sensitive" in the API will not
 41340  // be included in the string output. The member name will be present, but the
 41341  // value will be replaced with "sensitive".
 41342  func (s RestorePhoneNumberOutput) GoString() string {
 41343  	return s.String()
 41344  }
 41345  
 41346  // SetPhoneNumber sets the PhoneNumber field's value.
 41347  func (s *RestorePhoneNumberOutput) SetPhoneNumber(v *PhoneNumber) *RestorePhoneNumberOutput {
 41348  	s.PhoneNumber = v
 41349  	return s
 41350  }
 41351  
 41352  // The retention settings for an Amazon Chime Enterprise account that determine
 41353  // how long to retain items such as chat-room messages and chat-conversation
 41354  // messages.
 41355  type RetentionSettings struct {
 41356  	_ struct{} `type:"structure"`
 41357  
 41358  	// The chat conversation retention settings.
 41359  	ConversationRetentionSettings *ConversationRetentionSettings `type:"structure"`
 41360  
 41361  	// The chat room retention settings.
 41362  	RoomRetentionSettings *RoomRetentionSettings `type:"structure"`
 41363  }
 41364  
 41365  // String returns the string representation.
 41366  //
 41367  // API parameter values that are decorated as "sensitive" in the API will not
 41368  // be included in the string output. The member name will be present, but the
 41369  // value will be replaced with "sensitive".
 41370  func (s RetentionSettings) String() string {
 41371  	return awsutil.Prettify(s)
 41372  }
 41373  
 41374  // GoString returns the string representation.
 41375  //
 41376  // API parameter values that are decorated as "sensitive" in the API will not
 41377  // be included in the string output. The member name will be present, but the
 41378  // value will be replaced with "sensitive".
 41379  func (s RetentionSettings) GoString() string {
 41380  	return s.String()
 41381  }
 41382  
 41383  // Validate inspects the fields of the type to determine if they are valid.
 41384  func (s *RetentionSettings) Validate() error {
 41385  	invalidParams := request.ErrInvalidParams{Context: "RetentionSettings"}
 41386  	if s.ConversationRetentionSettings != nil {
 41387  		if err := s.ConversationRetentionSettings.Validate(); err != nil {
 41388  			invalidParams.AddNested("ConversationRetentionSettings", err.(request.ErrInvalidParams))
 41389  		}
 41390  	}
 41391  	if s.RoomRetentionSettings != nil {
 41392  		if err := s.RoomRetentionSettings.Validate(); err != nil {
 41393  			invalidParams.AddNested("RoomRetentionSettings", err.(request.ErrInvalidParams))
 41394  		}
 41395  	}
 41396  
 41397  	if invalidParams.Len() > 0 {
 41398  		return invalidParams
 41399  	}
 41400  	return nil
 41401  }
 41402  
 41403  // SetConversationRetentionSettings sets the ConversationRetentionSettings field's value.
 41404  func (s *RetentionSettings) SetConversationRetentionSettings(v *ConversationRetentionSettings) *RetentionSettings {
 41405  	s.ConversationRetentionSettings = v
 41406  	return s
 41407  }
 41408  
 41409  // SetRoomRetentionSettings sets the RoomRetentionSettings field's value.
 41410  func (s *RetentionSettings) SetRoomRetentionSettings(v *RoomRetentionSettings) *RetentionSettings {
 41411  	s.RoomRetentionSettings = v
 41412  	return s
 41413  }
 41414  
 41415  // The Amazon Chime chat room details.
 41416  type Room struct {
 41417  	_ struct{} `type:"structure"`
 41418  
 41419  	// The Amazon Chime account ID.
 41420  	AccountId *string `type:"string"`
 41421  
 41422  	// The identifier of the room creator.
 41423  	CreatedBy *string `type:"string"`
 41424  
 41425  	// The room creation timestamp, in ISO 8601 format.
 41426  	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 41427  
 41428  	// The room name.
 41429  	//
 41430  	// Name is a sensitive parameter and its value will be
 41431  	// replaced with "sensitive" in string returned by Room's
 41432  	// String and GoString methods.
 41433  	Name *string `type:"string" sensitive:"true"`
 41434  
 41435  	// The room ID.
 41436  	RoomId *string `type:"string"`
 41437  
 41438  	// The room update timestamp, in ISO 8601 format.
 41439  	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 41440  }
 41441  
 41442  // String returns the string representation.
 41443  //
 41444  // API parameter values that are decorated as "sensitive" in the API will not
 41445  // be included in the string output. The member name will be present, but the
 41446  // value will be replaced with "sensitive".
 41447  func (s Room) String() string {
 41448  	return awsutil.Prettify(s)
 41449  }
 41450  
 41451  // GoString returns the string representation.
 41452  //
 41453  // API parameter values that are decorated as "sensitive" in the API will not
 41454  // be included in the string output. The member name will be present, but the
 41455  // value will be replaced with "sensitive".
 41456  func (s Room) GoString() string {
 41457  	return s.String()
 41458  }
 41459  
 41460  // SetAccountId sets the AccountId field's value.
 41461  func (s *Room) SetAccountId(v string) *Room {
 41462  	s.AccountId = &v
 41463  	return s
 41464  }
 41465  
 41466  // SetCreatedBy sets the CreatedBy field's value.
 41467  func (s *Room) SetCreatedBy(v string) *Room {
 41468  	s.CreatedBy = &v
 41469  	return s
 41470  }
 41471  
 41472  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 41473  func (s *Room) SetCreatedTimestamp(v time.Time) *Room {
 41474  	s.CreatedTimestamp = &v
 41475  	return s
 41476  }
 41477  
 41478  // SetName sets the Name field's value.
 41479  func (s *Room) SetName(v string) *Room {
 41480  	s.Name = &v
 41481  	return s
 41482  }
 41483  
 41484  // SetRoomId sets the RoomId field's value.
 41485  func (s *Room) SetRoomId(v string) *Room {
 41486  	s.RoomId = &v
 41487  	return s
 41488  }
 41489  
 41490  // SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
 41491  func (s *Room) SetUpdatedTimestamp(v time.Time) *Room {
 41492  	s.UpdatedTimestamp = &v
 41493  	return s
 41494  }
 41495  
 41496  // The room membership details.
 41497  type RoomMembership struct {
 41498  	_ struct{} `type:"structure"`
 41499  
 41500  	// The identifier of the user that invited the room member.
 41501  	InvitedBy *string `type:"string"`
 41502  
 41503  	// The member details, such as email address, name, member ID, and member type.
 41504  	Member *Member `type:"structure"`
 41505  
 41506  	// The membership role.
 41507  	Role *string `type:"string" enum:"RoomMembershipRole"`
 41508  
 41509  	// The room ID.
 41510  	RoomId *string `type:"string"`
 41511  
 41512  	// The room membership update timestamp, in ISO 8601 format.
 41513  	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 41514  }
 41515  
 41516  // String returns the string representation.
 41517  //
 41518  // API parameter values that are decorated as "sensitive" in the API will not
 41519  // be included in the string output. The member name will be present, but the
 41520  // value will be replaced with "sensitive".
 41521  func (s RoomMembership) String() string {
 41522  	return awsutil.Prettify(s)
 41523  }
 41524  
 41525  // GoString returns the string representation.
 41526  //
 41527  // API parameter values that are decorated as "sensitive" in the API will not
 41528  // be included in the string output. The member name will be present, but the
 41529  // value will be replaced with "sensitive".
 41530  func (s RoomMembership) GoString() string {
 41531  	return s.String()
 41532  }
 41533  
 41534  // SetInvitedBy sets the InvitedBy field's value.
 41535  func (s *RoomMembership) SetInvitedBy(v string) *RoomMembership {
 41536  	s.InvitedBy = &v
 41537  	return s
 41538  }
 41539  
 41540  // SetMember sets the Member field's value.
 41541  func (s *RoomMembership) SetMember(v *Member) *RoomMembership {
 41542  	s.Member = v
 41543  	return s
 41544  }
 41545  
 41546  // SetRole sets the Role field's value.
 41547  func (s *RoomMembership) SetRole(v string) *RoomMembership {
 41548  	s.Role = &v
 41549  	return s
 41550  }
 41551  
 41552  // SetRoomId sets the RoomId field's value.
 41553  func (s *RoomMembership) SetRoomId(v string) *RoomMembership {
 41554  	s.RoomId = &v
 41555  	return s
 41556  }
 41557  
 41558  // SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
 41559  func (s *RoomMembership) SetUpdatedTimestamp(v time.Time) *RoomMembership {
 41560  	s.UpdatedTimestamp = &v
 41561  	return s
 41562  }
 41563  
 41564  // The retention settings that determine how long to retain chat-room messages
 41565  // for an Amazon Chime Enterprise account.
 41566  type RoomRetentionSettings struct {
 41567  	_ struct{} `type:"structure"`
 41568  
 41569  	// The number of days for which to retain chat-room messages.
 41570  	RetentionDays *int64 `min:"1" type:"integer"`
 41571  }
 41572  
 41573  // String returns the string representation.
 41574  //
 41575  // API parameter values that are decorated as "sensitive" in the API will not
 41576  // be included in the string output. The member name will be present, but the
 41577  // value will be replaced with "sensitive".
 41578  func (s RoomRetentionSettings) String() string {
 41579  	return awsutil.Prettify(s)
 41580  }
 41581  
 41582  // GoString returns the string representation.
 41583  //
 41584  // API parameter values that are decorated as "sensitive" in the API will not
 41585  // be included in the string output. The member name will be present, but the
 41586  // value will be replaced with "sensitive".
 41587  func (s RoomRetentionSettings) GoString() string {
 41588  	return s.String()
 41589  }
 41590  
 41591  // Validate inspects the fields of the type to determine if they are valid.
 41592  func (s *RoomRetentionSettings) Validate() error {
 41593  	invalidParams := request.ErrInvalidParams{Context: "RoomRetentionSettings"}
 41594  	if s.RetentionDays != nil && *s.RetentionDays < 1 {
 41595  		invalidParams.Add(request.NewErrParamMinValue("RetentionDays", 1))
 41596  	}
 41597  
 41598  	if invalidParams.Len() > 0 {
 41599  		return invalidParams
 41600  	}
 41601  	return nil
 41602  }
 41603  
 41604  // SetRetentionDays sets the RetentionDays field's value.
 41605  func (s *RoomRetentionSettings) SetRetentionDays(v int64) *RoomRetentionSettings {
 41606  	s.RetentionDays = &v
 41607  	return s
 41608  }
 41609  
 41610  type SearchAvailablePhoneNumbersInput struct {
 41611  	_ struct{} `type:"structure" nopayload:"true"`
 41612  
 41613  	// The area code used to filter results. Only applies to the US.
 41614  	AreaCode *string `location:"querystring" locationName:"area-code" type:"string"`
 41615  
 41616  	// The city used to filter results. Only applies to the US.
 41617  	City *string `location:"querystring" locationName:"city" type:"string"`
 41618  
 41619  	// The country used to filter results. Defaults to the US Format: ISO 3166-1
 41620  	// alpha-2.
 41621  	Country *string `location:"querystring" locationName:"country" type:"string"`
 41622  
 41623  	// The maximum number of results to return in a single call.
 41624  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 41625  
 41626  	// The token used to retrieve the next page of results.
 41627  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 41628  
 41629  	// The phone number type used to filter results. Required for non-US numbers.
 41630  	PhoneNumberType *string `location:"querystring" locationName:"phone-number-type" type:"string" enum:"PhoneNumberType"`
 41631  
 41632  	// The state used to filter results. Required only if you provide City. Only
 41633  	// applies to the US.
 41634  	State *string `location:"querystring" locationName:"state" type:"string"`
 41635  
 41636  	// The toll-free prefix that you use to filter results. Only applies to the
 41637  	// US.
 41638  	TollFreePrefix *string `location:"querystring" locationName:"toll-free-prefix" min:"3" type:"string"`
 41639  }
 41640  
 41641  // String returns the string representation.
 41642  //
 41643  // API parameter values that are decorated as "sensitive" in the API will not
 41644  // be included in the string output. The member name will be present, but the
 41645  // value will be replaced with "sensitive".
 41646  func (s SearchAvailablePhoneNumbersInput) String() string {
 41647  	return awsutil.Prettify(s)
 41648  }
 41649  
 41650  // GoString returns the string representation.
 41651  //
 41652  // API parameter values that are decorated as "sensitive" in the API will not
 41653  // be included in the string output. The member name will be present, but the
 41654  // value will be replaced with "sensitive".
 41655  func (s SearchAvailablePhoneNumbersInput) GoString() string {
 41656  	return s.String()
 41657  }
 41658  
 41659  // Validate inspects the fields of the type to determine if they are valid.
 41660  func (s *SearchAvailablePhoneNumbersInput) Validate() error {
 41661  	invalidParams := request.ErrInvalidParams{Context: "SearchAvailablePhoneNumbersInput"}
 41662  	if s.MaxResults != nil && *s.MaxResults < 1 {
 41663  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 41664  	}
 41665  	if s.TollFreePrefix != nil && len(*s.TollFreePrefix) < 3 {
 41666  		invalidParams.Add(request.NewErrParamMinLen("TollFreePrefix", 3))
 41667  	}
 41668  
 41669  	if invalidParams.Len() > 0 {
 41670  		return invalidParams
 41671  	}
 41672  	return nil
 41673  }
 41674  
 41675  // SetAreaCode sets the AreaCode field's value.
 41676  func (s *SearchAvailablePhoneNumbersInput) SetAreaCode(v string) *SearchAvailablePhoneNumbersInput {
 41677  	s.AreaCode = &v
 41678  	return s
 41679  }
 41680  
 41681  // SetCity sets the City field's value.
 41682  func (s *SearchAvailablePhoneNumbersInput) SetCity(v string) *SearchAvailablePhoneNumbersInput {
 41683  	s.City = &v
 41684  	return s
 41685  }
 41686  
 41687  // SetCountry sets the Country field's value.
 41688  func (s *SearchAvailablePhoneNumbersInput) SetCountry(v string) *SearchAvailablePhoneNumbersInput {
 41689  	s.Country = &v
 41690  	return s
 41691  }
 41692  
 41693  // SetMaxResults sets the MaxResults field's value.
 41694  func (s *SearchAvailablePhoneNumbersInput) SetMaxResults(v int64) *SearchAvailablePhoneNumbersInput {
 41695  	s.MaxResults = &v
 41696  	return s
 41697  }
 41698  
 41699  // SetNextToken sets the NextToken field's value.
 41700  func (s *SearchAvailablePhoneNumbersInput) SetNextToken(v string) *SearchAvailablePhoneNumbersInput {
 41701  	s.NextToken = &v
 41702  	return s
 41703  }
 41704  
 41705  // SetPhoneNumberType sets the PhoneNumberType field's value.
 41706  func (s *SearchAvailablePhoneNumbersInput) SetPhoneNumberType(v string) *SearchAvailablePhoneNumbersInput {
 41707  	s.PhoneNumberType = &v
 41708  	return s
 41709  }
 41710  
 41711  // SetState sets the State field's value.
 41712  func (s *SearchAvailablePhoneNumbersInput) SetState(v string) *SearchAvailablePhoneNumbersInput {
 41713  	s.State = &v
 41714  	return s
 41715  }
 41716  
 41717  // SetTollFreePrefix sets the TollFreePrefix field's value.
 41718  func (s *SearchAvailablePhoneNumbersInput) SetTollFreePrefix(v string) *SearchAvailablePhoneNumbersInput {
 41719  	s.TollFreePrefix = &v
 41720  	return s
 41721  }
 41722  
 41723  type SearchAvailablePhoneNumbersOutput struct {
 41724  	_ struct{} `type:"structure"`
 41725  
 41726  	// List of phone numbers, in E.164 format.
 41727  	E164PhoneNumbers []*string `type:"list"`
 41728  
 41729  	// The token used to retrieve the next page of search results.
 41730  	NextToken *string `type:"string"`
 41731  }
 41732  
 41733  // String returns the string representation.
 41734  //
 41735  // API parameter values that are decorated as "sensitive" in the API will not
 41736  // be included in the string output. The member name will be present, but the
 41737  // value will be replaced with "sensitive".
 41738  func (s SearchAvailablePhoneNumbersOutput) String() string {
 41739  	return awsutil.Prettify(s)
 41740  }
 41741  
 41742  // GoString returns the string representation.
 41743  //
 41744  // API parameter values that are decorated as "sensitive" in the API will not
 41745  // be included in the string output. The member name will be present, but the
 41746  // value will be replaced with "sensitive".
 41747  func (s SearchAvailablePhoneNumbersOutput) GoString() string {
 41748  	return s.String()
 41749  }
 41750  
 41751  // SetE164PhoneNumbers sets the E164PhoneNumbers field's value.
 41752  func (s *SearchAvailablePhoneNumbersOutput) SetE164PhoneNumbers(v []*string) *SearchAvailablePhoneNumbersOutput {
 41753  	s.E164PhoneNumbers = v
 41754  	return s
 41755  }
 41756  
 41757  // SetNextToken sets the NextToken field's value.
 41758  func (s *SearchAvailablePhoneNumbersOutput) SetNextToken(v string) *SearchAvailablePhoneNumbersOutput {
 41759  	s.NextToken = &v
 41760  	return s
 41761  }
 41762  
 41763  // The video streams to capture for a specified media capture pipeline. The
 41764  // total number of video streams can't exceed 25.
 41765  type SelectedVideoStreams struct {
 41766  	_ struct{} `type:"structure"`
 41767  
 41768  	// The attendee IDs of the streams selected for a media capture pipeline.
 41769  	AttendeeIds []*string `min:"1" type:"list"`
 41770  
 41771  	// The external user IDs of the streams selected for a media capture pipeline.
 41772  	ExternalUserIds []*string `min:"1" type:"list"`
 41773  }
 41774  
 41775  // String returns the string representation.
 41776  //
 41777  // API parameter values that are decorated as "sensitive" in the API will not
 41778  // be included in the string output. The member name will be present, but the
 41779  // value will be replaced with "sensitive".
 41780  func (s SelectedVideoStreams) String() string {
 41781  	return awsutil.Prettify(s)
 41782  }
 41783  
 41784  // GoString returns the string representation.
 41785  //
 41786  // API parameter values that are decorated as "sensitive" in the API will not
 41787  // be included in the string output. The member name will be present, but the
 41788  // value will be replaced with "sensitive".
 41789  func (s SelectedVideoStreams) GoString() string {
 41790  	return s.String()
 41791  }
 41792  
 41793  // Validate inspects the fields of the type to determine if they are valid.
 41794  func (s *SelectedVideoStreams) Validate() error {
 41795  	invalidParams := request.ErrInvalidParams{Context: "SelectedVideoStreams"}
 41796  	if s.AttendeeIds != nil && len(s.AttendeeIds) < 1 {
 41797  		invalidParams.Add(request.NewErrParamMinLen("AttendeeIds", 1))
 41798  	}
 41799  	if s.ExternalUserIds != nil && len(s.ExternalUserIds) < 1 {
 41800  		invalidParams.Add(request.NewErrParamMinLen("ExternalUserIds", 1))
 41801  	}
 41802  
 41803  	if invalidParams.Len() > 0 {
 41804  		return invalidParams
 41805  	}
 41806  	return nil
 41807  }
 41808  
 41809  // SetAttendeeIds sets the AttendeeIds field's value.
 41810  func (s *SelectedVideoStreams) SetAttendeeIds(v []*string) *SelectedVideoStreams {
 41811  	s.AttendeeIds = v
 41812  	return s
 41813  }
 41814  
 41815  // SetExternalUserIds sets the ExternalUserIds field's value.
 41816  func (s *SelectedVideoStreams) SetExternalUserIds(v []*string) *SelectedVideoStreams {
 41817  	s.ExternalUserIds = v
 41818  	return s
 41819  }
 41820  
 41821  type SendChannelMessageInput struct {
 41822  	_ struct{} `type:"structure"`
 41823  
 41824  	// The ARN of the channel.
 41825  	//
 41826  	// ChannelArn is a required field
 41827  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 41828  
 41829  	// The AppInstanceUserArn of the user that makes the API call.
 41830  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 41831  
 41832  	// The Idempotency token for each client request.
 41833  	//
 41834  	// ClientRequestToken is a sensitive parameter and its value will be
 41835  	// replaced with "sensitive" in string returned by SendChannelMessageInput's
 41836  	// String and GoString methods.
 41837  	ClientRequestToken *string `min:"2" type:"string" idempotencyToken:"true" sensitive:"true"`
 41838  
 41839  	// The content of the message.
 41840  	//
 41841  	// Content is a sensitive parameter and its value will be
 41842  	// replaced with "sensitive" in string returned by SendChannelMessageInput's
 41843  	// String and GoString methods.
 41844  	//
 41845  	// Content is a required field
 41846  	Content *string `min:"1" type:"string" required:"true" sensitive:"true"`
 41847  
 41848  	// The optional metadata for each message.
 41849  	//
 41850  	// Metadata is a sensitive parameter and its value will be
 41851  	// replaced with "sensitive" in string returned by SendChannelMessageInput's
 41852  	// String and GoString methods.
 41853  	Metadata *string `type:"string" sensitive:"true"`
 41854  
 41855  	// Boolean that controls whether the message is persisted on the back end. Required.
 41856  	//
 41857  	// Persistence is a required field
 41858  	Persistence *string `type:"string" required:"true" enum:"ChannelMessagePersistenceType"`
 41859  
 41860  	// The type of message, STANDARD or CONTROL.
 41861  	//
 41862  	// Type is a required field
 41863  	Type *string `type:"string" required:"true" enum:"ChannelMessageType"`
 41864  }
 41865  
 41866  // String returns the string representation.
 41867  //
 41868  // API parameter values that are decorated as "sensitive" in the API will not
 41869  // be included in the string output. The member name will be present, but the
 41870  // value will be replaced with "sensitive".
 41871  func (s SendChannelMessageInput) String() string {
 41872  	return awsutil.Prettify(s)
 41873  }
 41874  
 41875  // GoString returns the string representation.
 41876  //
 41877  // API parameter values that are decorated as "sensitive" in the API will not
 41878  // be included in the string output. The member name will be present, but the
 41879  // value will be replaced with "sensitive".
 41880  func (s SendChannelMessageInput) GoString() string {
 41881  	return s.String()
 41882  }
 41883  
 41884  // Validate inspects the fields of the type to determine if they are valid.
 41885  func (s *SendChannelMessageInput) Validate() error {
 41886  	invalidParams := request.ErrInvalidParams{Context: "SendChannelMessageInput"}
 41887  	if s.ChannelArn == nil {
 41888  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 41889  	}
 41890  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 41891  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 41892  	}
 41893  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 41894  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 41895  	}
 41896  	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 2 {
 41897  		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 2))
 41898  	}
 41899  	if s.Content == nil {
 41900  		invalidParams.Add(request.NewErrParamRequired("Content"))
 41901  	}
 41902  	if s.Content != nil && len(*s.Content) < 1 {
 41903  		invalidParams.Add(request.NewErrParamMinLen("Content", 1))
 41904  	}
 41905  	if s.Persistence == nil {
 41906  		invalidParams.Add(request.NewErrParamRequired("Persistence"))
 41907  	}
 41908  	if s.Type == nil {
 41909  		invalidParams.Add(request.NewErrParamRequired("Type"))
 41910  	}
 41911  
 41912  	if invalidParams.Len() > 0 {
 41913  		return invalidParams
 41914  	}
 41915  	return nil
 41916  }
 41917  
 41918  // SetChannelArn sets the ChannelArn field's value.
 41919  func (s *SendChannelMessageInput) SetChannelArn(v string) *SendChannelMessageInput {
 41920  	s.ChannelArn = &v
 41921  	return s
 41922  }
 41923  
 41924  // SetChimeBearer sets the ChimeBearer field's value.
 41925  func (s *SendChannelMessageInput) SetChimeBearer(v string) *SendChannelMessageInput {
 41926  	s.ChimeBearer = &v
 41927  	return s
 41928  }
 41929  
 41930  // SetClientRequestToken sets the ClientRequestToken field's value.
 41931  func (s *SendChannelMessageInput) SetClientRequestToken(v string) *SendChannelMessageInput {
 41932  	s.ClientRequestToken = &v
 41933  	return s
 41934  }
 41935  
 41936  // SetContent sets the Content field's value.
 41937  func (s *SendChannelMessageInput) SetContent(v string) *SendChannelMessageInput {
 41938  	s.Content = &v
 41939  	return s
 41940  }
 41941  
 41942  // SetMetadata sets the Metadata field's value.
 41943  func (s *SendChannelMessageInput) SetMetadata(v string) *SendChannelMessageInput {
 41944  	s.Metadata = &v
 41945  	return s
 41946  }
 41947  
 41948  // SetPersistence sets the Persistence field's value.
 41949  func (s *SendChannelMessageInput) SetPersistence(v string) *SendChannelMessageInput {
 41950  	s.Persistence = &v
 41951  	return s
 41952  }
 41953  
 41954  // SetType sets the Type field's value.
 41955  func (s *SendChannelMessageInput) SetType(v string) *SendChannelMessageInput {
 41956  	s.Type = &v
 41957  	return s
 41958  }
 41959  
 41960  type SendChannelMessageOutput struct {
 41961  	_ struct{} `type:"structure"`
 41962  
 41963  	// The ARN of the channel.
 41964  	ChannelArn *string `min:"5" type:"string"`
 41965  
 41966  	// The ID string assigned to each message.
 41967  	MessageId *string `min:"1" type:"string"`
 41968  }
 41969  
 41970  // String returns the string representation.
 41971  //
 41972  // API parameter values that are decorated as "sensitive" in the API will not
 41973  // be included in the string output. The member name will be present, but the
 41974  // value will be replaced with "sensitive".
 41975  func (s SendChannelMessageOutput) String() string {
 41976  	return awsutil.Prettify(s)
 41977  }
 41978  
 41979  // GoString returns the string representation.
 41980  //
 41981  // API parameter values that are decorated as "sensitive" in the API will not
 41982  // be included in the string output. The member name will be present, but the
 41983  // value will be replaced with "sensitive".
 41984  func (s SendChannelMessageOutput) GoString() string {
 41985  	return s.String()
 41986  }
 41987  
 41988  // SetChannelArn sets the ChannelArn field's value.
 41989  func (s *SendChannelMessageOutput) SetChannelArn(v string) *SendChannelMessageOutput {
 41990  	s.ChannelArn = &v
 41991  	return s
 41992  }
 41993  
 41994  // SetMessageId sets the MessageId field's value.
 41995  func (s *SendChannelMessageOutput) SetMessageId(v string) *SendChannelMessageOutput {
 41996  	s.MessageId = &v
 41997  	return s
 41998  }
 41999  
 42000  // The service encountered an unexpected error.
 42001  type ServiceFailureException struct {
 42002  	_            struct{}                  `type:"structure"`
 42003  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 42004  
 42005  	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
 42006  
 42007  	Message_ *string `locationName:"Message" type:"string"`
 42008  }
 42009  
 42010  // String returns the string representation.
 42011  //
 42012  // API parameter values that are decorated as "sensitive" in the API will not
 42013  // be included in the string output. The member name will be present, but the
 42014  // value will be replaced with "sensitive".
 42015  func (s ServiceFailureException) String() string {
 42016  	return awsutil.Prettify(s)
 42017  }
 42018  
 42019  // GoString returns the string representation.
 42020  //
 42021  // API parameter values that are decorated as "sensitive" in the API will not
 42022  // be included in the string output. The member name will be present, but the
 42023  // value will be replaced with "sensitive".
 42024  func (s ServiceFailureException) GoString() string {
 42025  	return s.String()
 42026  }
 42027  
 42028  func newErrorServiceFailureException(v protocol.ResponseMetadata) error {
 42029  	return &ServiceFailureException{
 42030  		RespMetadata: v,
 42031  	}
 42032  }
 42033  
 42034  // Code returns the exception type name.
 42035  func (s *ServiceFailureException) Code() string {
 42036  	return "ServiceFailureException"
 42037  }
 42038  
 42039  // Message returns the exception's message.
 42040  func (s *ServiceFailureException) Message() string {
 42041  	if s.Message_ != nil {
 42042  		return *s.Message_
 42043  	}
 42044  	return ""
 42045  }
 42046  
 42047  // OrigErr always returns nil, satisfies awserr.Error interface.
 42048  func (s *ServiceFailureException) OrigErr() error {
 42049  	return nil
 42050  }
 42051  
 42052  func (s *ServiceFailureException) Error() string {
 42053  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 42054  }
 42055  
 42056  // Status code returns the HTTP status code for the request's response error.
 42057  func (s *ServiceFailureException) StatusCode() int {
 42058  	return s.RespMetadata.StatusCode
 42059  }
 42060  
 42061  // RequestID returns the service's response RequestID for request.
 42062  func (s *ServiceFailureException) RequestID() string {
 42063  	return s.RespMetadata.RequestID
 42064  }
 42065  
 42066  // The service is currently unavailable.
 42067  type ServiceUnavailableException struct {
 42068  	_            struct{}                  `type:"structure"`
 42069  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 42070  
 42071  	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
 42072  
 42073  	Message_ *string `locationName:"Message" type:"string"`
 42074  }
 42075  
 42076  // String returns the string representation.
 42077  //
 42078  // API parameter values that are decorated as "sensitive" in the API will not
 42079  // be included in the string output. The member name will be present, but the
 42080  // value will be replaced with "sensitive".
 42081  func (s ServiceUnavailableException) String() string {
 42082  	return awsutil.Prettify(s)
 42083  }
 42084  
 42085  // GoString returns the string representation.
 42086  //
 42087  // API parameter values that are decorated as "sensitive" in the API will not
 42088  // be included in the string output. The member name will be present, but the
 42089  // value will be replaced with "sensitive".
 42090  func (s ServiceUnavailableException) GoString() string {
 42091  	return s.String()
 42092  }
 42093  
 42094  func newErrorServiceUnavailableException(v protocol.ResponseMetadata) error {
 42095  	return &ServiceUnavailableException{
 42096  		RespMetadata: v,
 42097  	}
 42098  }
 42099  
 42100  // Code returns the exception type name.
 42101  func (s *ServiceUnavailableException) Code() string {
 42102  	return "ServiceUnavailableException"
 42103  }
 42104  
 42105  // Message returns the exception's message.
 42106  func (s *ServiceUnavailableException) Message() string {
 42107  	if s.Message_ != nil {
 42108  		return *s.Message_
 42109  	}
 42110  	return ""
 42111  }
 42112  
 42113  // OrigErr always returns nil, satisfies awserr.Error interface.
 42114  func (s *ServiceUnavailableException) OrigErr() error {
 42115  	return nil
 42116  }
 42117  
 42118  func (s *ServiceUnavailableException) Error() string {
 42119  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 42120  }
 42121  
 42122  // Status code returns the HTTP status code for the request's response error.
 42123  func (s *ServiceUnavailableException) StatusCode() int {
 42124  	return s.RespMetadata.StatusCode
 42125  }
 42126  
 42127  // RequestID returns the service's response RequestID for request.
 42128  func (s *ServiceUnavailableException) RequestID() string {
 42129  	return s.RespMetadata.RequestID
 42130  }
 42131  
 42132  // An Active Directory (AD) group whose members are granted permission to act
 42133  // as delegates.
 42134  type SigninDelegateGroup struct {
 42135  	_ struct{} `type:"structure"`
 42136  
 42137  	// The group name.
 42138  	GroupName *string `type:"string"`
 42139  }
 42140  
 42141  // String returns the string representation.
 42142  //
 42143  // API parameter values that are decorated as "sensitive" in the API will not
 42144  // be included in the string output. The member name will be present, but the
 42145  // value will be replaced with "sensitive".
 42146  func (s SigninDelegateGroup) String() string {
 42147  	return awsutil.Prettify(s)
 42148  }
 42149  
 42150  // GoString returns the string representation.
 42151  //
 42152  // API parameter values that are decorated as "sensitive" in the API will not
 42153  // be included in the string output. The member name will be present, but the
 42154  // value will be replaced with "sensitive".
 42155  func (s SigninDelegateGroup) GoString() string {
 42156  	return s.String()
 42157  }
 42158  
 42159  // SetGroupName sets the GroupName field's value.
 42160  func (s *SigninDelegateGroup) SetGroupName(v string) *SigninDelegateGroup {
 42161  	s.GroupName = &v
 42162  	return s
 42163  }
 42164  
 42165  // The details of the SIP media application, including name and endpoints. An
 42166  // AWS account can have multiple SIP media applications.
 42167  type SipMediaApplication struct {
 42168  	_ struct{} `type:"structure"`
 42169  
 42170  	// The AWS Region in which the SIP media application is created.
 42171  	AwsRegion *string `type:"string"`
 42172  
 42173  	// The SIP media application creation timestamp, in ISO 8601 format.
 42174  	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 42175  
 42176  	// List of endpoints for SIP media application. Currently, only one endpoint
 42177  	// per SIP media application is permitted.
 42178  	Endpoints []*SipMediaApplicationEndpoint `min:"1" type:"list"`
 42179  
 42180  	// The name of the SIP media application.
 42181  	Name *string `min:"1" type:"string"`
 42182  
 42183  	// The SIP media application ID.
 42184  	SipMediaApplicationId *string `type:"string"`
 42185  
 42186  	// The SIP media application updated timestamp, in ISO 8601 format.
 42187  	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 42188  }
 42189  
 42190  // String returns the string representation.
 42191  //
 42192  // API parameter values that are decorated as "sensitive" in the API will not
 42193  // be included in the string output. The member name will be present, but the
 42194  // value will be replaced with "sensitive".
 42195  func (s SipMediaApplication) String() string {
 42196  	return awsutil.Prettify(s)
 42197  }
 42198  
 42199  // GoString returns the string representation.
 42200  //
 42201  // API parameter values that are decorated as "sensitive" in the API will not
 42202  // be included in the string output. The member name will be present, but the
 42203  // value will be replaced with "sensitive".
 42204  func (s SipMediaApplication) GoString() string {
 42205  	return s.String()
 42206  }
 42207  
 42208  // SetAwsRegion sets the AwsRegion field's value.
 42209  func (s *SipMediaApplication) SetAwsRegion(v string) *SipMediaApplication {
 42210  	s.AwsRegion = &v
 42211  	return s
 42212  }
 42213  
 42214  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 42215  func (s *SipMediaApplication) SetCreatedTimestamp(v time.Time) *SipMediaApplication {
 42216  	s.CreatedTimestamp = &v
 42217  	return s
 42218  }
 42219  
 42220  // SetEndpoints sets the Endpoints field's value.
 42221  func (s *SipMediaApplication) SetEndpoints(v []*SipMediaApplicationEndpoint) *SipMediaApplication {
 42222  	s.Endpoints = v
 42223  	return s
 42224  }
 42225  
 42226  // SetName sets the Name field's value.
 42227  func (s *SipMediaApplication) SetName(v string) *SipMediaApplication {
 42228  	s.Name = &v
 42229  	return s
 42230  }
 42231  
 42232  // SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
 42233  func (s *SipMediaApplication) SetSipMediaApplicationId(v string) *SipMediaApplication {
 42234  	s.SipMediaApplicationId = &v
 42235  	return s
 42236  }
 42237  
 42238  // SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
 42239  func (s *SipMediaApplication) SetUpdatedTimestamp(v time.Time) *SipMediaApplication {
 42240  	s.UpdatedTimestamp = &v
 42241  	return s
 42242  }
 42243  
 42244  // A Call instance for a SIP media application.
 42245  type SipMediaApplicationCall struct {
 42246  	_ struct{} `type:"structure"`
 42247  
 42248  	// The transaction ID of a call.
 42249  	TransactionId *string `type:"string"`
 42250  }
 42251  
 42252  // String returns the string representation.
 42253  //
 42254  // API parameter values that are decorated as "sensitive" in the API will not
 42255  // be included in the string output. The member name will be present, but the
 42256  // value will be replaced with "sensitive".
 42257  func (s SipMediaApplicationCall) String() string {
 42258  	return awsutil.Prettify(s)
 42259  }
 42260  
 42261  // GoString returns the string representation.
 42262  //
 42263  // API parameter values that are decorated as "sensitive" in the API will not
 42264  // be included in the string output. The member name will be present, but the
 42265  // value will be replaced with "sensitive".
 42266  func (s SipMediaApplicationCall) GoString() string {
 42267  	return s.String()
 42268  }
 42269  
 42270  // SetTransactionId sets the TransactionId field's value.
 42271  func (s *SipMediaApplicationCall) SetTransactionId(v string) *SipMediaApplicationCall {
 42272  	s.TransactionId = &v
 42273  	return s
 42274  }
 42275  
 42276  // The endpoint assigned to the SIP media application.
 42277  type SipMediaApplicationEndpoint struct {
 42278  	_ struct{} `type:"structure"`
 42279  
 42280  	// Valid Amazon Resource Name (ARN) of the Lambda function. The function must
 42281  	// be created in the same AWS Region as the SIP media application.
 42282  	//
 42283  	// LambdaArn is a sensitive parameter and its value will be
 42284  	// replaced with "sensitive" in string returned by SipMediaApplicationEndpoint's
 42285  	// String and GoString methods.
 42286  	LambdaArn *string `type:"string" sensitive:"true"`
 42287  }
 42288  
 42289  // String returns the string representation.
 42290  //
 42291  // API parameter values that are decorated as "sensitive" in the API will not
 42292  // be included in the string output. The member name will be present, but the
 42293  // value will be replaced with "sensitive".
 42294  func (s SipMediaApplicationEndpoint) String() string {
 42295  	return awsutil.Prettify(s)
 42296  }
 42297  
 42298  // GoString returns the string representation.
 42299  //
 42300  // API parameter values that are decorated as "sensitive" in the API will not
 42301  // be included in the string output. The member name will be present, but the
 42302  // value will be replaced with "sensitive".
 42303  func (s SipMediaApplicationEndpoint) GoString() string {
 42304  	return s.String()
 42305  }
 42306  
 42307  // SetLambdaArn sets the LambdaArn field's value.
 42308  func (s *SipMediaApplicationEndpoint) SetLambdaArn(v string) *SipMediaApplicationEndpoint {
 42309  	s.LambdaArn = &v
 42310  	return s
 42311  }
 42312  
 42313  // Logging configuration of the SIP media application.
 42314  type SipMediaApplicationLoggingConfiguration struct {
 42315  	_ struct{} `type:"structure"`
 42316  
 42317  	// Enables application message logs for the SIP media application.
 42318  	EnableSipMediaApplicationMessageLogs *bool `type:"boolean"`
 42319  }
 42320  
 42321  // String returns the string representation.
 42322  //
 42323  // API parameter values that are decorated as "sensitive" in the API will not
 42324  // be included in the string output. The member name will be present, but the
 42325  // value will be replaced with "sensitive".
 42326  func (s SipMediaApplicationLoggingConfiguration) String() string {
 42327  	return awsutil.Prettify(s)
 42328  }
 42329  
 42330  // GoString returns the string representation.
 42331  //
 42332  // API parameter values that are decorated as "sensitive" in the API will not
 42333  // be included in the string output. The member name will be present, but the
 42334  // value will be replaced with "sensitive".
 42335  func (s SipMediaApplicationLoggingConfiguration) GoString() string {
 42336  	return s.String()
 42337  }
 42338  
 42339  // SetEnableSipMediaApplicationMessageLogs sets the EnableSipMediaApplicationMessageLogs field's value.
 42340  func (s *SipMediaApplicationLoggingConfiguration) SetEnableSipMediaApplicationMessageLogs(v bool) *SipMediaApplicationLoggingConfiguration {
 42341  	s.EnableSipMediaApplicationMessageLogs = &v
 42342  	return s
 42343  }
 42344  
 42345  // The SIP rule details, including name, triggers, and target applications.
 42346  // An AWS account can have multiple SIP rules.
 42347  type SipRule struct {
 42348  	_ struct{} `type:"structure"`
 42349  
 42350  	// The time at which the SIP rule was created, in ISO 8601 format.
 42351  	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 42352  
 42353  	// Indicates whether the SIP rule is enabled or disabled. You must disable a
 42354  	// rule before you can delete it.
 42355  	Disabled *bool `type:"boolean"`
 42356  
 42357  	// The name of the SIP rule.
 42358  	Name *string `min:"1" type:"string"`
 42359  
 42360  	// The SIP rule ID.
 42361  	SipRuleId *string `type:"string"`
 42362  
 42363  	// Target SIP media application and other details, such as priority and AWS
 42364  	// Region, to be specified in the SIP rule. Only one SIP rule per AWS Region
 42365  	// can be provided.
 42366  	TargetApplications []*SipRuleTargetApplication `min:"1" type:"list"`
 42367  
 42368  	// The type of trigger assigned to the SIP rule in TriggerValue, currently RequestUriHostname
 42369  	// or ToPhoneNumber.
 42370  	TriggerType *string `type:"string" enum:"SipRuleTriggerType"`
 42371  
 42372  	// If TriggerType is RequestUriHostname, then the value can be the outbound
 42373  	// host name of the Amazon Chime Voice Connector. If TriggerType is ToPhoneNumber,
 42374  	// then the value can be a customer-owned phone number in E164 format. SipRule
 42375  	// is triggered when a SIP rule requests host name or ToPhoneNumber matches
 42376  	// in the incoming SIP request.
 42377  	TriggerValue *string `type:"string"`
 42378  
 42379  	// The time at which the SIP rule was last updated, in ISO 8601 format.
 42380  	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 42381  }
 42382  
 42383  // String returns the string representation.
 42384  //
 42385  // API parameter values that are decorated as "sensitive" in the API will not
 42386  // be included in the string output. The member name will be present, but the
 42387  // value will be replaced with "sensitive".
 42388  func (s SipRule) String() string {
 42389  	return awsutil.Prettify(s)
 42390  }
 42391  
 42392  // GoString returns the string representation.
 42393  //
 42394  // API parameter values that are decorated as "sensitive" in the API will not
 42395  // be included in the string output. The member name will be present, but the
 42396  // value will be replaced with "sensitive".
 42397  func (s SipRule) GoString() string {
 42398  	return s.String()
 42399  }
 42400  
 42401  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 42402  func (s *SipRule) SetCreatedTimestamp(v time.Time) *SipRule {
 42403  	s.CreatedTimestamp = &v
 42404  	return s
 42405  }
 42406  
 42407  // SetDisabled sets the Disabled field's value.
 42408  func (s *SipRule) SetDisabled(v bool) *SipRule {
 42409  	s.Disabled = &v
 42410  	return s
 42411  }
 42412  
 42413  // SetName sets the Name field's value.
 42414  func (s *SipRule) SetName(v string) *SipRule {
 42415  	s.Name = &v
 42416  	return s
 42417  }
 42418  
 42419  // SetSipRuleId sets the SipRuleId field's value.
 42420  func (s *SipRule) SetSipRuleId(v string) *SipRule {
 42421  	s.SipRuleId = &v
 42422  	return s
 42423  }
 42424  
 42425  // SetTargetApplications sets the TargetApplications field's value.
 42426  func (s *SipRule) SetTargetApplications(v []*SipRuleTargetApplication) *SipRule {
 42427  	s.TargetApplications = v
 42428  	return s
 42429  }
 42430  
 42431  // SetTriggerType sets the TriggerType field's value.
 42432  func (s *SipRule) SetTriggerType(v string) *SipRule {
 42433  	s.TriggerType = &v
 42434  	return s
 42435  }
 42436  
 42437  // SetTriggerValue sets the TriggerValue field's value.
 42438  func (s *SipRule) SetTriggerValue(v string) *SipRule {
 42439  	s.TriggerValue = &v
 42440  	return s
 42441  }
 42442  
 42443  // SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
 42444  func (s *SipRule) SetUpdatedTimestamp(v time.Time) *SipRule {
 42445  	s.UpdatedTimestamp = &v
 42446  	return s
 42447  }
 42448  
 42449  // Target SIP media application and other details, such as priority and AWS
 42450  // Region, to be specified in the SIP rule. Only one SIP rule per AWS Region
 42451  // can be provided.
 42452  type SipRuleTargetApplication struct {
 42453  	_ struct{} `type:"structure"`
 42454  
 42455  	// The AWS Region of the target application.
 42456  	AwsRegion *string `type:"string"`
 42457  
 42458  	// Priority of the SIP media application in the target list.
 42459  	Priority *int64 `min:"1" type:"integer"`
 42460  
 42461  	// The SIP media application ID.
 42462  	SipMediaApplicationId *string `type:"string"`
 42463  }
 42464  
 42465  // String returns the string representation.
 42466  //
 42467  // API parameter values that are decorated as "sensitive" in the API will not
 42468  // be included in the string output. The member name will be present, but the
 42469  // value will be replaced with "sensitive".
 42470  func (s SipRuleTargetApplication) String() string {
 42471  	return awsutil.Prettify(s)
 42472  }
 42473  
 42474  // GoString returns the string representation.
 42475  //
 42476  // API parameter values that are decorated as "sensitive" in the API will not
 42477  // be included in the string output. The member name will be present, but the
 42478  // value will be replaced with "sensitive".
 42479  func (s SipRuleTargetApplication) GoString() string {
 42480  	return s.String()
 42481  }
 42482  
 42483  // Validate inspects the fields of the type to determine if they are valid.
 42484  func (s *SipRuleTargetApplication) Validate() error {
 42485  	invalidParams := request.ErrInvalidParams{Context: "SipRuleTargetApplication"}
 42486  	if s.Priority != nil && *s.Priority < 1 {
 42487  		invalidParams.Add(request.NewErrParamMinValue("Priority", 1))
 42488  	}
 42489  
 42490  	if invalidParams.Len() > 0 {
 42491  		return invalidParams
 42492  	}
 42493  	return nil
 42494  }
 42495  
 42496  // SetAwsRegion sets the AwsRegion field's value.
 42497  func (s *SipRuleTargetApplication) SetAwsRegion(v string) *SipRuleTargetApplication {
 42498  	s.AwsRegion = &v
 42499  	return s
 42500  }
 42501  
 42502  // SetPriority sets the Priority field's value.
 42503  func (s *SipRuleTargetApplication) SetPriority(v int64) *SipRuleTargetApplication {
 42504  	s.Priority = &v
 42505  	return s
 42506  }
 42507  
 42508  // SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
 42509  func (s *SipRuleTargetApplication) SetSipMediaApplicationId(v string) *SipRuleTargetApplication {
 42510  	s.SipMediaApplicationId = &v
 42511  	return s
 42512  }
 42513  
 42514  // Source configuration for a specified media capture pipeline.
 42515  type SourceConfiguration struct {
 42516  	_ struct{} `type:"structure"`
 42517  
 42518  	// The selected video streams to capture for a specified media capture pipeline.
 42519  	// The number of video streams can't exceed 25.
 42520  	SelectedVideoStreams *SelectedVideoStreams `type:"structure"`
 42521  }
 42522  
 42523  // String returns the string representation.
 42524  //
 42525  // API parameter values that are decorated as "sensitive" in the API will not
 42526  // be included in the string output. The member name will be present, but the
 42527  // value will be replaced with "sensitive".
 42528  func (s SourceConfiguration) String() string {
 42529  	return awsutil.Prettify(s)
 42530  }
 42531  
 42532  // GoString returns the string representation.
 42533  //
 42534  // API parameter values that are decorated as "sensitive" in the API will not
 42535  // be included in the string output. The member name will be present, but the
 42536  // value will be replaced with "sensitive".
 42537  func (s SourceConfiguration) GoString() string {
 42538  	return s.String()
 42539  }
 42540  
 42541  // Validate inspects the fields of the type to determine if they are valid.
 42542  func (s *SourceConfiguration) Validate() error {
 42543  	invalidParams := request.ErrInvalidParams{Context: "SourceConfiguration"}
 42544  	if s.SelectedVideoStreams != nil {
 42545  		if err := s.SelectedVideoStreams.Validate(); err != nil {
 42546  			invalidParams.AddNested("SelectedVideoStreams", err.(request.ErrInvalidParams))
 42547  		}
 42548  	}
 42549  
 42550  	if invalidParams.Len() > 0 {
 42551  		return invalidParams
 42552  	}
 42553  	return nil
 42554  }
 42555  
 42556  // SetSelectedVideoStreams sets the SelectedVideoStreams field's value.
 42557  func (s *SourceConfiguration) SetSelectedVideoStreams(v *SelectedVideoStreams) *SourceConfiguration {
 42558  	s.SelectedVideoStreams = v
 42559  	return s
 42560  }
 42561  
 42562  type StartMeetingTranscriptionInput struct {
 42563  	_ struct{} `type:"structure"`
 42564  
 42565  	// The unique ID of the meeting being transcribed.
 42566  	//
 42567  	// MeetingId is a required field
 42568  	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
 42569  
 42570  	// The configuration for the current transcription operation. Must contain EngineTranscribeSettings
 42571  	// or EngineTranscribeMedicalSettings.
 42572  	//
 42573  	// TranscriptionConfiguration is a required field
 42574  	TranscriptionConfiguration *TranscriptionConfiguration `type:"structure" required:"true"`
 42575  }
 42576  
 42577  // String returns the string representation.
 42578  //
 42579  // API parameter values that are decorated as "sensitive" in the API will not
 42580  // be included in the string output. The member name will be present, but the
 42581  // value will be replaced with "sensitive".
 42582  func (s StartMeetingTranscriptionInput) String() string {
 42583  	return awsutil.Prettify(s)
 42584  }
 42585  
 42586  // GoString returns the string representation.
 42587  //
 42588  // API parameter values that are decorated as "sensitive" in the API will not
 42589  // be included in the string output. The member name will be present, but the
 42590  // value will be replaced with "sensitive".
 42591  func (s StartMeetingTranscriptionInput) GoString() string {
 42592  	return s.String()
 42593  }
 42594  
 42595  // Validate inspects the fields of the type to determine if they are valid.
 42596  func (s *StartMeetingTranscriptionInput) Validate() error {
 42597  	invalidParams := request.ErrInvalidParams{Context: "StartMeetingTranscriptionInput"}
 42598  	if s.MeetingId == nil {
 42599  		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
 42600  	}
 42601  	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
 42602  		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
 42603  	}
 42604  	if s.TranscriptionConfiguration == nil {
 42605  		invalidParams.Add(request.NewErrParamRequired("TranscriptionConfiguration"))
 42606  	}
 42607  	if s.TranscriptionConfiguration != nil {
 42608  		if err := s.TranscriptionConfiguration.Validate(); err != nil {
 42609  			invalidParams.AddNested("TranscriptionConfiguration", err.(request.ErrInvalidParams))
 42610  		}
 42611  	}
 42612  
 42613  	if invalidParams.Len() > 0 {
 42614  		return invalidParams
 42615  	}
 42616  	return nil
 42617  }
 42618  
 42619  // SetMeetingId sets the MeetingId field's value.
 42620  func (s *StartMeetingTranscriptionInput) SetMeetingId(v string) *StartMeetingTranscriptionInput {
 42621  	s.MeetingId = &v
 42622  	return s
 42623  }
 42624  
 42625  // SetTranscriptionConfiguration sets the TranscriptionConfiguration field's value.
 42626  func (s *StartMeetingTranscriptionInput) SetTranscriptionConfiguration(v *TranscriptionConfiguration) *StartMeetingTranscriptionInput {
 42627  	s.TranscriptionConfiguration = v
 42628  	return s
 42629  }
 42630  
 42631  type StartMeetingTranscriptionOutput struct {
 42632  	_ struct{} `type:"structure" nopayload:"true"`
 42633  }
 42634  
 42635  // String returns the string representation.
 42636  //
 42637  // API parameter values that are decorated as "sensitive" in the API will not
 42638  // be included in the string output. The member name will be present, but the
 42639  // value will be replaced with "sensitive".
 42640  func (s StartMeetingTranscriptionOutput) String() string {
 42641  	return awsutil.Prettify(s)
 42642  }
 42643  
 42644  // GoString returns the string representation.
 42645  //
 42646  // API parameter values that are decorated as "sensitive" in the API will not
 42647  // be included in the string output. The member name will be present, but the
 42648  // value will be replaced with "sensitive".
 42649  func (s StartMeetingTranscriptionOutput) GoString() string {
 42650  	return s.String()
 42651  }
 42652  
 42653  type StopMeetingTranscriptionInput struct {
 42654  	_ struct{} `type:"structure" nopayload:"true"`
 42655  
 42656  	// The unique ID of the meeting for which you stop transcription.
 42657  	//
 42658  	// MeetingId is a required field
 42659  	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
 42660  }
 42661  
 42662  // String returns the string representation.
 42663  //
 42664  // API parameter values that are decorated as "sensitive" in the API will not
 42665  // be included in the string output. The member name will be present, but the
 42666  // value will be replaced with "sensitive".
 42667  func (s StopMeetingTranscriptionInput) String() string {
 42668  	return awsutil.Prettify(s)
 42669  }
 42670  
 42671  // GoString returns the string representation.
 42672  //
 42673  // API parameter values that are decorated as "sensitive" in the API will not
 42674  // be included in the string output. The member name will be present, but the
 42675  // value will be replaced with "sensitive".
 42676  func (s StopMeetingTranscriptionInput) GoString() string {
 42677  	return s.String()
 42678  }
 42679  
 42680  // Validate inspects the fields of the type to determine if they are valid.
 42681  func (s *StopMeetingTranscriptionInput) Validate() error {
 42682  	invalidParams := request.ErrInvalidParams{Context: "StopMeetingTranscriptionInput"}
 42683  	if s.MeetingId == nil {
 42684  		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
 42685  	}
 42686  	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
 42687  		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
 42688  	}
 42689  
 42690  	if invalidParams.Len() > 0 {
 42691  		return invalidParams
 42692  	}
 42693  	return nil
 42694  }
 42695  
 42696  // SetMeetingId sets the MeetingId field's value.
 42697  func (s *StopMeetingTranscriptionInput) SetMeetingId(v string) *StopMeetingTranscriptionInput {
 42698  	s.MeetingId = &v
 42699  	return s
 42700  }
 42701  
 42702  type StopMeetingTranscriptionOutput struct {
 42703  	_ struct{} `type:"structure" nopayload:"true"`
 42704  }
 42705  
 42706  // String returns the string representation.
 42707  //
 42708  // API parameter values that are decorated as "sensitive" in the API will not
 42709  // be included in the string output. The member name will be present, but the
 42710  // value will be replaced with "sensitive".
 42711  func (s StopMeetingTranscriptionOutput) String() string {
 42712  	return awsutil.Prettify(s)
 42713  }
 42714  
 42715  // GoString returns the string representation.
 42716  //
 42717  // API parameter values that are decorated as "sensitive" in the API will not
 42718  // be included in the string output. The member name will be present, but the
 42719  // value will be replaced with "sensitive".
 42720  func (s StopMeetingTranscriptionOutput) GoString() string {
 42721  	return s.String()
 42722  }
 42723  
 42724  // The streaming configuration associated with an Amazon Chime Voice Connector.
 42725  // Specifies whether media streaming is enabled for sending to Amazon Kinesis,
 42726  // and shows the retention period for the Amazon Kinesis data, in hours.
 42727  type StreamingConfiguration struct {
 42728  	_ struct{} `type:"structure"`
 42729  
 42730  	// The retention period, in hours, for the Amazon Kinesis data.
 42731  	//
 42732  	// DataRetentionInHours is a required field
 42733  	DataRetentionInHours *int64 `type:"integer" required:"true"`
 42734  
 42735  	// When true, media streaming to Amazon Kinesis is turned off.
 42736  	Disabled *bool `type:"boolean"`
 42737  
 42738  	// The streaming notification targets.
 42739  	StreamingNotificationTargets []*StreamingNotificationTarget `min:"1" type:"list"`
 42740  }
 42741  
 42742  // String returns the string representation.
 42743  //
 42744  // API parameter values that are decorated as "sensitive" in the API will not
 42745  // be included in the string output. The member name will be present, but the
 42746  // value will be replaced with "sensitive".
 42747  func (s StreamingConfiguration) String() string {
 42748  	return awsutil.Prettify(s)
 42749  }
 42750  
 42751  // GoString returns the string representation.
 42752  //
 42753  // API parameter values that are decorated as "sensitive" in the API will not
 42754  // be included in the string output. The member name will be present, but the
 42755  // value will be replaced with "sensitive".
 42756  func (s StreamingConfiguration) GoString() string {
 42757  	return s.String()
 42758  }
 42759  
 42760  // Validate inspects the fields of the type to determine if they are valid.
 42761  func (s *StreamingConfiguration) Validate() error {
 42762  	invalidParams := request.ErrInvalidParams{Context: "StreamingConfiguration"}
 42763  	if s.DataRetentionInHours == nil {
 42764  		invalidParams.Add(request.NewErrParamRequired("DataRetentionInHours"))
 42765  	}
 42766  	if s.StreamingNotificationTargets != nil && len(s.StreamingNotificationTargets) < 1 {
 42767  		invalidParams.Add(request.NewErrParamMinLen("StreamingNotificationTargets", 1))
 42768  	}
 42769  	if s.StreamingNotificationTargets != nil {
 42770  		for i, v := range s.StreamingNotificationTargets {
 42771  			if v == nil {
 42772  				continue
 42773  			}
 42774  			if err := v.Validate(); err != nil {
 42775  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "StreamingNotificationTargets", i), err.(request.ErrInvalidParams))
 42776  			}
 42777  		}
 42778  	}
 42779  
 42780  	if invalidParams.Len() > 0 {
 42781  		return invalidParams
 42782  	}
 42783  	return nil
 42784  }
 42785  
 42786  // SetDataRetentionInHours sets the DataRetentionInHours field's value.
 42787  func (s *StreamingConfiguration) SetDataRetentionInHours(v int64) *StreamingConfiguration {
 42788  	s.DataRetentionInHours = &v
 42789  	return s
 42790  }
 42791  
 42792  // SetDisabled sets the Disabled field's value.
 42793  func (s *StreamingConfiguration) SetDisabled(v bool) *StreamingConfiguration {
 42794  	s.Disabled = &v
 42795  	return s
 42796  }
 42797  
 42798  // SetStreamingNotificationTargets sets the StreamingNotificationTargets field's value.
 42799  func (s *StreamingConfiguration) SetStreamingNotificationTargets(v []*StreamingNotificationTarget) *StreamingConfiguration {
 42800  	s.StreamingNotificationTargets = v
 42801  	return s
 42802  }
 42803  
 42804  // The targeted recipient for a streaming configuration notification.
 42805  type StreamingNotificationTarget struct {
 42806  	_ struct{} `type:"structure"`
 42807  
 42808  	// The streaming notification target.
 42809  	//
 42810  	// NotificationTarget is a required field
 42811  	NotificationTarget *string `type:"string" required:"true" enum:"NotificationTarget"`
 42812  }
 42813  
 42814  // String returns the string representation.
 42815  //
 42816  // API parameter values that are decorated as "sensitive" in the API will not
 42817  // be included in the string output. The member name will be present, but the
 42818  // value will be replaced with "sensitive".
 42819  func (s StreamingNotificationTarget) String() string {
 42820  	return awsutil.Prettify(s)
 42821  }
 42822  
 42823  // GoString returns the string representation.
 42824  //
 42825  // API parameter values that are decorated as "sensitive" in the API will not
 42826  // be included in the string output. The member name will be present, but the
 42827  // value will be replaced with "sensitive".
 42828  func (s StreamingNotificationTarget) GoString() string {
 42829  	return s.String()
 42830  }
 42831  
 42832  // Validate inspects the fields of the type to determine if they are valid.
 42833  func (s *StreamingNotificationTarget) Validate() error {
 42834  	invalidParams := request.ErrInvalidParams{Context: "StreamingNotificationTarget"}
 42835  	if s.NotificationTarget == nil {
 42836  		invalidParams.Add(request.NewErrParamRequired("NotificationTarget"))
 42837  	}
 42838  
 42839  	if invalidParams.Len() > 0 {
 42840  		return invalidParams
 42841  	}
 42842  	return nil
 42843  }
 42844  
 42845  // SetNotificationTarget sets the NotificationTarget field's value.
 42846  func (s *StreamingNotificationTarget) SetNotificationTarget(v string) *StreamingNotificationTarget {
 42847  	s.NotificationTarget = &v
 42848  	return s
 42849  }
 42850  
 42851  // Describes a tag applied to a resource.
 42852  type Tag struct {
 42853  	_ struct{} `type:"structure"`
 42854  
 42855  	// The key of the tag.
 42856  	//
 42857  	// Key is a sensitive parameter and its value will be
 42858  	// replaced with "sensitive" in string returned by Tag's
 42859  	// String and GoString methods.
 42860  	//
 42861  	// Key is a required field
 42862  	Key *string `min:"1" type:"string" required:"true" sensitive:"true"`
 42863  
 42864  	// The value of the tag.
 42865  	//
 42866  	// Value is a sensitive parameter and its value will be
 42867  	// replaced with "sensitive" in string returned by Tag's
 42868  	// String and GoString methods.
 42869  	//
 42870  	// Value is a required field
 42871  	Value *string `min:"1" type:"string" required:"true" sensitive:"true"`
 42872  }
 42873  
 42874  // String returns the string representation.
 42875  //
 42876  // API parameter values that are decorated as "sensitive" in the API will not
 42877  // be included in the string output. The member name will be present, but the
 42878  // value will be replaced with "sensitive".
 42879  func (s Tag) String() string {
 42880  	return awsutil.Prettify(s)
 42881  }
 42882  
 42883  // GoString returns the string representation.
 42884  //
 42885  // API parameter values that are decorated as "sensitive" in the API will not
 42886  // be included in the string output. The member name will be present, but the
 42887  // value will be replaced with "sensitive".
 42888  func (s Tag) GoString() string {
 42889  	return s.String()
 42890  }
 42891  
 42892  // Validate inspects the fields of the type to determine if they are valid.
 42893  func (s *Tag) Validate() error {
 42894  	invalidParams := request.ErrInvalidParams{Context: "Tag"}
 42895  	if s.Key == nil {
 42896  		invalidParams.Add(request.NewErrParamRequired("Key"))
 42897  	}
 42898  	if s.Key != nil && len(*s.Key) < 1 {
 42899  		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
 42900  	}
 42901  	if s.Value == nil {
 42902  		invalidParams.Add(request.NewErrParamRequired("Value"))
 42903  	}
 42904  	if s.Value != nil && len(*s.Value) < 1 {
 42905  		invalidParams.Add(request.NewErrParamMinLen("Value", 1))
 42906  	}
 42907  
 42908  	if invalidParams.Len() > 0 {
 42909  		return invalidParams
 42910  	}
 42911  	return nil
 42912  }
 42913  
 42914  // SetKey sets the Key field's value.
 42915  func (s *Tag) SetKey(v string) *Tag {
 42916  	s.Key = &v
 42917  	return s
 42918  }
 42919  
 42920  // SetValue sets the Value field's value.
 42921  func (s *Tag) SetValue(v string) *Tag {
 42922  	s.Value = &v
 42923  	return s
 42924  }
 42925  
 42926  type TagAttendeeInput struct {
 42927  	_ struct{} `type:"structure"`
 42928  
 42929  	// The Amazon Chime SDK attendee ID.
 42930  	//
 42931  	// AttendeeId is a required field
 42932  	AttendeeId *string `location:"uri" locationName:"attendeeId" type:"string" required:"true"`
 42933  
 42934  	// The Amazon Chime SDK meeting ID.
 42935  	//
 42936  	// MeetingId is a required field
 42937  	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
 42938  
 42939  	// The tag key-value pairs.
 42940  	//
 42941  	// Tags is a required field
 42942  	Tags []*Tag `min:"1" type:"list" required:"true"`
 42943  }
 42944  
 42945  // String returns the string representation.
 42946  //
 42947  // API parameter values that are decorated as "sensitive" in the API will not
 42948  // be included in the string output. The member name will be present, but the
 42949  // value will be replaced with "sensitive".
 42950  func (s TagAttendeeInput) String() string {
 42951  	return awsutil.Prettify(s)
 42952  }
 42953  
 42954  // GoString returns the string representation.
 42955  //
 42956  // API parameter values that are decorated as "sensitive" in the API will not
 42957  // be included in the string output. The member name will be present, but the
 42958  // value will be replaced with "sensitive".
 42959  func (s TagAttendeeInput) GoString() string {
 42960  	return s.String()
 42961  }
 42962  
 42963  // Validate inspects the fields of the type to determine if they are valid.
 42964  func (s *TagAttendeeInput) Validate() error {
 42965  	invalidParams := request.ErrInvalidParams{Context: "TagAttendeeInput"}
 42966  	if s.AttendeeId == nil {
 42967  		invalidParams.Add(request.NewErrParamRequired("AttendeeId"))
 42968  	}
 42969  	if s.AttendeeId != nil && len(*s.AttendeeId) < 1 {
 42970  		invalidParams.Add(request.NewErrParamMinLen("AttendeeId", 1))
 42971  	}
 42972  	if s.MeetingId == nil {
 42973  		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
 42974  	}
 42975  	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
 42976  		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
 42977  	}
 42978  	if s.Tags == nil {
 42979  		invalidParams.Add(request.NewErrParamRequired("Tags"))
 42980  	}
 42981  	if s.Tags != nil && len(s.Tags) < 1 {
 42982  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 42983  	}
 42984  	if s.Tags != nil {
 42985  		for i, v := range s.Tags {
 42986  			if v == nil {
 42987  				continue
 42988  			}
 42989  			if err := v.Validate(); err != nil {
 42990  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 42991  			}
 42992  		}
 42993  	}
 42994  
 42995  	if invalidParams.Len() > 0 {
 42996  		return invalidParams
 42997  	}
 42998  	return nil
 42999  }
 43000  
 43001  // SetAttendeeId sets the AttendeeId field's value.
 43002  func (s *TagAttendeeInput) SetAttendeeId(v string) *TagAttendeeInput {
 43003  	s.AttendeeId = &v
 43004  	return s
 43005  }
 43006  
 43007  // SetMeetingId sets the MeetingId field's value.
 43008  func (s *TagAttendeeInput) SetMeetingId(v string) *TagAttendeeInput {
 43009  	s.MeetingId = &v
 43010  	return s
 43011  }
 43012  
 43013  // SetTags sets the Tags field's value.
 43014  func (s *TagAttendeeInput) SetTags(v []*Tag) *TagAttendeeInput {
 43015  	s.Tags = v
 43016  	return s
 43017  }
 43018  
 43019  type TagAttendeeOutput struct {
 43020  	_ struct{} `type:"structure" nopayload:"true"`
 43021  }
 43022  
 43023  // String returns the string representation.
 43024  //
 43025  // API parameter values that are decorated as "sensitive" in the API will not
 43026  // be included in the string output. The member name will be present, but the
 43027  // value will be replaced with "sensitive".
 43028  func (s TagAttendeeOutput) String() string {
 43029  	return awsutil.Prettify(s)
 43030  }
 43031  
 43032  // GoString returns the string representation.
 43033  //
 43034  // API parameter values that are decorated as "sensitive" in the API will not
 43035  // be included in the string output. The member name will be present, but the
 43036  // value will be replaced with "sensitive".
 43037  func (s TagAttendeeOutput) GoString() string {
 43038  	return s.String()
 43039  }
 43040  
 43041  type TagMeetingInput struct {
 43042  	_ struct{} `type:"structure"`
 43043  
 43044  	// The Amazon Chime SDK meeting ID.
 43045  	//
 43046  	// MeetingId is a required field
 43047  	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
 43048  
 43049  	// The tag key-value pairs.
 43050  	//
 43051  	// Tags is a required field
 43052  	Tags []*Tag `min:"1" type:"list" required:"true"`
 43053  }
 43054  
 43055  // String returns the string representation.
 43056  //
 43057  // API parameter values that are decorated as "sensitive" in the API will not
 43058  // be included in the string output. The member name will be present, but the
 43059  // value will be replaced with "sensitive".
 43060  func (s TagMeetingInput) String() string {
 43061  	return awsutil.Prettify(s)
 43062  }
 43063  
 43064  // GoString returns the string representation.
 43065  //
 43066  // API parameter values that are decorated as "sensitive" in the API will not
 43067  // be included in the string output. The member name will be present, but the
 43068  // value will be replaced with "sensitive".
 43069  func (s TagMeetingInput) GoString() string {
 43070  	return s.String()
 43071  }
 43072  
 43073  // Validate inspects the fields of the type to determine if they are valid.
 43074  func (s *TagMeetingInput) Validate() error {
 43075  	invalidParams := request.ErrInvalidParams{Context: "TagMeetingInput"}
 43076  	if s.MeetingId == nil {
 43077  		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
 43078  	}
 43079  	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
 43080  		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
 43081  	}
 43082  	if s.Tags == nil {
 43083  		invalidParams.Add(request.NewErrParamRequired("Tags"))
 43084  	}
 43085  	if s.Tags != nil && len(s.Tags) < 1 {
 43086  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 43087  	}
 43088  	if s.Tags != nil {
 43089  		for i, v := range s.Tags {
 43090  			if v == nil {
 43091  				continue
 43092  			}
 43093  			if err := v.Validate(); err != nil {
 43094  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 43095  			}
 43096  		}
 43097  	}
 43098  
 43099  	if invalidParams.Len() > 0 {
 43100  		return invalidParams
 43101  	}
 43102  	return nil
 43103  }
 43104  
 43105  // SetMeetingId sets the MeetingId field's value.
 43106  func (s *TagMeetingInput) SetMeetingId(v string) *TagMeetingInput {
 43107  	s.MeetingId = &v
 43108  	return s
 43109  }
 43110  
 43111  // SetTags sets the Tags field's value.
 43112  func (s *TagMeetingInput) SetTags(v []*Tag) *TagMeetingInput {
 43113  	s.Tags = v
 43114  	return s
 43115  }
 43116  
 43117  type TagMeetingOutput struct {
 43118  	_ struct{} `type:"structure" nopayload:"true"`
 43119  }
 43120  
 43121  // String returns the string representation.
 43122  //
 43123  // API parameter values that are decorated as "sensitive" in the API will not
 43124  // be included in the string output. The member name will be present, but the
 43125  // value will be replaced with "sensitive".
 43126  func (s TagMeetingOutput) String() string {
 43127  	return awsutil.Prettify(s)
 43128  }
 43129  
 43130  // GoString returns the string representation.
 43131  //
 43132  // API parameter values that are decorated as "sensitive" in the API will not
 43133  // be included in the string output. The member name will be present, but the
 43134  // value will be replaced with "sensitive".
 43135  func (s TagMeetingOutput) GoString() string {
 43136  	return s.String()
 43137  }
 43138  
 43139  type TagResourceInput struct {
 43140  	_ struct{} `type:"structure"`
 43141  
 43142  	// The resource ARN.
 43143  	//
 43144  	// ResourceARN is a sensitive parameter and its value will be
 43145  	// replaced with "sensitive" in string returned by TagResourceInput's
 43146  	// String and GoString methods.
 43147  	//
 43148  	// ResourceARN is a required field
 43149  	ResourceARN *string `min:"1" type:"string" required:"true" sensitive:"true"`
 43150  
 43151  	// The tag key-value pairs.
 43152  	//
 43153  	// Tags is a required field
 43154  	Tags []*Tag `min:"1" type:"list" required:"true"`
 43155  }
 43156  
 43157  // String returns the string representation.
 43158  //
 43159  // API parameter values that are decorated as "sensitive" in the API will not
 43160  // be included in the string output. The member name will be present, but the
 43161  // value will be replaced with "sensitive".
 43162  func (s TagResourceInput) String() string {
 43163  	return awsutil.Prettify(s)
 43164  }
 43165  
 43166  // GoString returns the string representation.
 43167  //
 43168  // API parameter values that are decorated as "sensitive" in the API will not
 43169  // be included in the string output. The member name will be present, but the
 43170  // value will be replaced with "sensitive".
 43171  func (s TagResourceInput) GoString() string {
 43172  	return s.String()
 43173  }
 43174  
 43175  // Validate inspects the fields of the type to determine if they are valid.
 43176  func (s *TagResourceInput) Validate() error {
 43177  	invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
 43178  	if s.ResourceARN == nil {
 43179  		invalidParams.Add(request.NewErrParamRequired("ResourceARN"))
 43180  	}
 43181  	if s.ResourceARN != nil && len(*s.ResourceARN) < 1 {
 43182  		invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1))
 43183  	}
 43184  	if s.Tags == nil {
 43185  		invalidParams.Add(request.NewErrParamRequired("Tags"))
 43186  	}
 43187  	if s.Tags != nil && len(s.Tags) < 1 {
 43188  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 43189  	}
 43190  	if s.Tags != nil {
 43191  		for i, v := range s.Tags {
 43192  			if v == nil {
 43193  				continue
 43194  			}
 43195  			if err := v.Validate(); err != nil {
 43196  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 43197  			}
 43198  		}
 43199  	}
 43200  
 43201  	if invalidParams.Len() > 0 {
 43202  		return invalidParams
 43203  	}
 43204  	return nil
 43205  }
 43206  
 43207  // SetResourceARN sets the ResourceARN field's value.
 43208  func (s *TagResourceInput) SetResourceARN(v string) *TagResourceInput {
 43209  	s.ResourceARN = &v
 43210  	return s
 43211  }
 43212  
 43213  // SetTags sets the Tags field's value.
 43214  func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput {
 43215  	s.Tags = v
 43216  	return s
 43217  }
 43218  
 43219  type TagResourceOutput struct {
 43220  	_ struct{} `type:"structure" nopayload:"true"`
 43221  }
 43222  
 43223  // String returns the string representation.
 43224  //
 43225  // API parameter values that are decorated as "sensitive" in the API will not
 43226  // be included in the string output. The member name will be present, but the
 43227  // value will be replaced with "sensitive".
 43228  func (s TagResourceOutput) String() string {
 43229  	return awsutil.Prettify(s)
 43230  }
 43231  
 43232  // GoString returns the string representation.
 43233  //
 43234  // API parameter values that are decorated as "sensitive" in the API will not
 43235  // be included in the string output. The member name will be present, but the
 43236  // value will be replaced with "sensitive".
 43237  func (s TagResourceOutput) GoString() string {
 43238  	return s.String()
 43239  }
 43240  
 43241  // Settings that allow management of telephony permissions for an Amazon Chime
 43242  // user, such as inbound and outbound calling and text messaging.
 43243  type TelephonySettings struct {
 43244  	_ struct{} `type:"structure"`
 43245  
 43246  	// Allows or denies inbound calling.
 43247  	//
 43248  	// InboundCalling is a required field
 43249  	InboundCalling *bool `type:"boolean" required:"true"`
 43250  
 43251  	// Allows or denies outbound calling.
 43252  	//
 43253  	// OutboundCalling is a required field
 43254  	OutboundCalling *bool `type:"boolean" required:"true"`
 43255  
 43256  	// Allows or denies SMS messaging.
 43257  	//
 43258  	// SMS is a required field
 43259  	SMS *bool `type:"boolean" required:"true"`
 43260  }
 43261  
 43262  // String returns the string representation.
 43263  //
 43264  // API parameter values that are decorated as "sensitive" in the API will not
 43265  // be included in the string output. The member name will be present, but the
 43266  // value will be replaced with "sensitive".
 43267  func (s TelephonySettings) String() string {
 43268  	return awsutil.Prettify(s)
 43269  }
 43270  
 43271  // GoString returns the string representation.
 43272  //
 43273  // API parameter values that are decorated as "sensitive" in the API will not
 43274  // be included in the string output. The member name will be present, but the
 43275  // value will be replaced with "sensitive".
 43276  func (s TelephonySettings) GoString() string {
 43277  	return s.String()
 43278  }
 43279  
 43280  // Validate inspects the fields of the type to determine if they are valid.
 43281  func (s *TelephonySettings) Validate() error {
 43282  	invalidParams := request.ErrInvalidParams{Context: "TelephonySettings"}
 43283  	if s.InboundCalling == nil {
 43284  		invalidParams.Add(request.NewErrParamRequired("InboundCalling"))
 43285  	}
 43286  	if s.OutboundCalling == nil {
 43287  		invalidParams.Add(request.NewErrParamRequired("OutboundCalling"))
 43288  	}
 43289  	if s.SMS == nil {
 43290  		invalidParams.Add(request.NewErrParamRequired("SMS"))
 43291  	}
 43292  
 43293  	if invalidParams.Len() > 0 {
 43294  		return invalidParams
 43295  	}
 43296  	return nil
 43297  }
 43298  
 43299  // SetInboundCalling sets the InboundCalling field's value.
 43300  func (s *TelephonySettings) SetInboundCalling(v bool) *TelephonySettings {
 43301  	s.InboundCalling = &v
 43302  	return s
 43303  }
 43304  
 43305  // SetOutboundCalling sets the OutboundCalling field's value.
 43306  func (s *TelephonySettings) SetOutboundCalling(v bool) *TelephonySettings {
 43307  	s.OutboundCalling = &v
 43308  	return s
 43309  }
 43310  
 43311  // SetSMS sets the SMS field's value.
 43312  func (s *TelephonySettings) SetSMS(v bool) *TelephonySettings {
 43313  	s.SMS = &v
 43314  	return s
 43315  }
 43316  
 43317  // Termination settings enable your SIP hosts to make outbound calls using your
 43318  // Amazon Chime Voice Connector.
 43319  type Termination struct {
 43320  	_ struct{} `type:"structure"`
 43321  
 43322  	// The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.
 43323  	CallingRegions []*string `type:"list"`
 43324  
 43325  	// The IP addresses allowed to make calls, in CIDR format. Required.
 43326  	CidrAllowedList []*string `type:"list"`
 43327  
 43328  	// The limit on calls per second. Max value based on account service quota.
 43329  	// Default value of 1.
 43330  	CpsLimit *int64 `min:"1" type:"integer"`
 43331  
 43332  	// The default caller ID phone number.
 43333  	//
 43334  	// DefaultPhoneNumber is a sensitive parameter and its value will be
 43335  	// replaced with "sensitive" in string returned by Termination's
 43336  	// String and GoString methods.
 43337  	DefaultPhoneNumber *string `type:"string" sensitive:"true"`
 43338  
 43339  	// When termination settings are disabled, outbound calls can not be made.
 43340  	Disabled *bool `type:"boolean"`
 43341  }
 43342  
 43343  // String returns the string representation.
 43344  //
 43345  // API parameter values that are decorated as "sensitive" in the API will not
 43346  // be included in the string output. The member name will be present, but the
 43347  // value will be replaced with "sensitive".
 43348  func (s Termination) String() string {
 43349  	return awsutil.Prettify(s)
 43350  }
 43351  
 43352  // GoString returns the string representation.
 43353  //
 43354  // API parameter values that are decorated as "sensitive" in the API will not
 43355  // be included in the string output. The member name will be present, but the
 43356  // value will be replaced with "sensitive".
 43357  func (s Termination) GoString() string {
 43358  	return s.String()
 43359  }
 43360  
 43361  // Validate inspects the fields of the type to determine if they are valid.
 43362  func (s *Termination) Validate() error {
 43363  	invalidParams := request.ErrInvalidParams{Context: "Termination"}
 43364  	if s.CpsLimit != nil && *s.CpsLimit < 1 {
 43365  		invalidParams.Add(request.NewErrParamMinValue("CpsLimit", 1))
 43366  	}
 43367  
 43368  	if invalidParams.Len() > 0 {
 43369  		return invalidParams
 43370  	}
 43371  	return nil
 43372  }
 43373  
 43374  // SetCallingRegions sets the CallingRegions field's value.
 43375  func (s *Termination) SetCallingRegions(v []*string) *Termination {
 43376  	s.CallingRegions = v
 43377  	return s
 43378  }
 43379  
 43380  // SetCidrAllowedList sets the CidrAllowedList field's value.
 43381  func (s *Termination) SetCidrAllowedList(v []*string) *Termination {
 43382  	s.CidrAllowedList = v
 43383  	return s
 43384  }
 43385  
 43386  // SetCpsLimit sets the CpsLimit field's value.
 43387  func (s *Termination) SetCpsLimit(v int64) *Termination {
 43388  	s.CpsLimit = &v
 43389  	return s
 43390  }
 43391  
 43392  // SetDefaultPhoneNumber sets the DefaultPhoneNumber field's value.
 43393  func (s *Termination) SetDefaultPhoneNumber(v string) *Termination {
 43394  	s.DefaultPhoneNumber = &v
 43395  	return s
 43396  }
 43397  
 43398  // SetDisabled sets the Disabled field's value.
 43399  func (s *Termination) SetDisabled(v bool) *Termination {
 43400  	s.Disabled = &v
 43401  	return s
 43402  }
 43403  
 43404  // The termination health details, including the source IP address and timestamp
 43405  // of the last successful SIP OPTIONS message from your SIP infrastructure.
 43406  type TerminationHealth struct {
 43407  	_ struct{} `type:"structure"`
 43408  
 43409  	// The source IP address.
 43410  	Source *string `type:"string"`
 43411  
 43412  	// The timestamp, in ISO 8601 format.
 43413  	Timestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 43414  }
 43415  
 43416  // String returns the string representation.
 43417  //
 43418  // API parameter values that are decorated as "sensitive" in the API will not
 43419  // be included in the string output. The member name will be present, but the
 43420  // value will be replaced with "sensitive".
 43421  func (s TerminationHealth) String() string {
 43422  	return awsutil.Prettify(s)
 43423  }
 43424  
 43425  // GoString returns the string representation.
 43426  //
 43427  // API parameter values that are decorated as "sensitive" in the API will not
 43428  // be included in the string output. The member name will be present, but the
 43429  // value will be replaced with "sensitive".
 43430  func (s TerminationHealth) GoString() string {
 43431  	return s.String()
 43432  }
 43433  
 43434  // SetSource sets the Source field's value.
 43435  func (s *TerminationHealth) SetSource(v string) *TerminationHealth {
 43436  	s.Source = &v
 43437  	return s
 43438  }
 43439  
 43440  // SetTimestamp sets the Timestamp field's value.
 43441  func (s *TerminationHealth) SetTimestamp(v time.Time) *TerminationHealth {
 43442  	s.Timestamp = &v
 43443  	return s
 43444  }
 43445  
 43446  // The client exceeded its request rate limit.
 43447  type ThrottledClientException struct {
 43448  	_            struct{}                  `type:"structure"`
 43449  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 43450  
 43451  	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
 43452  
 43453  	Message_ *string `locationName:"Message" type:"string"`
 43454  }
 43455  
 43456  // String returns the string representation.
 43457  //
 43458  // API parameter values that are decorated as "sensitive" in the API will not
 43459  // be included in the string output. The member name will be present, but the
 43460  // value will be replaced with "sensitive".
 43461  func (s ThrottledClientException) String() string {
 43462  	return awsutil.Prettify(s)
 43463  }
 43464  
 43465  // GoString returns the string representation.
 43466  //
 43467  // API parameter values that are decorated as "sensitive" in the API will not
 43468  // be included in the string output. The member name will be present, but the
 43469  // value will be replaced with "sensitive".
 43470  func (s ThrottledClientException) GoString() string {
 43471  	return s.String()
 43472  }
 43473  
 43474  func newErrorThrottledClientException(v protocol.ResponseMetadata) error {
 43475  	return &ThrottledClientException{
 43476  		RespMetadata: v,
 43477  	}
 43478  }
 43479  
 43480  // Code returns the exception type name.
 43481  func (s *ThrottledClientException) Code() string {
 43482  	return "ThrottledClientException"
 43483  }
 43484  
 43485  // Message returns the exception's message.
 43486  func (s *ThrottledClientException) Message() string {
 43487  	if s.Message_ != nil {
 43488  		return *s.Message_
 43489  	}
 43490  	return ""
 43491  }
 43492  
 43493  // OrigErr always returns nil, satisfies awserr.Error interface.
 43494  func (s *ThrottledClientException) OrigErr() error {
 43495  	return nil
 43496  }
 43497  
 43498  func (s *ThrottledClientException) Error() string {
 43499  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 43500  }
 43501  
 43502  // Status code returns the HTTP status code for the request's response error.
 43503  func (s *ThrottledClientException) StatusCode() int {
 43504  	return s.RespMetadata.StatusCode
 43505  }
 43506  
 43507  // RequestID returns the service's response RequestID for request.
 43508  func (s *ThrottledClientException) RequestID() string {
 43509  	return s.RespMetadata.RequestID
 43510  }
 43511  
 43512  // The configuration for the current transcription operation. Must contain EngineTranscribeSettings
 43513  // or EngineTranscribeMedicalSettings.
 43514  type TranscriptionConfiguration struct {
 43515  	_ struct{} `type:"structure"`
 43516  
 43517  	// The transcription configuration settings passed to Amazon Transcribe Medical.
 43518  	EngineTranscribeMedicalSettings *EngineTranscribeMedicalSettings `type:"structure"`
 43519  
 43520  	// The transcription configuration settings passed to Amazon Transcribe.
 43521  	EngineTranscribeSettings *EngineTranscribeSettings `type:"structure"`
 43522  }
 43523  
 43524  // String returns the string representation.
 43525  //
 43526  // API parameter values that are decorated as "sensitive" in the API will not
 43527  // be included in the string output. The member name will be present, but the
 43528  // value will be replaced with "sensitive".
 43529  func (s TranscriptionConfiguration) String() string {
 43530  	return awsutil.Prettify(s)
 43531  }
 43532  
 43533  // GoString returns the string representation.
 43534  //
 43535  // API parameter values that are decorated as "sensitive" in the API will not
 43536  // be included in the string output. The member name will be present, but the
 43537  // value will be replaced with "sensitive".
 43538  func (s TranscriptionConfiguration) GoString() string {
 43539  	return s.String()
 43540  }
 43541  
 43542  // Validate inspects the fields of the type to determine if they are valid.
 43543  func (s *TranscriptionConfiguration) Validate() error {
 43544  	invalidParams := request.ErrInvalidParams{Context: "TranscriptionConfiguration"}
 43545  	if s.EngineTranscribeMedicalSettings != nil {
 43546  		if err := s.EngineTranscribeMedicalSettings.Validate(); err != nil {
 43547  			invalidParams.AddNested("EngineTranscribeMedicalSettings", err.(request.ErrInvalidParams))
 43548  		}
 43549  	}
 43550  	if s.EngineTranscribeSettings != nil {
 43551  		if err := s.EngineTranscribeSettings.Validate(); err != nil {
 43552  			invalidParams.AddNested("EngineTranscribeSettings", err.(request.ErrInvalidParams))
 43553  		}
 43554  	}
 43555  
 43556  	if invalidParams.Len() > 0 {
 43557  		return invalidParams
 43558  	}
 43559  	return nil
 43560  }
 43561  
 43562  // SetEngineTranscribeMedicalSettings sets the EngineTranscribeMedicalSettings field's value.
 43563  func (s *TranscriptionConfiguration) SetEngineTranscribeMedicalSettings(v *EngineTranscribeMedicalSettings) *TranscriptionConfiguration {
 43564  	s.EngineTranscribeMedicalSettings = v
 43565  	return s
 43566  }
 43567  
 43568  // SetEngineTranscribeSettings sets the EngineTranscribeSettings field's value.
 43569  func (s *TranscriptionConfiguration) SetEngineTranscribeSettings(v *EngineTranscribeSettings) *TranscriptionConfiguration {
 43570  	s.EngineTranscribeSettings = v
 43571  	return s
 43572  }
 43573  
 43574  // The client is not currently authorized to make the request.
 43575  type UnauthorizedClientException struct {
 43576  	_            struct{}                  `type:"structure"`
 43577  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 43578  
 43579  	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
 43580  
 43581  	Message_ *string `locationName:"Message" type:"string"`
 43582  }
 43583  
 43584  // String returns the string representation.
 43585  //
 43586  // API parameter values that are decorated as "sensitive" in the API will not
 43587  // be included in the string output. The member name will be present, but the
 43588  // value will be replaced with "sensitive".
 43589  func (s UnauthorizedClientException) String() string {
 43590  	return awsutil.Prettify(s)
 43591  }
 43592  
 43593  // GoString returns the string representation.
 43594  //
 43595  // API parameter values that are decorated as "sensitive" in the API will not
 43596  // be included in the string output. The member name will be present, but the
 43597  // value will be replaced with "sensitive".
 43598  func (s UnauthorizedClientException) GoString() string {
 43599  	return s.String()
 43600  }
 43601  
 43602  func newErrorUnauthorizedClientException(v protocol.ResponseMetadata) error {
 43603  	return &UnauthorizedClientException{
 43604  		RespMetadata: v,
 43605  	}
 43606  }
 43607  
 43608  // Code returns the exception type name.
 43609  func (s *UnauthorizedClientException) Code() string {
 43610  	return "UnauthorizedClientException"
 43611  }
 43612  
 43613  // Message returns the exception's message.
 43614  func (s *UnauthorizedClientException) Message() string {
 43615  	if s.Message_ != nil {
 43616  		return *s.Message_
 43617  	}
 43618  	return ""
 43619  }
 43620  
 43621  // OrigErr always returns nil, satisfies awserr.Error interface.
 43622  func (s *UnauthorizedClientException) OrigErr() error {
 43623  	return nil
 43624  }
 43625  
 43626  func (s *UnauthorizedClientException) Error() string {
 43627  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 43628  }
 43629  
 43630  // Status code returns the HTTP status code for the request's response error.
 43631  func (s *UnauthorizedClientException) StatusCode() int {
 43632  	return s.RespMetadata.StatusCode
 43633  }
 43634  
 43635  // RequestID returns the service's response RequestID for request.
 43636  func (s *UnauthorizedClientException) RequestID() string {
 43637  	return s.RespMetadata.RequestID
 43638  }
 43639  
 43640  // The request was well-formed but was unable to be followed due to semantic
 43641  // errors.
 43642  type UnprocessableEntityException struct {
 43643  	_            struct{}                  `type:"structure"`
 43644  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 43645  
 43646  	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`
 43647  
 43648  	Message_ *string `locationName:"Message" type:"string"`
 43649  }
 43650  
 43651  // String returns the string representation.
 43652  //
 43653  // API parameter values that are decorated as "sensitive" in the API will not
 43654  // be included in the string output. The member name will be present, but the
 43655  // value will be replaced with "sensitive".
 43656  func (s UnprocessableEntityException) String() string {
 43657  	return awsutil.Prettify(s)
 43658  }
 43659  
 43660  // GoString returns the string representation.
 43661  //
 43662  // API parameter values that are decorated as "sensitive" in the API will not
 43663  // be included in the string output. The member name will be present, but the
 43664  // value will be replaced with "sensitive".
 43665  func (s UnprocessableEntityException) GoString() string {
 43666  	return s.String()
 43667  }
 43668  
 43669  func newErrorUnprocessableEntityException(v protocol.ResponseMetadata) error {
 43670  	return &UnprocessableEntityException{
 43671  		RespMetadata: v,
 43672  	}
 43673  }
 43674  
 43675  // Code returns the exception type name.
 43676  func (s *UnprocessableEntityException) Code() string {
 43677  	return "UnprocessableEntityException"
 43678  }
 43679  
 43680  // Message returns the exception's message.
 43681  func (s *UnprocessableEntityException) Message() string {
 43682  	if s.Message_ != nil {
 43683  		return *s.Message_
 43684  	}
 43685  	return ""
 43686  }
 43687  
 43688  // OrigErr always returns nil, satisfies awserr.Error interface.
 43689  func (s *UnprocessableEntityException) OrigErr() error {
 43690  	return nil
 43691  }
 43692  
 43693  func (s *UnprocessableEntityException) Error() string {
 43694  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 43695  }
 43696  
 43697  // Status code returns the HTTP status code for the request's response error.
 43698  func (s *UnprocessableEntityException) StatusCode() int {
 43699  	return s.RespMetadata.StatusCode
 43700  }
 43701  
 43702  // RequestID returns the service's response RequestID for request.
 43703  func (s *UnprocessableEntityException) RequestID() string {
 43704  	return s.RespMetadata.RequestID
 43705  }
 43706  
 43707  type UntagAttendeeInput struct {
 43708  	_ struct{} `type:"structure"`
 43709  
 43710  	// The Amazon Chime SDK attendee ID.
 43711  	//
 43712  	// AttendeeId is a required field
 43713  	AttendeeId *string `location:"uri" locationName:"attendeeId" type:"string" required:"true"`
 43714  
 43715  	// The Amazon Chime SDK meeting ID.
 43716  	//
 43717  	// MeetingId is a required field
 43718  	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
 43719  
 43720  	// The tag keys.
 43721  	//
 43722  	// TagKeys is a required field
 43723  	TagKeys []*string `min:"1" type:"list" required:"true"`
 43724  }
 43725  
 43726  // String returns the string representation.
 43727  //
 43728  // API parameter values that are decorated as "sensitive" in the API will not
 43729  // be included in the string output. The member name will be present, but the
 43730  // value will be replaced with "sensitive".
 43731  func (s UntagAttendeeInput) String() string {
 43732  	return awsutil.Prettify(s)
 43733  }
 43734  
 43735  // GoString returns the string representation.
 43736  //
 43737  // API parameter values that are decorated as "sensitive" in the API will not
 43738  // be included in the string output. The member name will be present, but the
 43739  // value will be replaced with "sensitive".
 43740  func (s UntagAttendeeInput) GoString() string {
 43741  	return s.String()
 43742  }
 43743  
 43744  // Validate inspects the fields of the type to determine if they are valid.
 43745  func (s *UntagAttendeeInput) Validate() error {
 43746  	invalidParams := request.ErrInvalidParams{Context: "UntagAttendeeInput"}
 43747  	if s.AttendeeId == nil {
 43748  		invalidParams.Add(request.NewErrParamRequired("AttendeeId"))
 43749  	}
 43750  	if s.AttendeeId != nil && len(*s.AttendeeId) < 1 {
 43751  		invalidParams.Add(request.NewErrParamMinLen("AttendeeId", 1))
 43752  	}
 43753  	if s.MeetingId == nil {
 43754  		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
 43755  	}
 43756  	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
 43757  		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
 43758  	}
 43759  	if s.TagKeys == nil {
 43760  		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
 43761  	}
 43762  	if s.TagKeys != nil && len(s.TagKeys) < 1 {
 43763  		invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
 43764  	}
 43765  
 43766  	if invalidParams.Len() > 0 {
 43767  		return invalidParams
 43768  	}
 43769  	return nil
 43770  }
 43771  
 43772  // SetAttendeeId sets the AttendeeId field's value.
 43773  func (s *UntagAttendeeInput) SetAttendeeId(v string) *UntagAttendeeInput {
 43774  	s.AttendeeId = &v
 43775  	return s
 43776  }
 43777  
 43778  // SetMeetingId sets the MeetingId field's value.
 43779  func (s *UntagAttendeeInput) SetMeetingId(v string) *UntagAttendeeInput {
 43780  	s.MeetingId = &v
 43781  	return s
 43782  }
 43783  
 43784  // SetTagKeys sets the TagKeys field's value.
 43785  func (s *UntagAttendeeInput) SetTagKeys(v []*string) *UntagAttendeeInput {
 43786  	s.TagKeys = v
 43787  	return s
 43788  }
 43789  
 43790  type UntagAttendeeOutput struct {
 43791  	_ struct{} `type:"structure" nopayload:"true"`
 43792  }
 43793  
 43794  // String returns the string representation.
 43795  //
 43796  // API parameter values that are decorated as "sensitive" in the API will not
 43797  // be included in the string output. The member name will be present, but the
 43798  // value will be replaced with "sensitive".
 43799  func (s UntagAttendeeOutput) String() string {
 43800  	return awsutil.Prettify(s)
 43801  }
 43802  
 43803  // GoString returns the string representation.
 43804  //
 43805  // API parameter values that are decorated as "sensitive" in the API will not
 43806  // be included in the string output. The member name will be present, but the
 43807  // value will be replaced with "sensitive".
 43808  func (s UntagAttendeeOutput) GoString() string {
 43809  	return s.String()
 43810  }
 43811  
 43812  type UntagMeetingInput struct {
 43813  	_ struct{} `type:"structure"`
 43814  
 43815  	// The Amazon Chime SDK meeting ID.
 43816  	//
 43817  	// MeetingId is a required field
 43818  	MeetingId *string `location:"uri" locationName:"meetingId" type:"string" required:"true"`
 43819  
 43820  	// The tag keys.
 43821  	//
 43822  	// TagKeys is a required field
 43823  	TagKeys []*string `min:"1" type:"list" required:"true"`
 43824  }
 43825  
 43826  // String returns the string representation.
 43827  //
 43828  // API parameter values that are decorated as "sensitive" in the API will not
 43829  // be included in the string output. The member name will be present, but the
 43830  // value will be replaced with "sensitive".
 43831  func (s UntagMeetingInput) String() string {
 43832  	return awsutil.Prettify(s)
 43833  }
 43834  
 43835  // GoString returns the string representation.
 43836  //
 43837  // API parameter values that are decorated as "sensitive" in the API will not
 43838  // be included in the string output. The member name will be present, but the
 43839  // value will be replaced with "sensitive".
 43840  func (s UntagMeetingInput) GoString() string {
 43841  	return s.String()
 43842  }
 43843  
 43844  // Validate inspects the fields of the type to determine if they are valid.
 43845  func (s *UntagMeetingInput) Validate() error {
 43846  	invalidParams := request.ErrInvalidParams{Context: "UntagMeetingInput"}
 43847  	if s.MeetingId == nil {
 43848  		invalidParams.Add(request.NewErrParamRequired("MeetingId"))
 43849  	}
 43850  	if s.MeetingId != nil && len(*s.MeetingId) < 1 {
 43851  		invalidParams.Add(request.NewErrParamMinLen("MeetingId", 1))
 43852  	}
 43853  	if s.TagKeys == nil {
 43854  		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
 43855  	}
 43856  	if s.TagKeys != nil && len(s.TagKeys) < 1 {
 43857  		invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
 43858  	}
 43859  
 43860  	if invalidParams.Len() > 0 {
 43861  		return invalidParams
 43862  	}
 43863  	return nil
 43864  }
 43865  
 43866  // SetMeetingId sets the MeetingId field's value.
 43867  func (s *UntagMeetingInput) SetMeetingId(v string) *UntagMeetingInput {
 43868  	s.MeetingId = &v
 43869  	return s
 43870  }
 43871  
 43872  // SetTagKeys sets the TagKeys field's value.
 43873  func (s *UntagMeetingInput) SetTagKeys(v []*string) *UntagMeetingInput {
 43874  	s.TagKeys = v
 43875  	return s
 43876  }
 43877  
 43878  type UntagMeetingOutput struct {
 43879  	_ struct{} `type:"structure" nopayload:"true"`
 43880  }
 43881  
 43882  // String returns the string representation.
 43883  //
 43884  // API parameter values that are decorated as "sensitive" in the API will not
 43885  // be included in the string output. The member name will be present, but the
 43886  // value will be replaced with "sensitive".
 43887  func (s UntagMeetingOutput) String() string {
 43888  	return awsutil.Prettify(s)
 43889  }
 43890  
 43891  // GoString returns the string representation.
 43892  //
 43893  // API parameter values that are decorated as "sensitive" in the API will not
 43894  // be included in the string output. The member name will be present, but the
 43895  // value will be replaced with "sensitive".
 43896  func (s UntagMeetingOutput) GoString() string {
 43897  	return s.String()
 43898  }
 43899  
 43900  type UntagResourceInput struct {
 43901  	_ struct{} `type:"structure"`
 43902  
 43903  	// The resource ARN.
 43904  	//
 43905  	// ResourceARN is a sensitive parameter and its value will be
 43906  	// replaced with "sensitive" in string returned by UntagResourceInput's
 43907  	// String and GoString methods.
 43908  	//
 43909  	// ResourceARN is a required field
 43910  	ResourceARN *string `min:"1" type:"string" required:"true" sensitive:"true"`
 43911  
 43912  	// The tag keys.
 43913  	//
 43914  	// TagKeys is a required field
 43915  	TagKeys []*string `min:"1" type:"list" required:"true"`
 43916  }
 43917  
 43918  // String returns the string representation.
 43919  //
 43920  // API parameter values that are decorated as "sensitive" in the API will not
 43921  // be included in the string output. The member name will be present, but the
 43922  // value will be replaced with "sensitive".
 43923  func (s UntagResourceInput) String() string {
 43924  	return awsutil.Prettify(s)
 43925  }
 43926  
 43927  // GoString returns the string representation.
 43928  //
 43929  // API parameter values that are decorated as "sensitive" in the API will not
 43930  // be included in the string output. The member name will be present, but the
 43931  // value will be replaced with "sensitive".
 43932  func (s UntagResourceInput) GoString() string {
 43933  	return s.String()
 43934  }
 43935  
 43936  // Validate inspects the fields of the type to determine if they are valid.
 43937  func (s *UntagResourceInput) Validate() error {
 43938  	invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
 43939  	if s.ResourceARN == nil {
 43940  		invalidParams.Add(request.NewErrParamRequired("ResourceARN"))
 43941  	}
 43942  	if s.ResourceARN != nil && len(*s.ResourceARN) < 1 {
 43943  		invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1))
 43944  	}
 43945  	if s.TagKeys == nil {
 43946  		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
 43947  	}
 43948  	if s.TagKeys != nil && len(s.TagKeys) < 1 {
 43949  		invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
 43950  	}
 43951  
 43952  	if invalidParams.Len() > 0 {
 43953  		return invalidParams
 43954  	}
 43955  	return nil
 43956  }
 43957  
 43958  // SetResourceARN sets the ResourceARN field's value.
 43959  func (s *UntagResourceInput) SetResourceARN(v string) *UntagResourceInput {
 43960  	s.ResourceARN = &v
 43961  	return s
 43962  }
 43963  
 43964  // SetTagKeys sets the TagKeys field's value.
 43965  func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
 43966  	s.TagKeys = v
 43967  	return s
 43968  }
 43969  
 43970  type UntagResourceOutput struct {
 43971  	_ struct{} `type:"structure" nopayload:"true"`
 43972  }
 43973  
 43974  // String returns the string representation.
 43975  //
 43976  // API parameter values that are decorated as "sensitive" in the API will not
 43977  // be included in the string output. The member name will be present, but the
 43978  // value will be replaced with "sensitive".
 43979  func (s UntagResourceOutput) String() string {
 43980  	return awsutil.Prettify(s)
 43981  }
 43982  
 43983  // GoString returns the string representation.
 43984  //
 43985  // API parameter values that are decorated as "sensitive" in the API will not
 43986  // be included in the string output. The member name will be present, but the
 43987  // value will be replaced with "sensitive".
 43988  func (s UntagResourceOutput) GoString() string {
 43989  	return s.String()
 43990  }
 43991  
 43992  type UpdateAccountInput struct {
 43993  	_ struct{} `type:"structure"`
 43994  
 43995  	// The Amazon Chime account ID.
 43996  	//
 43997  	// AccountId is a required field
 43998  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 43999  
 44000  	// The default license applied when you add users to an Amazon Chime account.
 44001  	DefaultLicense *string `type:"string" enum:"License"`
 44002  
 44003  	// The new name for the specified Amazon Chime account.
 44004  	Name *string `min:"1" type:"string"`
 44005  }
 44006  
 44007  // String returns the string representation.
 44008  //
 44009  // API parameter values that are decorated as "sensitive" in the API will not
 44010  // be included in the string output. The member name will be present, but the
 44011  // value will be replaced with "sensitive".
 44012  func (s UpdateAccountInput) String() string {
 44013  	return awsutil.Prettify(s)
 44014  }
 44015  
 44016  // GoString returns the string representation.
 44017  //
 44018  // API parameter values that are decorated as "sensitive" in the API will not
 44019  // be included in the string output. The member name will be present, but the
 44020  // value will be replaced with "sensitive".
 44021  func (s UpdateAccountInput) GoString() string {
 44022  	return s.String()
 44023  }
 44024  
 44025  // Validate inspects the fields of the type to determine if they are valid.
 44026  func (s *UpdateAccountInput) Validate() error {
 44027  	invalidParams := request.ErrInvalidParams{Context: "UpdateAccountInput"}
 44028  	if s.AccountId == nil {
 44029  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 44030  	}
 44031  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 44032  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 44033  	}
 44034  	if s.Name != nil && len(*s.Name) < 1 {
 44035  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 44036  	}
 44037  
 44038  	if invalidParams.Len() > 0 {
 44039  		return invalidParams
 44040  	}
 44041  	return nil
 44042  }
 44043  
 44044  // SetAccountId sets the AccountId field's value.
 44045  func (s *UpdateAccountInput) SetAccountId(v string) *UpdateAccountInput {
 44046  	s.AccountId = &v
 44047  	return s
 44048  }
 44049  
 44050  // SetDefaultLicense sets the DefaultLicense field's value.
 44051  func (s *UpdateAccountInput) SetDefaultLicense(v string) *UpdateAccountInput {
 44052  	s.DefaultLicense = &v
 44053  	return s
 44054  }
 44055  
 44056  // SetName sets the Name field's value.
 44057  func (s *UpdateAccountInput) SetName(v string) *UpdateAccountInput {
 44058  	s.Name = &v
 44059  	return s
 44060  }
 44061  
 44062  type UpdateAccountOutput struct {
 44063  	_ struct{} `type:"structure"`
 44064  
 44065  	// The updated Amazon Chime account details.
 44066  	Account *Account `type:"structure"`
 44067  }
 44068  
 44069  // String returns the string representation.
 44070  //
 44071  // API parameter values that are decorated as "sensitive" in the API will not
 44072  // be included in the string output. The member name will be present, but the
 44073  // value will be replaced with "sensitive".
 44074  func (s UpdateAccountOutput) String() string {
 44075  	return awsutil.Prettify(s)
 44076  }
 44077  
 44078  // GoString returns the string representation.
 44079  //
 44080  // API parameter values that are decorated as "sensitive" in the API will not
 44081  // be included in the string output. The member name will be present, but the
 44082  // value will be replaced with "sensitive".
 44083  func (s UpdateAccountOutput) GoString() string {
 44084  	return s.String()
 44085  }
 44086  
 44087  // SetAccount sets the Account field's value.
 44088  func (s *UpdateAccountOutput) SetAccount(v *Account) *UpdateAccountOutput {
 44089  	s.Account = v
 44090  	return s
 44091  }
 44092  
 44093  type UpdateAccountSettingsInput struct {
 44094  	_ struct{} `type:"structure"`
 44095  
 44096  	// The Amazon Chime account ID.
 44097  	//
 44098  	// AccountId is a required field
 44099  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 44100  
 44101  	// The Amazon Chime account settings to update.
 44102  	//
 44103  	// AccountSettings is a required field
 44104  	AccountSettings *AccountSettings `type:"structure" required:"true"`
 44105  }
 44106  
 44107  // String returns the string representation.
 44108  //
 44109  // API parameter values that are decorated as "sensitive" in the API will not
 44110  // be included in the string output. The member name will be present, but the
 44111  // value will be replaced with "sensitive".
 44112  func (s UpdateAccountSettingsInput) String() string {
 44113  	return awsutil.Prettify(s)
 44114  }
 44115  
 44116  // GoString returns the string representation.
 44117  //
 44118  // API parameter values that are decorated as "sensitive" in the API will not
 44119  // be included in the string output. The member name will be present, but the
 44120  // value will be replaced with "sensitive".
 44121  func (s UpdateAccountSettingsInput) GoString() string {
 44122  	return s.String()
 44123  }
 44124  
 44125  // Validate inspects the fields of the type to determine if they are valid.
 44126  func (s *UpdateAccountSettingsInput) Validate() error {
 44127  	invalidParams := request.ErrInvalidParams{Context: "UpdateAccountSettingsInput"}
 44128  	if s.AccountId == nil {
 44129  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 44130  	}
 44131  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 44132  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 44133  	}
 44134  	if s.AccountSettings == nil {
 44135  		invalidParams.Add(request.NewErrParamRequired("AccountSettings"))
 44136  	}
 44137  
 44138  	if invalidParams.Len() > 0 {
 44139  		return invalidParams
 44140  	}
 44141  	return nil
 44142  }
 44143  
 44144  // SetAccountId sets the AccountId field's value.
 44145  func (s *UpdateAccountSettingsInput) SetAccountId(v string) *UpdateAccountSettingsInput {
 44146  	s.AccountId = &v
 44147  	return s
 44148  }
 44149  
 44150  // SetAccountSettings sets the AccountSettings field's value.
 44151  func (s *UpdateAccountSettingsInput) SetAccountSettings(v *AccountSettings) *UpdateAccountSettingsInput {
 44152  	s.AccountSettings = v
 44153  	return s
 44154  }
 44155  
 44156  type UpdateAccountSettingsOutput struct {
 44157  	_ struct{} `type:"structure" nopayload:"true"`
 44158  }
 44159  
 44160  // String returns the string representation.
 44161  //
 44162  // API parameter values that are decorated as "sensitive" in the API will not
 44163  // be included in the string output. The member name will be present, but the
 44164  // value will be replaced with "sensitive".
 44165  func (s UpdateAccountSettingsOutput) String() string {
 44166  	return awsutil.Prettify(s)
 44167  }
 44168  
 44169  // GoString returns the string representation.
 44170  //
 44171  // API parameter values that are decorated as "sensitive" in the API will not
 44172  // be included in the string output. The member name will be present, but the
 44173  // value will be replaced with "sensitive".
 44174  func (s UpdateAccountSettingsOutput) GoString() string {
 44175  	return s.String()
 44176  }
 44177  
 44178  type UpdateAppInstanceInput struct {
 44179  	_ struct{} `type:"structure"`
 44180  
 44181  	// The ARN of the AppInstance.
 44182  	//
 44183  	// AppInstanceArn is a required field
 44184  	AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"`
 44185  
 44186  	// The metadata that you want to change.
 44187  	//
 44188  	// Metadata is a sensitive parameter and its value will be
 44189  	// replaced with "sensitive" in string returned by UpdateAppInstanceInput's
 44190  	// String and GoString methods.
 44191  	Metadata *string `type:"string" sensitive:"true"`
 44192  
 44193  	// The name that you want to change.
 44194  	//
 44195  	// Name is a sensitive parameter and its value will be
 44196  	// replaced with "sensitive" in string returned by UpdateAppInstanceInput's
 44197  	// String and GoString methods.
 44198  	//
 44199  	// Name is a required field
 44200  	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`
 44201  }
 44202  
 44203  // String returns the string representation.
 44204  //
 44205  // API parameter values that are decorated as "sensitive" in the API will not
 44206  // be included in the string output. The member name will be present, but the
 44207  // value will be replaced with "sensitive".
 44208  func (s UpdateAppInstanceInput) String() string {
 44209  	return awsutil.Prettify(s)
 44210  }
 44211  
 44212  // GoString returns the string representation.
 44213  //
 44214  // API parameter values that are decorated as "sensitive" in the API will not
 44215  // be included in the string output. The member name will be present, but the
 44216  // value will be replaced with "sensitive".
 44217  func (s UpdateAppInstanceInput) GoString() string {
 44218  	return s.String()
 44219  }
 44220  
 44221  // Validate inspects the fields of the type to determine if they are valid.
 44222  func (s *UpdateAppInstanceInput) Validate() error {
 44223  	invalidParams := request.ErrInvalidParams{Context: "UpdateAppInstanceInput"}
 44224  	if s.AppInstanceArn == nil {
 44225  		invalidParams.Add(request.NewErrParamRequired("AppInstanceArn"))
 44226  	}
 44227  	if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 {
 44228  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5))
 44229  	}
 44230  	if s.Name == nil {
 44231  		invalidParams.Add(request.NewErrParamRequired("Name"))
 44232  	}
 44233  	if s.Name != nil && len(*s.Name) < 1 {
 44234  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 44235  	}
 44236  
 44237  	if invalidParams.Len() > 0 {
 44238  		return invalidParams
 44239  	}
 44240  	return nil
 44241  }
 44242  
 44243  // SetAppInstanceArn sets the AppInstanceArn field's value.
 44244  func (s *UpdateAppInstanceInput) SetAppInstanceArn(v string) *UpdateAppInstanceInput {
 44245  	s.AppInstanceArn = &v
 44246  	return s
 44247  }
 44248  
 44249  // SetMetadata sets the Metadata field's value.
 44250  func (s *UpdateAppInstanceInput) SetMetadata(v string) *UpdateAppInstanceInput {
 44251  	s.Metadata = &v
 44252  	return s
 44253  }
 44254  
 44255  // SetName sets the Name field's value.
 44256  func (s *UpdateAppInstanceInput) SetName(v string) *UpdateAppInstanceInput {
 44257  	s.Name = &v
 44258  	return s
 44259  }
 44260  
 44261  type UpdateAppInstanceOutput struct {
 44262  	_ struct{} `type:"structure"`
 44263  
 44264  	// The ARN of the AppInstance.
 44265  	AppInstanceArn *string `min:"5" type:"string"`
 44266  }
 44267  
 44268  // String returns the string representation.
 44269  //
 44270  // API parameter values that are decorated as "sensitive" in the API will not
 44271  // be included in the string output. The member name will be present, but the
 44272  // value will be replaced with "sensitive".
 44273  func (s UpdateAppInstanceOutput) String() string {
 44274  	return awsutil.Prettify(s)
 44275  }
 44276  
 44277  // GoString returns the string representation.
 44278  //
 44279  // API parameter values that are decorated as "sensitive" in the API will not
 44280  // be included in the string output. The member name will be present, but the
 44281  // value will be replaced with "sensitive".
 44282  func (s UpdateAppInstanceOutput) GoString() string {
 44283  	return s.String()
 44284  }
 44285  
 44286  // SetAppInstanceArn sets the AppInstanceArn field's value.
 44287  func (s *UpdateAppInstanceOutput) SetAppInstanceArn(v string) *UpdateAppInstanceOutput {
 44288  	s.AppInstanceArn = &v
 44289  	return s
 44290  }
 44291  
 44292  type UpdateAppInstanceUserInput struct {
 44293  	_ struct{} `type:"structure"`
 44294  
 44295  	// The ARN of the AppInstanceUser.
 44296  	//
 44297  	// AppInstanceUserArn is a required field
 44298  	AppInstanceUserArn *string `location:"uri" locationName:"appInstanceUserArn" min:"5" type:"string" required:"true"`
 44299  
 44300  	// The metadata of the AppInstanceUser.
 44301  	//
 44302  	// Metadata is a sensitive parameter and its value will be
 44303  	// replaced with "sensitive" in string returned by UpdateAppInstanceUserInput's
 44304  	// String and GoString methods.
 44305  	Metadata *string `type:"string" sensitive:"true"`
 44306  
 44307  	// The name of the AppInstanceUser.
 44308  	//
 44309  	// Name is a sensitive parameter and its value will be
 44310  	// replaced with "sensitive" in string returned by UpdateAppInstanceUserInput's
 44311  	// String and GoString methods.
 44312  	//
 44313  	// Name is a required field
 44314  	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`
 44315  }
 44316  
 44317  // String returns the string representation.
 44318  //
 44319  // API parameter values that are decorated as "sensitive" in the API will not
 44320  // be included in the string output. The member name will be present, but the
 44321  // value will be replaced with "sensitive".
 44322  func (s UpdateAppInstanceUserInput) String() string {
 44323  	return awsutil.Prettify(s)
 44324  }
 44325  
 44326  // GoString returns the string representation.
 44327  //
 44328  // API parameter values that are decorated as "sensitive" in the API will not
 44329  // be included in the string output. The member name will be present, but the
 44330  // value will be replaced with "sensitive".
 44331  func (s UpdateAppInstanceUserInput) GoString() string {
 44332  	return s.String()
 44333  }
 44334  
 44335  // Validate inspects the fields of the type to determine if they are valid.
 44336  func (s *UpdateAppInstanceUserInput) Validate() error {
 44337  	invalidParams := request.ErrInvalidParams{Context: "UpdateAppInstanceUserInput"}
 44338  	if s.AppInstanceUserArn == nil {
 44339  		invalidParams.Add(request.NewErrParamRequired("AppInstanceUserArn"))
 44340  	}
 44341  	if s.AppInstanceUserArn != nil && len(*s.AppInstanceUserArn) < 5 {
 44342  		invalidParams.Add(request.NewErrParamMinLen("AppInstanceUserArn", 5))
 44343  	}
 44344  	if s.Name == nil {
 44345  		invalidParams.Add(request.NewErrParamRequired("Name"))
 44346  	}
 44347  	if s.Name != nil && len(*s.Name) < 1 {
 44348  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 44349  	}
 44350  
 44351  	if invalidParams.Len() > 0 {
 44352  		return invalidParams
 44353  	}
 44354  	return nil
 44355  }
 44356  
 44357  // SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
 44358  func (s *UpdateAppInstanceUserInput) SetAppInstanceUserArn(v string) *UpdateAppInstanceUserInput {
 44359  	s.AppInstanceUserArn = &v
 44360  	return s
 44361  }
 44362  
 44363  // SetMetadata sets the Metadata field's value.
 44364  func (s *UpdateAppInstanceUserInput) SetMetadata(v string) *UpdateAppInstanceUserInput {
 44365  	s.Metadata = &v
 44366  	return s
 44367  }
 44368  
 44369  // SetName sets the Name field's value.
 44370  func (s *UpdateAppInstanceUserInput) SetName(v string) *UpdateAppInstanceUserInput {
 44371  	s.Name = &v
 44372  	return s
 44373  }
 44374  
 44375  type UpdateAppInstanceUserOutput struct {
 44376  	_ struct{} `type:"structure"`
 44377  
 44378  	// The ARN of the AppInstanceUser.
 44379  	AppInstanceUserArn *string `min:"5" type:"string"`
 44380  }
 44381  
 44382  // String returns the string representation.
 44383  //
 44384  // API parameter values that are decorated as "sensitive" in the API will not
 44385  // be included in the string output. The member name will be present, but the
 44386  // value will be replaced with "sensitive".
 44387  func (s UpdateAppInstanceUserOutput) String() string {
 44388  	return awsutil.Prettify(s)
 44389  }
 44390  
 44391  // GoString returns the string representation.
 44392  //
 44393  // API parameter values that are decorated as "sensitive" in the API will not
 44394  // be included in the string output. The member name will be present, but the
 44395  // value will be replaced with "sensitive".
 44396  func (s UpdateAppInstanceUserOutput) GoString() string {
 44397  	return s.String()
 44398  }
 44399  
 44400  // SetAppInstanceUserArn sets the AppInstanceUserArn field's value.
 44401  func (s *UpdateAppInstanceUserOutput) SetAppInstanceUserArn(v string) *UpdateAppInstanceUserOutput {
 44402  	s.AppInstanceUserArn = &v
 44403  	return s
 44404  }
 44405  
 44406  type UpdateBotInput struct {
 44407  	_ struct{} `type:"structure"`
 44408  
 44409  	// The Amazon Chime account ID.
 44410  	//
 44411  	// AccountId is a required field
 44412  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 44413  
 44414  	// The bot ID.
 44415  	//
 44416  	// BotId is a required field
 44417  	BotId *string `location:"uri" locationName:"botId" type:"string" required:"true"`
 44418  
 44419  	// When true, stops the specified bot from running in your account.
 44420  	Disabled *bool `type:"boolean"`
 44421  }
 44422  
 44423  // String returns the string representation.
 44424  //
 44425  // API parameter values that are decorated as "sensitive" in the API will not
 44426  // be included in the string output. The member name will be present, but the
 44427  // value will be replaced with "sensitive".
 44428  func (s UpdateBotInput) String() string {
 44429  	return awsutil.Prettify(s)
 44430  }
 44431  
 44432  // GoString returns the string representation.
 44433  //
 44434  // API parameter values that are decorated as "sensitive" in the API will not
 44435  // be included in the string output. The member name will be present, but the
 44436  // value will be replaced with "sensitive".
 44437  func (s UpdateBotInput) GoString() string {
 44438  	return s.String()
 44439  }
 44440  
 44441  // Validate inspects the fields of the type to determine if they are valid.
 44442  func (s *UpdateBotInput) Validate() error {
 44443  	invalidParams := request.ErrInvalidParams{Context: "UpdateBotInput"}
 44444  	if s.AccountId == nil {
 44445  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 44446  	}
 44447  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 44448  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 44449  	}
 44450  	if s.BotId == nil {
 44451  		invalidParams.Add(request.NewErrParamRequired("BotId"))
 44452  	}
 44453  	if s.BotId != nil && len(*s.BotId) < 1 {
 44454  		invalidParams.Add(request.NewErrParamMinLen("BotId", 1))
 44455  	}
 44456  
 44457  	if invalidParams.Len() > 0 {
 44458  		return invalidParams
 44459  	}
 44460  	return nil
 44461  }
 44462  
 44463  // SetAccountId sets the AccountId field's value.
 44464  func (s *UpdateBotInput) SetAccountId(v string) *UpdateBotInput {
 44465  	s.AccountId = &v
 44466  	return s
 44467  }
 44468  
 44469  // SetBotId sets the BotId field's value.
 44470  func (s *UpdateBotInput) SetBotId(v string) *UpdateBotInput {
 44471  	s.BotId = &v
 44472  	return s
 44473  }
 44474  
 44475  // SetDisabled sets the Disabled field's value.
 44476  func (s *UpdateBotInput) SetDisabled(v bool) *UpdateBotInput {
 44477  	s.Disabled = &v
 44478  	return s
 44479  }
 44480  
 44481  type UpdateBotOutput struct {
 44482  	_ struct{} `type:"structure"`
 44483  
 44484  	// The updated bot details.
 44485  	Bot *Bot `type:"structure"`
 44486  }
 44487  
 44488  // String returns the string representation.
 44489  //
 44490  // API parameter values that are decorated as "sensitive" in the API will not
 44491  // be included in the string output. The member name will be present, but the
 44492  // value will be replaced with "sensitive".
 44493  func (s UpdateBotOutput) String() string {
 44494  	return awsutil.Prettify(s)
 44495  }
 44496  
 44497  // GoString returns the string representation.
 44498  //
 44499  // API parameter values that are decorated as "sensitive" in the API will not
 44500  // be included in the string output. The member name will be present, but the
 44501  // value will be replaced with "sensitive".
 44502  func (s UpdateBotOutput) GoString() string {
 44503  	return s.String()
 44504  }
 44505  
 44506  // SetBot sets the Bot field's value.
 44507  func (s *UpdateBotOutput) SetBot(v *Bot) *UpdateBotOutput {
 44508  	s.Bot = v
 44509  	return s
 44510  }
 44511  
 44512  type UpdateChannelInput struct {
 44513  	_ struct{} `type:"structure"`
 44514  
 44515  	// The ARN of the channel.
 44516  	//
 44517  	// ChannelArn is a required field
 44518  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 44519  
 44520  	// The AppInstanceUserArn of the user that makes the API call.
 44521  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 44522  
 44523  	// The metadata for the update request.
 44524  	//
 44525  	// Metadata is a sensitive parameter and its value will be
 44526  	// replaced with "sensitive" in string returned by UpdateChannelInput's
 44527  	// String and GoString methods.
 44528  	Metadata *string `type:"string" sensitive:"true"`
 44529  
 44530  	// The mode of the update request.
 44531  	//
 44532  	// Mode is a required field
 44533  	Mode *string `type:"string" required:"true" enum:"ChannelMode"`
 44534  
 44535  	// The name of the channel.
 44536  	//
 44537  	// Name is a sensitive parameter and its value will be
 44538  	// replaced with "sensitive" in string returned by UpdateChannelInput's
 44539  	// String and GoString methods.
 44540  	//
 44541  	// Name is a required field
 44542  	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`
 44543  }
 44544  
 44545  // String returns the string representation.
 44546  //
 44547  // API parameter values that are decorated as "sensitive" in the API will not
 44548  // be included in the string output. The member name will be present, but the
 44549  // value will be replaced with "sensitive".
 44550  func (s UpdateChannelInput) String() string {
 44551  	return awsutil.Prettify(s)
 44552  }
 44553  
 44554  // GoString returns the string representation.
 44555  //
 44556  // API parameter values that are decorated as "sensitive" in the API will not
 44557  // be included in the string output. The member name will be present, but the
 44558  // value will be replaced with "sensitive".
 44559  func (s UpdateChannelInput) GoString() string {
 44560  	return s.String()
 44561  }
 44562  
 44563  // Validate inspects the fields of the type to determine if they are valid.
 44564  func (s *UpdateChannelInput) Validate() error {
 44565  	invalidParams := request.ErrInvalidParams{Context: "UpdateChannelInput"}
 44566  	if s.ChannelArn == nil {
 44567  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 44568  	}
 44569  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 44570  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 44571  	}
 44572  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 44573  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 44574  	}
 44575  	if s.Mode == nil {
 44576  		invalidParams.Add(request.NewErrParamRequired("Mode"))
 44577  	}
 44578  	if s.Name == nil {
 44579  		invalidParams.Add(request.NewErrParamRequired("Name"))
 44580  	}
 44581  	if s.Name != nil && len(*s.Name) < 1 {
 44582  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 44583  	}
 44584  
 44585  	if invalidParams.Len() > 0 {
 44586  		return invalidParams
 44587  	}
 44588  	return nil
 44589  }
 44590  
 44591  // SetChannelArn sets the ChannelArn field's value.
 44592  func (s *UpdateChannelInput) SetChannelArn(v string) *UpdateChannelInput {
 44593  	s.ChannelArn = &v
 44594  	return s
 44595  }
 44596  
 44597  // SetChimeBearer sets the ChimeBearer field's value.
 44598  func (s *UpdateChannelInput) SetChimeBearer(v string) *UpdateChannelInput {
 44599  	s.ChimeBearer = &v
 44600  	return s
 44601  }
 44602  
 44603  // SetMetadata sets the Metadata field's value.
 44604  func (s *UpdateChannelInput) SetMetadata(v string) *UpdateChannelInput {
 44605  	s.Metadata = &v
 44606  	return s
 44607  }
 44608  
 44609  // SetMode sets the Mode field's value.
 44610  func (s *UpdateChannelInput) SetMode(v string) *UpdateChannelInput {
 44611  	s.Mode = &v
 44612  	return s
 44613  }
 44614  
 44615  // SetName sets the Name field's value.
 44616  func (s *UpdateChannelInput) SetName(v string) *UpdateChannelInput {
 44617  	s.Name = &v
 44618  	return s
 44619  }
 44620  
 44621  type UpdateChannelMessageInput struct {
 44622  	_ struct{} `type:"structure"`
 44623  
 44624  	// The ARN of the channel.
 44625  	//
 44626  	// ChannelArn is a required field
 44627  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 44628  
 44629  	// The AppInstanceUserArn of the user that makes the API call.
 44630  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 44631  
 44632  	// The content of the message being updated.
 44633  	//
 44634  	// Content is a sensitive parameter and its value will be
 44635  	// replaced with "sensitive" in string returned by UpdateChannelMessageInput's
 44636  	// String and GoString methods.
 44637  	Content *string `type:"string" sensitive:"true"`
 44638  
 44639  	// The ID string of the message being updated.
 44640  	//
 44641  	// MessageId is a required field
 44642  	MessageId *string `location:"uri" locationName:"messageId" min:"1" type:"string" required:"true"`
 44643  
 44644  	// The metadata of the message being updated.
 44645  	//
 44646  	// Metadata is a sensitive parameter and its value will be
 44647  	// replaced with "sensitive" in string returned by UpdateChannelMessageInput's
 44648  	// String and GoString methods.
 44649  	Metadata *string `type:"string" sensitive:"true"`
 44650  }
 44651  
 44652  // String returns the string representation.
 44653  //
 44654  // API parameter values that are decorated as "sensitive" in the API will not
 44655  // be included in the string output. The member name will be present, but the
 44656  // value will be replaced with "sensitive".
 44657  func (s UpdateChannelMessageInput) String() string {
 44658  	return awsutil.Prettify(s)
 44659  }
 44660  
 44661  // GoString returns the string representation.
 44662  //
 44663  // API parameter values that are decorated as "sensitive" in the API will not
 44664  // be included in the string output. The member name will be present, but the
 44665  // value will be replaced with "sensitive".
 44666  func (s UpdateChannelMessageInput) GoString() string {
 44667  	return s.String()
 44668  }
 44669  
 44670  // Validate inspects the fields of the type to determine if they are valid.
 44671  func (s *UpdateChannelMessageInput) Validate() error {
 44672  	invalidParams := request.ErrInvalidParams{Context: "UpdateChannelMessageInput"}
 44673  	if s.ChannelArn == nil {
 44674  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 44675  	}
 44676  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 44677  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 44678  	}
 44679  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 44680  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 44681  	}
 44682  	if s.MessageId == nil {
 44683  		invalidParams.Add(request.NewErrParamRequired("MessageId"))
 44684  	}
 44685  	if s.MessageId != nil && len(*s.MessageId) < 1 {
 44686  		invalidParams.Add(request.NewErrParamMinLen("MessageId", 1))
 44687  	}
 44688  
 44689  	if invalidParams.Len() > 0 {
 44690  		return invalidParams
 44691  	}
 44692  	return nil
 44693  }
 44694  
 44695  // SetChannelArn sets the ChannelArn field's value.
 44696  func (s *UpdateChannelMessageInput) SetChannelArn(v string) *UpdateChannelMessageInput {
 44697  	s.ChannelArn = &v
 44698  	return s
 44699  }
 44700  
 44701  // SetChimeBearer sets the ChimeBearer field's value.
 44702  func (s *UpdateChannelMessageInput) SetChimeBearer(v string) *UpdateChannelMessageInput {
 44703  	s.ChimeBearer = &v
 44704  	return s
 44705  }
 44706  
 44707  // SetContent sets the Content field's value.
 44708  func (s *UpdateChannelMessageInput) SetContent(v string) *UpdateChannelMessageInput {
 44709  	s.Content = &v
 44710  	return s
 44711  }
 44712  
 44713  // SetMessageId sets the MessageId field's value.
 44714  func (s *UpdateChannelMessageInput) SetMessageId(v string) *UpdateChannelMessageInput {
 44715  	s.MessageId = &v
 44716  	return s
 44717  }
 44718  
 44719  // SetMetadata sets the Metadata field's value.
 44720  func (s *UpdateChannelMessageInput) SetMetadata(v string) *UpdateChannelMessageInput {
 44721  	s.Metadata = &v
 44722  	return s
 44723  }
 44724  
 44725  type UpdateChannelMessageOutput struct {
 44726  	_ struct{} `type:"structure"`
 44727  
 44728  	// The ARN of the channel.
 44729  	ChannelArn *string `min:"5" type:"string"`
 44730  
 44731  	// The ID string of the message being updated.
 44732  	MessageId *string `min:"1" type:"string"`
 44733  }
 44734  
 44735  // String returns the string representation.
 44736  //
 44737  // API parameter values that are decorated as "sensitive" in the API will not
 44738  // be included in the string output. The member name will be present, but the
 44739  // value will be replaced with "sensitive".
 44740  func (s UpdateChannelMessageOutput) String() string {
 44741  	return awsutil.Prettify(s)
 44742  }
 44743  
 44744  // GoString returns the string representation.
 44745  //
 44746  // API parameter values that are decorated as "sensitive" in the API will not
 44747  // be included in the string output. The member name will be present, but the
 44748  // value will be replaced with "sensitive".
 44749  func (s UpdateChannelMessageOutput) GoString() string {
 44750  	return s.String()
 44751  }
 44752  
 44753  // SetChannelArn sets the ChannelArn field's value.
 44754  func (s *UpdateChannelMessageOutput) SetChannelArn(v string) *UpdateChannelMessageOutput {
 44755  	s.ChannelArn = &v
 44756  	return s
 44757  }
 44758  
 44759  // SetMessageId sets the MessageId field's value.
 44760  func (s *UpdateChannelMessageOutput) SetMessageId(v string) *UpdateChannelMessageOutput {
 44761  	s.MessageId = &v
 44762  	return s
 44763  }
 44764  
 44765  type UpdateChannelOutput struct {
 44766  	_ struct{} `type:"structure"`
 44767  
 44768  	// The ARN of the channel.
 44769  	ChannelArn *string `min:"5" type:"string"`
 44770  }
 44771  
 44772  // String returns the string representation.
 44773  //
 44774  // API parameter values that are decorated as "sensitive" in the API will not
 44775  // be included in the string output. The member name will be present, but the
 44776  // value will be replaced with "sensitive".
 44777  func (s UpdateChannelOutput) String() string {
 44778  	return awsutil.Prettify(s)
 44779  }
 44780  
 44781  // GoString returns the string representation.
 44782  //
 44783  // API parameter values that are decorated as "sensitive" in the API will not
 44784  // be included in the string output. The member name will be present, but the
 44785  // value will be replaced with "sensitive".
 44786  func (s UpdateChannelOutput) GoString() string {
 44787  	return s.String()
 44788  }
 44789  
 44790  // SetChannelArn sets the ChannelArn field's value.
 44791  func (s *UpdateChannelOutput) SetChannelArn(v string) *UpdateChannelOutput {
 44792  	s.ChannelArn = &v
 44793  	return s
 44794  }
 44795  
 44796  type UpdateChannelReadMarkerInput struct {
 44797  	_ struct{} `type:"structure" nopayload:"true"`
 44798  
 44799  	// The ARN of the channel.
 44800  	//
 44801  	// ChannelArn is a required field
 44802  	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`
 44803  
 44804  	// The AppInstanceUserArn of the user that makes the API call.
 44805  	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string"`
 44806  }
 44807  
 44808  // String returns the string representation.
 44809  //
 44810  // API parameter values that are decorated as "sensitive" in the API will not
 44811  // be included in the string output. The member name will be present, but the
 44812  // value will be replaced with "sensitive".
 44813  func (s UpdateChannelReadMarkerInput) String() string {
 44814  	return awsutil.Prettify(s)
 44815  }
 44816  
 44817  // GoString returns the string representation.
 44818  //
 44819  // API parameter values that are decorated as "sensitive" in the API will not
 44820  // be included in the string output. The member name will be present, but the
 44821  // value will be replaced with "sensitive".
 44822  func (s UpdateChannelReadMarkerInput) GoString() string {
 44823  	return s.String()
 44824  }
 44825  
 44826  // Validate inspects the fields of the type to determine if they are valid.
 44827  func (s *UpdateChannelReadMarkerInput) Validate() error {
 44828  	invalidParams := request.ErrInvalidParams{Context: "UpdateChannelReadMarkerInput"}
 44829  	if s.ChannelArn == nil {
 44830  		invalidParams.Add(request.NewErrParamRequired("ChannelArn"))
 44831  	}
 44832  	if s.ChannelArn != nil && len(*s.ChannelArn) < 5 {
 44833  		invalidParams.Add(request.NewErrParamMinLen("ChannelArn", 5))
 44834  	}
 44835  	if s.ChimeBearer != nil && len(*s.ChimeBearer) < 5 {
 44836  		invalidParams.Add(request.NewErrParamMinLen("ChimeBearer", 5))
 44837  	}
 44838  
 44839  	if invalidParams.Len() > 0 {
 44840  		return invalidParams
 44841  	}
 44842  	return nil
 44843  }
 44844  
 44845  // SetChannelArn sets the ChannelArn field's value.
 44846  func (s *UpdateChannelReadMarkerInput) SetChannelArn(v string) *UpdateChannelReadMarkerInput {
 44847  	s.ChannelArn = &v
 44848  	return s
 44849  }
 44850  
 44851  // SetChimeBearer sets the ChimeBearer field's value.
 44852  func (s *UpdateChannelReadMarkerInput) SetChimeBearer(v string) *UpdateChannelReadMarkerInput {
 44853  	s.ChimeBearer = &v
 44854  	return s
 44855  }
 44856  
 44857  type UpdateChannelReadMarkerOutput struct {
 44858  	_ struct{} `type:"structure"`
 44859  
 44860  	// The ARN of the channel.
 44861  	ChannelArn *string `min:"5" type:"string"`
 44862  }
 44863  
 44864  // String returns the string representation.
 44865  //
 44866  // API parameter values that are decorated as "sensitive" in the API will not
 44867  // be included in the string output. The member name will be present, but the
 44868  // value will be replaced with "sensitive".
 44869  func (s UpdateChannelReadMarkerOutput) String() string {
 44870  	return awsutil.Prettify(s)
 44871  }
 44872  
 44873  // GoString returns the string representation.
 44874  //
 44875  // API parameter values that are decorated as "sensitive" in the API will not
 44876  // be included in the string output. The member name will be present, but the
 44877  // value will be replaced with "sensitive".
 44878  func (s UpdateChannelReadMarkerOutput) GoString() string {
 44879  	return s.String()
 44880  }
 44881  
 44882  // SetChannelArn sets the ChannelArn field's value.
 44883  func (s *UpdateChannelReadMarkerOutput) SetChannelArn(v string) *UpdateChannelReadMarkerOutput {
 44884  	s.ChannelArn = &v
 44885  	return s
 44886  }
 44887  
 44888  type UpdateGlobalSettingsInput struct {
 44889  	_ struct{} `type:"structure"`
 44890  
 44891  	// The Amazon Chime Business Calling settings.
 44892  	BusinessCalling *BusinessCallingSettings `type:"structure"`
 44893  
 44894  	// The Amazon Chime Voice Connector settings.
 44895  	VoiceConnector *VoiceConnectorSettings `type:"structure"`
 44896  }
 44897  
 44898  // String returns the string representation.
 44899  //
 44900  // API parameter values that are decorated as "sensitive" in the API will not
 44901  // be included in the string output. The member name will be present, but the
 44902  // value will be replaced with "sensitive".
 44903  func (s UpdateGlobalSettingsInput) String() string {
 44904  	return awsutil.Prettify(s)
 44905  }
 44906  
 44907  // GoString returns the string representation.
 44908  //
 44909  // API parameter values that are decorated as "sensitive" in the API will not
 44910  // be included in the string output. The member name will be present, but the
 44911  // value will be replaced with "sensitive".
 44912  func (s UpdateGlobalSettingsInput) GoString() string {
 44913  	return s.String()
 44914  }
 44915  
 44916  // SetBusinessCalling sets the BusinessCalling field's value.
 44917  func (s *UpdateGlobalSettingsInput) SetBusinessCalling(v *BusinessCallingSettings) *UpdateGlobalSettingsInput {
 44918  	s.BusinessCalling = v
 44919  	return s
 44920  }
 44921  
 44922  // SetVoiceConnector sets the VoiceConnector field's value.
 44923  func (s *UpdateGlobalSettingsInput) SetVoiceConnector(v *VoiceConnectorSettings) *UpdateGlobalSettingsInput {
 44924  	s.VoiceConnector = v
 44925  	return s
 44926  }
 44927  
 44928  type UpdateGlobalSettingsOutput struct {
 44929  	_ struct{} `type:"structure" nopayload:"true"`
 44930  }
 44931  
 44932  // String returns the string representation.
 44933  //
 44934  // API parameter values that are decorated as "sensitive" in the API will not
 44935  // be included in the string output. The member name will be present, but the
 44936  // value will be replaced with "sensitive".
 44937  func (s UpdateGlobalSettingsOutput) String() string {
 44938  	return awsutil.Prettify(s)
 44939  }
 44940  
 44941  // GoString returns the string representation.
 44942  //
 44943  // API parameter values that are decorated as "sensitive" in the API will not
 44944  // be included in the string output. The member name will be present, but the
 44945  // value will be replaced with "sensitive".
 44946  func (s UpdateGlobalSettingsOutput) GoString() string {
 44947  	return s.String()
 44948  }
 44949  
 44950  type UpdatePhoneNumberInput struct {
 44951  	_ struct{} `type:"structure"`
 44952  
 44953  	// The outbound calling name associated with the phone number.
 44954  	//
 44955  	// CallingName is a sensitive parameter and its value will be
 44956  	// replaced with "sensitive" in string returned by UpdatePhoneNumberInput's
 44957  	// String and GoString methods.
 44958  	CallingName *string `type:"string" sensitive:"true"`
 44959  
 44960  	// The phone number ID.
 44961  	//
 44962  	// PhoneNumberId is a required field
 44963  	PhoneNumberId *string `location:"uri" locationName:"phoneNumberId" type:"string" required:"true"`
 44964  
 44965  	// The product type.
 44966  	ProductType *string `type:"string" enum:"PhoneNumberProductType"`
 44967  }
 44968  
 44969  // String returns the string representation.
 44970  //
 44971  // API parameter values that are decorated as "sensitive" in the API will not
 44972  // be included in the string output. The member name will be present, but the
 44973  // value will be replaced with "sensitive".
 44974  func (s UpdatePhoneNumberInput) String() string {
 44975  	return awsutil.Prettify(s)
 44976  }
 44977  
 44978  // GoString returns the string representation.
 44979  //
 44980  // API parameter values that are decorated as "sensitive" in the API will not
 44981  // be included in the string output. The member name will be present, but the
 44982  // value will be replaced with "sensitive".
 44983  func (s UpdatePhoneNumberInput) GoString() string {
 44984  	return s.String()
 44985  }
 44986  
 44987  // Validate inspects the fields of the type to determine if they are valid.
 44988  func (s *UpdatePhoneNumberInput) Validate() error {
 44989  	invalidParams := request.ErrInvalidParams{Context: "UpdatePhoneNumberInput"}
 44990  	if s.PhoneNumberId == nil {
 44991  		invalidParams.Add(request.NewErrParamRequired("PhoneNumberId"))
 44992  	}
 44993  	if s.PhoneNumberId != nil && len(*s.PhoneNumberId) < 1 {
 44994  		invalidParams.Add(request.NewErrParamMinLen("PhoneNumberId", 1))
 44995  	}
 44996  
 44997  	if invalidParams.Len() > 0 {
 44998  		return invalidParams
 44999  	}
 45000  	return nil
 45001  }
 45002  
 45003  // SetCallingName sets the CallingName field's value.
 45004  func (s *UpdatePhoneNumberInput) SetCallingName(v string) *UpdatePhoneNumberInput {
 45005  	s.CallingName = &v
 45006  	return s
 45007  }
 45008  
 45009  // SetPhoneNumberId sets the PhoneNumberId field's value.
 45010  func (s *UpdatePhoneNumberInput) SetPhoneNumberId(v string) *UpdatePhoneNumberInput {
 45011  	s.PhoneNumberId = &v
 45012  	return s
 45013  }
 45014  
 45015  // SetProductType sets the ProductType field's value.
 45016  func (s *UpdatePhoneNumberInput) SetProductType(v string) *UpdatePhoneNumberInput {
 45017  	s.ProductType = &v
 45018  	return s
 45019  }
 45020  
 45021  type UpdatePhoneNumberOutput struct {
 45022  	_ struct{} `type:"structure"`
 45023  
 45024  	// The updated phone number details.
 45025  	PhoneNumber *PhoneNumber `type:"structure"`
 45026  }
 45027  
 45028  // String returns the string representation.
 45029  //
 45030  // API parameter values that are decorated as "sensitive" in the API will not
 45031  // be included in the string output. The member name will be present, but the
 45032  // value will be replaced with "sensitive".
 45033  func (s UpdatePhoneNumberOutput) String() string {
 45034  	return awsutil.Prettify(s)
 45035  }
 45036  
 45037  // GoString returns the string representation.
 45038  //
 45039  // API parameter values that are decorated as "sensitive" in the API will not
 45040  // be included in the string output. The member name will be present, but the
 45041  // value will be replaced with "sensitive".
 45042  func (s UpdatePhoneNumberOutput) GoString() string {
 45043  	return s.String()
 45044  }
 45045  
 45046  // SetPhoneNumber sets the PhoneNumber field's value.
 45047  func (s *UpdatePhoneNumberOutput) SetPhoneNumber(v *PhoneNumber) *UpdatePhoneNumberOutput {
 45048  	s.PhoneNumber = v
 45049  	return s
 45050  }
 45051  
 45052  // The phone number ID, product type, or calling name fields to update, used
 45053  // with the BatchUpdatePhoneNumber and UpdatePhoneNumber actions.
 45054  type UpdatePhoneNumberRequestItem struct {
 45055  	_ struct{} `type:"structure"`
 45056  
 45057  	// The outbound calling name to update.
 45058  	//
 45059  	// CallingName is a sensitive parameter and its value will be
 45060  	// replaced with "sensitive" in string returned by UpdatePhoneNumberRequestItem's
 45061  	// String and GoString methods.
 45062  	CallingName *string `type:"string" sensitive:"true"`
 45063  
 45064  	// The phone number ID to update.
 45065  	//
 45066  	// PhoneNumberId is a required field
 45067  	PhoneNumberId *string `type:"string" required:"true"`
 45068  
 45069  	// The product type to update.
 45070  	ProductType *string `type:"string" enum:"PhoneNumberProductType"`
 45071  }
 45072  
 45073  // String returns the string representation.
 45074  //
 45075  // API parameter values that are decorated as "sensitive" in the API will not
 45076  // be included in the string output. The member name will be present, but the
 45077  // value will be replaced with "sensitive".
 45078  func (s UpdatePhoneNumberRequestItem) String() string {
 45079  	return awsutil.Prettify(s)
 45080  }
 45081  
 45082  // GoString returns the string representation.
 45083  //
 45084  // API parameter values that are decorated as "sensitive" in the API will not
 45085  // be included in the string output. The member name will be present, but the
 45086  // value will be replaced with "sensitive".
 45087  func (s UpdatePhoneNumberRequestItem) GoString() string {
 45088  	return s.String()
 45089  }
 45090  
 45091  // Validate inspects the fields of the type to determine if they are valid.
 45092  func (s *UpdatePhoneNumberRequestItem) Validate() error {
 45093  	invalidParams := request.ErrInvalidParams{Context: "UpdatePhoneNumberRequestItem"}
 45094  	if s.PhoneNumberId == nil {
 45095  		invalidParams.Add(request.NewErrParamRequired("PhoneNumberId"))
 45096  	}
 45097  
 45098  	if invalidParams.Len() > 0 {
 45099  		return invalidParams
 45100  	}
 45101  	return nil
 45102  }
 45103  
 45104  // SetCallingName sets the CallingName field's value.
 45105  func (s *UpdatePhoneNumberRequestItem) SetCallingName(v string) *UpdatePhoneNumberRequestItem {
 45106  	s.CallingName = &v
 45107  	return s
 45108  }
 45109  
 45110  // SetPhoneNumberId sets the PhoneNumberId field's value.
 45111  func (s *UpdatePhoneNumberRequestItem) SetPhoneNumberId(v string) *UpdatePhoneNumberRequestItem {
 45112  	s.PhoneNumberId = &v
 45113  	return s
 45114  }
 45115  
 45116  // SetProductType sets the ProductType field's value.
 45117  func (s *UpdatePhoneNumberRequestItem) SetProductType(v string) *UpdatePhoneNumberRequestItem {
 45118  	s.ProductType = &v
 45119  	return s
 45120  }
 45121  
 45122  type UpdatePhoneNumberSettingsInput struct {
 45123  	_ struct{} `type:"structure"`
 45124  
 45125  	// The default outbound calling name for the account.
 45126  	//
 45127  	// CallingName is a sensitive parameter and its value will be
 45128  	// replaced with "sensitive" in string returned by UpdatePhoneNumberSettingsInput's
 45129  	// String and GoString methods.
 45130  	//
 45131  	// CallingName is a required field
 45132  	CallingName *string `type:"string" required:"true" sensitive:"true"`
 45133  }
 45134  
 45135  // String returns the string representation.
 45136  //
 45137  // API parameter values that are decorated as "sensitive" in the API will not
 45138  // be included in the string output. The member name will be present, but the
 45139  // value will be replaced with "sensitive".
 45140  func (s UpdatePhoneNumberSettingsInput) String() string {
 45141  	return awsutil.Prettify(s)
 45142  }
 45143  
 45144  // GoString returns the string representation.
 45145  //
 45146  // API parameter values that are decorated as "sensitive" in the API will not
 45147  // be included in the string output. The member name will be present, but the
 45148  // value will be replaced with "sensitive".
 45149  func (s UpdatePhoneNumberSettingsInput) GoString() string {
 45150  	return s.String()
 45151  }
 45152  
 45153  // Validate inspects the fields of the type to determine if they are valid.
 45154  func (s *UpdatePhoneNumberSettingsInput) Validate() error {
 45155  	invalidParams := request.ErrInvalidParams{Context: "UpdatePhoneNumberSettingsInput"}
 45156  	if s.CallingName == nil {
 45157  		invalidParams.Add(request.NewErrParamRequired("CallingName"))
 45158  	}
 45159  
 45160  	if invalidParams.Len() > 0 {
 45161  		return invalidParams
 45162  	}
 45163  	return nil
 45164  }
 45165  
 45166  // SetCallingName sets the CallingName field's value.
 45167  func (s *UpdatePhoneNumberSettingsInput) SetCallingName(v string) *UpdatePhoneNumberSettingsInput {
 45168  	s.CallingName = &v
 45169  	return s
 45170  }
 45171  
 45172  type UpdatePhoneNumberSettingsOutput struct {
 45173  	_ struct{} `type:"structure" nopayload:"true"`
 45174  }
 45175  
 45176  // String returns the string representation.
 45177  //
 45178  // API parameter values that are decorated as "sensitive" in the API will not
 45179  // be included in the string output. The member name will be present, but the
 45180  // value will be replaced with "sensitive".
 45181  func (s UpdatePhoneNumberSettingsOutput) String() string {
 45182  	return awsutil.Prettify(s)
 45183  }
 45184  
 45185  // GoString returns the string representation.
 45186  //
 45187  // API parameter values that are decorated as "sensitive" in the API will not
 45188  // be included in the string output. The member name will be present, but the
 45189  // value will be replaced with "sensitive".
 45190  func (s UpdatePhoneNumberSettingsOutput) GoString() string {
 45191  	return s.String()
 45192  }
 45193  
 45194  type UpdateProxySessionInput struct {
 45195  	_ struct{} `type:"structure"`
 45196  
 45197  	// The proxy session capabilities.
 45198  	//
 45199  	// Capabilities is a required field
 45200  	Capabilities []*string `type:"list" required:"true"`
 45201  
 45202  	// The number of minutes allowed for the proxy session.
 45203  	ExpiryMinutes *int64 `min:"1" type:"integer"`
 45204  
 45205  	// The proxy session ID.
 45206  	//
 45207  	// ProxySessionId is a required field
 45208  	ProxySessionId *string `location:"uri" locationName:"proxySessionId" min:"1" type:"string" required:"true"`
 45209  
 45210  	// The Amazon Chime voice connector ID.
 45211  	//
 45212  	// VoiceConnectorId is a required field
 45213  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" min:"1" type:"string" required:"true"`
 45214  }
 45215  
 45216  // String returns the string representation.
 45217  //
 45218  // API parameter values that are decorated as "sensitive" in the API will not
 45219  // be included in the string output. The member name will be present, but the
 45220  // value will be replaced with "sensitive".
 45221  func (s UpdateProxySessionInput) String() string {
 45222  	return awsutil.Prettify(s)
 45223  }
 45224  
 45225  // GoString returns the string representation.
 45226  //
 45227  // API parameter values that are decorated as "sensitive" in the API will not
 45228  // be included in the string output. The member name will be present, but the
 45229  // value will be replaced with "sensitive".
 45230  func (s UpdateProxySessionInput) GoString() string {
 45231  	return s.String()
 45232  }
 45233  
 45234  // Validate inspects the fields of the type to determine if they are valid.
 45235  func (s *UpdateProxySessionInput) Validate() error {
 45236  	invalidParams := request.ErrInvalidParams{Context: "UpdateProxySessionInput"}
 45237  	if s.Capabilities == nil {
 45238  		invalidParams.Add(request.NewErrParamRequired("Capabilities"))
 45239  	}
 45240  	if s.ExpiryMinutes != nil && *s.ExpiryMinutes < 1 {
 45241  		invalidParams.Add(request.NewErrParamMinValue("ExpiryMinutes", 1))
 45242  	}
 45243  	if s.ProxySessionId == nil {
 45244  		invalidParams.Add(request.NewErrParamRequired("ProxySessionId"))
 45245  	}
 45246  	if s.ProxySessionId != nil && len(*s.ProxySessionId) < 1 {
 45247  		invalidParams.Add(request.NewErrParamMinLen("ProxySessionId", 1))
 45248  	}
 45249  	if s.VoiceConnectorId == nil {
 45250  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 45251  	}
 45252  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 45253  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 45254  	}
 45255  
 45256  	if invalidParams.Len() > 0 {
 45257  		return invalidParams
 45258  	}
 45259  	return nil
 45260  }
 45261  
 45262  // SetCapabilities sets the Capabilities field's value.
 45263  func (s *UpdateProxySessionInput) SetCapabilities(v []*string) *UpdateProxySessionInput {
 45264  	s.Capabilities = v
 45265  	return s
 45266  }
 45267  
 45268  // SetExpiryMinutes sets the ExpiryMinutes field's value.
 45269  func (s *UpdateProxySessionInput) SetExpiryMinutes(v int64) *UpdateProxySessionInput {
 45270  	s.ExpiryMinutes = &v
 45271  	return s
 45272  }
 45273  
 45274  // SetProxySessionId sets the ProxySessionId field's value.
 45275  func (s *UpdateProxySessionInput) SetProxySessionId(v string) *UpdateProxySessionInput {
 45276  	s.ProxySessionId = &v
 45277  	return s
 45278  }
 45279  
 45280  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 45281  func (s *UpdateProxySessionInput) SetVoiceConnectorId(v string) *UpdateProxySessionInput {
 45282  	s.VoiceConnectorId = &v
 45283  	return s
 45284  }
 45285  
 45286  type UpdateProxySessionOutput struct {
 45287  	_ struct{} `type:"structure"`
 45288  
 45289  	// The proxy session details.
 45290  	ProxySession *ProxySession `type:"structure"`
 45291  }
 45292  
 45293  // String returns the string representation.
 45294  //
 45295  // API parameter values that are decorated as "sensitive" in the API will not
 45296  // be included in the string output. The member name will be present, but the
 45297  // value will be replaced with "sensitive".
 45298  func (s UpdateProxySessionOutput) String() string {
 45299  	return awsutil.Prettify(s)
 45300  }
 45301  
 45302  // GoString returns the string representation.
 45303  //
 45304  // API parameter values that are decorated as "sensitive" in the API will not
 45305  // be included in the string output. The member name will be present, but the
 45306  // value will be replaced with "sensitive".
 45307  func (s UpdateProxySessionOutput) GoString() string {
 45308  	return s.String()
 45309  }
 45310  
 45311  // SetProxySession sets the ProxySession field's value.
 45312  func (s *UpdateProxySessionOutput) SetProxySession(v *ProxySession) *UpdateProxySessionOutput {
 45313  	s.ProxySession = v
 45314  	return s
 45315  }
 45316  
 45317  type UpdateRoomInput struct {
 45318  	_ struct{} `type:"structure"`
 45319  
 45320  	// The Amazon Chime account ID.
 45321  	//
 45322  	// AccountId is a required field
 45323  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 45324  
 45325  	// The room name.
 45326  	//
 45327  	// Name is a sensitive parameter and its value will be
 45328  	// replaced with "sensitive" in string returned by UpdateRoomInput's
 45329  	// String and GoString methods.
 45330  	Name *string `type:"string" sensitive:"true"`
 45331  
 45332  	// The room ID.
 45333  	//
 45334  	// RoomId is a required field
 45335  	RoomId *string `location:"uri" locationName:"roomId" type:"string" required:"true"`
 45336  }
 45337  
 45338  // String returns the string representation.
 45339  //
 45340  // API parameter values that are decorated as "sensitive" in the API will not
 45341  // be included in the string output. The member name will be present, but the
 45342  // value will be replaced with "sensitive".
 45343  func (s UpdateRoomInput) String() string {
 45344  	return awsutil.Prettify(s)
 45345  }
 45346  
 45347  // GoString returns the string representation.
 45348  //
 45349  // API parameter values that are decorated as "sensitive" in the API will not
 45350  // be included in the string output. The member name will be present, but the
 45351  // value will be replaced with "sensitive".
 45352  func (s UpdateRoomInput) GoString() string {
 45353  	return s.String()
 45354  }
 45355  
 45356  // Validate inspects the fields of the type to determine if they are valid.
 45357  func (s *UpdateRoomInput) Validate() error {
 45358  	invalidParams := request.ErrInvalidParams{Context: "UpdateRoomInput"}
 45359  	if s.AccountId == nil {
 45360  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 45361  	}
 45362  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 45363  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 45364  	}
 45365  	if s.RoomId == nil {
 45366  		invalidParams.Add(request.NewErrParamRequired("RoomId"))
 45367  	}
 45368  	if s.RoomId != nil && len(*s.RoomId) < 1 {
 45369  		invalidParams.Add(request.NewErrParamMinLen("RoomId", 1))
 45370  	}
 45371  
 45372  	if invalidParams.Len() > 0 {
 45373  		return invalidParams
 45374  	}
 45375  	return nil
 45376  }
 45377  
 45378  // SetAccountId sets the AccountId field's value.
 45379  func (s *UpdateRoomInput) SetAccountId(v string) *UpdateRoomInput {
 45380  	s.AccountId = &v
 45381  	return s
 45382  }
 45383  
 45384  // SetName sets the Name field's value.
 45385  func (s *UpdateRoomInput) SetName(v string) *UpdateRoomInput {
 45386  	s.Name = &v
 45387  	return s
 45388  }
 45389  
 45390  // SetRoomId sets the RoomId field's value.
 45391  func (s *UpdateRoomInput) SetRoomId(v string) *UpdateRoomInput {
 45392  	s.RoomId = &v
 45393  	return s
 45394  }
 45395  
 45396  type UpdateRoomMembershipInput struct {
 45397  	_ struct{} `type:"structure"`
 45398  
 45399  	// The Amazon Chime account ID.
 45400  	//
 45401  	// AccountId is a required field
 45402  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 45403  
 45404  	// The member ID.
 45405  	//
 45406  	// MemberId is a required field
 45407  	MemberId *string `location:"uri" locationName:"memberId" type:"string" required:"true"`
 45408  
 45409  	// The role of the member.
 45410  	Role *string `type:"string" enum:"RoomMembershipRole"`
 45411  
 45412  	// The room ID.
 45413  	//
 45414  	// RoomId is a required field
 45415  	RoomId *string `location:"uri" locationName:"roomId" type:"string" required:"true"`
 45416  }
 45417  
 45418  // String returns the string representation.
 45419  //
 45420  // API parameter values that are decorated as "sensitive" in the API will not
 45421  // be included in the string output. The member name will be present, but the
 45422  // value will be replaced with "sensitive".
 45423  func (s UpdateRoomMembershipInput) String() string {
 45424  	return awsutil.Prettify(s)
 45425  }
 45426  
 45427  // GoString returns the string representation.
 45428  //
 45429  // API parameter values that are decorated as "sensitive" in the API will not
 45430  // be included in the string output. The member name will be present, but the
 45431  // value will be replaced with "sensitive".
 45432  func (s UpdateRoomMembershipInput) GoString() string {
 45433  	return s.String()
 45434  }
 45435  
 45436  // Validate inspects the fields of the type to determine if they are valid.
 45437  func (s *UpdateRoomMembershipInput) Validate() error {
 45438  	invalidParams := request.ErrInvalidParams{Context: "UpdateRoomMembershipInput"}
 45439  	if s.AccountId == nil {
 45440  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 45441  	}
 45442  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 45443  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 45444  	}
 45445  	if s.MemberId == nil {
 45446  		invalidParams.Add(request.NewErrParamRequired("MemberId"))
 45447  	}
 45448  	if s.MemberId != nil && len(*s.MemberId) < 1 {
 45449  		invalidParams.Add(request.NewErrParamMinLen("MemberId", 1))
 45450  	}
 45451  	if s.RoomId == nil {
 45452  		invalidParams.Add(request.NewErrParamRequired("RoomId"))
 45453  	}
 45454  	if s.RoomId != nil && len(*s.RoomId) < 1 {
 45455  		invalidParams.Add(request.NewErrParamMinLen("RoomId", 1))
 45456  	}
 45457  
 45458  	if invalidParams.Len() > 0 {
 45459  		return invalidParams
 45460  	}
 45461  	return nil
 45462  }
 45463  
 45464  // SetAccountId sets the AccountId field's value.
 45465  func (s *UpdateRoomMembershipInput) SetAccountId(v string) *UpdateRoomMembershipInput {
 45466  	s.AccountId = &v
 45467  	return s
 45468  }
 45469  
 45470  // SetMemberId sets the MemberId field's value.
 45471  func (s *UpdateRoomMembershipInput) SetMemberId(v string) *UpdateRoomMembershipInput {
 45472  	s.MemberId = &v
 45473  	return s
 45474  }
 45475  
 45476  // SetRole sets the Role field's value.
 45477  func (s *UpdateRoomMembershipInput) SetRole(v string) *UpdateRoomMembershipInput {
 45478  	s.Role = &v
 45479  	return s
 45480  }
 45481  
 45482  // SetRoomId sets the RoomId field's value.
 45483  func (s *UpdateRoomMembershipInput) SetRoomId(v string) *UpdateRoomMembershipInput {
 45484  	s.RoomId = &v
 45485  	return s
 45486  }
 45487  
 45488  type UpdateRoomMembershipOutput struct {
 45489  	_ struct{} `type:"structure"`
 45490  
 45491  	// The room membership details.
 45492  	RoomMembership *RoomMembership `type:"structure"`
 45493  }
 45494  
 45495  // String returns the string representation.
 45496  //
 45497  // API parameter values that are decorated as "sensitive" in the API will not
 45498  // be included in the string output. The member name will be present, but the
 45499  // value will be replaced with "sensitive".
 45500  func (s UpdateRoomMembershipOutput) String() string {
 45501  	return awsutil.Prettify(s)
 45502  }
 45503  
 45504  // GoString returns the string representation.
 45505  //
 45506  // API parameter values that are decorated as "sensitive" in the API will not
 45507  // be included in the string output. The member name will be present, but the
 45508  // value will be replaced with "sensitive".
 45509  func (s UpdateRoomMembershipOutput) GoString() string {
 45510  	return s.String()
 45511  }
 45512  
 45513  // SetRoomMembership sets the RoomMembership field's value.
 45514  func (s *UpdateRoomMembershipOutput) SetRoomMembership(v *RoomMembership) *UpdateRoomMembershipOutput {
 45515  	s.RoomMembership = v
 45516  	return s
 45517  }
 45518  
 45519  type UpdateRoomOutput struct {
 45520  	_ struct{} `type:"structure"`
 45521  
 45522  	// The room details.
 45523  	Room *Room `type:"structure"`
 45524  }
 45525  
 45526  // String returns the string representation.
 45527  //
 45528  // API parameter values that are decorated as "sensitive" in the API will not
 45529  // be included in the string output. The member name will be present, but the
 45530  // value will be replaced with "sensitive".
 45531  func (s UpdateRoomOutput) String() string {
 45532  	return awsutil.Prettify(s)
 45533  }
 45534  
 45535  // GoString returns the string representation.
 45536  //
 45537  // API parameter values that are decorated as "sensitive" in the API will not
 45538  // be included in the string output. The member name will be present, but the
 45539  // value will be replaced with "sensitive".
 45540  func (s UpdateRoomOutput) GoString() string {
 45541  	return s.String()
 45542  }
 45543  
 45544  // SetRoom sets the Room field's value.
 45545  func (s *UpdateRoomOutput) SetRoom(v *Room) *UpdateRoomOutput {
 45546  	s.Room = v
 45547  	return s
 45548  }
 45549  
 45550  type UpdateSipMediaApplicationCallInput struct {
 45551  	_ struct{} `type:"structure"`
 45552  
 45553  	// Arguments made available to the Lambda function as part of the CALL_UPDATE_REQUESTED
 45554  	// event. Can contain 0-20 key-value pairs.
 45555  	//
 45556  	// Arguments is a required field
 45557  	Arguments map[string]*string `type:"map" required:"true"`
 45558  
 45559  	// The ID of the SIP media application handling the call.
 45560  	//
 45561  	// SipMediaApplicationId is a required field
 45562  	SipMediaApplicationId *string `location:"uri" locationName:"sipMediaApplicationId" type:"string" required:"true"`
 45563  
 45564  	// The ID of the call transaction.
 45565  	//
 45566  	// TransactionId is a required field
 45567  	TransactionId *string `location:"uri" locationName:"transactionId" type:"string" required:"true"`
 45568  }
 45569  
 45570  // String returns the string representation.
 45571  //
 45572  // API parameter values that are decorated as "sensitive" in the API will not
 45573  // be included in the string output. The member name will be present, but the
 45574  // value will be replaced with "sensitive".
 45575  func (s UpdateSipMediaApplicationCallInput) String() string {
 45576  	return awsutil.Prettify(s)
 45577  }
 45578  
 45579  // GoString returns the string representation.
 45580  //
 45581  // API parameter values that are decorated as "sensitive" in the API will not
 45582  // be included in the string output. The member name will be present, but the
 45583  // value will be replaced with "sensitive".
 45584  func (s UpdateSipMediaApplicationCallInput) GoString() string {
 45585  	return s.String()
 45586  }
 45587  
 45588  // Validate inspects the fields of the type to determine if they are valid.
 45589  func (s *UpdateSipMediaApplicationCallInput) Validate() error {
 45590  	invalidParams := request.ErrInvalidParams{Context: "UpdateSipMediaApplicationCallInput"}
 45591  	if s.Arguments == nil {
 45592  		invalidParams.Add(request.NewErrParamRequired("Arguments"))
 45593  	}
 45594  	if s.SipMediaApplicationId == nil {
 45595  		invalidParams.Add(request.NewErrParamRequired("SipMediaApplicationId"))
 45596  	}
 45597  	if s.SipMediaApplicationId != nil && len(*s.SipMediaApplicationId) < 1 {
 45598  		invalidParams.Add(request.NewErrParamMinLen("SipMediaApplicationId", 1))
 45599  	}
 45600  	if s.TransactionId == nil {
 45601  		invalidParams.Add(request.NewErrParamRequired("TransactionId"))
 45602  	}
 45603  	if s.TransactionId != nil && len(*s.TransactionId) < 1 {
 45604  		invalidParams.Add(request.NewErrParamMinLen("TransactionId", 1))
 45605  	}
 45606  
 45607  	if invalidParams.Len() > 0 {
 45608  		return invalidParams
 45609  	}
 45610  	return nil
 45611  }
 45612  
 45613  // SetArguments sets the Arguments field's value.
 45614  func (s *UpdateSipMediaApplicationCallInput) SetArguments(v map[string]*string) *UpdateSipMediaApplicationCallInput {
 45615  	s.Arguments = v
 45616  	return s
 45617  }
 45618  
 45619  // SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
 45620  func (s *UpdateSipMediaApplicationCallInput) SetSipMediaApplicationId(v string) *UpdateSipMediaApplicationCallInput {
 45621  	s.SipMediaApplicationId = &v
 45622  	return s
 45623  }
 45624  
 45625  // SetTransactionId sets the TransactionId field's value.
 45626  func (s *UpdateSipMediaApplicationCallInput) SetTransactionId(v string) *UpdateSipMediaApplicationCallInput {
 45627  	s.TransactionId = &v
 45628  	return s
 45629  }
 45630  
 45631  type UpdateSipMediaApplicationCallOutput struct {
 45632  	_ struct{} `type:"structure"`
 45633  
 45634  	// A Call instance for a SIP media application.
 45635  	SipMediaApplicationCall *SipMediaApplicationCall `type:"structure"`
 45636  }
 45637  
 45638  // String returns the string representation.
 45639  //
 45640  // API parameter values that are decorated as "sensitive" in the API will not
 45641  // be included in the string output. The member name will be present, but the
 45642  // value will be replaced with "sensitive".
 45643  func (s UpdateSipMediaApplicationCallOutput) String() string {
 45644  	return awsutil.Prettify(s)
 45645  }
 45646  
 45647  // GoString returns the string representation.
 45648  //
 45649  // API parameter values that are decorated as "sensitive" in the API will not
 45650  // be included in the string output. The member name will be present, but the
 45651  // value will be replaced with "sensitive".
 45652  func (s UpdateSipMediaApplicationCallOutput) GoString() string {
 45653  	return s.String()
 45654  }
 45655  
 45656  // SetSipMediaApplicationCall sets the SipMediaApplicationCall field's value.
 45657  func (s *UpdateSipMediaApplicationCallOutput) SetSipMediaApplicationCall(v *SipMediaApplicationCall) *UpdateSipMediaApplicationCallOutput {
 45658  	s.SipMediaApplicationCall = v
 45659  	return s
 45660  }
 45661  
 45662  type UpdateSipMediaApplicationInput struct {
 45663  	_ struct{} `type:"structure"`
 45664  
 45665  	// The new set of endpoints for the specified SIP media application.
 45666  	Endpoints []*SipMediaApplicationEndpoint `min:"1" type:"list"`
 45667  
 45668  	// The new name for the specified SIP media application.
 45669  	Name *string `min:"1" type:"string"`
 45670  
 45671  	// The SIP media application ID.
 45672  	//
 45673  	// SipMediaApplicationId is a required field
 45674  	SipMediaApplicationId *string `location:"uri" locationName:"sipMediaApplicationId" type:"string" required:"true"`
 45675  }
 45676  
 45677  // String returns the string representation.
 45678  //
 45679  // API parameter values that are decorated as "sensitive" in the API will not
 45680  // be included in the string output. The member name will be present, but the
 45681  // value will be replaced with "sensitive".
 45682  func (s UpdateSipMediaApplicationInput) String() string {
 45683  	return awsutil.Prettify(s)
 45684  }
 45685  
 45686  // GoString returns the string representation.
 45687  //
 45688  // API parameter values that are decorated as "sensitive" in the API will not
 45689  // be included in the string output. The member name will be present, but the
 45690  // value will be replaced with "sensitive".
 45691  func (s UpdateSipMediaApplicationInput) GoString() string {
 45692  	return s.String()
 45693  }
 45694  
 45695  // Validate inspects the fields of the type to determine if they are valid.
 45696  func (s *UpdateSipMediaApplicationInput) Validate() error {
 45697  	invalidParams := request.ErrInvalidParams{Context: "UpdateSipMediaApplicationInput"}
 45698  	if s.Endpoints != nil && len(s.Endpoints) < 1 {
 45699  		invalidParams.Add(request.NewErrParamMinLen("Endpoints", 1))
 45700  	}
 45701  	if s.Name != nil && len(*s.Name) < 1 {
 45702  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 45703  	}
 45704  	if s.SipMediaApplicationId == nil {
 45705  		invalidParams.Add(request.NewErrParamRequired("SipMediaApplicationId"))
 45706  	}
 45707  	if s.SipMediaApplicationId != nil && len(*s.SipMediaApplicationId) < 1 {
 45708  		invalidParams.Add(request.NewErrParamMinLen("SipMediaApplicationId", 1))
 45709  	}
 45710  
 45711  	if invalidParams.Len() > 0 {
 45712  		return invalidParams
 45713  	}
 45714  	return nil
 45715  }
 45716  
 45717  // SetEndpoints sets the Endpoints field's value.
 45718  func (s *UpdateSipMediaApplicationInput) SetEndpoints(v []*SipMediaApplicationEndpoint) *UpdateSipMediaApplicationInput {
 45719  	s.Endpoints = v
 45720  	return s
 45721  }
 45722  
 45723  // SetName sets the Name field's value.
 45724  func (s *UpdateSipMediaApplicationInput) SetName(v string) *UpdateSipMediaApplicationInput {
 45725  	s.Name = &v
 45726  	return s
 45727  }
 45728  
 45729  // SetSipMediaApplicationId sets the SipMediaApplicationId field's value.
 45730  func (s *UpdateSipMediaApplicationInput) SetSipMediaApplicationId(v string) *UpdateSipMediaApplicationInput {
 45731  	s.SipMediaApplicationId = &v
 45732  	return s
 45733  }
 45734  
 45735  type UpdateSipMediaApplicationOutput struct {
 45736  	_ struct{} `type:"structure"`
 45737  
 45738  	// The updated SIP media application details.
 45739  	SipMediaApplication *SipMediaApplication `type:"structure"`
 45740  }
 45741  
 45742  // String returns the string representation.
 45743  //
 45744  // API parameter values that are decorated as "sensitive" in the API will not
 45745  // be included in the string output. The member name will be present, but the
 45746  // value will be replaced with "sensitive".
 45747  func (s UpdateSipMediaApplicationOutput) String() string {
 45748  	return awsutil.Prettify(s)
 45749  }
 45750  
 45751  // GoString returns the string representation.
 45752  //
 45753  // API parameter values that are decorated as "sensitive" in the API will not
 45754  // be included in the string output. The member name will be present, but the
 45755  // value will be replaced with "sensitive".
 45756  func (s UpdateSipMediaApplicationOutput) GoString() string {
 45757  	return s.String()
 45758  }
 45759  
 45760  // SetSipMediaApplication sets the SipMediaApplication field's value.
 45761  func (s *UpdateSipMediaApplicationOutput) SetSipMediaApplication(v *SipMediaApplication) *UpdateSipMediaApplicationOutput {
 45762  	s.SipMediaApplication = v
 45763  	return s
 45764  }
 45765  
 45766  type UpdateSipRuleInput struct {
 45767  	_ struct{} `type:"structure"`
 45768  
 45769  	// The new value specified to indicate whether the rule is disabled.
 45770  	Disabled *bool `type:"boolean"`
 45771  
 45772  	// The new name for the specified SIP rule.
 45773  	//
 45774  	// Name is a required field
 45775  	Name *string `min:"1" type:"string" required:"true"`
 45776  
 45777  	// The SIP rule ID.
 45778  	//
 45779  	// SipRuleId is a required field
 45780  	SipRuleId *string `location:"uri" locationName:"sipRuleId" type:"string" required:"true"`
 45781  
 45782  	// The new value of the list of target applications.
 45783  	TargetApplications []*SipRuleTargetApplication `min:"1" type:"list"`
 45784  }
 45785  
 45786  // String returns the string representation.
 45787  //
 45788  // API parameter values that are decorated as "sensitive" in the API will not
 45789  // be included in the string output. The member name will be present, but the
 45790  // value will be replaced with "sensitive".
 45791  func (s UpdateSipRuleInput) String() string {
 45792  	return awsutil.Prettify(s)
 45793  }
 45794  
 45795  // GoString returns the string representation.
 45796  //
 45797  // API parameter values that are decorated as "sensitive" in the API will not
 45798  // be included in the string output. The member name will be present, but the
 45799  // value will be replaced with "sensitive".
 45800  func (s UpdateSipRuleInput) GoString() string {
 45801  	return s.String()
 45802  }
 45803  
 45804  // Validate inspects the fields of the type to determine if they are valid.
 45805  func (s *UpdateSipRuleInput) Validate() error {
 45806  	invalidParams := request.ErrInvalidParams{Context: "UpdateSipRuleInput"}
 45807  	if s.Name == nil {
 45808  		invalidParams.Add(request.NewErrParamRequired("Name"))
 45809  	}
 45810  	if s.Name != nil && len(*s.Name) < 1 {
 45811  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 45812  	}
 45813  	if s.SipRuleId == nil {
 45814  		invalidParams.Add(request.NewErrParamRequired("SipRuleId"))
 45815  	}
 45816  	if s.SipRuleId != nil && len(*s.SipRuleId) < 1 {
 45817  		invalidParams.Add(request.NewErrParamMinLen("SipRuleId", 1))
 45818  	}
 45819  	if s.TargetApplications != nil && len(s.TargetApplications) < 1 {
 45820  		invalidParams.Add(request.NewErrParamMinLen("TargetApplications", 1))
 45821  	}
 45822  	if s.TargetApplications != nil {
 45823  		for i, v := range s.TargetApplications {
 45824  			if v == nil {
 45825  				continue
 45826  			}
 45827  			if err := v.Validate(); err != nil {
 45828  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TargetApplications", i), err.(request.ErrInvalidParams))
 45829  			}
 45830  		}
 45831  	}
 45832  
 45833  	if invalidParams.Len() > 0 {
 45834  		return invalidParams
 45835  	}
 45836  	return nil
 45837  }
 45838  
 45839  // SetDisabled sets the Disabled field's value.
 45840  func (s *UpdateSipRuleInput) SetDisabled(v bool) *UpdateSipRuleInput {
 45841  	s.Disabled = &v
 45842  	return s
 45843  }
 45844  
 45845  // SetName sets the Name field's value.
 45846  func (s *UpdateSipRuleInput) SetName(v string) *UpdateSipRuleInput {
 45847  	s.Name = &v
 45848  	return s
 45849  }
 45850  
 45851  // SetSipRuleId sets the SipRuleId field's value.
 45852  func (s *UpdateSipRuleInput) SetSipRuleId(v string) *UpdateSipRuleInput {
 45853  	s.SipRuleId = &v
 45854  	return s
 45855  }
 45856  
 45857  // SetTargetApplications sets the TargetApplications field's value.
 45858  func (s *UpdateSipRuleInput) SetTargetApplications(v []*SipRuleTargetApplication) *UpdateSipRuleInput {
 45859  	s.TargetApplications = v
 45860  	return s
 45861  }
 45862  
 45863  type UpdateSipRuleOutput struct {
 45864  	_ struct{} `type:"structure"`
 45865  
 45866  	// Updated SIP rule details.
 45867  	SipRule *SipRule `type:"structure"`
 45868  }
 45869  
 45870  // String returns the string representation.
 45871  //
 45872  // API parameter values that are decorated as "sensitive" in the API will not
 45873  // be included in the string output. The member name will be present, but the
 45874  // value will be replaced with "sensitive".
 45875  func (s UpdateSipRuleOutput) String() string {
 45876  	return awsutil.Prettify(s)
 45877  }
 45878  
 45879  // GoString returns the string representation.
 45880  //
 45881  // API parameter values that are decorated as "sensitive" in the API will not
 45882  // be included in the string output. The member name will be present, but the
 45883  // value will be replaced with "sensitive".
 45884  func (s UpdateSipRuleOutput) GoString() string {
 45885  	return s.String()
 45886  }
 45887  
 45888  // SetSipRule sets the SipRule field's value.
 45889  func (s *UpdateSipRuleOutput) SetSipRule(v *SipRule) *UpdateSipRuleOutput {
 45890  	s.SipRule = v
 45891  	return s
 45892  }
 45893  
 45894  type UpdateUserInput struct {
 45895  	_ struct{} `type:"structure"`
 45896  
 45897  	// The Amazon Chime account ID.
 45898  	//
 45899  	// AccountId is a required field
 45900  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 45901  
 45902  	// The Alexa for Business metadata.
 45903  	AlexaForBusinessMetadata *AlexaForBusinessMetadata `type:"structure"`
 45904  
 45905  	// The user license type to update. This must be a supported license type for
 45906  	// the Amazon Chime account that the user belongs to.
 45907  	LicenseType *string `type:"string" enum:"License"`
 45908  
 45909  	// The user ID.
 45910  	//
 45911  	// UserId is a required field
 45912  	UserId *string `location:"uri" locationName:"userId" type:"string" required:"true"`
 45913  
 45914  	// The user type.
 45915  	UserType *string `type:"string" enum:"UserType"`
 45916  }
 45917  
 45918  // String returns the string representation.
 45919  //
 45920  // API parameter values that are decorated as "sensitive" in the API will not
 45921  // be included in the string output. The member name will be present, but the
 45922  // value will be replaced with "sensitive".
 45923  func (s UpdateUserInput) String() string {
 45924  	return awsutil.Prettify(s)
 45925  }
 45926  
 45927  // GoString returns the string representation.
 45928  //
 45929  // API parameter values that are decorated as "sensitive" in the API will not
 45930  // be included in the string output. The member name will be present, but the
 45931  // value will be replaced with "sensitive".
 45932  func (s UpdateUserInput) GoString() string {
 45933  	return s.String()
 45934  }
 45935  
 45936  // Validate inspects the fields of the type to determine if they are valid.
 45937  func (s *UpdateUserInput) Validate() error {
 45938  	invalidParams := request.ErrInvalidParams{Context: "UpdateUserInput"}
 45939  	if s.AccountId == nil {
 45940  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 45941  	}
 45942  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 45943  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 45944  	}
 45945  	if s.UserId == nil {
 45946  		invalidParams.Add(request.NewErrParamRequired("UserId"))
 45947  	}
 45948  	if s.UserId != nil && len(*s.UserId) < 1 {
 45949  		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
 45950  	}
 45951  
 45952  	if invalidParams.Len() > 0 {
 45953  		return invalidParams
 45954  	}
 45955  	return nil
 45956  }
 45957  
 45958  // SetAccountId sets the AccountId field's value.
 45959  func (s *UpdateUserInput) SetAccountId(v string) *UpdateUserInput {
 45960  	s.AccountId = &v
 45961  	return s
 45962  }
 45963  
 45964  // SetAlexaForBusinessMetadata sets the AlexaForBusinessMetadata field's value.
 45965  func (s *UpdateUserInput) SetAlexaForBusinessMetadata(v *AlexaForBusinessMetadata) *UpdateUserInput {
 45966  	s.AlexaForBusinessMetadata = v
 45967  	return s
 45968  }
 45969  
 45970  // SetLicenseType sets the LicenseType field's value.
 45971  func (s *UpdateUserInput) SetLicenseType(v string) *UpdateUserInput {
 45972  	s.LicenseType = &v
 45973  	return s
 45974  }
 45975  
 45976  // SetUserId sets the UserId field's value.
 45977  func (s *UpdateUserInput) SetUserId(v string) *UpdateUserInput {
 45978  	s.UserId = &v
 45979  	return s
 45980  }
 45981  
 45982  // SetUserType sets the UserType field's value.
 45983  func (s *UpdateUserInput) SetUserType(v string) *UpdateUserInput {
 45984  	s.UserType = &v
 45985  	return s
 45986  }
 45987  
 45988  type UpdateUserOutput struct {
 45989  	_ struct{} `type:"structure"`
 45990  
 45991  	// The updated user details.
 45992  	User *User `type:"structure"`
 45993  }
 45994  
 45995  // String returns the string representation.
 45996  //
 45997  // API parameter values that are decorated as "sensitive" in the API will not
 45998  // be included in the string output. The member name will be present, but the
 45999  // value will be replaced with "sensitive".
 46000  func (s UpdateUserOutput) String() string {
 46001  	return awsutil.Prettify(s)
 46002  }
 46003  
 46004  // GoString returns the string representation.
 46005  //
 46006  // API parameter values that are decorated as "sensitive" in the API will not
 46007  // be included in the string output. The member name will be present, but the
 46008  // value will be replaced with "sensitive".
 46009  func (s UpdateUserOutput) GoString() string {
 46010  	return s.String()
 46011  }
 46012  
 46013  // SetUser sets the User field's value.
 46014  func (s *UpdateUserOutput) SetUser(v *User) *UpdateUserOutput {
 46015  	s.User = v
 46016  	return s
 46017  }
 46018  
 46019  // The user ID and user fields to update, used with the BatchUpdateUser action.
 46020  type UpdateUserRequestItem struct {
 46021  	_ struct{} `type:"structure"`
 46022  
 46023  	// The Alexa for Business metadata.
 46024  	AlexaForBusinessMetadata *AlexaForBusinessMetadata `type:"structure"`
 46025  
 46026  	// The user license type.
 46027  	LicenseType *string `type:"string" enum:"License"`
 46028  
 46029  	// The user ID.
 46030  	//
 46031  	// UserId is a required field
 46032  	UserId *string `type:"string" required:"true"`
 46033  
 46034  	// The user type.
 46035  	UserType *string `type:"string" enum:"UserType"`
 46036  }
 46037  
 46038  // String returns the string representation.
 46039  //
 46040  // API parameter values that are decorated as "sensitive" in the API will not
 46041  // be included in the string output. The member name will be present, but the
 46042  // value will be replaced with "sensitive".
 46043  func (s UpdateUserRequestItem) String() string {
 46044  	return awsutil.Prettify(s)
 46045  }
 46046  
 46047  // GoString returns the string representation.
 46048  //
 46049  // API parameter values that are decorated as "sensitive" in the API will not
 46050  // be included in the string output. The member name will be present, but the
 46051  // value will be replaced with "sensitive".
 46052  func (s UpdateUserRequestItem) GoString() string {
 46053  	return s.String()
 46054  }
 46055  
 46056  // Validate inspects the fields of the type to determine if they are valid.
 46057  func (s *UpdateUserRequestItem) Validate() error {
 46058  	invalidParams := request.ErrInvalidParams{Context: "UpdateUserRequestItem"}
 46059  	if s.UserId == nil {
 46060  		invalidParams.Add(request.NewErrParamRequired("UserId"))
 46061  	}
 46062  
 46063  	if invalidParams.Len() > 0 {
 46064  		return invalidParams
 46065  	}
 46066  	return nil
 46067  }
 46068  
 46069  // SetAlexaForBusinessMetadata sets the AlexaForBusinessMetadata field's value.
 46070  func (s *UpdateUserRequestItem) SetAlexaForBusinessMetadata(v *AlexaForBusinessMetadata) *UpdateUserRequestItem {
 46071  	s.AlexaForBusinessMetadata = v
 46072  	return s
 46073  }
 46074  
 46075  // SetLicenseType sets the LicenseType field's value.
 46076  func (s *UpdateUserRequestItem) SetLicenseType(v string) *UpdateUserRequestItem {
 46077  	s.LicenseType = &v
 46078  	return s
 46079  }
 46080  
 46081  // SetUserId sets the UserId field's value.
 46082  func (s *UpdateUserRequestItem) SetUserId(v string) *UpdateUserRequestItem {
 46083  	s.UserId = &v
 46084  	return s
 46085  }
 46086  
 46087  // SetUserType sets the UserType field's value.
 46088  func (s *UpdateUserRequestItem) SetUserType(v string) *UpdateUserRequestItem {
 46089  	s.UserType = &v
 46090  	return s
 46091  }
 46092  
 46093  type UpdateUserSettingsInput struct {
 46094  	_ struct{} `type:"structure"`
 46095  
 46096  	// The Amazon Chime account ID.
 46097  	//
 46098  	// AccountId is a required field
 46099  	AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"`
 46100  
 46101  	// The user ID.
 46102  	//
 46103  	// UserId is a required field
 46104  	UserId *string `location:"uri" locationName:"userId" type:"string" required:"true"`
 46105  
 46106  	// The user settings to update.
 46107  	//
 46108  	// UserSettings is a required field
 46109  	UserSettings *UserSettings `type:"structure" required:"true"`
 46110  }
 46111  
 46112  // String returns the string representation.
 46113  //
 46114  // API parameter values that are decorated as "sensitive" in the API will not
 46115  // be included in the string output. The member name will be present, but the
 46116  // value will be replaced with "sensitive".
 46117  func (s UpdateUserSettingsInput) String() string {
 46118  	return awsutil.Prettify(s)
 46119  }
 46120  
 46121  // GoString returns the string representation.
 46122  //
 46123  // API parameter values that are decorated as "sensitive" in the API will not
 46124  // be included in the string output. The member name will be present, but the
 46125  // value will be replaced with "sensitive".
 46126  func (s UpdateUserSettingsInput) GoString() string {
 46127  	return s.String()
 46128  }
 46129  
 46130  // Validate inspects the fields of the type to determine if they are valid.
 46131  func (s *UpdateUserSettingsInput) Validate() error {
 46132  	invalidParams := request.ErrInvalidParams{Context: "UpdateUserSettingsInput"}
 46133  	if s.AccountId == nil {
 46134  		invalidParams.Add(request.NewErrParamRequired("AccountId"))
 46135  	}
 46136  	if s.AccountId != nil && len(*s.AccountId) < 1 {
 46137  		invalidParams.Add(request.NewErrParamMinLen("AccountId", 1))
 46138  	}
 46139  	if s.UserId == nil {
 46140  		invalidParams.Add(request.NewErrParamRequired("UserId"))
 46141  	}
 46142  	if s.UserId != nil && len(*s.UserId) < 1 {
 46143  		invalidParams.Add(request.NewErrParamMinLen("UserId", 1))
 46144  	}
 46145  	if s.UserSettings == nil {
 46146  		invalidParams.Add(request.NewErrParamRequired("UserSettings"))
 46147  	}
 46148  	if s.UserSettings != nil {
 46149  		if err := s.UserSettings.Validate(); err != nil {
 46150  			invalidParams.AddNested("UserSettings", err.(request.ErrInvalidParams))
 46151  		}
 46152  	}
 46153  
 46154  	if invalidParams.Len() > 0 {
 46155  		return invalidParams
 46156  	}
 46157  	return nil
 46158  }
 46159  
 46160  // SetAccountId sets the AccountId field's value.
 46161  func (s *UpdateUserSettingsInput) SetAccountId(v string) *UpdateUserSettingsInput {
 46162  	s.AccountId = &v
 46163  	return s
 46164  }
 46165  
 46166  // SetUserId sets the UserId field's value.
 46167  func (s *UpdateUserSettingsInput) SetUserId(v string) *UpdateUserSettingsInput {
 46168  	s.UserId = &v
 46169  	return s
 46170  }
 46171  
 46172  // SetUserSettings sets the UserSettings field's value.
 46173  func (s *UpdateUserSettingsInput) SetUserSettings(v *UserSettings) *UpdateUserSettingsInput {
 46174  	s.UserSettings = v
 46175  	return s
 46176  }
 46177  
 46178  type UpdateUserSettingsOutput struct {
 46179  	_ struct{} `type:"structure" nopayload:"true"`
 46180  }
 46181  
 46182  // String returns the string representation.
 46183  //
 46184  // API parameter values that are decorated as "sensitive" in the API will not
 46185  // be included in the string output. The member name will be present, but the
 46186  // value will be replaced with "sensitive".
 46187  func (s UpdateUserSettingsOutput) String() string {
 46188  	return awsutil.Prettify(s)
 46189  }
 46190  
 46191  // GoString returns the string representation.
 46192  //
 46193  // API parameter values that are decorated as "sensitive" in the API will not
 46194  // be included in the string output. The member name will be present, but the
 46195  // value will be replaced with "sensitive".
 46196  func (s UpdateUserSettingsOutput) GoString() string {
 46197  	return s.String()
 46198  }
 46199  
 46200  type UpdateVoiceConnectorGroupInput struct {
 46201  	_ struct{} `type:"structure"`
 46202  
 46203  	// The name of the Amazon Chime Voice Connector group.
 46204  	//
 46205  	// Name is a required field
 46206  	Name *string `min:"1" type:"string" required:"true"`
 46207  
 46208  	// The Amazon Chime Voice Connector group ID.
 46209  	//
 46210  	// VoiceConnectorGroupId is a required field
 46211  	VoiceConnectorGroupId *string `location:"uri" locationName:"voiceConnectorGroupId" type:"string" required:"true"`
 46212  
 46213  	// The VoiceConnectorItems to associate with the group.
 46214  	//
 46215  	// VoiceConnectorItems is a required field
 46216  	VoiceConnectorItems []*VoiceConnectorItem `type:"list" required:"true"`
 46217  }
 46218  
 46219  // String returns the string representation.
 46220  //
 46221  // API parameter values that are decorated as "sensitive" in the API will not
 46222  // be included in the string output. The member name will be present, but the
 46223  // value will be replaced with "sensitive".
 46224  func (s UpdateVoiceConnectorGroupInput) String() string {
 46225  	return awsutil.Prettify(s)
 46226  }
 46227  
 46228  // GoString returns the string representation.
 46229  //
 46230  // API parameter values that are decorated as "sensitive" in the API will not
 46231  // be included in the string output. The member name will be present, but the
 46232  // value will be replaced with "sensitive".
 46233  func (s UpdateVoiceConnectorGroupInput) GoString() string {
 46234  	return s.String()
 46235  }
 46236  
 46237  // Validate inspects the fields of the type to determine if they are valid.
 46238  func (s *UpdateVoiceConnectorGroupInput) Validate() error {
 46239  	invalidParams := request.ErrInvalidParams{Context: "UpdateVoiceConnectorGroupInput"}
 46240  	if s.Name == nil {
 46241  		invalidParams.Add(request.NewErrParamRequired("Name"))
 46242  	}
 46243  	if s.Name != nil && len(*s.Name) < 1 {
 46244  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 46245  	}
 46246  	if s.VoiceConnectorGroupId == nil {
 46247  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorGroupId"))
 46248  	}
 46249  	if s.VoiceConnectorGroupId != nil && len(*s.VoiceConnectorGroupId) < 1 {
 46250  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorGroupId", 1))
 46251  	}
 46252  	if s.VoiceConnectorItems == nil {
 46253  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorItems"))
 46254  	}
 46255  	if s.VoiceConnectorItems != nil {
 46256  		for i, v := range s.VoiceConnectorItems {
 46257  			if v == nil {
 46258  				continue
 46259  			}
 46260  			if err := v.Validate(); err != nil {
 46261  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "VoiceConnectorItems", i), err.(request.ErrInvalidParams))
 46262  			}
 46263  		}
 46264  	}
 46265  
 46266  	if invalidParams.Len() > 0 {
 46267  		return invalidParams
 46268  	}
 46269  	return nil
 46270  }
 46271  
 46272  // SetName sets the Name field's value.
 46273  func (s *UpdateVoiceConnectorGroupInput) SetName(v string) *UpdateVoiceConnectorGroupInput {
 46274  	s.Name = &v
 46275  	return s
 46276  }
 46277  
 46278  // SetVoiceConnectorGroupId sets the VoiceConnectorGroupId field's value.
 46279  func (s *UpdateVoiceConnectorGroupInput) SetVoiceConnectorGroupId(v string) *UpdateVoiceConnectorGroupInput {
 46280  	s.VoiceConnectorGroupId = &v
 46281  	return s
 46282  }
 46283  
 46284  // SetVoiceConnectorItems sets the VoiceConnectorItems field's value.
 46285  func (s *UpdateVoiceConnectorGroupInput) SetVoiceConnectorItems(v []*VoiceConnectorItem) *UpdateVoiceConnectorGroupInput {
 46286  	s.VoiceConnectorItems = v
 46287  	return s
 46288  }
 46289  
 46290  type UpdateVoiceConnectorGroupOutput struct {
 46291  	_ struct{} `type:"structure"`
 46292  
 46293  	// The updated Amazon Chime Voice Connector group details.
 46294  	VoiceConnectorGroup *VoiceConnectorGroup `type:"structure"`
 46295  }
 46296  
 46297  // String returns the string representation.
 46298  //
 46299  // API parameter values that are decorated as "sensitive" in the API will not
 46300  // be included in the string output. The member name will be present, but the
 46301  // value will be replaced with "sensitive".
 46302  func (s UpdateVoiceConnectorGroupOutput) String() string {
 46303  	return awsutil.Prettify(s)
 46304  }
 46305  
 46306  // GoString returns the string representation.
 46307  //
 46308  // API parameter values that are decorated as "sensitive" in the API will not
 46309  // be included in the string output. The member name will be present, but the
 46310  // value will be replaced with "sensitive".
 46311  func (s UpdateVoiceConnectorGroupOutput) GoString() string {
 46312  	return s.String()
 46313  }
 46314  
 46315  // SetVoiceConnectorGroup sets the VoiceConnectorGroup field's value.
 46316  func (s *UpdateVoiceConnectorGroupOutput) SetVoiceConnectorGroup(v *VoiceConnectorGroup) *UpdateVoiceConnectorGroupOutput {
 46317  	s.VoiceConnectorGroup = v
 46318  	return s
 46319  }
 46320  
 46321  type UpdateVoiceConnectorInput struct {
 46322  	_ struct{} `type:"structure"`
 46323  
 46324  	// The name of the Amazon Chime Voice Connector.
 46325  	//
 46326  	// Name is a required field
 46327  	Name *string `min:"1" type:"string" required:"true"`
 46328  
 46329  	// When enabled, requires encryption for the Amazon Chime Voice Connector.
 46330  	//
 46331  	// RequireEncryption is a required field
 46332  	RequireEncryption *bool `type:"boolean" required:"true"`
 46333  
 46334  	// The Amazon Chime Voice Connector ID.
 46335  	//
 46336  	// VoiceConnectorId is a required field
 46337  	VoiceConnectorId *string `location:"uri" locationName:"voiceConnectorId" type:"string" required:"true"`
 46338  }
 46339  
 46340  // String returns the string representation.
 46341  //
 46342  // API parameter values that are decorated as "sensitive" in the API will not
 46343  // be included in the string output. The member name will be present, but the
 46344  // value will be replaced with "sensitive".
 46345  func (s UpdateVoiceConnectorInput) String() string {
 46346  	return awsutil.Prettify(s)
 46347  }
 46348  
 46349  // GoString returns the string representation.
 46350  //
 46351  // API parameter values that are decorated as "sensitive" in the API will not
 46352  // be included in the string output. The member name will be present, but the
 46353  // value will be replaced with "sensitive".
 46354  func (s UpdateVoiceConnectorInput) GoString() string {
 46355  	return s.String()
 46356  }
 46357  
 46358  // Validate inspects the fields of the type to determine if they are valid.
 46359  func (s *UpdateVoiceConnectorInput) Validate() error {
 46360  	invalidParams := request.ErrInvalidParams{Context: "UpdateVoiceConnectorInput"}
 46361  	if s.Name == nil {
 46362  		invalidParams.Add(request.NewErrParamRequired("Name"))
 46363  	}
 46364  	if s.Name != nil && len(*s.Name) < 1 {
 46365  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 46366  	}
 46367  	if s.RequireEncryption == nil {
 46368  		invalidParams.Add(request.NewErrParamRequired("RequireEncryption"))
 46369  	}
 46370  	if s.VoiceConnectorId == nil {
 46371  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 46372  	}
 46373  	if s.VoiceConnectorId != nil && len(*s.VoiceConnectorId) < 1 {
 46374  		invalidParams.Add(request.NewErrParamMinLen("VoiceConnectorId", 1))
 46375  	}
 46376  
 46377  	if invalidParams.Len() > 0 {
 46378  		return invalidParams
 46379  	}
 46380  	return nil
 46381  }
 46382  
 46383  // SetName sets the Name field's value.
 46384  func (s *UpdateVoiceConnectorInput) SetName(v string) *UpdateVoiceConnectorInput {
 46385  	s.Name = &v
 46386  	return s
 46387  }
 46388  
 46389  // SetRequireEncryption sets the RequireEncryption field's value.
 46390  func (s *UpdateVoiceConnectorInput) SetRequireEncryption(v bool) *UpdateVoiceConnectorInput {
 46391  	s.RequireEncryption = &v
 46392  	return s
 46393  }
 46394  
 46395  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 46396  func (s *UpdateVoiceConnectorInput) SetVoiceConnectorId(v string) *UpdateVoiceConnectorInput {
 46397  	s.VoiceConnectorId = &v
 46398  	return s
 46399  }
 46400  
 46401  type UpdateVoiceConnectorOutput struct {
 46402  	_ struct{} `type:"structure"`
 46403  
 46404  	// The updated Amazon Chime Voice Connector details.
 46405  	VoiceConnector *VoiceConnector `type:"structure"`
 46406  }
 46407  
 46408  // String returns the string representation.
 46409  //
 46410  // API parameter values that are decorated as "sensitive" in the API will not
 46411  // be included in the string output. The member name will be present, but the
 46412  // value will be replaced with "sensitive".
 46413  func (s UpdateVoiceConnectorOutput) String() string {
 46414  	return awsutil.Prettify(s)
 46415  }
 46416  
 46417  // GoString returns the string representation.
 46418  //
 46419  // API parameter values that are decorated as "sensitive" in the API will not
 46420  // be included in the string output. The member name will be present, but the
 46421  // value will be replaced with "sensitive".
 46422  func (s UpdateVoiceConnectorOutput) GoString() string {
 46423  	return s.String()
 46424  }
 46425  
 46426  // SetVoiceConnector sets the VoiceConnector field's value.
 46427  func (s *UpdateVoiceConnectorOutput) SetVoiceConnector(v *VoiceConnector) *UpdateVoiceConnectorOutput {
 46428  	s.VoiceConnector = v
 46429  	return s
 46430  }
 46431  
 46432  // The user on the Amazon Chime account.
 46433  type User struct {
 46434  	_ struct{} `type:"structure"`
 46435  
 46436  	// The Amazon Chime account ID.
 46437  	AccountId *string `type:"string"`
 46438  
 46439  	// The Alexa for Business metadata.
 46440  	AlexaForBusinessMetadata *AlexaForBusinessMetadata `type:"structure"`
 46441  
 46442  	// The display name of the user.
 46443  	//
 46444  	// DisplayName is a sensitive parameter and its value will be
 46445  	// replaced with "sensitive" in string returned by User's
 46446  	// String and GoString methods.
 46447  	DisplayName *string `type:"string" sensitive:"true"`
 46448  
 46449  	// Date and time when the user is invited to the Amazon Chime account, in ISO
 46450  	// 8601 format.
 46451  	InvitedOn *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 46452  
 46453  	// The license type for the user.
 46454  	LicenseType *string `type:"string" enum:"License"`
 46455  
 46456  	// The user's personal meeting PIN.
 46457  	PersonalPIN *string `type:"string"`
 46458  
 46459  	// The primary email address of the user.
 46460  	//
 46461  	// PrimaryEmail is a sensitive parameter and its value will be
 46462  	// replaced with "sensitive" in string returned by User's
 46463  	// String and GoString methods.
 46464  	PrimaryEmail *string `type:"string" sensitive:"true"`
 46465  
 46466  	// The primary phone number associated with the user.
 46467  	//
 46468  	// PrimaryProvisionedNumber is a sensitive parameter and its value will be
 46469  	// replaced with "sensitive" in string returned by User's
 46470  	// String and GoString methods.
 46471  	PrimaryProvisionedNumber *string `type:"string" sensitive:"true"`
 46472  
 46473  	// Date and time when the user is registered, in ISO 8601 format.
 46474  	RegisteredOn *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 46475  
 46476  	// The user ID.
 46477  	//
 46478  	// UserId is a required field
 46479  	UserId *string `type:"string" required:"true"`
 46480  
 46481  	// The user invite status.
 46482  	UserInvitationStatus *string `type:"string" enum:"InviteStatus"`
 46483  
 46484  	// The user registration status.
 46485  	UserRegistrationStatus *string `type:"string" enum:"RegistrationStatus"`
 46486  
 46487  	// The user type.
 46488  	UserType *string `type:"string" enum:"UserType"`
 46489  }
 46490  
 46491  // String returns the string representation.
 46492  //
 46493  // API parameter values that are decorated as "sensitive" in the API will not
 46494  // be included in the string output. The member name will be present, but the
 46495  // value will be replaced with "sensitive".
 46496  func (s User) String() string {
 46497  	return awsutil.Prettify(s)
 46498  }
 46499  
 46500  // GoString returns the string representation.
 46501  //
 46502  // API parameter values that are decorated as "sensitive" in the API will not
 46503  // be included in the string output. The member name will be present, but the
 46504  // value will be replaced with "sensitive".
 46505  func (s User) GoString() string {
 46506  	return s.String()
 46507  }
 46508  
 46509  // SetAccountId sets the AccountId field's value.
 46510  func (s *User) SetAccountId(v string) *User {
 46511  	s.AccountId = &v
 46512  	return s
 46513  }
 46514  
 46515  // SetAlexaForBusinessMetadata sets the AlexaForBusinessMetadata field's value.
 46516  func (s *User) SetAlexaForBusinessMetadata(v *AlexaForBusinessMetadata) *User {
 46517  	s.AlexaForBusinessMetadata = v
 46518  	return s
 46519  }
 46520  
 46521  // SetDisplayName sets the DisplayName field's value.
 46522  func (s *User) SetDisplayName(v string) *User {
 46523  	s.DisplayName = &v
 46524  	return s
 46525  }
 46526  
 46527  // SetInvitedOn sets the InvitedOn field's value.
 46528  func (s *User) SetInvitedOn(v time.Time) *User {
 46529  	s.InvitedOn = &v
 46530  	return s
 46531  }
 46532  
 46533  // SetLicenseType sets the LicenseType field's value.
 46534  func (s *User) SetLicenseType(v string) *User {
 46535  	s.LicenseType = &v
 46536  	return s
 46537  }
 46538  
 46539  // SetPersonalPIN sets the PersonalPIN field's value.
 46540  func (s *User) SetPersonalPIN(v string) *User {
 46541  	s.PersonalPIN = &v
 46542  	return s
 46543  }
 46544  
 46545  // SetPrimaryEmail sets the PrimaryEmail field's value.
 46546  func (s *User) SetPrimaryEmail(v string) *User {
 46547  	s.PrimaryEmail = &v
 46548  	return s
 46549  }
 46550  
 46551  // SetPrimaryProvisionedNumber sets the PrimaryProvisionedNumber field's value.
 46552  func (s *User) SetPrimaryProvisionedNumber(v string) *User {
 46553  	s.PrimaryProvisionedNumber = &v
 46554  	return s
 46555  }
 46556  
 46557  // SetRegisteredOn sets the RegisteredOn field's value.
 46558  func (s *User) SetRegisteredOn(v time.Time) *User {
 46559  	s.RegisteredOn = &v
 46560  	return s
 46561  }
 46562  
 46563  // SetUserId sets the UserId field's value.
 46564  func (s *User) SetUserId(v string) *User {
 46565  	s.UserId = &v
 46566  	return s
 46567  }
 46568  
 46569  // SetUserInvitationStatus sets the UserInvitationStatus field's value.
 46570  func (s *User) SetUserInvitationStatus(v string) *User {
 46571  	s.UserInvitationStatus = &v
 46572  	return s
 46573  }
 46574  
 46575  // SetUserRegistrationStatus sets the UserRegistrationStatus field's value.
 46576  func (s *User) SetUserRegistrationStatus(v string) *User {
 46577  	s.UserRegistrationStatus = &v
 46578  	return s
 46579  }
 46580  
 46581  // SetUserType sets the UserType field's value.
 46582  func (s *User) SetUserType(v string) *User {
 46583  	s.UserType = &v
 46584  	return s
 46585  }
 46586  
 46587  // The list of errors returned when errors are encountered during the BatchSuspendUser,
 46588  // BatchUnsuspendUser, or BatchUpdateUser actions. This includes user IDs, error
 46589  // codes, and error messages.
 46590  type UserError struct {
 46591  	_ struct{} `type:"structure"`
 46592  
 46593  	// The error code.
 46594  	ErrorCode *string `type:"string" enum:"ErrorCode"`
 46595  
 46596  	// The error message.
 46597  	ErrorMessage *string `type:"string"`
 46598  
 46599  	// The user ID for which the action failed.
 46600  	UserId *string `type:"string"`
 46601  }
 46602  
 46603  // String returns the string representation.
 46604  //
 46605  // API parameter values that are decorated as "sensitive" in the API will not
 46606  // be included in the string output. The member name will be present, but the
 46607  // value will be replaced with "sensitive".
 46608  func (s UserError) String() string {
 46609  	return awsutil.Prettify(s)
 46610  }
 46611  
 46612  // GoString returns the string representation.
 46613  //
 46614  // API parameter values that are decorated as "sensitive" in the API will not
 46615  // be included in the string output. The member name will be present, but the
 46616  // value will be replaced with "sensitive".
 46617  func (s UserError) GoString() string {
 46618  	return s.String()
 46619  }
 46620  
 46621  // SetErrorCode sets the ErrorCode field's value.
 46622  func (s *UserError) SetErrorCode(v string) *UserError {
 46623  	s.ErrorCode = &v
 46624  	return s
 46625  }
 46626  
 46627  // SetErrorMessage sets the ErrorMessage field's value.
 46628  func (s *UserError) SetErrorMessage(v string) *UserError {
 46629  	s.ErrorMessage = &v
 46630  	return s
 46631  }
 46632  
 46633  // SetUserId sets the UserId field's value.
 46634  func (s *UserError) SetUserId(v string) *UserError {
 46635  	s.UserId = &v
 46636  	return s
 46637  }
 46638  
 46639  // Settings associated with an Amazon Chime user, including inbound and outbound
 46640  // calling and text messaging.
 46641  type UserSettings struct {
 46642  	_ struct{} `type:"structure"`
 46643  
 46644  	// The telephony settings associated with the user.
 46645  	//
 46646  	// Telephony is a required field
 46647  	Telephony *TelephonySettings `type:"structure" required:"true"`
 46648  }
 46649  
 46650  // String returns the string representation.
 46651  //
 46652  // API parameter values that are decorated as "sensitive" in the API will not
 46653  // be included in the string output. The member name will be present, but the
 46654  // value will be replaced with "sensitive".
 46655  func (s UserSettings) String() string {
 46656  	return awsutil.Prettify(s)
 46657  }
 46658  
 46659  // GoString returns the string representation.
 46660  //
 46661  // API parameter values that are decorated as "sensitive" in the API will not
 46662  // be included in the string output. The member name will be present, but the
 46663  // value will be replaced with "sensitive".
 46664  func (s UserSettings) GoString() string {
 46665  	return s.String()
 46666  }
 46667  
 46668  // Validate inspects the fields of the type to determine if they are valid.
 46669  func (s *UserSettings) Validate() error {
 46670  	invalidParams := request.ErrInvalidParams{Context: "UserSettings"}
 46671  	if s.Telephony == nil {
 46672  		invalidParams.Add(request.NewErrParamRequired("Telephony"))
 46673  	}
 46674  	if s.Telephony != nil {
 46675  		if err := s.Telephony.Validate(); err != nil {
 46676  			invalidParams.AddNested("Telephony", err.(request.ErrInvalidParams))
 46677  		}
 46678  	}
 46679  
 46680  	if invalidParams.Len() > 0 {
 46681  		return invalidParams
 46682  	}
 46683  	return nil
 46684  }
 46685  
 46686  // SetTelephony sets the Telephony field's value.
 46687  func (s *UserSettings) SetTelephony(v *TelephonySettings) *UserSettings {
 46688  	s.Telephony = v
 46689  	return s
 46690  }
 46691  
 46692  // The video artifact configuration object.
 46693  type VideoArtifactsConfiguration struct {
 46694  	_ struct{} `type:"structure"`
 46695  
 46696  	// The MUX type of the video artifact configuration object.
 46697  	MuxType *string `type:"string" enum:"VideoMuxType"`
 46698  
 46699  	// Indicates whether the video artifact is enabled or disabled.
 46700  	//
 46701  	// State is a required field
 46702  	State *string `type:"string" required:"true" enum:"ArtifactsState"`
 46703  }
 46704  
 46705  // String returns the string representation.
 46706  //
 46707  // API parameter values that are decorated as "sensitive" in the API will not
 46708  // be included in the string output. The member name will be present, but the
 46709  // value will be replaced with "sensitive".
 46710  func (s VideoArtifactsConfiguration) String() string {
 46711  	return awsutil.Prettify(s)
 46712  }
 46713  
 46714  // GoString returns the string representation.
 46715  //
 46716  // API parameter values that are decorated as "sensitive" in the API will not
 46717  // be included in the string output. The member name will be present, but the
 46718  // value will be replaced with "sensitive".
 46719  func (s VideoArtifactsConfiguration) GoString() string {
 46720  	return s.String()
 46721  }
 46722  
 46723  // Validate inspects the fields of the type to determine if they are valid.
 46724  func (s *VideoArtifactsConfiguration) Validate() error {
 46725  	invalidParams := request.ErrInvalidParams{Context: "VideoArtifactsConfiguration"}
 46726  	if s.State == nil {
 46727  		invalidParams.Add(request.NewErrParamRequired("State"))
 46728  	}
 46729  
 46730  	if invalidParams.Len() > 0 {
 46731  		return invalidParams
 46732  	}
 46733  	return nil
 46734  }
 46735  
 46736  // SetMuxType sets the MuxType field's value.
 46737  func (s *VideoArtifactsConfiguration) SetMuxType(v string) *VideoArtifactsConfiguration {
 46738  	s.MuxType = &v
 46739  	return s
 46740  }
 46741  
 46742  // SetState sets the State field's value.
 46743  func (s *VideoArtifactsConfiguration) SetState(v string) *VideoArtifactsConfiguration {
 46744  	s.State = &v
 46745  	return s
 46746  }
 46747  
 46748  // The Amazon Chime Voice Connector configuration, including outbound host name
 46749  // and encryption settings.
 46750  type VoiceConnector struct {
 46751  	_ struct{} `type:"structure"`
 46752  
 46753  	// The AWS Region in which the Amazon Chime Voice Connector is created. Default:
 46754  	// us-east-1.
 46755  	AwsRegion *string `type:"string" enum:"VoiceConnectorAwsRegion"`
 46756  
 46757  	// The Amazon Chime Voice Connector creation timestamp, in ISO 8601 format.
 46758  	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 46759  
 46760  	// The name of the Amazon Chime Voice Connector.
 46761  	Name *string `min:"1" type:"string"`
 46762  
 46763  	// The outbound host name for the Amazon Chime Voice Connector.
 46764  	OutboundHostName *string `type:"string"`
 46765  
 46766  	// Designates whether encryption is required for the Amazon Chime Voice Connector.
 46767  	RequireEncryption *bool `type:"boolean"`
 46768  
 46769  	// The updated Amazon Chime Voice Connector timestamp, in ISO 8601 format.
 46770  	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 46771  
 46772  	// The Amazon Chime Voice Connector ID.
 46773  	VoiceConnectorId *string `type:"string"`
 46774  }
 46775  
 46776  // String returns the string representation.
 46777  //
 46778  // API parameter values that are decorated as "sensitive" in the API will not
 46779  // be included in the string output. The member name will be present, but the
 46780  // value will be replaced with "sensitive".
 46781  func (s VoiceConnector) String() string {
 46782  	return awsutil.Prettify(s)
 46783  }
 46784  
 46785  // GoString returns the string representation.
 46786  //
 46787  // API parameter values that are decorated as "sensitive" in the API will not
 46788  // be included in the string output. The member name will be present, but the
 46789  // value will be replaced with "sensitive".
 46790  func (s VoiceConnector) GoString() string {
 46791  	return s.String()
 46792  }
 46793  
 46794  // SetAwsRegion sets the AwsRegion field's value.
 46795  func (s *VoiceConnector) SetAwsRegion(v string) *VoiceConnector {
 46796  	s.AwsRegion = &v
 46797  	return s
 46798  }
 46799  
 46800  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 46801  func (s *VoiceConnector) SetCreatedTimestamp(v time.Time) *VoiceConnector {
 46802  	s.CreatedTimestamp = &v
 46803  	return s
 46804  }
 46805  
 46806  // SetName sets the Name field's value.
 46807  func (s *VoiceConnector) SetName(v string) *VoiceConnector {
 46808  	s.Name = &v
 46809  	return s
 46810  }
 46811  
 46812  // SetOutboundHostName sets the OutboundHostName field's value.
 46813  func (s *VoiceConnector) SetOutboundHostName(v string) *VoiceConnector {
 46814  	s.OutboundHostName = &v
 46815  	return s
 46816  }
 46817  
 46818  // SetRequireEncryption sets the RequireEncryption field's value.
 46819  func (s *VoiceConnector) SetRequireEncryption(v bool) *VoiceConnector {
 46820  	s.RequireEncryption = &v
 46821  	return s
 46822  }
 46823  
 46824  // SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
 46825  func (s *VoiceConnector) SetUpdatedTimestamp(v time.Time) *VoiceConnector {
 46826  	s.UpdatedTimestamp = &v
 46827  	return s
 46828  }
 46829  
 46830  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 46831  func (s *VoiceConnector) SetVoiceConnectorId(v string) *VoiceConnector {
 46832  	s.VoiceConnectorId = &v
 46833  	return s
 46834  }
 46835  
 46836  // The Amazon Chime Voice Connector group configuration, including associated
 46837  // Amazon Chime Voice Connectors. You can include Amazon Chime Voice Connectors
 46838  // from different AWS Regions in your group. This creates a fault tolerant mechanism
 46839  // for fallback in case of availability events.
 46840  type VoiceConnectorGroup struct {
 46841  	_ struct{} `type:"structure"`
 46842  
 46843  	// The Amazon Chime Voice Connector group creation time stamp, in ISO 8601 format.
 46844  	CreatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 46845  
 46846  	// The name of the Amazon Chime Voice Connector group.
 46847  	Name *string `min:"1" type:"string"`
 46848  
 46849  	// The updated Amazon Chime Voice Connector group time stamp, in ISO 8601 format.
 46850  	UpdatedTimestamp *time.Time `type:"timestamp" timestampFormat:"iso8601"`
 46851  
 46852  	// The Amazon Chime Voice Connector group ID.
 46853  	VoiceConnectorGroupId *string `type:"string"`
 46854  
 46855  	// The Amazon Chime Voice Connectors to which to route inbound calls.
 46856  	VoiceConnectorItems []*VoiceConnectorItem `type:"list"`
 46857  }
 46858  
 46859  // String returns the string representation.
 46860  //
 46861  // API parameter values that are decorated as "sensitive" in the API will not
 46862  // be included in the string output. The member name will be present, but the
 46863  // value will be replaced with "sensitive".
 46864  func (s VoiceConnectorGroup) String() string {
 46865  	return awsutil.Prettify(s)
 46866  }
 46867  
 46868  // GoString returns the string representation.
 46869  //
 46870  // API parameter values that are decorated as "sensitive" in the API will not
 46871  // be included in the string output. The member name will be present, but the
 46872  // value will be replaced with "sensitive".
 46873  func (s VoiceConnectorGroup) GoString() string {
 46874  	return s.String()
 46875  }
 46876  
 46877  // SetCreatedTimestamp sets the CreatedTimestamp field's value.
 46878  func (s *VoiceConnectorGroup) SetCreatedTimestamp(v time.Time) *VoiceConnectorGroup {
 46879  	s.CreatedTimestamp = &v
 46880  	return s
 46881  }
 46882  
 46883  // SetName sets the Name field's value.
 46884  func (s *VoiceConnectorGroup) SetName(v string) *VoiceConnectorGroup {
 46885  	s.Name = &v
 46886  	return s
 46887  }
 46888  
 46889  // SetUpdatedTimestamp sets the UpdatedTimestamp field's value.
 46890  func (s *VoiceConnectorGroup) SetUpdatedTimestamp(v time.Time) *VoiceConnectorGroup {
 46891  	s.UpdatedTimestamp = &v
 46892  	return s
 46893  }
 46894  
 46895  // SetVoiceConnectorGroupId sets the VoiceConnectorGroupId field's value.
 46896  func (s *VoiceConnectorGroup) SetVoiceConnectorGroupId(v string) *VoiceConnectorGroup {
 46897  	s.VoiceConnectorGroupId = &v
 46898  	return s
 46899  }
 46900  
 46901  // SetVoiceConnectorItems sets the VoiceConnectorItems field's value.
 46902  func (s *VoiceConnectorGroup) SetVoiceConnectorItems(v []*VoiceConnectorItem) *VoiceConnectorGroup {
 46903  	s.VoiceConnectorItems = v
 46904  	return s
 46905  }
 46906  
 46907  // For Amazon Chime Voice Connector groups, the Amazon Chime Voice Connectors
 46908  // to which to route inbound calls. Includes priority configuration settings.
 46909  // Limit: 3 VoiceConnectorItems per Amazon Chime Voice Connector group.
 46910  type VoiceConnectorItem struct {
 46911  	_ struct{} `type:"structure"`
 46912  
 46913  	// The priority associated with the Amazon Chime Voice Connector, with 1 being
 46914  	// the highest priority. Higher priority Amazon Chime Voice Connectors are attempted
 46915  	// first.
 46916  	//
 46917  	// Priority is a required field
 46918  	Priority *int64 `min:"1" type:"integer" required:"true"`
 46919  
 46920  	// The Amazon Chime Voice Connector ID.
 46921  	//
 46922  	// VoiceConnectorId is a required field
 46923  	VoiceConnectorId *string `type:"string" required:"true"`
 46924  }
 46925  
 46926  // String returns the string representation.
 46927  //
 46928  // API parameter values that are decorated as "sensitive" in the API will not
 46929  // be included in the string output. The member name will be present, but the
 46930  // value will be replaced with "sensitive".
 46931  func (s VoiceConnectorItem) String() string {
 46932  	return awsutil.Prettify(s)
 46933  }
 46934  
 46935  // GoString returns the string representation.
 46936  //
 46937  // API parameter values that are decorated as "sensitive" in the API will not
 46938  // be included in the string output. The member name will be present, but the
 46939  // value will be replaced with "sensitive".
 46940  func (s VoiceConnectorItem) GoString() string {
 46941  	return s.String()
 46942  }
 46943  
 46944  // Validate inspects the fields of the type to determine if they are valid.
 46945  func (s *VoiceConnectorItem) Validate() error {
 46946  	invalidParams := request.ErrInvalidParams{Context: "VoiceConnectorItem"}
 46947  	if s.Priority == nil {
 46948  		invalidParams.Add(request.NewErrParamRequired("Priority"))
 46949  	}
 46950  	if s.Priority != nil && *s.Priority < 1 {
 46951  		invalidParams.Add(request.NewErrParamMinValue("Priority", 1))
 46952  	}
 46953  	if s.VoiceConnectorId == nil {
 46954  		invalidParams.Add(request.NewErrParamRequired("VoiceConnectorId"))
 46955  	}
 46956  
 46957  	if invalidParams.Len() > 0 {
 46958  		return invalidParams
 46959  	}
 46960  	return nil
 46961  }
 46962  
 46963  // SetPriority sets the Priority field's value.
 46964  func (s *VoiceConnectorItem) SetPriority(v int64) *VoiceConnectorItem {
 46965  	s.Priority = &v
 46966  	return s
 46967  }
 46968  
 46969  // SetVoiceConnectorId sets the VoiceConnectorId field's value.
 46970  func (s *VoiceConnectorItem) SetVoiceConnectorId(v string) *VoiceConnectorItem {
 46971  	s.VoiceConnectorId = &v
 46972  	return s
 46973  }
 46974  
 46975  // The Amazon Chime Voice Connector settings. Includes any Amazon S3 buckets
 46976  // designated for storing call detail records.
 46977  type VoiceConnectorSettings struct {
 46978  	_ struct{} `type:"structure"`
 46979  
 46980  	// The Amazon S3 bucket designated for call detail record storage.
 46981  	CdrBucket *string `type:"string"`
 46982  }
 46983  
 46984  // String returns the string representation.
 46985  //
 46986  // API parameter values that are decorated as "sensitive" in the API will not
 46987  // be included in the string output. The member name will be present, but the
 46988  // value will be replaced with "sensitive".
 46989  func (s VoiceConnectorSettings) String() string {
 46990  	return awsutil.Prettify(s)
 46991  }
 46992  
 46993  // GoString returns the string representation.
 46994  //
 46995  // API parameter values that are decorated as "sensitive" in the API will not
 46996  // be included in the string output. The member name will be present, but the
 46997  // value will be replaced with "sensitive".
 46998  func (s VoiceConnectorSettings) GoString() string {
 46999  	return s.String()
 47000  }
 47001  
 47002  // SetCdrBucket sets the CdrBucket field's value.
 47003  func (s *VoiceConnectorSettings) SetCdrBucket(v string) *VoiceConnectorSettings {
 47004  	s.CdrBucket = &v
 47005  	return s
 47006  }
 47007  
 47008  const (
 47009  	// AccountStatusSuspended is a AccountStatus enum value
 47010  	AccountStatusSuspended = "Suspended"
 47011  
 47012  	// AccountStatusActive is a AccountStatus enum value
 47013  	AccountStatusActive = "Active"
 47014  )
 47015  
 47016  // AccountStatus_Values returns all elements of the AccountStatus enum
 47017  func AccountStatus_Values() []string {
 47018  	return []string{
 47019  		AccountStatusSuspended,
 47020  		AccountStatusActive,
 47021  	}
 47022  }
 47023  
 47024  const (
 47025  	// AccountTypeTeam is a AccountType enum value
 47026  	AccountTypeTeam = "Team"
 47027  
 47028  	// AccountTypeEnterpriseDirectory is a AccountType enum value
 47029  	AccountTypeEnterpriseDirectory = "EnterpriseDirectory"
 47030  
 47031  	// AccountTypeEnterpriseLwa is a AccountType enum value
 47032  	AccountTypeEnterpriseLwa = "EnterpriseLWA"
 47033  
 47034  	// AccountTypeEnterpriseOidc is a AccountType enum value
 47035  	AccountTypeEnterpriseOidc = "EnterpriseOIDC"
 47036  )
 47037  
 47038  // AccountType_Values returns all elements of the AccountType enum
 47039  func AccountType_Values() []string {
 47040  	return []string{
 47041  		AccountTypeTeam,
 47042  		AccountTypeEnterpriseDirectory,
 47043  		AccountTypeEnterpriseLwa,
 47044  		AccountTypeEnterpriseOidc,
 47045  	}
 47046  }
 47047  
 47048  const (
 47049  	// AppInstanceDataTypeChannel is a AppInstanceDataType enum value
 47050  	AppInstanceDataTypeChannel = "Channel"
 47051  
 47052  	// AppInstanceDataTypeChannelMessage is a AppInstanceDataType enum value
 47053  	AppInstanceDataTypeChannelMessage = "ChannelMessage"
 47054  )
 47055  
 47056  // AppInstanceDataType_Values returns all elements of the AppInstanceDataType enum
 47057  func AppInstanceDataType_Values() []string {
 47058  	return []string{
 47059  		AppInstanceDataTypeChannel,
 47060  		AppInstanceDataTypeChannelMessage,
 47061  	}
 47062  }
 47063  
 47064  const (
 47065  	// ArtifactsStateEnabled is a ArtifactsState enum value
 47066  	ArtifactsStateEnabled = "Enabled"
 47067  
 47068  	// ArtifactsStateDisabled is a ArtifactsState enum value
 47069  	ArtifactsStateDisabled = "Disabled"
 47070  )
 47071  
 47072  // ArtifactsState_Values returns all elements of the ArtifactsState enum
 47073  func ArtifactsState_Values() []string {
 47074  	return []string{
 47075  		ArtifactsStateEnabled,
 47076  		ArtifactsStateDisabled,
 47077  	}
 47078  }
 47079  
 47080  const (
 47081  	// AudioMuxTypeAudioOnly is a AudioMuxType enum value
 47082  	AudioMuxTypeAudioOnly = "AudioOnly"
 47083  
 47084  	// AudioMuxTypeAudioWithActiveSpeakerVideo is a AudioMuxType enum value
 47085  	AudioMuxTypeAudioWithActiveSpeakerVideo = "AudioWithActiveSpeakerVideo"
 47086  )
 47087  
 47088  // AudioMuxType_Values returns all elements of the AudioMuxType enum
 47089  func AudioMuxType_Values() []string {
 47090  	return []string{
 47091  		AudioMuxTypeAudioOnly,
 47092  		AudioMuxTypeAudioWithActiveSpeakerVideo,
 47093  	}
 47094  }
 47095  
 47096  const (
 47097  	// BotTypeChatBot is a BotType enum value
 47098  	BotTypeChatBot = "ChatBot"
 47099  )
 47100  
 47101  // BotType_Values returns all elements of the BotType enum
 47102  func BotType_Values() []string {
 47103  	return []string{
 47104  		BotTypeChatBot,
 47105  	}
 47106  }
 47107  
 47108  const (
 47109  	// CallingNameStatusUnassigned is a CallingNameStatus enum value
 47110  	CallingNameStatusUnassigned = "Unassigned"
 47111  
 47112  	// CallingNameStatusUpdateInProgress is a CallingNameStatus enum value
 47113  	CallingNameStatusUpdateInProgress = "UpdateInProgress"
 47114  
 47115  	// CallingNameStatusUpdateSucceeded is a CallingNameStatus enum value
 47116  	CallingNameStatusUpdateSucceeded = "UpdateSucceeded"
 47117  
 47118  	// CallingNameStatusUpdateFailed is a CallingNameStatus enum value
 47119  	CallingNameStatusUpdateFailed = "UpdateFailed"
 47120  )
 47121  
 47122  // CallingNameStatus_Values returns all elements of the CallingNameStatus enum
 47123  func CallingNameStatus_Values() []string {
 47124  	return []string{
 47125  		CallingNameStatusUnassigned,
 47126  		CallingNameStatusUpdateInProgress,
 47127  		CallingNameStatusUpdateSucceeded,
 47128  		CallingNameStatusUpdateFailed,
 47129  	}
 47130  }
 47131  
 47132  const (
 47133  	// CapabilityVoice is a Capability enum value
 47134  	CapabilityVoice = "Voice"
 47135  
 47136  	// CapabilitySms is a Capability enum value
 47137  	CapabilitySms = "SMS"
 47138  )
 47139  
 47140  // Capability_Values returns all elements of the Capability enum
 47141  func Capability_Values() []string {
 47142  	return []string{
 47143  		CapabilityVoice,
 47144  		CapabilitySms,
 47145  	}
 47146  }
 47147  
 47148  const (
 47149  	// ChannelMembershipTypeDefault is a ChannelMembershipType enum value
 47150  	ChannelMembershipTypeDefault = "DEFAULT"
 47151  
 47152  	// ChannelMembershipTypeHidden is a ChannelMembershipType enum value
 47153  	ChannelMembershipTypeHidden = "HIDDEN"
 47154  )
 47155  
 47156  // ChannelMembershipType_Values returns all elements of the ChannelMembershipType enum
 47157  func ChannelMembershipType_Values() []string {
 47158  	return []string{
 47159  		ChannelMembershipTypeDefault,
 47160  		ChannelMembershipTypeHidden,
 47161  	}
 47162  }
 47163  
 47164  const (
 47165  	// ChannelMessagePersistenceTypePersistent is a ChannelMessagePersistenceType enum value
 47166  	ChannelMessagePersistenceTypePersistent = "PERSISTENT"
 47167  
 47168  	// ChannelMessagePersistenceTypeNonPersistent is a ChannelMessagePersistenceType enum value
 47169  	ChannelMessagePersistenceTypeNonPersistent = "NON_PERSISTENT"
 47170  )
 47171  
 47172  // ChannelMessagePersistenceType_Values returns all elements of the ChannelMessagePersistenceType enum
 47173  func ChannelMessagePersistenceType_Values() []string {
 47174  	return []string{
 47175  		ChannelMessagePersistenceTypePersistent,
 47176  		ChannelMessagePersistenceTypeNonPersistent,
 47177  	}
 47178  }
 47179  
 47180  const (
 47181  	// ChannelMessageTypeStandard is a ChannelMessageType enum value
 47182  	ChannelMessageTypeStandard = "STANDARD"
 47183  
 47184  	// ChannelMessageTypeControl is a ChannelMessageType enum value
 47185  	ChannelMessageTypeControl = "CONTROL"
 47186  )
 47187  
 47188  // ChannelMessageType_Values returns all elements of the ChannelMessageType enum
 47189  func ChannelMessageType_Values() []string {
 47190  	return []string{
 47191  		ChannelMessageTypeStandard,
 47192  		ChannelMessageTypeControl,
 47193  	}
 47194  }
 47195  
 47196  const (
 47197  	// ChannelModeUnrestricted is a ChannelMode enum value
 47198  	ChannelModeUnrestricted = "UNRESTRICTED"
 47199  
 47200  	// ChannelModeRestricted is a ChannelMode enum value
 47201  	ChannelModeRestricted = "RESTRICTED"
 47202  )
 47203  
 47204  // ChannelMode_Values returns all elements of the ChannelMode enum
 47205  func ChannelMode_Values() []string {
 47206  	return []string{
 47207  		ChannelModeUnrestricted,
 47208  		ChannelModeRestricted,
 47209  	}
 47210  }
 47211  
 47212  const (
 47213  	// ChannelPrivacyPublic is a ChannelPrivacy enum value
 47214  	ChannelPrivacyPublic = "PUBLIC"
 47215  
 47216  	// ChannelPrivacyPrivate is a ChannelPrivacy enum value
 47217  	ChannelPrivacyPrivate = "PRIVATE"
 47218  )
 47219  
 47220  // ChannelPrivacy_Values returns all elements of the ChannelPrivacy enum
 47221  func ChannelPrivacy_Values() []string {
 47222  	return []string{
 47223  		ChannelPrivacyPublic,
 47224  		ChannelPrivacyPrivate,
 47225  	}
 47226  }
 47227  
 47228  const (
 47229  	// ContentMuxTypeContentOnly is a ContentMuxType enum value
 47230  	ContentMuxTypeContentOnly = "ContentOnly"
 47231  )
 47232  
 47233  // ContentMuxType_Values returns all elements of the ContentMuxType enum
 47234  func ContentMuxType_Values() []string {
 47235  	return []string{
 47236  		ContentMuxTypeContentOnly,
 47237  	}
 47238  }
 47239  
 47240  const (
 47241  	// EmailStatusNotSent is a EmailStatus enum value
 47242  	EmailStatusNotSent = "NotSent"
 47243  
 47244  	// EmailStatusSent is a EmailStatus enum value
 47245  	EmailStatusSent = "Sent"
 47246  
 47247  	// EmailStatusFailed is a EmailStatus enum value
 47248  	EmailStatusFailed = "Failed"
 47249  )
 47250  
 47251  // EmailStatus_Values returns all elements of the EmailStatus enum
 47252  func EmailStatus_Values() []string {
 47253  	return []string{
 47254  		EmailStatusNotSent,
 47255  		EmailStatusSent,
 47256  		EmailStatusFailed,
 47257  	}
 47258  }
 47259  
 47260  const (
 47261  	// ErrorCodeBadRequest is a ErrorCode enum value
 47262  	ErrorCodeBadRequest = "BadRequest"
 47263  
 47264  	// ErrorCodeConflict is a ErrorCode enum value
 47265  	ErrorCodeConflict = "Conflict"
 47266  
 47267  	// ErrorCodeForbidden is a ErrorCode enum value
 47268  	ErrorCodeForbidden = "Forbidden"
 47269  
 47270  	// ErrorCodeNotFound is a ErrorCode enum value
 47271  	ErrorCodeNotFound = "NotFound"
 47272  
 47273  	// ErrorCodePreconditionFailed is a ErrorCode enum value
 47274  	ErrorCodePreconditionFailed = "PreconditionFailed"
 47275  
 47276  	// ErrorCodeResourceLimitExceeded is a ErrorCode enum value
 47277  	ErrorCodeResourceLimitExceeded = "ResourceLimitExceeded"
 47278  
 47279  	// ErrorCodeServiceFailure is a ErrorCode enum value
 47280  	ErrorCodeServiceFailure = "ServiceFailure"
 47281  
 47282  	// ErrorCodeAccessDenied is a ErrorCode enum value
 47283  	ErrorCodeAccessDenied = "AccessDenied"
 47284  
 47285  	// ErrorCodeServiceUnavailable is a ErrorCode enum value
 47286  	ErrorCodeServiceUnavailable = "ServiceUnavailable"
 47287  
 47288  	// ErrorCodeThrottled is a ErrorCode enum value
 47289  	ErrorCodeThrottled = "Throttled"
 47290  
 47291  	// ErrorCodeThrottling is a ErrorCode enum value
 47292  	ErrorCodeThrottling = "Throttling"
 47293  
 47294  	// ErrorCodeUnauthorized is a ErrorCode enum value
 47295  	ErrorCodeUnauthorized = "Unauthorized"
 47296  
 47297  	// ErrorCodeUnprocessable is a ErrorCode enum value
 47298  	ErrorCodeUnprocessable = "Unprocessable"
 47299  
 47300  	// ErrorCodeVoiceConnectorGroupAssociationsExist is a ErrorCode enum value
 47301  	ErrorCodeVoiceConnectorGroupAssociationsExist = "VoiceConnectorGroupAssociationsExist"
 47302  
 47303  	// ErrorCodePhoneNumberAssociationsExist is a ErrorCode enum value
 47304  	ErrorCodePhoneNumberAssociationsExist = "PhoneNumberAssociationsExist"
 47305  )
 47306  
 47307  // ErrorCode_Values returns all elements of the ErrorCode enum
 47308  func ErrorCode_Values() []string {
 47309  	return []string{
 47310  		ErrorCodeBadRequest,
 47311  		ErrorCodeConflict,
 47312  		ErrorCodeForbidden,
 47313  		ErrorCodeNotFound,
 47314  		ErrorCodePreconditionFailed,
 47315  		ErrorCodeResourceLimitExceeded,
 47316  		ErrorCodeServiceFailure,
 47317  		ErrorCodeAccessDenied,
 47318  		ErrorCodeServiceUnavailable,
 47319  		ErrorCodeThrottled,
 47320  		ErrorCodeThrottling,
 47321  		ErrorCodeUnauthorized,
 47322  		ErrorCodeUnprocessable,
 47323  		ErrorCodeVoiceConnectorGroupAssociationsExist,
 47324  		ErrorCodePhoneNumberAssociationsExist,
 47325  	}
 47326  }
 47327  
 47328  const (
 47329  	// GeoMatchLevelCountry is a GeoMatchLevel enum value
 47330  	GeoMatchLevelCountry = "Country"
 47331  
 47332  	// GeoMatchLevelAreaCode is a GeoMatchLevel enum value
 47333  	GeoMatchLevelAreaCode = "AreaCode"
 47334  )
 47335  
 47336  // GeoMatchLevel_Values returns all elements of the GeoMatchLevel enum
 47337  func GeoMatchLevel_Values() []string {
 47338  	return []string{
 47339  		GeoMatchLevelCountry,
 47340  		GeoMatchLevelAreaCode,
 47341  	}
 47342  }
 47343  
 47344  const (
 47345  	// InviteStatusPending is a InviteStatus enum value
 47346  	InviteStatusPending = "Pending"
 47347  
 47348  	// InviteStatusAccepted is a InviteStatus enum value
 47349  	InviteStatusAccepted = "Accepted"
 47350  
 47351  	// InviteStatusFailed is a InviteStatus enum value
 47352  	InviteStatusFailed = "Failed"
 47353  )
 47354  
 47355  // InviteStatus_Values returns all elements of the InviteStatus enum
 47356  func InviteStatus_Values() []string {
 47357  	return []string{
 47358  		InviteStatusPending,
 47359  		InviteStatusAccepted,
 47360  		InviteStatusFailed,
 47361  	}
 47362  }
 47363  
 47364  const (
 47365  	// LicenseBasic is a License enum value
 47366  	LicenseBasic = "Basic"
 47367  
 47368  	// LicensePlus is a License enum value
 47369  	LicensePlus = "Plus"
 47370  
 47371  	// LicensePro is a License enum value
 47372  	LicensePro = "Pro"
 47373  
 47374  	// LicenseProTrial is a License enum value
 47375  	LicenseProTrial = "ProTrial"
 47376  )
 47377  
 47378  // License_Values returns all elements of the License enum
 47379  func License_Values() []string {
 47380  	return []string{
 47381  		LicenseBasic,
 47382  		LicensePlus,
 47383  		LicensePro,
 47384  		LicenseProTrial,
 47385  	}
 47386  }
 47387  
 47388  const (
 47389  	// MediaPipelineSinkTypeS3bucket is a MediaPipelineSinkType enum value
 47390  	MediaPipelineSinkTypeS3bucket = "S3Bucket"
 47391  )
 47392  
 47393  // MediaPipelineSinkType_Values returns all elements of the MediaPipelineSinkType enum
 47394  func MediaPipelineSinkType_Values() []string {
 47395  	return []string{
 47396  		MediaPipelineSinkTypeS3bucket,
 47397  	}
 47398  }
 47399  
 47400  const (
 47401  	// MediaPipelineSourceTypeChimeSdkMeeting is a MediaPipelineSourceType enum value
 47402  	MediaPipelineSourceTypeChimeSdkMeeting = "ChimeSdkMeeting"
 47403  )
 47404  
 47405  // MediaPipelineSourceType_Values returns all elements of the MediaPipelineSourceType enum
 47406  func MediaPipelineSourceType_Values() []string {
 47407  	return []string{
 47408  		MediaPipelineSourceTypeChimeSdkMeeting,
 47409  	}
 47410  }
 47411  
 47412  const (
 47413  	// MediaPipelineStatusInitializing is a MediaPipelineStatus enum value
 47414  	MediaPipelineStatusInitializing = "Initializing"
 47415  
 47416  	// MediaPipelineStatusInProgress is a MediaPipelineStatus enum value
 47417  	MediaPipelineStatusInProgress = "InProgress"
 47418  
 47419  	// MediaPipelineStatusFailed is a MediaPipelineStatus enum value
 47420  	MediaPipelineStatusFailed = "Failed"
 47421  
 47422  	// MediaPipelineStatusStopping is a MediaPipelineStatus enum value
 47423  	MediaPipelineStatusStopping = "Stopping"
 47424  
 47425  	// MediaPipelineStatusStopped is a MediaPipelineStatus enum value
 47426  	MediaPipelineStatusStopped = "Stopped"
 47427  )
 47428  
 47429  // MediaPipelineStatus_Values returns all elements of the MediaPipelineStatus enum
 47430  func MediaPipelineStatus_Values() []string {
 47431  	return []string{
 47432  		MediaPipelineStatusInitializing,
 47433  		MediaPipelineStatusInProgress,
 47434  		MediaPipelineStatusFailed,
 47435  		MediaPipelineStatusStopping,
 47436  		MediaPipelineStatusStopped,
 47437  	}
 47438  }
 47439  
 47440  const (
 47441  	// MemberTypeUser is a MemberType enum value
 47442  	MemberTypeUser = "User"
 47443  
 47444  	// MemberTypeBot is a MemberType enum value
 47445  	MemberTypeBot = "Bot"
 47446  
 47447  	// MemberTypeWebhook is a MemberType enum value
 47448  	MemberTypeWebhook = "Webhook"
 47449  )
 47450  
 47451  // MemberType_Values returns all elements of the MemberType enum
 47452  func MemberType_Values() []string {
 47453  	return []string{
 47454  		MemberTypeUser,
 47455  		MemberTypeBot,
 47456  		MemberTypeWebhook,
 47457  	}
 47458  }
 47459  
 47460  const (
 47461  	// NotificationTargetEventBridge is a NotificationTarget enum value
 47462  	NotificationTargetEventBridge = "EventBridge"
 47463  
 47464  	// NotificationTargetSns is a NotificationTarget enum value
 47465  	NotificationTargetSns = "SNS"
 47466  
 47467  	// NotificationTargetSqs is a NotificationTarget enum value
 47468  	NotificationTargetSqs = "SQS"
 47469  )
 47470  
 47471  // NotificationTarget_Values returns all elements of the NotificationTarget enum
 47472  func NotificationTarget_Values() []string {
 47473  	return []string{
 47474  		NotificationTargetEventBridge,
 47475  		NotificationTargetSns,
 47476  		NotificationTargetSqs,
 47477  	}
 47478  }
 47479  
 47480  const (
 47481  	// NumberSelectionBehaviorPreferSticky is a NumberSelectionBehavior enum value
 47482  	NumberSelectionBehaviorPreferSticky = "PreferSticky"
 47483  
 47484  	// NumberSelectionBehaviorAvoidSticky is a NumberSelectionBehavior enum value
 47485  	NumberSelectionBehaviorAvoidSticky = "AvoidSticky"
 47486  )
 47487  
 47488  // NumberSelectionBehavior_Values returns all elements of the NumberSelectionBehavior enum
 47489  func NumberSelectionBehavior_Values() []string {
 47490  	return []string{
 47491  		NumberSelectionBehaviorPreferSticky,
 47492  		NumberSelectionBehaviorAvoidSticky,
 47493  	}
 47494  }
 47495  
 47496  const (
 47497  	// OrderedPhoneNumberStatusProcessing is a OrderedPhoneNumberStatus enum value
 47498  	OrderedPhoneNumberStatusProcessing = "Processing"
 47499  
 47500  	// OrderedPhoneNumberStatusAcquired is a OrderedPhoneNumberStatus enum value
 47501  	OrderedPhoneNumberStatusAcquired = "Acquired"
 47502  
 47503  	// OrderedPhoneNumberStatusFailed is a OrderedPhoneNumberStatus enum value
 47504  	OrderedPhoneNumberStatusFailed = "Failed"
 47505  )
 47506  
 47507  // OrderedPhoneNumberStatus_Values returns all elements of the OrderedPhoneNumberStatus enum
 47508  func OrderedPhoneNumberStatus_Values() []string {
 47509  	return []string{
 47510  		OrderedPhoneNumberStatusProcessing,
 47511  		OrderedPhoneNumberStatusAcquired,
 47512  		OrderedPhoneNumberStatusFailed,
 47513  	}
 47514  }
 47515  
 47516  const (
 47517  	// OriginationRouteProtocolTcp is a OriginationRouteProtocol enum value
 47518  	OriginationRouteProtocolTcp = "TCP"
 47519  
 47520  	// OriginationRouteProtocolUdp is a OriginationRouteProtocol enum value
 47521  	OriginationRouteProtocolUdp = "UDP"
 47522  )
 47523  
 47524  // OriginationRouteProtocol_Values returns all elements of the OriginationRouteProtocol enum
 47525  func OriginationRouteProtocol_Values() []string {
 47526  	return []string{
 47527  		OriginationRouteProtocolTcp,
 47528  		OriginationRouteProtocolUdp,
 47529  	}
 47530  }
 47531  
 47532  const (
 47533  	// PhoneNumberAssociationNameAccountId is a PhoneNumberAssociationName enum value
 47534  	PhoneNumberAssociationNameAccountId = "AccountId"
 47535  
 47536  	// PhoneNumberAssociationNameUserId is a PhoneNumberAssociationName enum value
 47537  	PhoneNumberAssociationNameUserId = "UserId"
 47538  
 47539  	// PhoneNumberAssociationNameVoiceConnectorId is a PhoneNumberAssociationName enum value
 47540  	PhoneNumberAssociationNameVoiceConnectorId = "VoiceConnectorId"
 47541  
 47542  	// PhoneNumberAssociationNameVoiceConnectorGroupId is a PhoneNumberAssociationName enum value
 47543  	PhoneNumberAssociationNameVoiceConnectorGroupId = "VoiceConnectorGroupId"
 47544  
 47545  	// PhoneNumberAssociationNameSipRuleId is a PhoneNumberAssociationName enum value
 47546  	PhoneNumberAssociationNameSipRuleId = "SipRuleId"
 47547  )
 47548  
 47549  // PhoneNumberAssociationName_Values returns all elements of the PhoneNumberAssociationName enum
 47550  func PhoneNumberAssociationName_Values() []string {
 47551  	return []string{
 47552  		PhoneNumberAssociationNameAccountId,
 47553  		PhoneNumberAssociationNameUserId,
 47554  		PhoneNumberAssociationNameVoiceConnectorId,
 47555  		PhoneNumberAssociationNameVoiceConnectorGroupId,
 47556  		PhoneNumberAssociationNameSipRuleId,
 47557  	}
 47558  }
 47559  
 47560  const (
 47561  	// PhoneNumberOrderStatusProcessing is a PhoneNumberOrderStatus enum value
 47562  	PhoneNumberOrderStatusProcessing = "Processing"
 47563  
 47564  	// PhoneNumberOrderStatusSuccessful is a PhoneNumberOrderStatus enum value
 47565  	PhoneNumberOrderStatusSuccessful = "Successful"
 47566  
 47567  	// PhoneNumberOrderStatusFailed is a PhoneNumberOrderStatus enum value
 47568  	PhoneNumberOrderStatusFailed = "Failed"
 47569  
 47570  	// PhoneNumberOrderStatusPartial is a PhoneNumberOrderStatus enum value
 47571  	PhoneNumberOrderStatusPartial = "Partial"
 47572  )
 47573  
 47574  // PhoneNumberOrderStatus_Values returns all elements of the PhoneNumberOrderStatus enum
 47575  func PhoneNumberOrderStatus_Values() []string {
 47576  	return []string{
 47577  		PhoneNumberOrderStatusProcessing,
 47578  		PhoneNumberOrderStatusSuccessful,
 47579  		PhoneNumberOrderStatusFailed,
 47580  		PhoneNumberOrderStatusPartial,
 47581  	}
 47582  }
 47583  
 47584  const (
 47585  	// PhoneNumberProductTypeBusinessCalling is a PhoneNumberProductType enum value
 47586  	PhoneNumberProductTypeBusinessCalling = "BusinessCalling"
 47587  
 47588  	// PhoneNumberProductTypeVoiceConnector is a PhoneNumberProductType enum value
 47589  	PhoneNumberProductTypeVoiceConnector = "VoiceConnector"
 47590  
 47591  	// PhoneNumberProductTypeSipMediaApplicationDialIn is a PhoneNumberProductType enum value
 47592  	PhoneNumberProductTypeSipMediaApplicationDialIn = "SipMediaApplicationDialIn"
 47593  )
 47594  
 47595  // PhoneNumberProductType_Values returns all elements of the PhoneNumberProductType enum
 47596  func PhoneNumberProductType_Values() []string {
 47597  	return []string{
 47598  		PhoneNumberProductTypeBusinessCalling,
 47599  		PhoneNumberProductTypeVoiceConnector,
 47600  		PhoneNumberProductTypeSipMediaApplicationDialIn,
 47601  	}
 47602  }
 47603  
 47604  const (
 47605  	// PhoneNumberStatusAcquireInProgress is a PhoneNumberStatus enum value
 47606  	PhoneNumberStatusAcquireInProgress = "AcquireInProgress"
 47607  
 47608  	// PhoneNumberStatusAcquireFailed is a PhoneNumberStatus enum value
 47609  	PhoneNumberStatusAcquireFailed = "AcquireFailed"
 47610  
 47611  	// PhoneNumberStatusUnassigned is a PhoneNumberStatus enum value
 47612  	PhoneNumberStatusUnassigned = "Unassigned"
 47613  
 47614  	// PhoneNumberStatusAssigned is a PhoneNumberStatus enum value
 47615  	PhoneNumberStatusAssigned = "Assigned"
 47616  
 47617  	// PhoneNumberStatusReleaseInProgress is a PhoneNumberStatus enum value
 47618  	PhoneNumberStatusReleaseInProgress = "ReleaseInProgress"
 47619  
 47620  	// PhoneNumberStatusDeleteInProgress is a PhoneNumberStatus enum value
 47621  	PhoneNumberStatusDeleteInProgress = "DeleteInProgress"
 47622  
 47623  	// PhoneNumberStatusReleaseFailed is a PhoneNumberStatus enum value
 47624  	PhoneNumberStatusReleaseFailed = "ReleaseFailed"
 47625  
 47626  	// PhoneNumberStatusDeleteFailed is a PhoneNumberStatus enum value
 47627  	PhoneNumberStatusDeleteFailed = "DeleteFailed"
 47628  )
 47629  
 47630  // PhoneNumberStatus_Values returns all elements of the PhoneNumberStatus enum
 47631  func PhoneNumberStatus_Values() []string {
 47632  	return []string{
 47633  		PhoneNumberStatusAcquireInProgress,
 47634  		PhoneNumberStatusAcquireFailed,
 47635  		PhoneNumberStatusUnassigned,
 47636  		PhoneNumberStatusAssigned,
 47637  		PhoneNumberStatusReleaseInProgress,
 47638  		PhoneNumberStatusDeleteInProgress,
 47639  		PhoneNumberStatusReleaseFailed,
 47640  		PhoneNumberStatusDeleteFailed,
 47641  	}
 47642  }
 47643  
 47644  const (
 47645  	// PhoneNumberTypeLocal is a PhoneNumberType enum value
 47646  	PhoneNumberTypeLocal = "Local"
 47647  
 47648  	// PhoneNumberTypeTollFree is a PhoneNumberType enum value
 47649  	PhoneNumberTypeTollFree = "TollFree"
 47650  )
 47651  
 47652  // PhoneNumberType_Values returns all elements of the PhoneNumberType enum
 47653  func PhoneNumberType_Values() []string {
 47654  	return []string{
 47655  		PhoneNumberTypeLocal,
 47656  		PhoneNumberTypeTollFree,
 47657  	}
 47658  }
 47659  
 47660  const (
 47661  	// ProxySessionStatusOpen is a ProxySessionStatus enum value
 47662  	ProxySessionStatusOpen = "Open"
 47663  
 47664  	// ProxySessionStatusInProgress is a ProxySessionStatus enum value
 47665  	ProxySessionStatusInProgress = "InProgress"
 47666  
 47667  	// ProxySessionStatusClosed is a ProxySessionStatus enum value
 47668  	ProxySessionStatusClosed = "Closed"
 47669  )
 47670  
 47671  // ProxySessionStatus_Values returns all elements of the ProxySessionStatus enum
 47672  func ProxySessionStatus_Values() []string {
 47673  	return []string{
 47674  		ProxySessionStatusOpen,
 47675  		ProxySessionStatusInProgress,
 47676  		ProxySessionStatusClosed,
 47677  	}
 47678  }
 47679  
 47680  const (
 47681  	// RegistrationStatusUnregistered is a RegistrationStatus enum value
 47682  	RegistrationStatusUnregistered = "Unregistered"
 47683  
 47684  	// RegistrationStatusRegistered is a RegistrationStatus enum value
 47685  	RegistrationStatusRegistered = "Registered"
 47686  
 47687  	// RegistrationStatusSuspended is a RegistrationStatus enum value
 47688  	RegistrationStatusSuspended = "Suspended"
 47689  )
 47690  
 47691  // RegistrationStatus_Values returns all elements of the RegistrationStatus enum
 47692  func RegistrationStatus_Values() []string {
 47693  	return []string{
 47694  		RegistrationStatusUnregistered,
 47695  		RegistrationStatusRegistered,
 47696  		RegistrationStatusSuspended,
 47697  	}
 47698  }
 47699  
 47700  const (
 47701  	// RoomMembershipRoleAdministrator is a RoomMembershipRole enum value
 47702  	RoomMembershipRoleAdministrator = "Administrator"
 47703  
 47704  	// RoomMembershipRoleMember is a RoomMembershipRole enum value
 47705  	RoomMembershipRoleMember = "Member"
 47706  )
 47707  
 47708  // RoomMembershipRole_Values returns all elements of the RoomMembershipRole enum
 47709  func RoomMembershipRole_Values() []string {
 47710  	return []string{
 47711  		RoomMembershipRoleAdministrator,
 47712  		RoomMembershipRoleMember,
 47713  	}
 47714  }
 47715  
 47716  const (
 47717  	// SipRuleTriggerTypeToPhoneNumber is a SipRuleTriggerType enum value
 47718  	SipRuleTriggerTypeToPhoneNumber = "ToPhoneNumber"
 47719  
 47720  	// SipRuleTriggerTypeRequestUriHostname is a SipRuleTriggerType enum value
 47721  	SipRuleTriggerTypeRequestUriHostname = "RequestUriHostname"
 47722  )
 47723  
 47724  // SipRuleTriggerType_Values returns all elements of the SipRuleTriggerType enum
 47725  func SipRuleTriggerType_Values() []string {
 47726  	return []string{
 47727  		SipRuleTriggerTypeToPhoneNumber,
 47728  		SipRuleTriggerTypeRequestUriHostname,
 47729  	}
 47730  }
 47731  
 47732  const (
 47733  	// SortOrderAscending is a SortOrder enum value
 47734  	SortOrderAscending = "ASCENDING"
 47735  
 47736  	// SortOrderDescending is a SortOrder enum value
 47737  	SortOrderDescending = "DESCENDING"
 47738  )
 47739  
 47740  // SortOrder_Values returns all elements of the SortOrder enum
 47741  func SortOrder_Values() []string {
 47742  	return []string{
 47743  		SortOrderAscending,
 47744  		SortOrderDescending,
 47745  	}
 47746  }
 47747  
 47748  const (
 47749  	// TranscribeLanguageCodeEnUs is a TranscribeLanguageCode enum value
 47750  	TranscribeLanguageCodeEnUs = "en-US"
 47751  
 47752  	// TranscribeLanguageCodeEnGb is a TranscribeLanguageCode enum value
 47753  	TranscribeLanguageCodeEnGb = "en-GB"
 47754  
 47755  	// TranscribeLanguageCodeEsUs is a TranscribeLanguageCode enum value
 47756  	TranscribeLanguageCodeEsUs = "es-US"
 47757  
 47758  	// TranscribeLanguageCodeFrCa is a TranscribeLanguageCode enum value
 47759  	TranscribeLanguageCodeFrCa = "fr-CA"
 47760  
 47761  	// TranscribeLanguageCodeFrFr is a TranscribeLanguageCode enum value
 47762  	TranscribeLanguageCodeFrFr = "fr-FR"
 47763  
 47764  	// TranscribeLanguageCodeEnAu is a TranscribeLanguageCode enum value
 47765  	TranscribeLanguageCodeEnAu = "en-AU"
 47766  
 47767  	// TranscribeLanguageCodeItIt is a TranscribeLanguageCode enum value
 47768  	TranscribeLanguageCodeItIt = "it-IT"
 47769  
 47770  	// TranscribeLanguageCodeDeDe is a TranscribeLanguageCode enum value
 47771  	TranscribeLanguageCodeDeDe = "de-DE"
 47772  
 47773  	// TranscribeLanguageCodePtBr is a TranscribeLanguageCode enum value
 47774  	TranscribeLanguageCodePtBr = "pt-BR"
 47775  
 47776  	// TranscribeLanguageCodeJaJp is a TranscribeLanguageCode enum value
 47777  	TranscribeLanguageCodeJaJp = "ja-JP"
 47778  
 47779  	// TranscribeLanguageCodeKoKr is a TranscribeLanguageCode enum value
 47780  	TranscribeLanguageCodeKoKr = "ko-KR"
 47781  
 47782  	// TranscribeLanguageCodeZhCn is a TranscribeLanguageCode enum value
 47783  	TranscribeLanguageCodeZhCn = "zh-CN"
 47784  )
 47785  
 47786  // TranscribeLanguageCode_Values returns all elements of the TranscribeLanguageCode enum
 47787  func TranscribeLanguageCode_Values() []string {
 47788  	return []string{
 47789  		TranscribeLanguageCodeEnUs,
 47790  		TranscribeLanguageCodeEnGb,
 47791  		TranscribeLanguageCodeEsUs,
 47792  		TranscribeLanguageCodeFrCa,
 47793  		TranscribeLanguageCodeFrFr,
 47794  		TranscribeLanguageCodeEnAu,
 47795  		TranscribeLanguageCodeItIt,
 47796  		TranscribeLanguageCodeDeDe,
 47797  		TranscribeLanguageCodePtBr,
 47798  		TranscribeLanguageCodeJaJp,
 47799  		TranscribeLanguageCodeKoKr,
 47800  		TranscribeLanguageCodeZhCn,
 47801  	}
 47802  }
 47803  
 47804  const (
 47805  	// TranscribeMedicalLanguageCodeEnUs is a TranscribeMedicalLanguageCode enum value
 47806  	TranscribeMedicalLanguageCodeEnUs = "en-US"
 47807  )
 47808  
 47809  // TranscribeMedicalLanguageCode_Values returns all elements of the TranscribeMedicalLanguageCode enum
 47810  func TranscribeMedicalLanguageCode_Values() []string {
 47811  	return []string{
 47812  		TranscribeMedicalLanguageCodeEnUs,
 47813  	}
 47814  }
 47815  
 47816  const (
 47817  	// TranscribeMedicalRegionUsEast1 is a TranscribeMedicalRegion enum value
 47818  	TranscribeMedicalRegionUsEast1 = "us-east-1"
 47819  
 47820  	// TranscribeMedicalRegionUsEast2 is a TranscribeMedicalRegion enum value
 47821  	TranscribeMedicalRegionUsEast2 = "us-east-2"
 47822  
 47823  	// TranscribeMedicalRegionUsWest2 is a TranscribeMedicalRegion enum value
 47824  	TranscribeMedicalRegionUsWest2 = "us-west-2"
 47825  
 47826  	// TranscribeMedicalRegionApSoutheast2 is a TranscribeMedicalRegion enum value
 47827  	TranscribeMedicalRegionApSoutheast2 = "ap-southeast-2"
 47828  
 47829  	// TranscribeMedicalRegionCaCentral1 is a TranscribeMedicalRegion enum value
 47830  	TranscribeMedicalRegionCaCentral1 = "ca-central-1"
 47831  
 47832  	// TranscribeMedicalRegionEuWest1 is a TranscribeMedicalRegion enum value
 47833  	TranscribeMedicalRegionEuWest1 = "eu-west-1"
 47834  
 47835  	// TranscribeMedicalRegionAuto is a TranscribeMedicalRegion enum value
 47836  	TranscribeMedicalRegionAuto = "auto"
 47837  )
 47838  
 47839  // TranscribeMedicalRegion_Values returns all elements of the TranscribeMedicalRegion enum
 47840  func TranscribeMedicalRegion_Values() []string {
 47841  	return []string{
 47842  		TranscribeMedicalRegionUsEast1,
 47843  		TranscribeMedicalRegionUsEast2,
 47844  		TranscribeMedicalRegionUsWest2,
 47845  		TranscribeMedicalRegionApSoutheast2,
 47846  		TranscribeMedicalRegionCaCentral1,
 47847  		TranscribeMedicalRegionEuWest1,
 47848  		TranscribeMedicalRegionAuto,
 47849  	}
 47850  }
 47851  
 47852  const (
 47853  	// TranscribeMedicalSpecialtyPrimarycare is a TranscribeMedicalSpecialty enum value
 47854  	TranscribeMedicalSpecialtyPrimarycare = "PRIMARYCARE"
 47855  
 47856  	// TranscribeMedicalSpecialtyCardiology is a TranscribeMedicalSpecialty enum value
 47857  	TranscribeMedicalSpecialtyCardiology = "CARDIOLOGY"
 47858  
 47859  	// TranscribeMedicalSpecialtyNeurology is a TranscribeMedicalSpecialty enum value
 47860  	TranscribeMedicalSpecialtyNeurology = "NEUROLOGY"
 47861  
 47862  	// TranscribeMedicalSpecialtyOncology is a TranscribeMedicalSpecialty enum value
 47863  	TranscribeMedicalSpecialtyOncology = "ONCOLOGY"
 47864  
 47865  	// TranscribeMedicalSpecialtyRadiology is a TranscribeMedicalSpecialty enum value
 47866  	TranscribeMedicalSpecialtyRadiology = "RADIOLOGY"
 47867  
 47868  	// TranscribeMedicalSpecialtyUrology is a TranscribeMedicalSpecialty enum value
 47869  	TranscribeMedicalSpecialtyUrology = "UROLOGY"
 47870  )
 47871  
 47872  // TranscribeMedicalSpecialty_Values returns all elements of the TranscribeMedicalSpecialty enum
 47873  func TranscribeMedicalSpecialty_Values() []string {
 47874  	return []string{
 47875  		TranscribeMedicalSpecialtyPrimarycare,
 47876  		TranscribeMedicalSpecialtyCardiology,
 47877  		TranscribeMedicalSpecialtyNeurology,
 47878  		TranscribeMedicalSpecialtyOncology,
 47879  		TranscribeMedicalSpecialtyRadiology,
 47880  		TranscribeMedicalSpecialtyUrology,
 47881  	}
 47882  }
 47883  
 47884  const (
 47885  	// TranscribeMedicalTypeConversation is a TranscribeMedicalType enum value
 47886  	TranscribeMedicalTypeConversation = "CONVERSATION"
 47887  
 47888  	// TranscribeMedicalTypeDictation is a TranscribeMedicalType enum value
 47889  	TranscribeMedicalTypeDictation = "DICTATION"
 47890  )
 47891  
 47892  // TranscribeMedicalType_Values returns all elements of the TranscribeMedicalType enum
 47893  func TranscribeMedicalType_Values() []string {
 47894  	return []string{
 47895  		TranscribeMedicalTypeConversation,
 47896  		TranscribeMedicalTypeDictation,
 47897  	}
 47898  }
 47899  
 47900  const (
 47901  	// TranscribeRegionUsEast2 is a TranscribeRegion enum value
 47902  	TranscribeRegionUsEast2 = "us-east-2"
 47903  
 47904  	// TranscribeRegionUsEast1 is a TranscribeRegion enum value
 47905  	TranscribeRegionUsEast1 = "us-east-1"
 47906  
 47907  	// TranscribeRegionUsWest2 is a TranscribeRegion enum value
 47908  	TranscribeRegionUsWest2 = "us-west-2"
 47909  
 47910  	// TranscribeRegionApNortheast2 is a TranscribeRegion enum value
 47911  	TranscribeRegionApNortheast2 = "ap-northeast-2"
 47912  
 47913  	// TranscribeRegionApSoutheast2 is a TranscribeRegion enum value
 47914  	TranscribeRegionApSoutheast2 = "ap-southeast-2"
 47915  
 47916  	// TranscribeRegionApNortheast1 is a TranscribeRegion enum value
 47917  	TranscribeRegionApNortheast1 = "ap-northeast-1"
 47918  
 47919  	// TranscribeRegionCaCentral1 is a TranscribeRegion enum value
 47920  	TranscribeRegionCaCentral1 = "ca-central-1"
 47921  
 47922  	// TranscribeRegionEuCentral1 is a TranscribeRegion enum value
 47923  	TranscribeRegionEuCentral1 = "eu-central-1"
 47924  
 47925  	// TranscribeRegionEuWest1 is a TranscribeRegion enum value
 47926  	TranscribeRegionEuWest1 = "eu-west-1"
 47927  
 47928  	// TranscribeRegionEuWest2 is a TranscribeRegion enum value
 47929  	TranscribeRegionEuWest2 = "eu-west-2"
 47930  
 47931  	// TranscribeRegionSaEast1 is a TranscribeRegion enum value
 47932  	TranscribeRegionSaEast1 = "sa-east-1"
 47933  
 47934  	// TranscribeRegionAuto is a TranscribeRegion enum value
 47935  	TranscribeRegionAuto = "auto"
 47936  )
 47937  
 47938  // TranscribeRegion_Values returns all elements of the TranscribeRegion enum
 47939  func TranscribeRegion_Values() []string {
 47940  	return []string{
 47941  		TranscribeRegionUsEast2,
 47942  		TranscribeRegionUsEast1,
 47943  		TranscribeRegionUsWest2,
 47944  		TranscribeRegionApNortheast2,
 47945  		TranscribeRegionApSoutheast2,
 47946  		TranscribeRegionApNortheast1,
 47947  		TranscribeRegionCaCentral1,
 47948  		TranscribeRegionEuCentral1,
 47949  		TranscribeRegionEuWest1,
 47950  		TranscribeRegionEuWest2,
 47951  		TranscribeRegionSaEast1,
 47952  		TranscribeRegionAuto,
 47953  	}
 47954  }
 47955  
 47956  const (
 47957  	// TranscribeVocabularyFilterMethodRemove is a TranscribeVocabularyFilterMethod enum value
 47958  	TranscribeVocabularyFilterMethodRemove = "remove"
 47959  
 47960  	// TranscribeVocabularyFilterMethodMask is a TranscribeVocabularyFilterMethod enum value
 47961  	TranscribeVocabularyFilterMethodMask = "mask"
 47962  
 47963  	// TranscribeVocabularyFilterMethodTag is a TranscribeVocabularyFilterMethod enum value
 47964  	TranscribeVocabularyFilterMethodTag = "tag"
 47965  )
 47966  
 47967  // TranscribeVocabularyFilterMethod_Values returns all elements of the TranscribeVocabularyFilterMethod enum
 47968  func TranscribeVocabularyFilterMethod_Values() []string {
 47969  	return []string{
 47970  		TranscribeVocabularyFilterMethodRemove,
 47971  		TranscribeVocabularyFilterMethodMask,
 47972  		TranscribeVocabularyFilterMethodTag,
 47973  	}
 47974  }
 47975  
 47976  const (
 47977  	// UserTypePrivateUser is a UserType enum value
 47978  	UserTypePrivateUser = "PrivateUser"
 47979  
 47980  	// UserTypeSharedDevice is a UserType enum value
 47981  	UserTypeSharedDevice = "SharedDevice"
 47982  )
 47983  
 47984  // UserType_Values returns all elements of the UserType enum
 47985  func UserType_Values() []string {
 47986  	return []string{
 47987  		UserTypePrivateUser,
 47988  		UserTypeSharedDevice,
 47989  	}
 47990  }
 47991  
 47992  const (
 47993  	// VideoMuxTypeVideoOnly is a VideoMuxType enum value
 47994  	VideoMuxTypeVideoOnly = "VideoOnly"
 47995  )
 47996  
 47997  // VideoMuxType_Values returns all elements of the VideoMuxType enum
 47998  func VideoMuxType_Values() []string {
 47999  	return []string{
 48000  		VideoMuxTypeVideoOnly,
 48001  	}
 48002  }
 48003  
 48004  const (
 48005  	// VoiceConnectorAwsRegionUsEast1 is a VoiceConnectorAwsRegion enum value
 48006  	VoiceConnectorAwsRegionUsEast1 = "us-east-1"
 48007  
 48008  	// VoiceConnectorAwsRegionUsWest2 is a VoiceConnectorAwsRegion enum value
 48009  	VoiceConnectorAwsRegionUsWest2 = "us-west-2"
 48010  )
 48011  
 48012  // VoiceConnectorAwsRegion_Values returns all elements of the VoiceConnectorAwsRegion enum
 48013  func VoiceConnectorAwsRegion_Values() []string {
 48014  	return []string{
 48015  		VoiceConnectorAwsRegionUsEast1,
 48016  		VoiceConnectorAwsRegionUsWest2,
 48017  	}
 48018  }