AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Chime

import "github.com/aws/aws-sdk-go/service/chime"

type Chime struct { *client.Client }

Chime provides the API operation methods for making requests to Amazon Chime. See this package's package overview docs for details on the service.

Chime methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

Client

Type: *client.Client

Method

BatchSuspendUser

func (c *Chime) BatchSuspendUser(input *BatchSuspendUserInput) (*BatchSuspendUserOutput, error)

BatchSuspendUser API operation for Amazon Chime.

Suspends up to 50 users from a Team or EnterpriseLWA Amazon Chime account. For more information about different account types, see Managing Your Amazon Chime Accounts (https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html) in the Amazon Chime Administration Guide.

Users suspended from a Team account are dissociated from the account, but they can continue to use Amazon Chime as free users. To remove the suspension from suspended Team account users, invite them to the Team account again. You can use the InviteUsers action to do so.

Users suspended from an EnterpriseLWA account are immediately signed out of Amazon Chime and are no longer able to sign in. To remove the suspension from suspended EnterpriseLWA account users, use the BatchUnsuspendUser action.

To sign out users without suspending them, use the LogoutUser action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Chime's API operation BatchSuspendUser for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedClientException "UnauthorizedClientException" The client is not currently authorized to make the request.

  • ErrCodeNotFoundException "NotFoundException" One or more of the resources in the request does not exist in the system.

  • ErrCodeForbiddenException "ForbiddenException" The client is permanently forbidden from making the request. For example, when a user tries to create an account from an unsupported region.

  • ErrCodeBadRequestException "BadRequestException" The input parameters don't match the service's restrictions.

  • ErrCodeThrottledClientException "ThrottledClientException" The client exceeded its request rate limit.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The service is currently unavailable.

  • ErrCodeServiceFailureException "ServiceFailureException" The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchSuspendUser

BatchSuspendUserRequest

func (c *Chime) BatchSuspendUserRequest(input *BatchSuspendUserInput) (req *request.Request, output *BatchSuspendUserOutput)

BatchSuspendUserRequest generates a "aws/request.Request" representing the client's request for the BatchSuspendUser operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchSuspendUser for more information on using the BatchSuspendUser API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchSuspendUserRequest method. req, resp := client.BatchSuspendUserRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchSuspendUser

BatchSuspendUserWithContext

func (c *Chime) BatchSuspendUserWithContext(ctx aws.Context, input *BatchSuspendUserInput, opts ...request.Option) (*BatchSuspendUserOutput, error)

BatchSuspendUserWithContext is the same as BatchSuspendUser with the addition of the ability to pass a context and additional request options.

See BatchSuspendUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

BatchUnsuspendUser

func (c *Chime) BatchUnsuspendUser(input *BatchUnsuspendUserInput) (*BatchUnsuspendUserOutput, error)

BatchUnsuspendUser API operation for Amazon Chime.

Removes the suspension from up to 50 previously suspended users for the specified Amazon Chime EnterpriseLWA account. Only users on EnterpriseLWA accounts can be unsuspended using this action. For more information about different account types, see Managing Your Amazon Chime Accounts (https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html) in the Amazon Chime Administration Guide.

Previously suspended users who are unsuspended using this action are returned to Registered status. Users who are not previously suspended are ignored.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Chime's API operation BatchUnsuspendUser for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedClientException "UnauthorizedClientException" The client is not currently authorized to make the request.

  • ErrCodeNotFoundException "NotFoundException" One or more of the resources in the request does not exist in the system.

  • ErrCodeForbiddenException "ForbiddenException" The client is permanently forbidden from making the request. For example, when a user tries to create an account from an unsupported region.

  • ErrCodeBadRequestException "BadRequestException" The input parameters don't match the service's restrictions.

  • ErrCodeThrottledClientException "ThrottledClientException" The client exceeded its request rate limit.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The service is currently unavailable.

  • ErrCodeServiceFailureException "ServiceFailureException" The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUnsuspendUser

BatchUnsuspendUserRequest

func (c *Chime) BatchUnsuspendUserRequest(input *BatchUnsuspendUserInput) (req *request.Request, output *BatchUnsuspendUserOutput)

BatchUnsuspendUserRequest generates a "aws/request.Request" representing the client's request for the BatchUnsuspendUser operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchUnsuspendUser for more information on using the BatchUnsuspendUser API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchUnsuspendUserRequest method. req, resp := client.BatchUnsuspendUserRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUnsuspendUser

BatchUnsuspendUserWithContext

func (c *Chime) BatchUnsuspendUserWithContext(ctx aws.Context, input *BatchUnsuspendUserInput, opts ...request.Option) (*BatchUnsuspendUserOutput, error)

BatchUnsuspendUserWithContext is the same as BatchUnsuspendUser with the addition of the ability to pass a context and additional request options.

See BatchUnsuspendUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

BatchUpdateUser

func (c *Chime) BatchUpdateUser(input *BatchUpdateUserInput) (*BatchUpdateUserOutput, error)

BatchUpdateUser API operation for Amazon Chime.

Updates user details within the UpdateUserRequestItem object for up to 20 users for the specified Amazon Chime account. Currently, only LicenseType updates are supported for this action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Chime's API operation BatchUpdateUser for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedClientException "UnauthorizedClientException" The client is not currently authorized to make the request.

  • ErrCodeNotFoundException "NotFoundException" One or more of the resources in the request does not exist in the system.

  • ErrCodeForbiddenException "ForbiddenException" The client is permanently forbidden from making the request. For example, when a user tries to create an account from an unsupported region.

  • ErrCodeBadRequestException "BadRequestException" The input parameters don't match the service's restrictions.

  • ErrCodeThrottledClientException "ThrottledClientException" The client exceeded its request rate limit.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The service is currently unavailable.

  • ErrCodeServiceFailureException "ServiceFailureException" The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdateUser

BatchUpdateUserRequest

func (c *Chime) BatchUpdateUserRequest(input *BatchUpdateUserInput) (req *request.Request, output *BatchUpdateUserOutput)

BatchUpdateUserRequest generates a "aws/request.Request" representing the client's request for the BatchUpdateUser operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchUpdateUser for more information on using the BatchUpdateUser API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchUpdateUserRequest method. req, resp := client.BatchUpdateUserRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdateUser

BatchUpdateUserWithContext

func (c *Chime) BatchUpdateUserWithContext(ctx aws.Context, input *BatchUpdateUserInput, opts ...request.Option) (*BatchUpdateUserOutput, error)

BatchUpdateUserWithContext is the same as BatchUpdateUser with the addition of the ability to pass a context and additional request options.

See BatchUpdateUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateAccount

func (c *Chime) CreateAccount(input *CreateAccountInput) (*CreateAccountOutput, error)

CreateAccount API operation for Amazon Chime.

Creates an Amazon Chime account under the administrator's AWS account. Only Team account types are currently supported for this action. For more information about different account types, see Managing Your Amazon Chime Accounts (https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html) in the Amazon Chime Administration Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Chime's API operation CreateAccount for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedClientException "UnauthorizedClientException" The client is not currently authorized to make the request.

  • ErrCodeNotFoundException "NotFoundException" One or more of the resources in the request does not exist in the system.

  • ErrCodeForbiddenException "ForbiddenException" The client is permanently forbidden from making the request. For example, when a user tries to create an account from an unsupported region.

  • ErrCodeBadRequestException "BadRequestException" The input parameters don't match the service's restrictions.

  • ErrCodeThrottledClientException "ThrottledClientException" The client exceeded its request rate limit.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The service is currently unavailable.

  • ErrCodeServiceFailureException "ServiceFailureException" The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAccount

CreateAccountRequest

func (c *Chime) CreateAccountRequest(input *CreateAccountInput) (req *request.Request, output *CreateAccountOutput)

CreateAccountRequest generates a "aws/request.Request" representing the client's request for the CreateAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateAccount for more information on using the CreateAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateAccountRequest method. req, resp := client.CreateAccountRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAccount

CreateAccountWithContext

func (c *Chime) CreateAccountWithContext(ctx aws.Context, input *CreateAccountInput, opts ...request.Option) (*CreateAccountOutput, error)

CreateAccountWithContext is the same as CreateAccount with the addition of the ability to pass a context and additional request options.

See CreateAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteAccount

func (c *Chime) DeleteAccount(input *DeleteAccountInput) (*DeleteAccountOutput, error)

DeleteAccount API operation for Amazon Chime.

Deletes the specified Amazon Chime account. You must suspend all users before deleting a Team account. You can use the BatchSuspendUser action to do so.

For EnterpriseLWA and EnterpriseAD accounts, you must release the claimed domains for your Amazon Chime account before deletion. As soon as you release the domain, all users under that account are suspended.

Deleted accounts appear in your Disabled accounts list for 90 days. To restore a deleted account from your Disabled accounts list, you must contact AWS Support.

After 90 days, deleted accounts are permanently removed from your Disabled accounts list.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Chime's API operation DeleteAccount for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedClientException "UnauthorizedClientException" The client is not currently authorized to make the request.

  • ErrCodeNotFoundException "NotFoundException" One or more of the resources in the request does not exist in the system.

  • ErrCodeForbiddenException "ForbiddenException" The client is permanently forbidden from making the request. For example, when a user tries to create an account from an unsupported region.

  • ErrCodeBadRequestException "BadRequestException" The input parameters don't match the service's restrictions.

  • ErrCodeThrottledClientException "ThrottledClientException" The client exceeded its request rate limit.

  • ErrCodeUnprocessableEntityException "UnprocessableEntityException" The request was well-formed but was unable to be followed due to semantic errors.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The service is currently unavailable.

  • ErrCodeServiceFailureException "ServiceFailureException" The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAccount

DeleteAccountRequest

func (c *Chime) DeleteAccountRequest(input *DeleteAccountInput) (req *request.Request, output *DeleteAccountOutput)

DeleteAccountRequest generates a "aws/request.Request" representing the client's request for the DeleteAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteAccount for more information on using the DeleteAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteAccountRequest method. req, resp := client.DeleteAccountRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAccount

DeleteAccountWithContext

func (c *Chime) DeleteAccountWithContext(ctx aws.Context, input *DeleteAccountInput, opts ...request.Option) (*DeleteAccountOutput, error)

DeleteAccountWithContext is the same as DeleteAccount with the addition of the ability to pass a context and additional request options.

See DeleteAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetAccount

func (c *Chime) GetAccount(input *GetAccountInput) (*GetAccountOutput, error)

GetAccount API operation for Amazon Chime.

Retrieves details for the specified Amazon Chime account, such as account type and supported licenses.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Chime's API operation GetAccount for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedClientException "UnauthorizedClientException" The client is not currently authorized to make the request.

  • ErrCodeNotFoundException "NotFoundException" One or more of the resources in the request does not exist in the system.

  • ErrCodeForbiddenException "ForbiddenException" The client is permanently forbidden from making the request. For example, when a user tries to create an account from an unsupported region.

  • ErrCodeBadRequestException "BadRequestException" The input parameters don't match the service's restrictions.

  • ErrCodeThrottledClientException "ThrottledClientException" The client exceeded its request rate limit.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The service is currently unavailable.

  • ErrCodeServiceFailureException "ServiceFailureException" The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAccount

GetAccountRequest

func (c *Chime) GetAccountRequest(input *GetAccountInput) (req *request.Request, output *GetAccountOutput)

GetAccountRequest generates a "aws/request.Request" representing the client's request for the GetAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAccount for more information on using the GetAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAccountRequest method. req, resp := client.GetAccountRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAccount

GetAccountSettings

func (c *Chime) GetAccountSettings(input *GetAccountSettingsInput) (*GetAccountSettingsOutput, error)

GetAccountSettings API operation for Amazon Chime.

Retrieves account settings for the specified Amazon Chime account ID, such as remote control and dial out settings. For more information about these settings, see Use the Policies Page (https://docs.aws.amazon.com/chime/latest/ag/policies.html) in the Amazon Chime Administration Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Chime's API operation GetAccountSettings for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedClientException "UnauthorizedClientException" The client is not currently authorized to make the request.

  • ErrCodeNotFoundException "NotFoundException" One or more of the resources in the request does not exist in the system.

  • ErrCodeBadRequestException "BadRequestException" The input parameters don't match the service's restrictions.

  • ErrCodeForbiddenException "ForbiddenException" The client is permanently forbidden from making the request. For example, when a user tries to create an account from an unsupported region.

  • ErrCodeThrottledClientException "ThrottledClientException" The client exceeded its request rate limit.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The service is currently unavailable.

  • ErrCodeServiceFailureException "ServiceFailureException" The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAccountSettings

GetAccountSettingsRequest

func (c *Chime) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req *request.Request, output *GetAccountSettingsOutput)

GetAccountSettingsRequest generates a "aws/request.Request" representing the client's request for the GetAccountSettings operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAccountSettings for more information on using the GetAccountSettings API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAccountSettingsRequest method. req, resp := client.GetAccountSettingsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAccountSettings

GetAccountSettingsWithContext

func (c *Chime) GetAccountSettingsWithContext(ctx aws.Context, input *GetAccountSettingsInput, opts ...request.Option) (*GetAccountSettingsOutput, error)

GetAccountSettingsWithContext is the same as GetAccountSettings with the addition of the ability to pass a context and additional request options.

See GetAccountSettings for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetAccountWithContext

func (c *Chime) GetAccountWithContext(ctx aws.Context, input *GetAccountInput, opts ...request.Option) (*GetAccountOutput, error)

GetAccountWithContext is the same as GetAccount with the addition of the ability to pass a context and additional request options.

See GetAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

GetUser

func (c *Chime) GetUser(input *GetUserInput) (*GetUserOutput, error)

GetUser API operation for Amazon Chime.

Retrieves details for the specified user ID, such as primary email address, license type, and personal meeting PIN.

To retrieve user details with an email address instead of a user ID, use the ListUsers action, and then filter by email address.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Chime's API operation GetUser for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedClientException "UnauthorizedClientException" The client is not currently authorized to make the request.

  • ErrCodeNotFoundException "NotFoundException" One or more of the resources in the request does not exist in the system.

  • ErrCodeForbiddenException "ForbiddenException" The client is permanently forbidden from making the request. For example, when a user tries to create an account from an unsupported region.

  • ErrCodeBadRequestException "BadRequestException" The input parameters don't match the service's restrictions.

  • ErrCodeThrottledClientException "ThrottledClientException" The client exceeded its request rate limit.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The service is currently unavailable.

  • ErrCodeServiceFailureException "ServiceFailureException" The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetUser

GetUserRequest

func (c *Chime) GetUserRequest(input *GetUserInput) (req *request.Request, output *GetUserOutput)

GetUserRequest generates a "aws/request.Request" representing the client's request for the GetUser operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetUser for more information on using the GetUser API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetUserRequest method. req, resp := client.GetUserRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetUser

GetUserWithContext

func (c *Chime) GetUserWithContext(ctx aws.Context, input *GetUserInput, opts ...request.Option) (*GetUserOutput, error)

GetUserWithContext is the same as GetUser with the addition of the ability to pass a context and additional request options.

See GetUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

InviteUsers

func (c *Chime) InviteUsers(input *InviteUsersInput) (*InviteUsersOutput, error)

InviteUsers API operation for Amazon Chime.

Sends email invites to as many as 50 users, inviting them to the specified Amazon Chime Team account. Only Team account types are currently supported for this action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Chime's API operation InviteUsers for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedClientException "UnauthorizedClientException" The client is not currently authorized to make the request.

  • ErrCodeNotFoundException "NotFoundException" One or more of the resources in the request does not exist in the system.

  • ErrCodeForbiddenException "ForbiddenException" The client is permanently forbidden from making the request. For example, when a user tries to create an account from an unsupported region.

  • ErrCodeBadRequestException "BadRequestException" The input parameters don't match the service's restrictions.

  • ErrCodeThrottledClientException "ThrottledClientException" The client exceeded its request rate limit.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The service is currently unavailable.

  • ErrCodeServiceFailureException "ServiceFailureException" The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/InviteUsers

InviteUsersRequest

func (c *Chime) InviteUsersRequest(input *InviteUsersInput) (req *request.Request, output *InviteUsersOutput)

InviteUsersRequest generates a "aws/request.Request" representing the client's request for the InviteUsers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See InviteUsers for more information on using the InviteUsers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the InviteUsersRequest method. req, resp := client.InviteUsersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/InviteUsers

InviteUsersWithContext

func (c *Chime) InviteUsersWithContext(ctx aws.Context, input *InviteUsersInput, opts ...request.Option) (*InviteUsersOutput, error)

InviteUsersWithContext is the same as InviteUsers with the addition of the ability to pass a context and additional request options.

See InviteUsers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListAccounts

func (c *Chime) ListAccounts(input *ListAccountsInput) (*ListAccountsOutput, error)

ListAccounts API operation for Amazon Chime.

Lists the Amazon Chime accounts under the administrator's AWS account. You can filter accounts by account name prefix. To find out which Amazon Chime account a user belongs to, you can filter by the user's email address, which returns one account result.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Chime's API operation ListAccounts for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedClientException "UnauthorizedClientException" The client is not currently authorized to make the request.

  • ErrCodeNotFoundException "NotFoundException" One or more of the resources in the request does not exist in the system.

  • ErrCodeForbiddenException "ForbiddenException" The client is permanently forbidden from making the request. For example, when a user tries to create an account from an unsupported region.

  • ErrCodeBadRequestException "BadRequestException" The input parameters don't match the service's restrictions.

  • ErrCodeThrottledClientException "ThrottledClientException" The client exceeded its request rate limit.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The service is currently unavailable.

  • ErrCodeServiceFailureException "ServiceFailureException" The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAccounts

ListAccountsPages

func (c *Chime) ListAccountsPages(input *ListAccountsInput, fn func(*ListAccountsOutput, bool) bool) error

ListAccountsPages iterates over the pages of a ListAccounts operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAccounts method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAccounts operation. pageNum := 0 err := client.ListAccountsPages(params, func(page *ListAccountsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListAccountsPagesWithContext

func (c *Chime) ListAccountsPagesWithContext(ctx aws.Context, input *ListAccountsInput, fn func(*ListAccountsOutput, bool) bool, opts ...request.Option) error

ListAccountsPagesWithContext same as ListAccountsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListAccountsRequest

func (c *Chime) ListAccountsRequest(input *ListAccountsInput) (req *request.Request, output *ListAccountsOutput)

ListAccountsRequest generates a "aws/request.Request" representing the client's request for the ListAccounts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAccounts for more information on using the ListAccounts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAccountsRequest method. req, resp := client.ListAccountsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAccounts

ListAccountsWithContext

func (c *Chime) ListAccountsWithContext(ctx aws.Context, input *ListAccountsInput, opts ...request.Option) (*ListAccountsOutput, error)

ListAccountsWithContext is the same as ListAccounts with the addition of the ability to pass a context and additional request options.

See ListAccounts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListUsers

func (c *Chime) ListUsers(input *ListUsersInput) (*ListUsersOutput, error)

ListUsers API operation for Amazon Chime.

Lists the users that belong to the specified Amazon Chime account. You can specify an email address to list only the user that the email address belongs to.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Chime's API operation ListUsers for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedClientException "UnauthorizedClientException" The client is not currently authorized to make the request.

  • ErrCodeNotFoundException "NotFoundException" One or more of the resources in the request does not exist in the system.

  • ErrCodeForbiddenException "ForbiddenException" The client is permanently forbidden from making the request. For example, when a user tries to create an account from an unsupported region.

  • ErrCodeBadRequestException "BadRequestException" The input parameters don't match the service's restrictions.

  • ErrCodeThrottledClientException "ThrottledClientException" The client exceeded its request rate limit.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The service is currently unavailable.

  • ErrCodeServiceFailureException "ServiceFailureException" The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListUsers

ListUsersPages

func (c *Chime) ListUsersPages(input *ListUsersInput, fn func(*ListUsersOutput, bool) bool) error

ListUsersPages iterates over the pages of a ListUsers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListUsers method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListUsers operation. pageNum := 0 err := client.ListUsersPages(params, func(page *ListUsersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

ListUsersPagesWithContext

func (c *Chime) ListUsersPagesWithContext(ctx aws.Context, input *ListUsersInput, fn func(*ListUsersOutput, bool) bool, opts ...request.Option) error

ListUsersPagesWithContext same as ListUsersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListUsersRequest

func (c *Chime) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput)

ListUsersRequest generates a "aws/request.Request" representing the client's request for the ListUsers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListUsers for more information on using the ListUsers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListUsersRequest method. req, resp := client.ListUsersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListUsers

ListUsersWithContext

func (c *Chime) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, opts ...request.Option) (*ListUsersOutput, error)

ListUsersWithContext is the same as ListUsers with the addition of the ability to pass a context and additional request options.

See ListUsers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

LogoutUser

func (c *Chime) LogoutUser(input *LogoutUserInput) (*LogoutUserOutput, error)

LogoutUser API operation for Amazon Chime.

Logs out the specified user from all of the devices they are currently logged into.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Chime's API operation LogoutUser for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedClientException "UnauthorizedClientException" The client is not currently authorized to make the request.

  • ErrCodeNotFoundException "NotFoundException" One or more of the resources in the request does not exist in the system.

  • ErrCodeForbiddenException "ForbiddenException" The client is permanently forbidden from making the request. For example, when a user tries to create an account from an unsupported region.

  • ErrCodeBadRequestException "BadRequestException" The input parameters don't match the service's restrictions.

  • ErrCodeThrottledClientException "ThrottledClientException" The client exceeded its request rate limit.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The service is currently unavailable.

  • ErrCodeServiceFailureException "ServiceFailureException" The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/LogoutUser

LogoutUserRequest

func (c *Chime) LogoutUserRequest(input *LogoutUserInput) (req *request.Request, output *LogoutUserOutput)

LogoutUserRequest generates a "aws/request.Request" representing the client's request for the LogoutUser operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See LogoutUser for more information on using the LogoutUser API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the LogoutUserRequest method. req, resp := client.LogoutUserRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/LogoutUser

LogoutUserWithContext

func (c *Chime) LogoutUserWithContext(ctx aws.Context, input *LogoutUserInput, opts ...request.Option) (*LogoutUserOutput, error)

LogoutUserWithContext is the same as LogoutUser with the addition of the ability to pass a context and additional request options.

See LogoutUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ResetPersonalPIN

func (c *Chime) ResetPersonalPIN(input *ResetPersonalPINInput) (*ResetPersonalPINOutput, error)

ResetPersonalPIN API operation for Amazon Chime.

Resets the personal meeting PIN for the specified user on an Amazon Chime account. Returns the User object with the updated personal meeting PIN.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Chime's API operation ResetPersonalPIN for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedClientException "UnauthorizedClientException" The client is not currently authorized to make the request.

  • ErrCodeNotFoundException "NotFoundException" One or more of the resources in the request does not exist in the system.

  • ErrCodeForbiddenException "ForbiddenException" The client is permanently forbidden from making the request. For example, when a user tries to create an account from an unsupported region.

  • ErrCodeBadRequestException "BadRequestException" The input parameters don't match the service's restrictions.

  • ErrCodeThrottledClientException "ThrottledClientException" The client exceeded its request rate limit.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The service is currently unavailable.

  • ErrCodeServiceFailureException "ServiceFailureException" The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ResetPersonalPIN

ResetPersonalPINRequest

func (c *Chime) ResetPersonalPINRequest(input *ResetPersonalPINInput) (req *request.Request, output *ResetPersonalPINOutput)

ResetPersonalPINRequest generates a "aws/request.Request" representing the client's request for the ResetPersonalPIN operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ResetPersonalPIN for more information on using the ResetPersonalPIN API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ResetPersonalPINRequest method. req, resp := client.ResetPersonalPINRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ResetPersonalPIN

ResetPersonalPINWithContext

func (c *Chime) ResetPersonalPINWithContext(ctx aws.Context, input *ResetPersonalPINInput, opts ...request.Option) (*ResetPersonalPINOutput, error)

ResetPersonalPINWithContext is the same as ResetPersonalPIN with the addition of the ability to pass a context and additional request options.

See ResetPersonalPIN for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateAccount

func (c *Chime) UpdateAccount(input *UpdateAccountInput) (*UpdateAccountOutput, error)

UpdateAccount API operation for Amazon Chime.

Updates account details for the specified Amazon Chime account. Currently, only account name updates are supported for this action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Chime's API operation UpdateAccount for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedClientException "UnauthorizedClientException" The client is not currently authorized to make the request.

  • ErrCodeNotFoundException "NotFoundException" One or more of the resources in the request does not exist in the system.

  • ErrCodeForbiddenException "ForbiddenException" The client is permanently forbidden from making the request. For example, when a user tries to create an account from an unsupported region.

  • ErrCodeBadRequestException "BadRequestException" The input parameters don't match the service's restrictions.

  • ErrCodeThrottledClientException "ThrottledClientException" The client exceeded its request rate limit.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The service is currently unavailable.

  • ErrCodeServiceFailureException "ServiceFailureException" The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAccount

UpdateAccountRequest

func (c *Chime) UpdateAccountRequest(input *UpdateAccountInput) (req *request.Request, output *UpdateAccountOutput)

UpdateAccountRequest generates a "aws/request.Request" representing the client's request for the UpdateAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateAccount for more information on using the UpdateAccount API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateAccountRequest method. req, resp := client.UpdateAccountRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAccount

UpdateAccountSettings

func (c *Chime) UpdateAccountSettings(input *UpdateAccountSettingsInput) (*UpdateAccountSettingsOutput, error)

UpdateAccountSettings API operation for Amazon Chime.

Updates the settings for the specified Amazon Chime account. You can update settings for remote control of shared screens, or for the dial-out option. For more information about these settings, see Use the Policies Page (https://docs.aws.amazon.com/chime/latest/ag/policies.html) in the Amazon Chime Administration Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Chime's API operation UpdateAccountSettings for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedClientException "UnauthorizedClientException" The client is not currently authorized to make the request.

  • ErrCodeNotFoundException "NotFoundException" One or more of the resources in the request does not exist in the system.

  • ErrCodeBadRequestException "BadRequestException" The input parameters don't match the service's restrictions.

  • ErrCodeForbiddenException "ForbiddenException" The client is permanently forbidden from making the request. For example, when a user tries to create an account from an unsupported region.

  • ErrCodeConflictException "ConflictException" The request could not be processed because of conflict in the current state of the resource.

  • ErrCodeThrottledClientException "ThrottledClientException" The client exceeded its request rate limit.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The service is currently unavailable.

  • ErrCodeServiceFailureException "ServiceFailureException" The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAccountSettings

UpdateAccountSettingsRequest

func (c *Chime) UpdateAccountSettingsRequest(input *UpdateAccountSettingsInput) (req *request.Request, output *UpdateAccountSettingsOutput)

UpdateAccountSettingsRequest generates a "aws/request.Request" representing the client's request for the UpdateAccountSettings operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateAccountSettings for more information on using the UpdateAccountSettings API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateAccountSettingsRequest method. req, resp := client.UpdateAccountSettingsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAccountSettings

UpdateAccountSettingsWithContext

func (c *Chime) UpdateAccountSettingsWithContext(ctx aws.Context, input *UpdateAccountSettingsInput, opts ...request.Option) (*UpdateAccountSettingsOutput, error)

UpdateAccountSettingsWithContext is the same as UpdateAccountSettings with the addition of the ability to pass a context and additional request options.

See UpdateAccountSettings for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateAccountWithContext

func (c *Chime) UpdateAccountWithContext(ctx aws.Context, input *UpdateAccountInput, opts ...request.Option) (*UpdateAccountOutput, error)

UpdateAccountWithContext is the same as UpdateAccount with the addition of the ability to pass a context and additional request options.

See UpdateAccount for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateUser

func (c *Chime) UpdateUser(input *UpdateUserInput) (*UpdateUserOutput, error)

UpdateUser API operation for Amazon Chime.

Updates user details for a specified user ID. Currently, only LicenseType updates are supported for this action.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Chime's API operation UpdateUser for usage and error information.

Returned Error Codes:

  • ErrCodeUnauthorizedClientException "UnauthorizedClientException" The client is not currently authorized to make the request.

  • ErrCodeNotFoundException "NotFoundException" One or more of the resources in the request does not exist in the system.

  • ErrCodeForbiddenException "ForbiddenException" The client is permanently forbidden from making the request. For example, when a user tries to create an account from an unsupported region.

  • ErrCodeBadRequestException "BadRequestException" The input parameters don't match the service's restrictions.

  • ErrCodeThrottledClientException "ThrottledClientException" The client exceeded its request rate limit.

  • ErrCodeServiceUnavailableException "ServiceUnavailableException" The service is currently unavailable.

  • ErrCodeServiceFailureException "ServiceFailureException" The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateUser

UpdateUserRequest

func (c *Chime) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, output *UpdateUserOutput)

UpdateUserRequest generates a "aws/request.Request" representing the client's request for the UpdateUser operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateUser for more information on using the UpdateUser API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateUserRequest method. req, resp := client.UpdateUserRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateUser

UpdateUserWithContext

func (c *Chime) UpdateUserWithContext(ctx aws.Context, input *UpdateUserInput, opts ...request.Option) (*UpdateUserOutput, error)

UpdateUserWithContext is the same as UpdateUser with the addition of the ability to pass a context and additional request options.

See UpdateUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

On this page: