chimesdkmessaging

package
v1.40.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2021 License: Apache-2.0 Imports: 10 Imported by: 11

Documentation

Overview

Package chimesdkmessaging provides the client and types for making API requests to Amazon Chime SDK Messaging.

The Amazon Chime SDK Messaging APIs in this section allow software developers to send and receive messages in custom messaging applications. These APIs depend on the frameworks provided by the Amazon Chime SDK Identity APIs. For more information about the messaging APIs, see .

See https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15 for more information on this service.

See chimesdkmessaging package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/chimesdkmessaging/

Using the Client

To contact Amazon Chime SDK Messaging with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Chime SDK Messaging client ChimeSDKMessaging for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/chimesdkmessaging/#New

Index

Constants

View Source
const (
	// ChannelMembershipTypeDefault is a ChannelMembershipType enum value
	ChannelMembershipTypeDefault = "DEFAULT"

	// ChannelMembershipTypeHidden is a ChannelMembershipType enum value
	ChannelMembershipTypeHidden = "HIDDEN"
)
View Source
const (
	// ChannelMessagePersistenceTypePersistent is a ChannelMessagePersistenceType enum value
	ChannelMessagePersistenceTypePersistent = "PERSISTENT"

	// ChannelMessagePersistenceTypeNonPersistent is a ChannelMessagePersistenceType enum value
	ChannelMessagePersistenceTypeNonPersistent = "NON_PERSISTENT"
)
View Source
const (
	// ChannelMessageTypeStandard is a ChannelMessageType enum value
	ChannelMessageTypeStandard = "STANDARD"

	// ChannelMessageTypeControl is a ChannelMessageType enum value
	ChannelMessageTypeControl = "CONTROL"
)
View Source
const (
	// ChannelModeUnrestricted is a ChannelMode enum value
	ChannelModeUnrestricted = "UNRESTRICTED"

	// ChannelModeRestricted is a ChannelMode enum value
	ChannelModeRestricted = "RESTRICTED"
)
View Source
const (
	// ChannelPrivacyPublic is a ChannelPrivacy enum value
	ChannelPrivacyPublic = "PUBLIC"

	// ChannelPrivacyPrivate is a ChannelPrivacy enum value
	ChannelPrivacyPrivate = "PRIVATE"
)
View Source
const (
	// ErrorCodeBadRequest is a ErrorCode enum value
	ErrorCodeBadRequest = "BadRequest"

	// ErrorCodeConflict is a ErrorCode enum value
	ErrorCodeConflict = "Conflict"

	// ErrorCodeForbidden is a ErrorCode enum value
	ErrorCodeForbidden = "Forbidden"

	// ErrorCodeNotFound is a ErrorCode enum value
	ErrorCodeNotFound = "NotFound"

	// ErrorCodePreconditionFailed is a ErrorCode enum value
	ErrorCodePreconditionFailed = "PreconditionFailed"

	// ErrorCodeResourceLimitExceeded is a ErrorCode enum value
	ErrorCodeResourceLimitExceeded = "ResourceLimitExceeded"

	// ErrorCodeServiceFailure is a ErrorCode enum value
	ErrorCodeServiceFailure = "ServiceFailure"

	// ErrorCodeAccessDenied is a ErrorCode enum value
	ErrorCodeAccessDenied = "AccessDenied"

	// ErrorCodeServiceUnavailable is a ErrorCode enum value
	ErrorCodeServiceUnavailable = "ServiceUnavailable"

	// ErrorCodeThrottled is a ErrorCode enum value
	ErrorCodeThrottled = "Throttled"

	// ErrorCodeThrottling is a ErrorCode enum value
	ErrorCodeThrottling = "Throttling"

	// ErrorCodeUnauthorized is a ErrorCode enum value
	ErrorCodeUnauthorized = "Unauthorized"

	// ErrorCodeUnprocessable is a ErrorCode enum value
	ErrorCodeUnprocessable = "Unprocessable"

	// ErrorCodeVoiceConnectorGroupAssociationsExist is a ErrorCode enum value
	ErrorCodeVoiceConnectorGroupAssociationsExist = "VoiceConnectorGroupAssociationsExist"

	// ErrorCodePhoneNumberAssociationsExist is a ErrorCode enum value
	ErrorCodePhoneNumberAssociationsExist = "PhoneNumberAssociationsExist"
)
View Source
const (
	// SortOrderAscending is a SortOrder enum value
	SortOrderAscending = "ASCENDING"

	// SortOrderDescending is a SortOrder enum value
	SortOrderDescending = "DESCENDING"
)
View Source
const (

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// The input parameters don't match the service's restrictions.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// The request could not be processed because of conflict in the current state
	// of the resource.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeForbiddenException for service response error code
	// "ForbiddenException".
	//
	// The client is permanently forbidden from making the request.
	ErrCodeForbiddenException = "ForbiddenException"

	// ErrCodeNotFoundException for service response error code
	// "NotFoundException".
	//
	// One or more of the resources in the request does not exist in the system.
	ErrCodeNotFoundException = "NotFoundException"

	// ErrCodeResourceLimitExceededException for service response error code
	// "ResourceLimitExceededException".
	//
	// The request exceeds the resource limit.
	ErrCodeResourceLimitExceededException = "ResourceLimitExceededException"

	// ErrCodeServiceFailureException for service response error code
	// "ServiceFailureException".
	//
	// The service encountered an unexpected error.
	ErrCodeServiceFailureException = "ServiceFailureException"

	// ErrCodeServiceUnavailableException for service response error code
	// "ServiceUnavailableException".
	//
	// The service is currently unavailable.
	ErrCodeServiceUnavailableException = "ServiceUnavailableException"

	// ErrCodeThrottledClientException for service response error code
	// "ThrottledClientException".
	//
	// The client exceeded its request rate limit.
	ErrCodeThrottledClientException = "ThrottledClientException"

	// ErrCodeUnauthorizedClientException for service response error code
	// "UnauthorizedClientException".
	//
	// The client is not currently authorized to make the request.
	ErrCodeUnauthorizedClientException = "UnauthorizedClientException"
)
View Source
const (
	ServiceName = "Chime SDK Messaging" // Name of service.
	EndpointsID = "messaging-chime"     // ID to lookup a service endpoint with.
	ServiceID   = "Chime SDK Messaging" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func ChannelMembershipType_Values

func ChannelMembershipType_Values() []string

ChannelMembershipType_Values returns all elements of the ChannelMembershipType enum

func ChannelMessagePersistenceType_Values

func ChannelMessagePersistenceType_Values() []string

ChannelMessagePersistenceType_Values returns all elements of the ChannelMessagePersistenceType enum

func ChannelMessageType_Values

func ChannelMessageType_Values() []string

ChannelMessageType_Values returns all elements of the ChannelMessageType enum

func ChannelMode_Values

func ChannelMode_Values() []string

ChannelMode_Values returns all elements of the ChannelMode enum

func ChannelPrivacy_Values

func ChannelPrivacy_Values() []string

ChannelPrivacy_Values returns all elements of the ChannelPrivacy enum

func ErrorCode_Values

func ErrorCode_Values() []string

ErrorCode_Values returns all elements of the ErrorCode enum

func SortOrder_Values

func SortOrder_Values() []string

SortOrder_Values returns all elements of the SortOrder enum

Types

type AppInstanceUserMembershipSummary

type AppInstanceUserMembershipSummary struct {

	// The time at which a message was last read.
	ReadMarkerTimestamp *time.Time `type:"timestamp"`

	// The type of ChannelMembership.
	Type *string `type:"string" enum:"ChannelMembershipType"`
	// contains filtered or unexported fields
}

Summary of the membership details of an AppInstanceUser.

func (AppInstanceUserMembershipSummary) GoString

GoString returns the string representation

func (*AppInstanceUserMembershipSummary) SetReadMarkerTimestamp

SetReadMarkerTimestamp sets the ReadMarkerTimestamp field's value.

func (*AppInstanceUserMembershipSummary) SetType

SetType sets the Type field's value.

func (AppInstanceUserMembershipSummary) String

String returns the string representation

type BadRequestException

type BadRequestException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The input parameters don't match the service's restrictions.

func (*BadRequestException) Code

func (s *BadRequestException) Code() string

Code returns the exception type name.

func (*BadRequestException) Error

func (s *BadRequestException) Error() string

func (BadRequestException) GoString

func (s BadRequestException) GoString() string

GoString returns the string representation

func (*BadRequestException) Message

func (s *BadRequestException) Message() string

Message returns the exception's message.

func (*BadRequestException) OrigErr

func (s *BadRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BadRequestException) RequestID

func (s *BadRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BadRequestException) StatusCode

func (s *BadRequestException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (BadRequestException) String

func (s BadRequestException) String() string

String returns the string representation

type BatchChannelMemberships

type BatchChannelMemberships struct {

	// The ARN of the channel to which you're adding users.
	ChannelArn *string `min:"5" type:"string"`

	// The identifier of the member who invited another member.
	InvitedBy *Identity `type:"structure"`

	// The users successfully added to the request.
	Members []*Identity `type:"list"`

	// The membership types set for the channel users.
	Type *string `type:"string" enum:"ChannelMembershipType"`
	// contains filtered or unexported fields
}

The membership information, including member ARNs, the channel ARN, and membership types.

func (BatchChannelMemberships) GoString

func (s BatchChannelMemberships) GoString() string

GoString returns the string representation

func (*BatchChannelMemberships) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*BatchChannelMemberships) SetInvitedBy

SetInvitedBy sets the InvitedBy field's value.

func (*BatchChannelMemberships) SetMembers

SetMembers sets the Members field's value.

func (*BatchChannelMemberships) SetType

SetType sets the Type field's value.

func (BatchChannelMemberships) String

func (s BatchChannelMemberships) String() string

String returns the string representation

type BatchCreateChannelMembershipError

type BatchCreateChannelMembershipError struct {

	// The error code.
	ErrorCode *string `type:"string" enum:"ErrorCode"`

	// The error message.
	ErrorMessage *string `type:"string"`

	// The ARN of the member that the service couldn't add.
	MemberArn *string `min:"5" type:"string"`
	// contains filtered or unexported fields
}

A list of failed member ARNs, error codes, and error messages.

func (BatchCreateChannelMembershipError) GoString

GoString returns the string representation

func (*BatchCreateChannelMembershipError) SetErrorCode

SetErrorCode sets the ErrorCode field's value.

func (*BatchCreateChannelMembershipError) SetErrorMessage

SetErrorMessage sets the ErrorMessage field's value.

func (*BatchCreateChannelMembershipError) SetMemberArn

SetMemberArn sets the MemberArn field's value.

func (BatchCreateChannelMembershipError) String

String returns the string representation

type BatchCreateChannelMembershipInput

type BatchCreateChannelMembershipInput struct {

	// The ARN of the channel to which you're adding users.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The ARNs of the members you want to add to the channel.
	//
	// MemberArns is a required field
	MemberArns []*string `min:"1" type:"list" required:"true"`

	// The membership type of a user, DEFAULT or HIDDEN. Default members are always
	// returned as part of ListChannelMemberships. Hidden members are only returned
	// if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden
	// members are not returned. This is only supported by moderators.
	Type *string `type:"string" enum:"ChannelMembershipType"`
	// contains filtered or unexported fields
}

func (BatchCreateChannelMembershipInput) GoString

GoString returns the string representation

func (*BatchCreateChannelMembershipInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*BatchCreateChannelMembershipInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (*BatchCreateChannelMembershipInput) SetMemberArns

SetMemberArns sets the MemberArns field's value.

func (*BatchCreateChannelMembershipInput) SetType

SetType sets the Type field's value.

func (BatchCreateChannelMembershipInput) String

String returns the string representation

func (*BatchCreateChannelMembershipInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type BatchCreateChannelMembershipOutput

type BatchCreateChannelMembershipOutput struct {

	// The list of channel memberships in the response.
	BatchChannelMemberships *BatchChannelMemberships `type:"structure"`

	// If the action fails for one or more of the memberships in the request, a
	// list of the memberships is returned, along with error codes and error messages.
	Errors []*BatchCreateChannelMembershipError `type:"list"`
	// contains filtered or unexported fields
}

func (BatchCreateChannelMembershipOutput) GoString

GoString returns the string representation

func (*BatchCreateChannelMembershipOutput) SetBatchChannelMemberships

SetBatchChannelMemberships sets the BatchChannelMemberships field's value.

func (*BatchCreateChannelMembershipOutput) SetErrors

SetErrors sets the Errors field's value.

func (BatchCreateChannelMembershipOutput) String

String returns the string representation

type Channel

type Channel struct {

	// The ARN of a channel.
	ChannelArn *string `min:"5" type:"string"`

	// The AppInstanceUser who created the channel.
	CreatedBy *Identity `type:"structure"`

	// The time at which the AppInstanceUser created the channel.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// The time at which a member sent the last message in the channel.
	LastMessageTimestamp *time.Time `type:"timestamp"`

	// The time at which a channel was last updated.
	LastUpdatedTimestamp *time.Time `type:"timestamp"`

	// The channel's metadata.
	Metadata *string `type:"string" sensitive:"true"`

	// The mode of the channel.
	Mode *string `type:"string" enum:"ChannelMode"`

	// The name of a channel.
	Name *string `min:"1" type:"string" sensitive:"true"`

	// The channel's privacy setting.
	Privacy *string `type:"string" enum:"ChannelPrivacy"`
	// contains filtered or unexported fields
}

The details of a channel.

func (Channel) GoString

func (s Channel) GoString() string

GoString returns the string representation

func (*Channel) SetChannelArn

func (s *Channel) SetChannelArn(v string) *Channel

SetChannelArn sets the ChannelArn field's value.

func (*Channel) SetCreatedBy

func (s *Channel) SetCreatedBy(v *Identity) *Channel

SetCreatedBy sets the CreatedBy field's value.

func (*Channel) SetCreatedTimestamp

func (s *Channel) SetCreatedTimestamp(v time.Time) *Channel

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*Channel) SetLastMessageTimestamp

func (s *Channel) SetLastMessageTimestamp(v time.Time) *Channel

SetLastMessageTimestamp sets the LastMessageTimestamp field's value.

func (*Channel) SetLastUpdatedTimestamp

func (s *Channel) SetLastUpdatedTimestamp(v time.Time) *Channel

SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.

func (*Channel) SetMetadata

func (s *Channel) SetMetadata(v string) *Channel

SetMetadata sets the Metadata field's value.

func (*Channel) SetMode

func (s *Channel) SetMode(v string) *Channel

SetMode sets the Mode field's value.

func (*Channel) SetName

func (s *Channel) SetName(v string) *Channel

SetName sets the Name field's value.

func (*Channel) SetPrivacy

func (s *Channel) SetPrivacy(v string) *Channel

SetPrivacy sets the Privacy field's value.

func (Channel) String

func (s Channel) String() string

String returns the string representation

type ChannelBan

type ChannelBan struct {

	// The ARN of the channel from which a member is being banned.
	ChannelArn *string `min:"5" type:"string"`

	// The AppInstanceUser who created the ban.
	CreatedBy *Identity `type:"structure"`

	// The time at which the ban was created.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// The member being banned from the channel.
	Member *Identity `type:"structure"`
	// contains filtered or unexported fields
}

The details of a channel ban.

func (ChannelBan) GoString

func (s ChannelBan) GoString() string

GoString returns the string representation

func (*ChannelBan) SetChannelArn

func (s *ChannelBan) SetChannelArn(v string) *ChannelBan

SetChannelArn sets the ChannelArn field's value.

func (*ChannelBan) SetCreatedBy

func (s *ChannelBan) SetCreatedBy(v *Identity) *ChannelBan

SetCreatedBy sets the CreatedBy field's value.

func (*ChannelBan) SetCreatedTimestamp

func (s *ChannelBan) SetCreatedTimestamp(v time.Time) *ChannelBan

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*ChannelBan) SetMember

func (s *ChannelBan) SetMember(v *Identity) *ChannelBan

SetMember sets the Member field's value.

func (ChannelBan) String

func (s ChannelBan) String() string

String returns the string representation

type ChannelBanSummary

type ChannelBanSummary struct {

	// The member being banned from a channel.
	Member *Identity `type:"structure"`
	// contains filtered or unexported fields
}

Summary of the details of a ChannelBan.

func (ChannelBanSummary) GoString

func (s ChannelBanSummary) GoString() string

GoString returns the string representation

func (*ChannelBanSummary) SetMember

func (s *ChannelBanSummary) SetMember(v *Identity) *ChannelBanSummary

SetMember sets the Member field's value.

func (ChannelBanSummary) String

func (s ChannelBanSummary) String() string

String returns the string representation

type ChannelMembership

type ChannelMembership struct {

	// The ARN of the member's channel.
	ChannelArn *string `min:"5" type:"string"`

	// The time at which the channel membership was created.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// The identifier of the member who invited another member.
	InvitedBy *Identity `type:"structure"`

	// The time at which a channel membership was last updated.
	LastUpdatedTimestamp *time.Time `type:"timestamp"`

	// The data of the channel member.
	Member *Identity `type:"structure"`

	// The membership type set for the channel member.
	Type *string `type:"string" enum:"ChannelMembershipType"`
	// contains filtered or unexported fields
}

The details of a channel member.

func (ChannelMembership) GoString

func (s ChannelMembership) GoString() string

GoString returns the string representation

func (*ChannelMembership) SetChannelArn

func (s *ChannelMembership) SetChannelArn(v string) *ChannelMembership

SetChannelArn sets the ChannelArn field's value.

func (*ChannelMembership) SetCreatedTimestamp

func (s *ChannelMembership) SetCreatedTimestamp(v time.Time) *ChannelMembership

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*ChannelMembership) SetInvitedBy

func (s *ChannelMembership) SetInvitedBy(v *Identity) *ChannelMembership

SetInvitedBy sets the InvitedBy field's value.

func (*ChannelMembership) SetLastUpdatedTimestamp

func (s *ChannelMembership) SetLastUpdatedTimestamp(v time.Time) *ChannelMembership

SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.

func (*ChannelMembership) SetMember

func (s *ChannelMembership) SetMember(v *Identity) *ChannelMembership

SetMember sets the Member field's value.

func (*ChannelMembership) SetType

SetType sets the Type field's value.

func (ChannelMembership) String

func (s ChannelMembership) String() string

String returns the string representation

type ChannelMembershipForAppInstanceUserSummary

type ChannelMembershipForAppInstanceUserSummary struct {

	// Returns the channel membership data for an AppInstance.
	AppInstanceUserMembershipSummary *AppInstanceUserMembershipSummary `type:"structure"`

	// Returns the channel data for an AppInstance.
	ChannelSummary *ChannelSummary `type:"structure"`
	// contains filtered or unexported fields
}

Summary of the channel membership details of an AppInstanceUser.

func (ChannelMembershipForAppInstanceUserSummary) GoString

GoString returns the string representation

func (*ChannelMembershipForAppInstanceUserSummary) SetAppInstanceUserMembershipSummary

SetAppInstanceUserMembershipSummary sets the AppInstanceUserMembershipSummary field's value.

func (*ChannelMembershipForAppInstanceUserSummary) SetChannelSummary

SetChannelSummary sets the ChannelSummary field's value.

func (ChannelMembershipForAppInstanceUserSummary) String

String returns the string representation

type ChannelMembershipSummary

type ChannelMembershipSummary struct {

	// A member's summary data.
	Member *Identity `type:"structure"`
	// contains filtered or unexported fields
}

Summary of the details of a ChannelMembership.

func (ChannelMembershipSummary) GoString

func (s ChannelMembershipSummary) GoString() string

GoString returns the string representation

func (*ChannelMembershipSummary) SetMember

SetMember sets the Member field's value.

func (ChannelMembershipSummary) String

func (s ChannelMembershipSummary) String() string

String returns the string representation

type ChannelMessage

type ChannelMessage struct {

	// The ARN of the channel.
	ChannelArn *string `min:"5" type:"string"`

	// The message content.
	Content *string `type:"string" sensitive:"true"`

	// The time at which the message was created.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// The time at which a message was edited.
	LastEditedTimestamp *time.Time `type:"timestamp"`

	// The time at which a message was updated.
	LastUpdatedTimestamp *time.Time `type:"timestamp"`

	// The ID of a message.
	MessageId *string `min:"1" type:"string"`

	// The message metadata.
	Metadata *string `type:"string" sensitive:"true"`

	// The persistence setting for a channel message.
	Persistence *string `type:"string" enum:"ChannelMessagePersistenceType"`

	// Hides the content of a message.
	Redacted *bool `type:"boolean"`

	// The message sender.
	Sender *Identity `type:"structure"`

	// The message type.
	Type *string `type:"string" enum:"ChannelMessageType"`
	// contains filtered or unexported fields
}

The details of a message in a channel.

func (ChannelMessage) GoString

func (s ChannelMessage) GoString() string

GoString returns the string representation

func (*ChannelMessage) SetChannelArn

func (s *ChannelMessage) SetChannelArn(v string) *ChannelMessage

SetChannelArn sets the ChannelArn field's value.

func (*ChannelMessage) SetContent

func (s *ChannelMessage) SetContent(v string) *ChannelMessage

SetContent sets the Content field's value.

func (*ChannelMessage) SetCreatedTimestamp

func (s *ChannelMessage) SetCreatedTimestamp(v time.Time) *ChannelMessage

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*ChannelMessage) SetLastEditedTimestamp

func (s *ChannelMessage) SetLastEditedTimestamp(v time.Time) *ChannelMessage

SetLastEditedTimestamp sets the LastEditedTimestamp field's value.

func (*ChannelMessage) SetLastUpdatedTimestamp

func (s *ChannelMessage) SetLastUpdatedTimestamp(v time.Time) *ChannelMessage

SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.

func (*ChannelMessage) SetMessageId

func (s *ChannelMessage) SetMessageId(v string) *ChannelMessage

SetMessageId sets the MessageId field's value.

func (*ChannelMessage) SetMetadata

func (s *ChannelMessage) SetMetadata(v string) *ChannelMessage

SetMetadata sets the Metadata field's value.

func (*ChannelMessage) SetPersistence

func (s *ChannelMessage) SetPersistence(v string) *ChannelMessage

SetPersistence sets the Persistence field's value.

func (*ChannelMessage) SetRedacted

func (s *ChannelMessage) SetRedacted(v bool) *ChannelMessage

SetRedacted sets the Redacted field's value.

func (*ChannelMessage) SetSender

func (s *ChannelMessage) SetSender(v *Identity) *ChannelMessage

SetSender sets the Sender field's value.

func (*ChannelMessage) SetType

func (s *ChannelMessage) SetType(v string) *ChannelMessage

SetType sets the Type field's value.

func (ChannelMessage) String

func (s ChannelMessage) String() string

String returns the string representation

type ChannelMessageSummary

type ChannelMessageSummary struct {

	// The content of the message.
	Content *string `type:"string" sensitive:"true"`

	// The time at which the message summary was created.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// The time at which a message was last edited.
	LastEditedTimestamp *time.Time `type:"timestamp"`

	// The time at which a message was last updated.
	LastUpdatedTimestamp *time.Time `type:"timestamp"`

	// The ID of the message.
	MessageId *string `min:"1" type:"string"`

	// The metadata of the message.
	Metadata *string `type:"string" sensitive:"true"`

	// Indicates whether a message was redacted.
	Redacted *bool `type:"boolean"`

	// The message sender.
	Sender *Identity `type:"structure"`

	// The type of message.
	Type *string `type:"string" enum:"ChannelMessageType"`
	// contains filtered or unexported fields
}

Summary of the messages in a Channel.

func (ChannelMessageSummary) GoString

func (s ChannelMessageSummary) GoString() string

GoString returns the string representation

func (*ChannelMessageSummary) SetContent

SetContent sets the Content field's value.

func (*ChannelMessageSummary) SetCreatedTimestamp

func (s *ChannelMessageSummary) SetCreatedTimestamp(v time.Time) *ChannelMessageSummary

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*ChannelMessageSummary) SetLastEditedTimestamp

func (s *ChannelMessageSummary) SetLastEditedTimestamp(v time.Time) *ChannelMessageSummary

SetLastEditedTimestamp sets the LastEditedTimestamp field's value.

func (*ChannelMessageSummary) SetLastUpdatedTimestamp

func (s *ChannelMessageSummary) SetLastUpdatedTimestamp(v time.Time) *ChannelMessageSummary

SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value.

func (*ChannelMessageSummary) SetMessageId

SetMessageId sets the MessageId field's value.

func (*ChannelMessageSummary) SetMetadata

SetMetadata sets the Metadata field's value.

func (*ChannelMessageSummary) SetRedacted

SetRedacted sets the Redacted field's value.

func (*ChannelMessageSummary) SetSender

SetSender sets the Sender field's value.

func (*ChannelMessageSummary) SetType

SetType sets the Type field's value.

func (ChannelMessageSummary) String

func (s ChannelMessageSummary) String() string

String returns the string representation

type ChannelModeratedByAppInstanceUserSummary

type ChannelModeratedByAppInstanceUserSummary struct {

	// Summary of the details of a Channel.
	ChannelSummary *ChannelSummary `type:"structure"`
	// contains filtered or unexported fields
}

Summary of the details of a moderated channel.

func (ChannelModeratedByAppInstanceUserSummary) GoString

GoString returns the string representation

func (*ChannelModeratedByAppInstanceUserSummary) SetChannelSummary

SetChannelSummary sets the ChannelSummary field's value.

func (ChannelModeratedByAppInstanceUserSummary) String

String returns the string representation

type ChannelModerator

type ChannelModerator struct {

	// The ARN of the moderator's channel.
	ChannelArn *string `min:"5" type:"string"`

	// The AppInstanceUser who created the moderator.
	CreatedBy *Identity `type:"structure"`

	// The time at which the moderator was created.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// The moderator's data.
	Moderator *Identity `type:"structure"`
	// contains filtered or unexported fields
}

The details of a channel moderator.

func (ChannelModerator) GoString

func (s ChannelModerator) GoString() string

GoString returns the string representation

func (*ChannelModerator) SetChannelArn

func (s *ChannelModerator) SetChannelArn(v string) *ChannelModerator

SetChannelArn sets the ChannelArn field's value.

func (*ChannelModerator) SetCreatedBy

func (s *ChannelModerator) SetCreatedBy(v *Identity) *ChannelModerator

SetCreatedBy sets the CreatedBy field's value.

func (*ChannelModerator) SetCreatedTimestamp

func (s *ChannelModerator) SetCreatedTimestamp(v time.Time) *ChannelModerator

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*ChannelModerator) SetModerator

func (s *ChannelModerator) SetModerator(v *Identity) *ChannelModerator

SetModerator sets the Moderator field's value.

func (ChannelModerator) String

func (s ChannelModerator) String() string

String returns the string representation

type ChannelModeratorSummary

type ChannelModeratorSummary struct {

	// The data for a moderator.
	Moderator *Identity `type:"structure"`
	// contains filtered or unexported fields
}

Summary of the details of a ChannelModerator.

func (ChannelModeratorSummary) GoString

func (s ChannelModeratorSummary) GoString() string

GoString returns the string representation

func (*ChannelModeratorSummary) SetModerator

SetModerator sets the Moderator field's value.

func (ChannelModeratorSummary) String

func (s ChannelModeratorSummary) String() string

String returns the string representation

type ChannelSummary

type ChannelSummary struct {

	// The ARN of the channel.
	ChannelArn *string `min:"5" type:"string"`

	// The time at which the last message in a channel was sent.
	LastMessageTimestamp *time.Time `type:"timestamp"`

	// The metadata of the channel.
	Metadata *string `type:"string" sensitive:"true"`

	// The mode of the channel.
	Mode *string `type:"string" enum:"ChannelMode"`

	// The name of the channel.
	Name *string `min:"1" type:"string" sensitive:"true"`

	// The privacy setting of the channel.
	Privacy *string `type:"string" enum:"ChannelPrivacy"`
	// contains filtered or unexported fields
}

Summary of the details of a Channel.

func (ChannelSummary) GoString

func (s ChannelSummary) GoString() string

GoString returns the string representation

func (*ChannelSummary) SetChannelArn

func (s *ChannelSummary) SetChannelArn(v string) *ChannelSummary

SetChannelArn sets the ChannelArn field's value.

func (*ChannelSummary) SetLastMessageTimestamp

func (s *ChannelSummary) SetLastMessageTimestamp(v time.Time) *ChannelSummary

SetLastMessageTimestamp sets the LastMessageTimestamp field's value.

func (*ChannelSummary) SetMetadata

func (s *ChannelSummary) SetMetadata(v string) *ChannelSummary

SetMetadata sets the Metadata field's value.

func (*ChannelSummary) SetMode

func (s *ChannelSummary) SetMode(v string) *ChannelSummary

SetMode sets the Mode field's value.

func (*ChannelSummary) SetName

func (s *ChannelSummary) SetName(v string) *ChannelSummary

SetName sets the Name field's value.

func (*ChannelSummary) SetPrivacy

func (s *ChannelSummary) SetPrivacy(v string) *ChannelSummary

SetPrivacy sets the Privacy field's value.

func (ChannelSummary) String

func (s ChannelSummary) String() string

String returns the string representation

type ChimeSDKMessaging

type ChimeSDKMessaging struct {
	*client.Client
}

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

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

func New

New creates a new instance of the ChimeSDKMessaging client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a ChimeSDKMessaging client from just a session.
svc := chimesdkmessaging.New(mySession)

// Create a ChimeSDKMessaging client with additional configuration
svc := chimesdkmessaging.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*ChimeSDKMessaging) BatchCreateChannelMembership

BatchCreateChannelMembership API operation for Amazon Chime SDK Messaging.

Adds a specified number of users to a channel.

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 SDK Messaging's API operation BatchCreateChannelMembership for usage and error information.

Returned Error Types:

  • ServiceFailureException The service encountered an unexpected error.

  • ServiceUnavailableException The service is currently unavailable.

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

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

  • ForbiddenException The client is permanently forbidden from making the request.

  • ThrottledClientException The client exceeded its request rate limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/BatchCreateChannelMembership

func (*ChimeSDKMessaging) BatchCreateChannelMembershipRequest

func (c *ChimeSDKMessaging) BatchCreateChannelMembershipRequest(input *BatchCreateChannelMembershipInput) (req *request.Request, output *BatchCreateChannelMembershipOutput)

BatchCreateChannelMembershipRequest generates a "aws/request.Request" representing the client's request for the BatchCreateChannelMembership 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 BatchCreateChannelMembership for more information on using the BatchCreateChannelMembership 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 BatchCreateChannelMembershipRequest method.
req, resp := client.BatchCreateChannelMembershipRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/BatchCreateChannelMembership

func (*ChimeSDKMessaging) BatchCreateChannelMembershipWithContext

func (c *ChimeSDKMessaging) BatchCreateChannelMembershipWithContext(ctx aws.Context, input *BatchCreateChannelMembershipInput, opts ...request.Option) (*BatchCreateChannelMembershipOutput, error)

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

See BatchCreateChannelMembership 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.

func (*ChimeSDKMessaging) CreateChannel

func (c *ChimeSDKMessaging) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error)

CreateChannel API operation for Amazon Chime SDK Messaging.

Creates a channel to which you can add users and send messages.

Restriction: You can't change a channel's privacy.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation CreateChannel for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

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

  • ResourceLimitExceededException The request exceeds the resource limit.

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannel

func (*ChimeSDKMessaging) CreateChannelBan

func (c *ChimeSDKMessaging) CreateChannelBan(input *CreateChannelBanInput) (*CreateChannelBanOutput, error)

CreateChannelBan API operation for Amazon Chime SDK Messaging.

Permanently bans a member from a channel. Moderators can't add banned members to a channel. To undo a ban, you first have to DeleteChannelBan, and then CreateChannelMembership. Bans are cleaned up when you delete users or channels.

If you ban a user who is already part of a channel, that user is automatically kicked from the channel.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation CreateChannelBan for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

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

  • ResourceLimitExceededException The request exceeds the resource limit.

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelBan

func (*ChimeSDKMessaging) CreateChannelBanRequest

func (c *ChimeSDKMessaging) CreateChannelBanRequest(input *CreateChannelBanInput) (req *request.Request, output *CreateChannelBanOutput)

CreateChannelBanRequest generates a "aws/request.Request" representing the client's request for the CreateChannelBan 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 CreateChannelBan for more information on using the CreateChannelBan 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 CreateChannelBanRequest method.
req, resp := client.CreateChannelBanRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelBan

func (*ChimeSDKMessaging) CreateChannelBanWithContext

func (c *ChimeSDKMessaging) CreateChannelBanWithContext(ctx aws.Context, input *CreateChannelBanInput, opts ...request.Option) (*CreateChannelBanOutput, error)

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

See CreateChannelBan 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.

func (*ChimeSDKMessaging) CreateChannelMembership

CreateChannelMembership API operation for Amazon Chime SDK Messaging.

Adds a user to a channel. The InvitedBy response field is derived from the request header. A channel member can:

  • List messages

  • Send messages

  • Receive messages

  • Edit their own messages

  • Leave the channel

Privacy settings impact this action as follows:

  • Public Channels: You do not need to be a member to list messages, but you must be a member to send messages.

  • Private Channels: You must be a member to list or send messages.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation CreateChannelMembership for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

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

  • ResourceLimitExceededException The request exceeds the resource limit.

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelMembership

func (*ChimeSDKMessaging) CreateChannelMembershipRequest

func (c *ChimeSDKMessaging) CreateChannelMembershipRequest(input *CreateChannelMembershipInput) (req *request.Request, output *CreateChannelMembershipOutput)

CreateChannelMembershipRequest generates a "aws/request.Request" representing the client's request for the CreateChannelMembership 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 CreateChannelMembership for more information on using the CreateChannelMembership 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 CreateChannelMembershipRequest method.
req, resp := client.CreateChannelMembershipRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelMembership

func (*ChimeSDKMessaging) CreateChannelMembershipWithContext

func (c *ChimeSDKMessaging) CreateChannelMembershipWithContext(ctx aws.Context, input *CreateChannelMembershipInput, opts ...request.Option) (*CreateChannelMembershipOutput, error)

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

See CreateChannelMembership 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.

func (*ChimeSDKMessaging) CreateChannelModerator

CreateChannelModerator API operation for Amazon Chime SDK Messaging.

Creates a new ChannelModerator. A channel moderator can:

  • Add and remove other members of the channel.

  • Add and remove other moderators of the channel.

  • Add and remove user bans for the channel.

  • Redact messages in the channel.

  • List messages in the channel.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation CreateChannelModerator for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

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

  • ResourceLimitExceededException The request exceeds the resource limit.

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelModerator

func (*ChimeSDKMessaging) CreateChannelModeratorRequest

func (c *ChimeSDKMessaging) CreateChannelModeratorRequest(input *CreateChannelModeratorInput) (req *request.Request, output *CreateChannelModeratorOutput)

CreateChannelModeratorRequest generates a "aws/request.Request" representing the client's request for the CreateChannelModerator 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 CreateChannelModerator for more information on using the CreateChannelModerator 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 CreateChannelModeratorRequest method.
req, resp := client.CreateChannelModeratorRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelModerator

func (*ChimeSDKMessaging) CreateChannelModeratorWithContext

func (c *ChimeSDKMessaging) CreateChannelModeratorWithContext(ctx aws.Context, input *CreateChannelModeratorInput, opts ...request.Option) (*CreateChannelModeratorOutput, error)

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

See CreateChannelModerator 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.

func (*ChimeSDKMessaging) CreateChannelRequest

func (c *ChimeSDKMessaging) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput)

CreateChannelRequest generates a "aws/request.Request" representing the client's request for the CreateChannel 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 CreateChannel for more information on using the CreateChannel 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 CreateChannelRequest method.
req, resp := client.CreateChannelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannel

func (*ChimeSDKMessaging) CreateChannelWithContext

func (c *ChimeSDKMessaging) CreateChannelWithContext(ctx aws.Context, input *CreateChannelInput, opts ...request.Option) (*CreateChannelOutput, error)

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

See CreateChannel 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.

func (*ChimeSDKMessaging) DeleteChannel

func (c *ChimeSDKMessaging) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error)

DeleteChannel API operation for Amazon Chime SDK Messaging.

Immediately makes a channel and its memberships inaccessible and marks them for deletion. This is an irreversible process.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation DeleteChannel for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannel

func (*ChimeSDKMessaging) DeleteChannelBan

func (c *ChimeSDKMessaging) DeleteChannelBan(input *DeleteChannelBanInput) (*DeleteChannelBanOutput, error)

DeleteChannelBan API operation for Amazon Chime SDK Messaging.

Removes a user from a channel's ban list.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation DeleteChannelBan for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBan

func (*ChimeSDKMessaging) DeleteChannelBanRequest

func (c *ChimeSDKMessaging) DeleteChannelBanRequest(input *DeleteChannelBanInput) (req *request.Request, output *DeleteChannelBanOutput)

DeleteChannelBanRequest generates a "aws/request.Request" representing the client's request for the DeleteChannelBan 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 DeleteChannelBan for more information on using the DeleteChannelBan 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 DeleteChannelBanRequest method.
req, resp := client.DeleteChannelBanRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBan

func (*ChimeSDKMessaging) DeleteChannelBanWithContext

func (c *ChimeSDKMessaging) DeleteChannelBanWithContext(ctx aws.Context, input *DeleteChannelBanInput, opts ...request.Option) (*DeleteChannelBanOutput, error)

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

See DeleteChannelBan 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.

func (*ChimeSDKMessaging) DeleteChannelMembership

DeleteChannelMembership API operation for Amazon Chime SDK Messaging.

Removes a member from a channel.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation DeleteChannelMembership for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMembership

func (*ChimeSDKMessaging) DeleteChannelMembershipRequest

func (c *ChimeSDKMessaging) DeleteChannelMembershipRequest(input *DeleteChannelMembershipInput) (req *request.Request, output *DeleteChannelMembershipOutput)

DeleteChannelMembershipRequest generates a "aws/request.Request" representing the client's request for the DeleteChannelMembership 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 DeleteChannelMembership for more information on using the DeleteChannelMembership 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 DeleteChannelMembershipRequest method.
req, resp := client.DeleteChannelMembershipRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMembership

func (*ChimeSDKMessaging) DeleteChannelMembershipWithContext

func (c *ChimeSDKMessaging) DeleteChannelMembershipWithContext(ctx aws.Context, input *DeleteChannelMembershipInput, opts ...request.Option) (*DeleteChannelMembershipOutput, error)

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

See DeleteChannelMembership 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.

func (*ChimeSDKMessaging) DeleteChannelMessage

DeleteChannelMessage API operation for Amazon Chime SDK Messaging.

Deletes a channel message. Only admins can perform this action. Deletion makes messages inaccessible immediately. A background process deletes any revisions created by UpdateChannelMessage.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation DeleteChannelMessage for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMessage

func (*ChimeSDKMessaging) DeleteChannelMessageRequest

func (c *ChimeSDKMessaging) DeleteChannelMessageRequest(input *DeleteChannelMessageInput) (req *request.Request, output *DeleteChannelMessageOutput)

DeleteChannelMessageRequest generates a "aws/request.Request" representing the client's request for the DeleteChannelMessage 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 DeleteChannelMessage for more information on using the DeleteChannelMessage 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 DeleteChannelMessageRequest method.
req, resp := client.DeleteChannelMessageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMessage

func (*ChimeSDKMessaging) DeleteChannelMessageWithContext

func (c *ChimeSDKMessaging) DeleteChannelMessageWithContext(ctx aws.Context, input *DeleteChannelMessageInput, opts ...request.Option) (*DeleteChannelMessageOutput, error)

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

See DeleteChannelMessage 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.

func (*ChimeSDKMessaging) DeleteChannelModerator

DeleteChannelModerator API operation for Amazon Chime SDK Messaging.

Deletes a channel moderator.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation DeleteChannelModerator for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelModerator

func (*ChimeSDKMessaging) DeleteChannelModeratorRequest

func (c *ChimeSDKMessaging) DeleteChannelModeratorRequest(input *DeleteChannelModeratorInput) (req *request.Request, output *DeleteChannelModeratorOutput)

DeleteChannelModeratorRequest generates a "aws/request.Request" representing the client's request for the DeleteChannelModerator 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 DeleteChannelModerator for more information on using the DeleteChannelModerator 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 DeleteChannelModeratorRequest method.
req, resp := client.DeleteChannelModeratorRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelModerator

func (*ChimeSDKMessaging) DeleteChannelModeratorWithContext

func (c *ChimeSDKMessaging) DeleteChannelModeratorWithContext(ctx aws.Context, input *DeleteChannelModeratorInput, opts ...request.Option) (*DeleteChannelModeratorOutput, error)

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

See DeleteChannelModerator 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.

func (*ChimeSDKMessaging) DeleteChannelRequest

func (c *ChimeSDKMessaging) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput)

DeleteChannelRequest generates a "aws/request.Request" representing the client's request for the DeleteChannel 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 DeleteChannel for more information on using the DeleteChannel 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 DeleteChannelRequest method.
req, resp := client.DeleteChannelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannel

func (*ChimeSDKMessaging) DeleteChannelWithContext

func (c *ChimeSDKMessaging) DeleteChannelWithContext(ctx aws.Context, input *DeleteChannelInput, opts ...request.Option) (*DeleteChannelOutput, error)

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

See DeleteChannel 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.

func (*ChimeSDKMessaging) DescribeChannel

func (c *ChimeSDKMessaging) DescribeChannel(input *DescribeChannelInput) (*DescribeChannelOutput, error)

DescribeChannel API operation for Amazon Chime SDK Messaging.

Returns the full details of a channel in an Amazon Chime AppInstance.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation DescribeChannel for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannel

func (*ChimeSDKMessaging) DescribeChannelBan

func (c *ChimeSDKMessaging) DescribeChannelBan(input *DescribeChannelBanInput) (*DescribeChannelBanOutput, error)

DescribeChannelBan API operation for Amazon Chime SDK Messaging.

Returns the full details of a channel ban.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation DescribeChannelBan for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelBan

func (*ChimeSDKMessaging) DescribeChannelBanRequest

func (c *ChimeSDKMessaging) DescribeChannelBanRequest(input *DescribeChannelBanInput) (req *request.Request, output *DescribeChannelBanOutput)

DescribeChannelBanRequest generates a "aws/request.Request" representing the client's request for the DescribeChannelBan 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 DescribeChannelBan for more information on using the DescribeChannelBan 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 DescribeChannelBanRequest method.
req, resp := client.DescribeChannelBanRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelBan

func (*ChimeSDKMessaging) DescribeChannelBanWithContext

func (c *ChimeSDKMessaging) DescribeChannelBanWithContext(ctx aws.Context, input *DescribeChannelBanInput, opts ...request.Option) (*DescribeChannelBanOutput, error)

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

See DescribeChannelBan 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.

func (*ChimeSDKMessaging) DescribeChannelMembership

DescribeChannelMembership API operation for Amazon Chime SDK Messaging.

Returns the full details of a user's channel membership.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation DescribeChannelMembership for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembership

func (*ChimeSDKMessaging) DescribeChannelMembershipForAppInstanceUser

DescribeChannelMembershipForAppInstanceUser API operation for Amazon Chime SDK Messaging.

Returns the details of a channel based on the membership of the specified AppInstanceUser.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation DescribeChannelMembershipForAppInstanceUser for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembershipForAppInstanceUser

func (*ChimeSDKMessaging) DescribeChannelMembershipForAppInstanceUserRequest

func (c *ChimeSDKMessaging) DescribeChannelMembershipForAppInstanceUserRequest(input *DescribeChannelMembershipForAppInstanceUserInput) (req *request.Request, output *DescribeChannelMembershipForAppInstanceUserOutput)

DescribeChannelMembershipForAppInstanceUserRequest generates a "aws/request.Request" representing the client's request for the DescribeChannelMembershipForAppInstanceUser 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 DescribeChannelMembershipForAppInstanceUser for more information on using the DescribeChannelMembershipForAppInstanceUser 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 DescribeChannelMembershipForAppInstanceUserRequest method.
req, resp := client.DescribeChannelMembershipForAppInstanceUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembershipForAppInstanceUser

func (*ChimeSDKMessaging) DescribeChannelMembershipForAppInstanceUserWithContext

func (c *ChimeSDKMessaging) DescribeChannelMembershipForAppInstanceUserWithContext(ctx aws.Context, input *DescribeChannelMembershipForAppInstanceUserInput, opts ...request.Option) (*DescribeChannelMembershipForAppInstanceUserOutput, error)

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

See DescribeChannelMembershipForAppInstanceUser 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.

func (*ChimeSDKMessaging) DescribeChannelMembershipRequest

func (c *ChimeSDKMessaging) DescribeChannelMembershipRequest(input *DescribeChannelMembershipInput) (req *request.Request, output *DescribeChannelMembershipOutput)

DescribeChannelMembershipRequest generates a "aws/request.Request" representing the client's request for the DescribeChannelMembership 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 DescribeChannelMembership for more information on using the DescribeChannelMembership 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 DescribeChannelMembershipRequest method.
req, resp := client.DescribeChannelMembershipRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembership

func (*ChimeSDKMessaging) DescribeChannelMembershipWithContext

func (c *ChimeSDKMessaging) DescribeChannelMembershipWithContext(ctx aws.Context, input *DescribeChannelMembershipInput, opts ...request.Option) (*DescribeChannelMembershipOutput, error)

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

See DescribeChannelMembership 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.

func (*ChimeSDKMessaging) DescribeChannelModeratedByAppInstanceUser

DescribeChannelModeratedByAppInstanceUser API operation for Amazon Chime SDK Messaging.

Returns the full details of a channel moderated by the specified AppInstanceUser.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation DescribeChannelModeratedByAppInstanceUser for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratedByAppInstanceUser

func (*ChimeSDKMessaging) DescribeChannelModeratedByAppInstanceUserRequest

func (c *ChimeSDKMessaging) DescribeChannelModeratedByAppInstanceUserRequest(input *DescribeChannelModeratedByAppInstanceUserInput) (req *request.Request, output *DescribeChannelModeratedByAppInstanceUserOutput)

DescribeChannelModeratedByAppInstanceUserRequest generates a "aws/request.Request" representing the client's request for the DescribeChannelModeratedByAppInstanceUser 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 DescribeChannelModeratedByAppInstanceUser for more information on using the DescribeChannelModeratedByAppInstanceUser 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 DescribeChannelModeratedByAppInstanceUserRequest method.
req, resp := client.DescribeChannelModeratedByAppInstanceUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratedByAppInstanceUser

func (*ChimeSDKMessaging) DescribeChannelModeratedByAppInstanceUserWithContext

func (c *ChimeSDKMessaging) DescribeChannelModeratedByAppInstanceUserWithContext(ctx aws.Context, input *DescribeChannelModeratedByAppInstanceUserInput, opts ...request.Option) (*DescribeChannelModeratedByAppInstanceUserOutput, error)

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

See DescribeChannelModeratedByAppInstanceUser 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.

func (*ChimeSDKMessaging) DescribeChannelModerator

DescribeChannelModerator API operation for Amazon Chime SDK Messaging.

Returns the full details of a single ChannelModerator.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation DescribeChannelModerator for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModerator

func (*ChimeSDKMessaging) DescribeChannelModeratorRequest

func (c *ChimeSDKMessaging) DescribeChannelModeratorRequest(input *DescribeChannelModeratorInput) (req *request.Request, output *DescribeChannelModeratorOutput)

DescribeChannelModeratorRequest generates a "aws/request.Request" representing the client's request for the DescribeChannelModerator 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 DescribeChannelModerator for more information on using the DescribeChannelModerator 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 DescribeChannelModeratorRequest method.
req, resp := client.DescribeChannelModeratorRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModerator

func (*ChimeSDKMessaging) DescribeChannelModeratorWithContext

func (c *ChimeSDKMessaging) DescribeChannelModeratorWithContext(ctx aws.Context, input *DescribeChannelModeratorInput, opts ...request.Option) (*DescribeChannelModeratorOutput, error)

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

See DescribeChannelModerator 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.

func (*ChimeSDKMessaging) DescribeChannelRequest

func (c *ChimeSDKMessaging) DescribeChannelRequest(input *DescribeChannelInput) (req *request.Request, output *DescribeChannelOutput)

DescribeChannelRequest generates a "aws/request.Request" representing the client's request for the DescribeChannel 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 DescribeChannel for more information on using the DescribeChannel 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 DescribeChannelRequest method.
req, resp := client.DescribeChannelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannel

func (*ChimeSDKMessaging) DescribeChannelWithContext

func (c *ChimeSDKMessaging) DescribeChannelWithContext(ctx aws.Context, input *DescribeChannelInput, opts ...request.Option) (*DescribeChannelOutput, error)

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

See DescribeChannel 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.

func (*ChimeSDKMessaging) GetChannelMessage

func (c *ChimeSDKMessaging) GetChannelMessage(input *GetChannelMessageInput) (*GetChannelMessageOutput, error)

GetChannelMessage API operation for Amazon Chime SDK Messaging.

Gets the full details of a channel message.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation GetChannelMessage for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessage

func (*ChimeSDKMessaging) GetChannelMessageRequest

func (c *ChimeSDKMessaging) GetChannelMessageRequest(input *GetChannelMessageInput) (req *request.Request, output *GetChannelMessageOutput)

GetChannelMessageRequest generates a "aws/request.Request" representing the client's request for the GetChannelMessage 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 GetChannelMessage for more information on using the GetChannelMessage 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 GetChannelMessageRequest method.
req, resp := client.GetChannelMessageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessage

func (*ChimeSDKMessaging) GetChannelMessageWithContext

func (c *ChimeSDKMessaging) GetChannelMessageWithContext(ctx aws.Context, input *GetChannelMessageInput, opts ...request.Option) (*GetChannelMessageOutput, error)

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

See GetChannelMessage 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.

func (*ChimeSDKMessaging) GetMessagingSessionEndpoint

GetMessagingSessionEndpoint API operation for Amazon Chime SDK Messaging.

The details of the endpoint for the messaging session.

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 SDK Messaging's API operation GetMessagingSessionEndpoint for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingSessionEndpoint

func (*ChimeSDKMessaging) GetMessagingSessionEndpointRequest

func (c *ChimeSDKMessaging) GetMessagingSessionEndpointRequest(input *GetMessagingSessionEndpointInput) (req *request.Request, output *GetMessagingSessionEndpointOutput)

GetMessagingSessionEndpointRequest generates a "aws/request.Request" representing the client's request for the GetMessagingSessionEndpoint 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 GetMessagingSessionEndpoint for more information on using the GetMessagingSessionEndpoint 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 GetMessagingSessionEndpointRequest method.
req, resp := client.GetMessagingSessionEndpointRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingSessionEndpoint

func (*ChimeSDKMessaging) GetMessagingSessionEndpointWithContext

func (c *ChimeSDKMessaging) GetMessagingSessionEndpointWithContext(ctx aws.Context, input *GetMessagingSessionEndpointInput, opts ...request.Option) (*GetMessagingSessionEndpointOutput, error)

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

See GetMessagingSessionEndpoint 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.

func (*ChimeSDKMessaging) ListChannelBans

func (c *ChimeSDKMessaging) ListChannelBans(input *ListChannelBansInput) (*ListChannelBansOutput, error)

ListChannelBans API operation for Amazon Chime SDK Messaging.

Lists all the users banned from a particular channel.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation ListChannelBans for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelBans

func (*ChimeSDKMessaging) ListChannelBansPages

func (c *ChimeSDKMessaging) ListChannelBansPages(input *ListChannelBansInput, fn func(*ListChannelBansOutput, bool) bool) error

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

See ListChannelBans 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 ListChannelBans operation.
pageNum := 0
err := client.ListChannelBansPages(params,
    func(page *chimesdkmessaging.ListChannelBansOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ChimeSDKMessaging) ListChannelBansPagesWithContext

func (c *ChimeSDKMessaging) ListChannelBansPagesWithContext(ctx aws.Context, input *ListChannelBansInput, fn func(*ListChannelBansOutput, bool) bool, opts ...request.Option) error

ListChannelBansPagesWithContext same as ListChannelBansPages 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.

func (*ChimeSDKMessaging) ListChannelBansRequest

func (c *ChimeSDKMessaging) ListChannelBansRequest(input *ListChannelBansInput) (req *request.Request, output *ListChannelBansOutput)

ListChannelBansRequest generates a "aws/request.Request" representing the client's request for the ListChannelBans 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 ListChannelBans for more information on using the ListChannelBans 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 ListChannelBansRequest method.
req, resp := client.ListChannelBansRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelBans

func (*ChimeSDKMessaging) ListChannelBansWithContext

func (c *ChimeSDKMessaging) ListChannelBansWithContext(ctx aws.Context, input *ListChannelBansInput, opts ...request.Option) (*ListChannelBansOutput, error)

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

See ListChannelBans 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.

func (*ChimeSDKMessaging) ListChannelMemberships

ListChannelMemberships API operation for Amazon Chime SDK Messaging.

Lists all channel memberships in a channel.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation ListChannelMemberships for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMemberships

func (*ChimeSDKMessaging) ListChannelMembershipsForAppInstanceUser

ListChannelMembershipsForAppInstanceUser API operation for Amazon Chime SDK Messaging.

Lists all channels that a particular AppInstanceUser is a part of. Only an AppInstanceAdmin can call the API with a user ARN that is not their own.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation ListChannelMembershipsForAppInstanceUser for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMembershipsForAppInstanceUser

func (*ChimeSDKMessaging) ListChannelMembershipsForAppInstanceUserPages

func (c *ChimeSDKMessaging) ListChannelMembershipsForAppInstanceUserPages(input *ListChannelMembershipsForAppInstanceUserInput, fn func(*ListChannelMembershipsForAppInstanceUserOutput, bool) bool) error

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

See ListChannelMembershipsForAppInstanceUser 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 ListChannelMembershipsForAppInstanceUser operation.
pageNum := 0
err := client.ListChannelMembershipsForAppInstanceUserPages(params,
    func(page *chimesdkmessaging.ListChannelMembershipsForAppInstanceUserOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ChimeSDKMessaging) ListChannelMembershipsForAppInstanceUserPagesWithContext

func (c *ChimeSDKMessaging) ListChannelMembershipsForAppInstanceUserPagesWithContext(ctx aws.Context, input *ListChannelMembershipsForAppInstanceUserInput, fn func(*ListChannelMembershipsForAppInstanceUserOutput, bool) bool, opts ...request.Option) error

ListChannelMembershipsForAppInstanceUserPagesWithContext same as ListChannelMembershipsForAppInstanceUserPages 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.

func (*ChimeSDKMessaging) ListChannelMembershipsForAppInstanceUserRequest

func (c *ChimeSDKMessaging) ListChannelMembershipsForAppInstanceUserRequest(input *ListChannelMembershipsForAppInstanceUserInput) (req *request.Request, output *ListChannelMembershipsForAppInstanceUserOutput)

ListChannelMembershipsForAppInstanceUserRequest generates a "aws/request.Request" representing the client's request for the ListChannelMembershipsForAppInstanceUser 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 ListChannelMembershipsForAppInstanceUser for more information on using the ListChannelMembershipsForAppInstanceUser 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 ListChannelMembershipsForAppInstanceUserRequest method.
req, resp := client.ListChannelMembershipsForAppInstanceUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMembershipsForAppInstanceUser

func (*ChimeSDKMessaging) ListChannelMembershipsForAppInstanceUserWithContext

func (c *ChimeSDKMessaging) ListChannelMembershipsForAppInstanceUserWithContext(ctx aws.Context, input *ListChannelMembershipsForAppInstanceUserInput, opts ...request.Option) (*ListChannelMembershipsForAppInstanceUserOutput, error)

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

See ListChannelMembershipsForAppInstanceUser 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.

func (*ChimeSDKMessaging) ListChannelMembershipsPages

func (c *ChimeSDKMessaging) ListChannelMembershipsPages(input *ListChannelMembershipsInput, fn func(*ListChannelMembershipsOutput, bool) bool) error

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

See ListChannelMemberships 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 ListChannelMemberships operation.
pageNum := 0
err := client.ListChannelMembershipsPages(params,
    func(page *chimesdkmessaging.ListChannelMembershipsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ChimeSDKMessaging) ListChannelMembershipsPagesWithContext

func (c *ChimeSDKMessaging) ListChannelMembershipsPagesWithContext(ctx aws.Context, input *ListChannelMembershipsInput, fn func(*ListChannelMembershipsOutput, bool) bool, opts ...request.Option) error

ListChannelMembershipsPagesWithContext same as ListChannelMembershipsPages 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.

func (*ChimeSDKMessaging) ListChannelMembershipsRequest

func (c *ChimeSDKMessaging) ListChannelMembershipsRequest(input *ListChannelMembershipsInput) (req *request.Request, output *ListChannelMembershipsOutput)

ListChannelMembershipsRequest generates a "aws/request.Request" representing the client's request for the ListChannelMemberships 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 ListChannelMemberships for more information on using the ListChannelMemberships 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 ListChannelMembershipsRequest method.
req, resp := client.ListChannelMembershipsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMemberships

func (*ChimeSDKMessaging) ListChannelMembershipsWithContext

func (c *ChimeSDKMessaging) ListChannelMembershipsWithContext(ctx aws.Context, input *ListChannelMembershipsInput, opts ...request.Option) (*ListChannelMembershipsOutput, error)

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

See ListChannelMemberships 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.

func (*ChimeSDKMessaging) ListChannelMessages

ListChannelMessages API operation for Amazon Chime SDK Messaging.

List all the messages in a channel. Returns a paginated list of ChannelMessages. By default, sorted by creation timestamp in descending order.

Redacted messages appear in the results as empty, since they are only redacted, not deleted. Deleted messages do not appear in the results. This action always returns the latest version of an edited message.

Also, the x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation ListChannelMessages for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMessages

func (*ChimeSDKMessaging) ListChannelMessagesPages

func (c *ChimeSDKMessaging) ListChannelMessagesPages(input *ListChannelMessagesInput, fn func(*ListChannelMessagesOutput, bool) bool) error

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

See ListChannelMessages 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 ListChannelMessages operation.
pageNum := 0
err := client.ListChannelMessagesPages(params,
    func(page *chimesdkmessaging.ListChannelMessagesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ChimeSDKMessaging) ListChannelMessagesPagesWithContext

func (c *ChimeSDKMessaging) ListChannelMessagesPagesWithContext(ctx aws.Context, input *ListChannelMessagesInput, fn func(*ListChannelMessagesOutput, bool) bool, opts ...request.Option) error

ListChannelMessagesPagesWithContext same as ListChannelMessagesPages 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.

func (*ChimeSDKMessaging) ListChannelMessagesRequest

func (c *ChimeSDKMessaging) ListChannelMessagesRequest(input *ListChannelMessagesInput) (req *request.Request, output *ListChannelMessagesOutput)

ListChannelMessagesRequest generates a "aws/request.Request" representing the client's request for the ListChannelMessages 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 ListChannelMessages for more information on using the ListChannelMessages 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 ListChannelMessagesRequest method.
req, resp := client.ListChannelMessagesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMessages

func (*ChimeSDKMessaging) ListChannelMessagesWithContext

func (c *ChimeSDKMessaging) ListChannelMessagesWithContext(ctx aws.Context, input *ListChannelMessagesInput, opts ...request.Option) (*ListChannelMessagesOutput, error)

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

See ListChannelMessages 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.

func (*ChimeSDKMessaging) ListChannelModerators

ListChannelModerators API operation for Amazon Chime SDK Messaging.

Lists all the moderators for a channel.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation ListChannelModerators for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelModerators

func (*ChimeSDKMessaging) ListChannelModeratorsPages

func (c *ChimeSDKMessaging) ListChannelModeratorsPages(input *ListChannelModeratorsInput, fn func(*ListChannelModeratorsOutput, bool) bool) error

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

See ListChannelModerators 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 ListChannelModerators operation.
pageNum := 0
err := client.ListChannelModeratorsPages(params,
    func(page *chimesdkmessaging.ListChannelModeratorsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ChimeSDKMessaging) ListChannelModeratorsPagesWithContext

func (c *ChimeSDKMessaging) ListChannelModeratorsPagesWithContext(ctx aws.Context, input *ListChannelModeratorsInput, fn func(*ListChannelModeratorsOutput, bool) bool, opts ...request.Option) error

ListChannelModeratorsPagesWithContext same as ListChannelModeratorsPages 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.

func (*ChimeSDKMessaging) ListChannelModeratorsRequest

func (c *ChimeSDKMessaging) ListChannelModeratorsRequest(input *ListChannelModeratorsInput) (req *request.Request, output *ListChannelModeratorsOutput)

ListChannelModeratorsRequest generates a "aws/request.Request" representing the client's request for the ListChannelModerators 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 ListChannelModerators for more information on using the ListChannelModerators 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 ListChannelModeratorsRequest method.
req, resp := client.ListChannelModeratorsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelModerators

func (*ChimeSDKMessaging) ListChannelModeratorsWithContext

func (c *ChimeSDKMessaging) ListChannelModeratorsWithContext(ctx aws.Context, input *ListChannelModeratorsInput, opts ...request.Option) (*ListChannelModeratorsOutput, error)

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

See ListChannelModerators 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.

func (*ChimeSDKMessaging) ListChannels

func (c *ChimeSDKMessaging) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error)

ListChannels API operation for Amazon Chime SDK Messaging.

Lists all Channels created under a single Chime App as a paginated list. You can specify filters to narrow results.

Functionality & restrictions

  • Use privacy = PUBLIC to retrieve all public channels in the account.

  • Only an AppInstanceAdmin can set privacy = PRIVATE to list the private channels in an account.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation ListChannels for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannels

func (*ChimeSDKMessaging) ListChannelsModeratedByAppInstanceUser

ListChannelsModeratedByAppInstanceUser API operation for Amazon Chime SDK Messaging.

A list of the channels moderated by an AppInstanceUser.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation ListChannelsModeratedByAppInstanceUser for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsModeratedByAppInstanceUser

func (*ChimeSDKMessaging) ListChannelsModeratedByAppInstanceUserPages

func (c *ChimeSDKMessaging) ListChannelsModeratedByAppInstanceUserPages(input *ListChannelsModeratedByAppInstanceUserInput, fn func(*ListChannelsModeratedByAppInstanceUserOutput, bool) bool) error

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

See ListChannelsModeratedByAppInstanceUser 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 ListChannelsModeratedByAppInstanceUser operation.
pageNum := 0
err := client.ListChannelsModeratedByAppInstanceUserPages(params,
    func(page *chimesdkmessaging.ListChannelsModeratedByAppInstanceUserOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ChimeSDKMessaging) ListChannelsModeratedByAppInstanceUserPagesWithContext

func (c *ChimeSDKMessaging) ListChannelsModeratedByAppInstanceUserPagesWithContext(ctx aws.Context, input *ListChannelsModeratedByAppInstanceUserInput, fn func(*ListChannelsModeratedByAppInstanceUserOutput, bool) bool, opts ...request.Option) error

ListChannelsModeratedByAppInstanceUserPagesWithContext same as ListChannelsModeratedByAppInstanceUserPages 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.

func (*ChimeSDKMessaging) ListChannelsModeratedByAppInstanceUserRequest

func (c *ChimeSDKMessaging) ListChannelsModeratedByAppInstanceUserRequest(input *ListChannelsModeratedByAppInstanceUserInput) (req *request.Request, output *ListChannelsModeratedByAppInstanceUserOutput)

ListChannelsModeratedByAppInstanceUserRequest generates a "aws/request.Request" representing the client's request for the ListChannelsModeratedByAppInstanceUser 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 ListChannelsModeratedByAppInstanceUser for more information on using the ListChannelsModeratedByAppInstanceUser 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 ListChannelsModeratedByAppInstanceUserRequest method.
req, resp := client.ListChannelsModeratedByAppInstanceUserRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsModeratedByAppInstanceUser

func (*ChimeSDKMessaging) ListChannelsModeratedByAppInstanceUserWithContext

func (c *ChimeSDKMessaging) ListChannelsModeratedByAppInstanceUserWithContext(ctx aws.Context, input *ListChannelsModeratedByAppInstanceUserInput, opts ...request.Option) (*ListChannelsModeratedByAppInstanceUserOutput, error)

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

See ListChannelsModeratedByAppInstanceUser 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.

func (*ChimeSDKMessaging) ListChannelsPages

func (c *ChimeSDKMessaging) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error

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

See ListChannels 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 ListChannels operation.
pageNum := 0
err := client.ListChannelsPages(params,
    func(page *chimesdkmessaging.ListChannelsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ChimeSDKMessaging) ListChannelsPagesWithContext

func (c *ChimeSDKMessaging) ListChannelsPagesWithContext(ctx aws.Context, input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool, opts ...request.Option) error

ListChannelsPagesWithContext same as ListChannelsPages 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.

func (*ChimeSDKMessaging) ListChannelsRequest

func (c *ChimeSDKMessaging) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput)

ListChannelsRequest generates a "aws/request.Request" representing the client's request for the ListChannels 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 ListChannels for more information on using the ListChannels 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 ListChannelsRequest method.
req, resp := client.ListChannelsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannels

func (*ChimeSDKMessaging) ListChannelsWithContext

func (c *ChimeSDKMessaging) ListChannelsWithContext(ctx aws.Context, input *ListChannelsInput, opts ...request.Option) (*ListChannelsOutput, error)

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

See ListChannels 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.

func (*ChimeSDKMessaging) RedactChannelMessage

RedactChannelMessage API operation for Amazon Chime SDK Messaging.

Redacts message content, but not metadata. The message exists in the back end, but the action returns null content, and the state shows as redacted.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation RedactChannelMessage for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/RedactChannelMessage

func (*ChimeSDKMessaging) RedactChannelMessageRequest

func (c *ChimeSDKMessaging) RedactChannelMessageRequest(input *RedactChannelMessageInput) (req *request.Request, output *RedactChannelMessageOutput)

RedactChannelMessageRequest generates a "aws/request.Request" representing the client's request for the RedactChannelMessage 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 RedactChannelMessage for more information on using the RedactChannelMessage 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 RedactChannelMessageRequest method.
req, resp := client.RedactChannelMessageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/RedactChannelMessage

func (*ChimeSDKMessaging) RedactChannelMessageWithContext

func (c *ChimeSDKMessaging) RedactChannelMessageWithContext(ctx aws.Context, input *RedactChannelMessageInput, opts ...request.Option) (*RedactChannelMessageOutput, error)

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

See RedactChannelMessage 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.

func (*ChimeSDKMessaging) SendChannelMessage

func (c *ChimeSDKMessaging) SendChannelMessage(input *SendChannelMessageInput) (*SendChannelMessageOutput, error)

SendChannelMessage API operation for Amazon Chime SDK Messaging.

Sends a message to a particular channel that the member is a part of.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

Also, STANDARD messages can contain 4KB of data and the 1KB of metadata. CONTROL messages can contain 30 bytes of data and no metadata.

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 SDK Messaging's API operation SendChannelMessage for usage and error information.

Returned Error Types:

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

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessage

func (*ChimeSDKMessaging) SendChannelMessageRequest

func (c *ChimeSDKMessaging) SendChannelMessageRequest(input *SendChannelMessageInput) (req *request.Request, output *SendChannelMessageOutput)

SendChannelMessageRequest generates a "aws/request.Request" representing the client's request for the SendChannelMessage 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 SendChannelMessage for more information on using the SendChannelMessage 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 SendChannelMessageRequest method.
req, resp := client.SendChannelMessageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessage

func (*ChimeSDKMessaging) SendChannelMessageWithContext

func (c *ChimeSDKMessaging) SendChannelMessageWithContext(ctx aws.Context, input *SendChannelMessageInput, opts ...request.Option) (*SendChannelMessageOutput, error)

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

See SendChannelMessage 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.

func (*ChimeSDKMessaging) UpdateChannel

func (c *ChimeSDKMessaging) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error)

UpdateChannel API operation for Amazon Chime SDK Messaging.

Update a channel's attributes.

Restriction: You can't change a channel's privacy.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation UpdateChannel for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannel

func (*ChimeSDKMessaging) UpdateChannelMessage

UpdateChannelMessage API operation for Amazon Chime SDK Messaging.

Updates the content of a message.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation UpdateChannelMessage for usage and error information.

Returned Error Types:

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

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelMessage

func (*ChimeSDKMessaging) UpdateChannelMessageRequest

func (c *ChimeSDKMessaging) UpdateChannelMessageRequest(input *UpdateChannelMessageInput) (req *request.Request, output *UpdateChannelMessageOutput)

UpdateChannelMessageRequest generates a "aws/request.Request" representing the client's request for the UpdateChannelMessage 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 UpdateChannelMessage for more information on using the UpdateChannelMessage 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 UpdateChannelMessageRequest method.
req, resp := client.UpdateChannelMessageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelMessage

func (*ChimeSDKMessaging) UpdateChannelMessageWithContext

func (c *ChimeSDKMessaging) UpdateChannelMessageWithContext(ctx aws.Context, input *UpdateChannelMessageInput, opts ...request.Option) (*UpdateChannelMessageOutput, error)

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

See UpdateChannelMessage 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.

func (*ChimeSDKMessaging) UpdateChannelReadMarker

UpdateChannelReadMarker API operation for Amazon Chime SDK Messaging.

The details of the time when a user last read messages in a channel.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

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 SDK Messaging's API operation UpdateChannelReadMarker for usage and error information.

Returned Error Types:

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

  • ForbiddenException The client is permanently forbidden from making the request.

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

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

  • ThrottledClientException The client exceeded its request rate limit.

  • ServiceUnavailableException The service is currently unavailable.

  • ServiceFailureException The service encountered an unexpected error.

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelReadMarker

func (*ChimeSDKMessaging) UpdateChannelReadMarkerRequest

func (c *ChimeSDKMessaging) UpdateChannelReadMarkerRequest(input *UpdateChannelReadMarkerInput) (req *request.Request, output *UpdateChannelReadMarkerOutput)

UpdateChannelReadMarkerRequest generates a "aws/request.Request" representing the client's request for the UpdateChannelReadMarker 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 UpdateChannelReadMarker for more information on using the UpdateChannelReadMarker 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 UpdateChannelReadMarkerRequest method.
req, resp := client.UpdateChannelReadMarkerRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelReadMarker

func (*ChimeSDKMessaging) UpdateChannelReadMarkerWithContext

func (c *ChimeSDKMessaging) UpdateChannelReadMarkerWithContext(ctx aws.Context, input *UpdateChannelReadMarkerInput, opts ...request.Option) (*UpdateChannelReadMarkerOutput, error)

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

See UpdateChannelReadMarker 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.

func (*ChimeSDKMessaging) UpdateChannelRequest

func (c *ChimeSDKMessaging) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput)

UpdateChannelRequest generates a "aws/request.Request" representing the client's request for the UpdateChannel 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 UpdateChannel for more information on using the UpdateChannel 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 UpdateChannelRequest method.
req, resp := client.UpdateChannelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannel

func (*ChimeSDKMessaging) UpdateChannelWithContext

func (c *ChimeSDKMessaging) UpdateChannelWithContext(ctx aws.Context, input *UpdateChannelInput, opts ...request.Option) (*UpdateChannelOutput, error)

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

See UpdateChannel 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.

type ConflictException

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The request could not be processed because of conflict in the current state of the resource.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation

type CreateChannelBanInput

type CreateChannelBanInput struct {

	// The ARN of the ban request.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The ARN of the member being banned.
	//
	// MemberArn is a required field
	MemberArn *string `min:"5" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateChannelBanInput) GoString

func (s CreateChannelBanInput) GoString() string

GoString returns the string representation

func (*CreateChannelBanInput) SetChannelArn

func (s *CreateChannelBanInput) SetChannelArn(v string) *CreateChannelBanInput

SetChannelArn sets the ChannelArn field's value.

func (*CreateChannelBanInput) SetChimeBearer

func (s *CreateChannelBanInput) SetChimeBearer(v string) *CreateChannelBanInput

SetChimeBearer sets the ChimeBearer field's value.

func (*CreateChannelBanInput) SetMemberArn

SetMemberArn sets the MemberArn field's value.

func (CreateChannelBanInput) String

func (s CreateChannelBanInput) String() string

String returns the string representation

func (*CreateChannelBanInput) Validate

func (s *CreateChannelBanInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateChannelBanOutput

type CreateChannelBanOutput struct {

	// The ARN of the response to the ban request.
	ChannelArn *string `min:"5" type:"string"`

	// The ChannelArn and BannedIdentity of the member in the ban response.
	Member *Identity `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateChannelBanOutput) GoString

func (s CreateChannelBanOutput) GoString() string

GoString returns the string representation

func (*CreateChannelBanOutput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*CreateChannelBanOutput) SetMember

SetMember sets the Member field's value.

func (CreateChannelBanOutput) String

func (s CreateChannelBanOutput) String() string

String returns the string representation

type CreateChannelInput

type CreateChannelInput struct {

	// The ARN of the channel request.
	//
	// AppInstanceArn is a required field
	AppInstanceArn *string `min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The client token for the request. An Idempotency token.
	ClientRequestToken *string `min:"2" type:"string" idempotencyToken:"true" sensitive:"true"`

	// The metadata of the creation request. Limited to 1KB and UTF-8.
	Metadata *string `type:"string" sensitive:"true"`

	// The channel mode: UNRESTRICTED or RESTRICTED. Administrators, moderators,
	// and channel members can add themselves and other members to unrestricted
	// channels. Only administrators and moderators can add members to restricted
	// channels.
	Mode *string `type:"string" enum:"ChannelMode"`

	// The name of the channel.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`

	// The channel's privacy level: PUBLIC or PRIVATE. Private channels aren't discoverable
	// by users outside the channel. Public channels are discoverable by anyone
	// in the AppInstance.
	Privacy *string `type:"string" enum:"ChannelPrivacy"`

	// The tags for the creation request.
	Tags []*Tag `min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (CreateChannelInput) GoString

func (s CreateChannelInput) GoString() string

GoString returns the string representation

func (*CreateChannelInput) SetAppInstanceArn

func (s *CreateChannelInput) SetAppInstanceArn(v string) *CreateChannelInput

SetAppInstanceArn sets the AppInstanceArn field's value.

func (*CreateChannelInput) SetChimeBearer

func (s *CreateChannelInput) SetChimeBearer(v string) *CreateChannelInput

SetChimeBearer sets the ChimeBearer field's value.

func (*CreateChannelInput) SetClientRequestToken

func (s *CreateChannelInput) SetClientRequestToken(v string) *CreateChannelInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*CreateChannelInput) SetMetadata

func (s *CreateChannelInput) SetMetadata(v string) *CreateChannelInput

SetMetadata sets the Metadata field's value.

func (*CreateChannelInput) SetMode

SetMode sets the Mode field's value.

func (*CreateChannelInput) SetName

SetName sets the Name field's value.

func (*CreateChannelInput) SetPrivacy

func (s *CreateChannelInput) SetPrivacy(v string) *CreateChannelInput

SetPrivacy sets the Privacy field's value.

func (*CreateChannelInput) SetTags

func (s *CreateChannelInput) SetTags(v []*Tag) *CreateChannelInput

SetTags sets the Tags field's value.

func (CreateChannelInput) String

func (s CreateChannelInput) String() string

String returns the string representation

func (*CreateChannelInput) Validate

func (s *CreateChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateChannelMembershipInput

type CreateChannelMembershipInput struct {

	// The ARN of the channel to which you're adding users.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The ARN of the member you want to add to the channel.
	//
	// MemberArn is a required field
	MemberArn *string `min:"5" type:"string" required:"true"`

	// The membership type of a user, DEFAULT or HIDDEN. Default members are always
	// returned as part of ListChannelMemberships. Hidden members are only returned
	// if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden
	// members are not returned. This is only supported by moderators.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"ChannelMembershipType"`
	// contains filtered or unexported fields
}

func (CreateChannelMembershipInput) GoString

func (s CreateChannelMembershipInput) GoString() string

GoString returns the string representation

func (*CreateChannelMembershipInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*CreateChannelMembershipInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (*CreateChannelMembershipInput) SetMemberArn

SetMemberArn sets the MemberArn field's value.

func (*CreateChannelMembershipInput) SetType

SetType sets the Type field's value.

func (CreateChannelMembershipInput) String

String returns the string representation

func (*CreateChannelMembershipInput) Validate

func (s *CreateChannelMembershipInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateChannelMembershipOutput

type CreateChannelMembershipOutput struct {

	// The ARN of the channel.
	ChannelArn *string `min:"5" type:"string"`

	// The ARN and metadata of the member being added.
	Member *Identity `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateChannelMembershipOutput) GoString

GoString returns the string representation

func (*CreateChannelMembershipOutput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*CreateChannelMembershipOutput) SetMember

SetMember sets the Member field's value.

func (CreateChannelMembershipOutput) String

String returns the string representation

type CreateChannelModeratorInput

type CreateChannelModeratorInput struct {

	// The ARN of the channel.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The ARN of the moderator.
	//
	// ChannelModeratorArn is a required field
	ChannelModeratorArn *string `min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateChannelModeratorInput) GoString

func (s CreateChannelModeratorInput) GoString() string

GoString returns the string representation

func (*CreateChannelModeratorInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*CreateChannelModeratorInput) SetChannelModeratorArn

func (s *CreateChannelModeratorInput) SetChannelModeratorArn(v string) *CreateChannelModeratorInput

SetChannelModeratorArn sets the ChannelModeratorArn field's value.

func (*CreateChannelModeratorInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (CreateChannelModeratorInput) String

String returns the string representation

func (*CreateChannelModeratorInput) Validate

func (s *CreateChannelModeratorInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateChannelModeratorOutput

type CreateChannelModeratorOutput struct {

	// The ARN of the channel.
	ChannelArn *string `min:"5" type:"string"`

	// The ARNs of the channel and the moderator.
	ChannelModerator *Identity `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateChannelModeratorOutput) GoString

func (s CreateChannelModeratorOutput) GoString() string

GoString returns the string representation

func (*CreateChannelModeratorOutput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*CreateChannelModeratorOutput) SetChannelModerator

SetChannelModerator sets the ChannelModerator field's value.

func (CreateChannelModeratorOutput) String

String returns the string representation

type CreateChannelOutput

type CreateChannelOutput struct {

	// The ARN of the channel.
	ChannelArn *string `min:"5" type:"string"`
	// contains filtered or unexported fields
}

func (CreateChannelOutput) GoString

func (s CreateChannelOutput) GoString() string

GoString returns the string representation

func (*CreateChannelOutput) SetChannelArn

func (s *CreateChannelOutput) SetChannelArn(v string) *CreateChannelOutput

SetChannelArn sets the ChannelArn field's value.

func (CreateChannelOutput) String

func (s CreateChannelOutput) String() string

String returns the string representation

type DeleteChannelBanInput

type DeleteChannelBanInput struct {

	// The ARN of the channel from which the AppInstanceUser was banned.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The ARN of the AppInstanceUser that you want to reinstate.
	//
	// MemberArn is a required field
	MemberArn *string `location:"uri" locationName:"memberArn" min:"5" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteChannelBanInput) GoString

func (s DeleteChannelBanInput) GoString() string

GoString returns the string representation

func (*DeleteChannelBanInput) SetChannelArn

func (s *DeleteChannelBanInput) SetChannelArn(v string) *DeleteChannelBanInput

SetChannelArn sets the ChannelArn field's value.

func (*DeleteChannelBanInput) SetChimeBearer

func (s *DeleteChannelBanInput) SetChimeBearer(v string) *DeleteChannelBanInput

SetChimeBearer sets the ChimeBearer field's value.

func (*DeleteChannelBanInput) SetMemberArn

SetMemberArn sets the MemberArn field's value.

func (DeleteChannelBanInput) String

func (s DeleteChannelBanInput) String() string

String returns the string representation

func (*DeleteChannelBanInput) Validate

func (s *DeleteChannelBanInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteChannelBanOutput

type DeleteChannelBanOutput struct {
	// contains filtered or unexported fields
}

func (DeleteChannelBanOutput) GoString

func (s DeleteChannelBanOutput) GoString() string

GoString returns the string representation

func (DeleteChannelBanOutput) String

func (s DeleteChannelBanOutput) String() string

String returns the string representation

type DeleteChannelInput

type DeleteChannelInput struct {

	// The ARN of the channel being deleted.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteChannelInput) GoString

func (s DeleteChannelInput) GoString() string

GoString returns the string representation

func (*DeleteChannelInput) SetChannelArn

func (s *DeleteChannelInput) SetChannelArn(v string) *DeleteChannelInput

SetChannelArn sets the ChannelArn field's value.

func (*DeleteChannelInput) SetChimeBearer

func (s *DeleteChannelInput) SetChimeBearer(v string) *DeleteChannelInput

SetChimeBearer sets the ChimeBearer field's value.

func (DeleteChannelInput) String

func (s DeleteChannelInput) String() string

String returns the string representation

func (*DeleteChannelInput) Validate

func (s *DeleteChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteChannelMembershipInput

type DeleteChannelMembershipInput struct {

	// The ARN of the channel from which you want to remove the user.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The ARN of the member that you're removing from the channel.
	//
	// MemberArn is a required field
	MemberArn *string `location:"uri" locationName:"memberArn" min:"5" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteChannelMembershipInput) GoString

func (s DeleteChannelMembershipInput) GoString() string

GoString returns the string representation

func (*DeleteChannelMembershipInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*DeleteChannelMembershipInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (*DeleteChannelMembershipInput) SetMemberArn

SetMemberArn sets the MemberArn field's value.

func (DeleteChannelMembershipInput) String

String returns the string representation

func (*DeleteChannelMembershipInput) Validate

func (s *DeleteChannelMembershipInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteChannelMembershipOutput

type DeleteChannelMembershipOutput struct {
	// contains filtered or unexported fields
}

func (DeleteChannelMembershipOutput) GoString

GoString returns the string representation

func (DeleteChannelMembershipOutput) String

String returns the string representation

type DeleteChannelMessageInput

type DeleteChannelMessageInput struct {

	// The ARN of the channel.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The ID of the message being deleted.
	//
	// MessageId is a required field
	MessageId *string `location:"uri" locationName:"messageId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteChannelMessageInput) GoString

func (s DeleteChannelMessageInput) GoString() string

GoString returns the string representation

func (*DeleteChannelMessageInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*DeleteChannelMessageInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (*DeleteChannelMessageInput) SetMessageId

SetMessageId sets the MessageId field's value.

func (DeleteChannelMessageInput) String

func (s DeleteChannelMessageInput) String() string

String returns the string representation

func (*DeleteChannelMessageInput) Validate

func (s *DeleteChannelMessageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteChannelMessageOutput

type DeleteChannelMessageOutput struct {
	// contains filtered or unexported fields
}

func (DeleteChannelMessageOutput) GoString

func (s DeleteChannelMessageOutput) GoString() string

GoString returns the string representation

func (DeleteChannelMessageOutput) String

String returns the string representation

type DeleteChannelModeratorInput

type DeleteChannelModeratorInput struct {

	// The ARN of the channel.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The ARN of the moderator being deleted.
	//
	// ChannelModeratorArn is a required field
	ChannelModeratorArn *string `location:"uri" locationName:"channelModeratorArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteChannelModeratorInput) GoString

func (s DeleteChannelModeratorInput) GoString() string

GoString returns the string representation

func (*DeleteChannelModeratorInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*DeleteChannelModeratorInput) SetChannelModeratorArn

func (s *DeleteChannelModeratorInput) SetChannelModeratorArn(v string) *DeleteChannelModeratorInput

SetChannelModeratorArn sets the ChannelModeratorArn field's value.

func (*DeleteChannelModeratorInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (DeleteChannelModeratorInput) String

String returns the string representation

func (*DeleteChannelModeratorInput) Validate

func (s *DeleteChannelModeratorInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteChannelModeratorOutput

type DeleteChannelModeratorOutput struct {
	// contains filtered or unexported fields
}

func (DeleteChannelModeratorOutput) GoString

func (s DeleteChannelModeratorOutput) GoString() string

GoString returns the string representation

func (DeleteChannelModeratorOutput) String

String returns the string representation

type DeleteChannelOutput

type DeleteChannelOutput struct {
	// contains filtered or unexported fields
}

func (DeleteChannelOutput) GoString

func (s DeleteChannelOutput) GoString() string

GoString returns the string representation

func (DeleteChannelOutput) String

func (s DeleteChannelOutput) String() string

String returns the string representation

type DescribeChannelBanInput

type DescribeChannelBanInput struct {

	// The ARN of the channel from which the user is banned.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The ARN of the member being banned.
	//
	// MemberArn is a required field
	MemberArn *string `location:"uri" locationName:"memberArn" min:"5" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeChannelBanInput) GoString

func (s DescribeChannelBanInput) GoString() string

GoString returns the string representation

func (*DescribeChannelBanInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*DescribeChannelBanInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (*DescribeChannelBanInput) SetMemberArn

SetMemberArn sets the MemberArn field's value.

func (DescribeChannelBanInput) String

func (s DescribeChannelBanInput) String() string

String returns the string representation

func (*DescribeChannelBanInput) Validate

func (s *DescribeChannelBanInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeChannelBanOutput

type DescribeChannelBanOutput struct {

	// The details of the ban.
	ChannelBan *ChannelBan `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeChannelBanOutput) GoString

func (s DescribeChannelBanOutput) GoString() string

GoString returns the string representation

func (*DescribeChannelBanOutput) SetChannelBan

SetChannelBan sets the ChannelBan field's value.

func (DescribeChannelBanOutput) String

func (s DescribeChannelBanOutput) String() string

String returns the string representation

type DescribeChannelInput

type DescribeChannelInput struct {

	// The ARN of the channel.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeChannelInput) GoString

func (s DescribeChannelInput) GoString() string

GoString returns the string representation

func (*DescribeChannelInput) SetChannelArn

func (s *DescribeChannelInput) SetChannelArn(v string) *DescribeChannelInput

SetChannelArn sets the ChannelArn field's value.

func (*DescribeChannelInput) SetChimeBearer

func (s *DescribeChannelInput) SetChimeBearer(v string) *DescribeChannelInput

SetChimeBearer sets the ChimeBearer field's value.

func (DescribeChannelInput) String

func (s DescribeChannelInput) String() string

String returns the string representation

func (*DescribeChannelInput) Validate

func (s *DescribeChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeChannelMembershipForAppInstanceUserInput

type DescribeChannelMembershipForAppInstanceUserInput struct {

	// The ARN of the user in a channel.
	//
	// AppInstanceUserArn is a required field
	AppInstanceUserArn *string `location:"querystring" locationName:"app-instance-user-arn" min:"5" type:"string" required:"true"`

	// The ARN of the channel to which the user belongs.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeChannelMembershipForAppInstanceUserInput) GoString

GoString returns the string representation

func (*DescribeChannelMembershipForAppInstanceUserInput) SetAppInstanceUserArn

SetAppInstanceUserArn sets the AppInstanceUserArn field's value.

func (*DescribeChannelMembershipForAppInstanceUserInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*DescribeChannelMembershipForAppInstanceUserInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (DescribeChannelMembershipForAppInstanceUserInput) String

String returns the string representation

func (*DescribeChannelMembershipForAppInstanceUserInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeChannelMembershipForAppInstanceUserOutput

type DescribeChannelMembershipForAppInstanceUserOutput struct {

	// The channel to which a user belongs.
	ChannelMembership *ChannelMembershipForAppInstanceUserSummary `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeChannelMembershipForAppInstanceUserOutput) GoString

GoString returns the string representation

func (*DescribeChannelMembershipForAppInstanceUserOutput) SetChannelMembership

SetChannelMembership sets the ChannelMembership field's value.

func (DescribeChannelMembershipForAppInstanceUserOutput) String

String returns the string representation

type DescribeChannelMembershipInput

type DescribeChannelMembershipInput struct {

	// The ARN of the channel.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The ARN of the member.
	//
	// MemberArn is a required field
	MemberArn *string `location:"uri" locationName:"memberArn" min:"5" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeChannelMembershipInput) GoString

GoString returns the string representation

func (*DescribeChannelMembershipInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*DescribeChannelMembershipInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (*DescribeChannelMembershipInput) SetMemberArn

SetMemberArn sets the MemberArn field's value.

func (DescribeChannelMembershipInput) String

String returns the string representation

func (*DescribeChannelMembershipInput) Validate

func (s *DescribeChannelMembershipInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeChannelMembershipOutput

type DescribeChannelMembershipOutput struct {

	// The details of the membership.
	ChannelMembership *ChannelMembership `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeChannelMembershipOutput) GoString

GoString returns the string representation

func (*DescribeChannelMembershipOutput) SetChannelMembership

SetChannelMembership sets the ChannelMembership field's value.

func (DescribeChannelMembershipOutput) String

String returns the string representation

type DescribeChannelModeratedByAppInstanceUserInput

type DescribeChannelModeratedByAppInstanceUserInput struct {

	// The ARN of the AppInstanceUser in the moderated channel.
	//
	// AppInstanceUserArn is a required field
	AppInstanceUserArn *string `location:"querystring" locationName:"app-instance-user-arn" min:"5" type:"string" required:"true"`

	// The ARN of the moderated channel.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeChannelModeratedByAppInstanceUserInput) GoString

GoString returns the string representation

func (*DescribeChannelModeratedByAppInstanceUserInput) SetAppInstanceUserArn

SetAppInstanceUserArn sets the AppInstanceUserArn field's value.

func (*DescribeChannelModeratedByAppInstanceUserInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*DescribeChannelModeratedByAppInstanceUserInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (DescribeChannelModeratedByAppInstanceUserInput) String

String returns the string representation

func (*DescribeChannelModeratedByAppInstanceUserInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeChannelModeratedByAppInstanceUserOutput

type DescribeChannelModeratedByAppInstanceUserOutput struct {

	// The moderated channel.
	Channel *ChannelModeratedByAppInstanceUserSummary `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeChannelModeratedByAppInstanceUserOutput) GoString

GoString returns the string representation

func (*DescribeChannelModeratedByAppInstanceUserOutput) SetChannel

SetChannel sets the Channel field's value.

func (DescribeChannelModeratedByAppInstanceUserOutput) String

String returns the string representation

type DescribeChannelModeratorInput

type DescribeChannelModeratorInput struct {

	// The ARN of the channel.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The ARN of the channel moderator.
	//
	// ChannelModeratorArn is a required field
	ChannelModeratorArn *string `location:"uri" locationName:"channelModeratorArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeChannelModeratorInput) GoString

GoString returns the string representation

func (*DescribeChannelModeratorInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*DescribeChannelModeratorInput) SetChannelModeratorArn

SetChannelModeratorArn sets the ChannelModeratorArn field's value.

func (*DescribeChannelModeratorInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (DescribeChannelModeratorInput) String

String returns the string representation

func (*DescribeChannelModeratorInput) Validate

func (s *DescribeChannelModeratorInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeChannelModeratorOutput

type DescribeChannelModeratorOutput struct {

	// The details of the channel moderator.
	ChannelModerator *ChannelModerator `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeChannelModeratorOutput) GoString

GoString returns the string representation

func (*DescribeChannelModeratorOutput) SetChannelModerator

SetChannelModerator sets the ChannelModerator field's value.

func (DescribeChannelModeratorOutput) String

String returns the string representation

type DescribeChannelOutput

type DescribeChannelOutput struct {

	// The channel details.
	Channel *Channel `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeChannelOutput) GoString

func (s DescribeChannelOutput) GoString() string

GoString returns the string representation

func (*DescribeChannelOutput) SetChannel

SetChannel sets the Channel field's value.

func (DescribeChannelOutput) String

func (s DescribeChannelOutput) String() string

String returns the string representation

type ForbiddenException

type ForbiddenException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The client is permanently forbidden from making the request.

func (*ForbiddenException) Code

func (s *ForbiddenException) Code() string

Code returns the exception type name.

func (*ForbiddenException) Error

func (s *ForbiddenException) Error() string

func (ForbiddenException) GoString

func (s ForbiddenException) GoString() string

GoString returns the string representation

func (*ForbiddenException) Message

func (s *ForbiddenException) Message() string

Message returns the exception's message.

func (*ForbiddenException) OrigErr

func (s *ForbiddenException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ForbiddenException) RequestID

func (s *ForbiddenException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ForbiddenException) StatusCode

func (s *ForbiddenException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ForbiddenException) String

func (s ForbiddenException) String() string

String returns the string representation

type GetChannelMessageInput

type GetChannelMessageInput struct {

	// The ARN of the channel.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The ID of the message.
	//
	// MessageId is a required field
	MessageId *string `location:"uri" locationName:"messageId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetChannelMessageInput) GoString

func (s GetChannelMessageInput) GoString() string

GoString returns the string representation

func (*GetChannelMessageInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*GetChannelMessageInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (*GetChannelMessageInput) SetMessageId

SetMessageId sets the MessageId field's value.

func (GetChannelMessageInput) String

func (s GetChannelMessageInput) String() string

String returns the string representation

func (*GetChannelMessageInput) Validate

func (s *GetChannelMessageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetChannelMessageOutput

type GetChannelMessageOutput struct {

	// The details of and content in the message.
	ChannelMessage *ChannelMessage `type:"structure"`
	// contains filtered or unexported fields
}

func (GetChannelMessageOutput) GoString

func (s GetChannelMessageOutput) GoString() string

GoString returns the string representation

func (*GetChannelMessageOutput) SetChannelMessage

SetChannelMessage sets the ChannelMessage field's value.

func (GetChannelMessageOutput) String

func (s GetChannelMessageOutput) String() string

String returns the string representation

type GetMessagingSessionEndpointInput

type GetMessagingSessionEndpointInput struct {
	// contains filtered or unexported fields
}

func (GetMessagingSessionEndpointInput) GoString

GoString returns the string representation

func (GetMessagingSessionEndpointInput) String

String returns the string representation

type GetMessagingSessionEndpointOutput

type GetMessagingSessionEndpointOutput struct {

	// The endpoint returned in the response.
	Endpoint *MessagingSessionEndpoint `type:"structure"`
	// contains filtered or unexported fields
}

func (GetMessagingSessionEndpointOutput) GoString

GoString returns the string representation

func (*GetMessagingSessionEndpointOutput) SetEndpoint

SetEndpoint sets the Endpoint field's value.

func (GetMessagingSessionEndpointOutput) String

String returns the string representation

type Identity

type Identity struct {

	// The ARN in an Identity.
	Arn *string `min:"5" type:"string"`

	// The name in an Identity.
	Name *string `type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

The details of a user.

func (Identity) GoString

func (s Identity) GoString() string

GoString returns the string representation

func (*Identity) SetArn

func (s *Identity) SetArn(v string) *Identity

SetArn sets the Arn field's value.

func (*Identity) SetName

func (s *Identity) SetName(v string) *Identity

SetName sets the Name field's value.

func (Identity) String

func (s Identity) String() string

String returns the string representation

type ListChannelBansInput

type ListChannelBansInput struct {

	// The ARN of the channel.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The maximum number of bans that you want returned.
	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`

	// The token passed by previous API calls until all requested bans are returned.
	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (ListChannelBansInput) GoString

func (s ListChannelBansInput) GoString() string

GoString returns the string representation

func (*ListChannelBansInput) SetChannelArn

func (s *ListChannelBansInput) SetChannelArn(v string) *ListChannelBansInput

SetChannelArn sets the ChannelArn field's value.

func (*ListChannelBansInput) SetChimeBearer

func (s *ListChannelBansInput) SetChimeBearer(v string) *ListChannelBansInput

SetChimeBearer sets the ChimeBearer field's value.

func (*ListChannelBansInput) SetMaxResults

func (s *ListChannelBansInput) SetMaxResults(v int64) *ListChannelBansInput

SetMaxResults sets the MaxResults field's value.

func (*ListChannelBansInput) SetNextToken

func (s *ListChannelBansInput) SetNextToken(v string) *ListChannelBansInput

SetNextToken sets the NextToken field's value.

func (ListChannelBansInput) String

func (s ListChannelBansInput) String() string

String returns the string representation

func (*ListChannelBansInput) Validate

func (s *ListChannelBansInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListChannelBansOutput

type ListChannelBansOutput struct {

	// The ARN of the channel.
	ChannelArn *string `min:"5" type:"string"`

	// The information for each requested ban.
	ChannelBans []*ChannelBanSummary `type:"list"`

	// The token passed by previous API calls until all requested bans are returned.
	NextToken *string `type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (ListChannelBansOutput) GoString

func (s ListChannelBansOutput) GoString() string

GoString returns the string representation

func (*ListChannelBansOutput) SetChannelArn

func (s *ListChannelBansOutput) SetChannelArn(v string) *ListChannelBansOutput

SetChannelArn sets the ChannelArn field's value.

func (*ListChannelBansOutput) SetChannelBans

SetChannelBans sets the ChannelBans field's value.

func (*ListChannelBansOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListChannelBansOutput) String

func (s ListChannelBansOutput) String() string

String returns the string representation

type ListChannelMembershipsForAppInstanceUserInput

type ListChannelMembershipsForAppInstanceUserInput struct {

	// The ARN of the AppInstanceUsers
	AppInstanceUserArn *string `location:"querystring" locationName:"app-instance-user-arn" min:"5" type:"string"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The maximum number of users that you want returned.
	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`

	// The token returned from previous API requests until the number of channel
	// memberships is reached.
	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (ListChannelMembershipsForAppInstanceUserInput) GoString

GoString returns the string representation

func (*ListChannelMembershipsForAppInstanceUserInput) SetAppInstanceUserArn

SetAppInstanceUserArn sets the AppInstanceUserArn field's value.

func (*ListChannelMembershipsForAppInstanceUserInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (*ListChannelMembershipsForAppInstanceUserInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListChannelMembershipsForAppInstanceUserInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListChannelMembershipsForAppInstanceUserInput) String

String returns the string representation

func (*ListChannelMembershipsForAppInstanceUserInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListChannelMembershipsForAppInstanceUserOutput

type ListChannelMembershipsForAppInstanceUserOutput struct {

	// The token passed by previous API calls until all requested users are returned.
	ChannelMemberships []*ChannelMembershipForAppInstanceUserSummary `type:"list"`

	// The token passed by previous API calls until all requested users are returned.
	NextToken *string `type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (ListChannelMembershipsForAppInstanceUserOutput) GoString

GoString returns the string representation

func (*ListChannelMembershipsForAppInstanceUserOutput) SetChannelMemberships

SetChannelMemberships sets the ChannelMemberships field's value.

func (*ListChannelMembershipsForAppInstanceUserOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListChannelMembershipsForAppInstanceUserOutput) String

String returns the string representation

type ListChannelMembershipsInput

type ListChannelMembershipsInput struct {

	// The maximum number of channel memberships that you want returned.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The maximum number of channel memberships that you want returned.
	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`

	// The token passed by previous API calls until all requested channel memberships
	// are returned.
	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`

	// The membership type of a user, DEFAULT or HIDDEN. Default members are always
	// returned as part of ListChannelMemberships. Hidden members are only returned
	// if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden
	// members are not returned.
	Type *string `location:"querystring" locationName:"type" type:"string" enum:"ChannelMembershipType"`
	// contains filtered or unexported fields
}

func (ListChannelMembershipsInput) GoString

func (s ListChannelMembershipsInput) GoString() string

GoString returns the string representation

func (*ListChannelMembershipsInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*ListChannelMembershipsInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (*ListChannelMembershipsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListChannelMembershipsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListChannelMembershipsInput) SetType

SetType sets the Type field's value.

func (ListChannelMembershipsInput) String

String returns the string representation

func (*ListChannelMembershipsInput) Validate

func (s *ListChannelMembershipsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListChannelMembershipsOutput

type ListChannelMembershipsOutput struct {

	// The ARN of the channel.
	ChannelArn *string `min:"5" type:"string"`

	// The information for the requested channel memberships.
	ChannelMemberships []*ChannelMembershipSummary `type:"list"`

	// The token passed by previous API calls until all requested channel memberships
	// are returned.
	NextToken *string `type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (ListChannelMembershipsOutput) GoString

func (s ListChannelMembershipsOutput) GoString() string

GoString returns the string representation

func (*ListChannelMembershipsOutput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*ListChannelMembershipsOutput) SetChannelMemberships

SetChannelMemberships sets the ChannelMemberships field's value.

func (*ListChannelMembershipsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListChannelMembershipsOutput) String

String returns the string representation

type ListChannelMessagesInput

type ListChannelMessagesInput struct {

	// The ARN of the channel.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The maximum number of messages that you want returned.
	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`

	// The token passed by previous API calls until all requested messages are returned.
	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`

	// The final or ending time stamp for your requested messages.
	NotAfter *time.Time `location:"querystring" locationName:"not-after" type:"timestamp"`

	// The initial or starting time stamp for your requested messages.
	NotBefore *time.Time `location:"querystring" locationName:"not-before" type:"timestamp"`

	// The order in which you want messages sorted. Default is Descending, based
	// on time created.
	SortOrder *string `location:"querystring" locationName:"sort-order" type:"string" enum:"SortOrder"`
	// contains filtered or unexported fields
}

func (ListChannelMessagesInput) GoString

func (s ListChannelMessagesInput) GoString() string

GoString returns the string representation

func (*ListChannelMessagesInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*ListChannelMessagesInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (*ListChannelMessagesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListChannelMessagesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListChannelMessagesInput) SetNotAfter

SetNotAfter sets the NotAfter field's value.

func (*ListChannelMessagesInput) SetNotBefore

SetNotBefore sets the NotBefore field's value.

func (*ListChannelMessagesInput) SetSortOrder

SetSortOrder sets the SortOrder field's value.

func (ListChannelMessagesInput) String

func (s ListChannelMessagesInput) String() string

String returns the string representation

func (*ListChannelMessagesInput) Validate

func (s *ListChannelMessagesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListChannelMessagesOutput

type ListChannelMessagesOutput struct {

	// The ARN of the channel containing the requested messages.
	ChannelArn *string `min:"5" type:"string"`

	// The information about, and content of, each requested message.
	ChannelMessages []*ChannelMessageSummary `type:"list"`

	// The token passed by previous API calls until all requested messages are returned.
	NextToken *string `type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (ListChannelMessagesOutput) GoString

func (s ListChannelMessagesOutput) GoString() string

GoString returns the string representation

func (*ListChannelMessagesOutput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*ListChannelMessagesOutput) SetChannelMessages

SetChannelMessages sets the ChannelMessages field's value.

func (*ListChannelMessagesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListChannelMessagesOutput) String

func (s ListChannelMessagesOutput) String() string

String returns the string representation

type ListChannelModeratorsInput

type ListChannelModeratorsInput struct {

	// The ARN of the channel.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The maximum number of moderators that you want returned.
	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`

	// The token passed by previous API calls until all requested moderators are
	// returned.
	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (ListChannelModeratorsInput) GoString

func (s ListChannelModeratorsInput) GoString() string

GoString returns the string representation

func (*ListChannelModeratorsInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*ListChannelModeratorsInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (*ListChannelModeratorsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListChannelModeratorsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListChannelModeratorsInput) String

String returns the string representation

func (*ListChannelModeratorsInput) Validate

func (s *ListChannelModeratorsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListChannelModeratorsOutput

type ListChannelModeratorsOutput struct {

	// The ARN of the channel.
	ChannelArn *string `min:"5" type:"string"`

	// The information about and names of each moderator.
	ChannelModerators []*ChannelModeratorSummary `type:"list"`

	// The token passed by previous API calls until all requested moderators are
	// returned.
	NextToken *string `type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (ListChannelModeratorsOutput) GoString

func (s ListChannelModeratorsOutput) GoString() string

GoString returns the string representation

func (*ListChannelModeratorsOutput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*ListChannelModeratorsOutput) SetChannelModerators

SetChannelModerators sets the ChannelModerators field's value.

func (*ListChannelModeratorsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListChannelModeratorsOutput) String

String returns the string representation

type ListChannelsInput

type ListChannelsInput struct {

	// The ARN of the AppInstance.
	//
	// AppInstanceArn is a required field
	AppInstanceArn *string `location:"querystring" locationName:"app-instance-arn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The maximum number of channels that you want to return.
	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`

	// The token passed by previous API calls until all requested channels are returned.
	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`

	// The privacy setting. PUBLIC retrieves all the public channels. PRIVATE retrieves
	// private channels. Only an AppInstanceAdmin can retrieve private channels.
	Privacy *string `location:"querystring" locationName:"privacy" type:"string" enum:"ChannelPrivacy"`
	// contains filtered or unexported fields
}

func (ListChannelsInput) GoString

func (s ListChannelsInput) GoString() string

GoString returns the string representation

func (*ListChannelsInput) SetAppInstanceArn

func (s *ListChannelsInput) SetAppInstanceArn(v string) *ListChannelsInput

SetAppInstanceArn sets the AppInstanceArn field's value.

func (*ListChannelsInput) SetChimeBearer

func (s *ListChannelsInput) SetChimeBearer(v string) *ListChannelsInput

SetChimeBearer sets the ChimeBearer field's value.

func (*ListChannelsInput) SetMaxResults

func (s *ListChannelsInput) SetMaxResults(v int64) *ListChannelsInput

SetMaxResults sets the MaxResults field's value.

func (*ListChannelsInput) SetNextToken

func (s *ListChannelsInput) SetNextToken(v string) *ListChannelsInput

SetNextToken sets the NextToken field's value.

func (*ListChannelsInput) SetPrivacy

func (s *ListChannelsInput) SetPrivacy(v string) *ListChannelsInput

SetPrivacy sets the Privacy field's value.

func (ListChannelsInput) String

func (s ListChannelsInput) String() string

String returns the string representation

func (*ListChannelsInput) Validate

func (s *ListChannelsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListChannelsModeratedByAppInstanceUserInput

type ListChannelsModeratedByAppInstanceUserInput struct {

	// The ARN of the user in the moderated channel.
	AppInstanceUserArn *string `location:"querystring" locationName:"app-instance-user-arn" min:"5" type:"string"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The maximum number of channels in the request.
	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`

	// The token returned from previous API requests until the number of channels
	// moderated by the user is reached.
	NextToken *string `location:"querystring" locationName:"next-token" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (ListChannelsModeratedByAppInstanceUserInput) GoString

GoString returns the string representation

func (*ListChannelsModeratedByAppInstanceUserInput) SetAppInstanceUserArn

SetAppInstanceUserArn sets the AppInstanceUserArn field's value.

func (*ListChannelsModeratedByAppInstanceUserInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (*ListChannelsModeratedByAppInstanceUserInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListChannelsModeratedByAppInstanceUserInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListChannelsModeratedByAppInstanceUserInput) String

String returns the string representation

func (*ListChannelsModeratedByAppInstanceUserInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListChannelsModeratedByAppInstanceUserOutput

type ListChannelsModeratedByAppInstanceUserOutput struct {

	// The moderated channels in the request.
	Channels []*ChannelModeratedByAppInstanceUserSummary `type:"list"`

	// The token returned from previous API requests until the number of channels
	// moderated by the user is reached.
	NextToken *string `type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (ListChannelsModeratedByAppInstanceUserOutput) GoString

GoString returns the string representation

func (*ListChannelsModeratedByAppInstanceUserOutput) SetChannels

SetChannels sets the Channels field's value.

func (*ListChannelsModeratedByAppInstanceUserOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListChannelsModeratedByAppInstanceUserOutput) String

String returns the string representation

type ListChannelsOutput

type ListChannelsOutput struct {

	// The information about each channel.
	Channels []*ChannelSummary `type:"list"`

	// The token returned from previous API requests until the number of channels
	// is reached.
	NextToken *string `type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (ListChannelsOutput) GoString

func (s ListChannelsOutput) GoString() string

GoString returns the string representation

func (*ListChannelsOutput) SetChannels

SetChannels sets the Channels field's value.

func (*ListChannelsOutput) SetNextToken

func (s *ListChannelsOutput) SetNextToken(v string) *ListChannelsOutput

SetNextToken sets the NextToken field's value.

func (ListChannelsOutput) String

func (s ListChannelsOutput) String() string

String returns the string representation

type MessagingSessionEndpoint

type MessagingSessionEndpoint struct {

	// The endpoint to which you establish a websocket connection.
	Url *string `type:"string"`
	// contains filtered or unexported fields
}

The websocket endpoint used to connect to Amazon Chime SDK messaging.

func (MessagingSessionEndpoint) GoString

func (s MessagingSessionEndpoint) GoString() string

GoString returns the string representation

func (*MessagingSessionEndpoint) SetUrl

SetUrl sets the Url field's value.

func (MessagingSessionEndpoint) String

func (s MessagingSessionEndpoint) String() string

String returns the string representation

type NotFoundException

type NotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

One or more of the resources in the request does not exist in the system.

func (*NotFoundException) Code

func (s *NotFoundException) Code() string

Code returns the exception type name.

func (*NotFoundException) Error

func (s *NotFoundException) Error() string

func (NotFoundException) GoString

func (s NotFoundException) GoString() string

GoString returns the string representation

func (*NotFoundException) Message

func (s *NotFoundException) Message() string

Message returns the exception's message.

func (*NotFoundException) OrigErr

func (s *NotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NotFoundException) RequestID

func (s *NotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NotFoundException) StatusCode

func (s *NotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (NotFoundException) String

func (s NotFoundException) String() string

String returns the string representation

type RedactChannelMessageInput

type RedactChannelMessageInput struct {

	// The ARN of the channel containing the messages that you want to redact.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The ID of the message being redacted.
	//
	// MessageId is a required field
	MessageId *string `location:"uri" locationName:"messageId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RedactChannelMessageInput) GoString

func (s RedactChannelMessageInput) GoString() string

GoString returns the string representation

func (*RedactChannelMessageInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*RedactChannelMessageInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (*RedactChannelMessageInput) SetMessageId

SetMessageId sets the MessageId field's value.

func (RedactChannelMessageInput) String

func (s RedactChannelMessageInput) String() string

String returns the string representation

func (*RedactChannelMessageInput) Validate

func (s *RedactChannelMessageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RedactChannelMessageOutput

type RedactChannelMessageOutput struct {

	// The ARN of the channel containing the messages that you want to redact.
	ChannelArn *string `min:"5" type:"string"`

	// The ID of the message being redacted.
	MessageId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (RedactChannelMessageOutput) GoString

func (s RedactChannelMessageOutput) GoString() string

GoString returns the string representation

func (*RedactChannelMessageOutput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*RedactChannelMessageOutput) SetMessageId

SetMessageId sets the MessageId field's value.

func (RedactChannelMessageOutput) String

String returns the string representation

type ResourceLimitExceededException

type ResourceLimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The request exceeds the resource limit.

func (*ResourceLimitExceededException) Code

Code returns the exception type name.

func (*ResourceLimitExceededException) Error

func (ResourceLimitExceededException) GoString

GoString returns the string representation

func (*ResourceLimitExceededException) Message

Message returns the exception's message.

func (*ResourceLimitExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceLimitExceededException) RequestID

func (s *ResourceLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceLimitExceededException) StatusCode

func (s *ResourceLimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceLimitExceededException) String

String returns the string representation

type SendChannelMessageInput

type SendChannelMessageInput struct {

	// The ARN of the channel.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The Idempotency token for each client request.
	ClientRequestToken *string `min:"2" type:"string" idempotencyToken:"true" sensitive:"true"`

	// The content of the message.
	//
	// Content is a required field
	Content *string `min:"1" type:"string" required:"true" sensitive:"true"`

	// The optional metadata for each message.
	Metadata *string `type:"string" sensitive:"true"`

	// Boolean that controls whether the message is persisted on the back end. Required.
	//
	// Persistence is a required field
	Persistence *string `type:"string" required:"true" enum:"ChannelMessagePersistenceType"`

	// The type of message, STANDARD or CONTROL.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"ChannelMessageType"`
	// contains filtered or unexported fields
}

func (SendChannelMessageInput) GoString

func (s SendChannelMessageInput) GoString() string

GoString returns the string representation

func (*SendChannelMessageInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*SendChannelMessageInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (*SendChannelMessageInput) SetClientRequestToken

func (s *SendChannelMessageInput) SetClientRequestToken(v string) *SendChannelMessageInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*SendChannelMessageInput) SetContent

SetContent sets the Content field's value.

func (*SendChannelMessageInput) SetMetadata

SetMetadata sets the Metadata field's value.

func (*SendChannelMessageInput) SetPersistence

SetPersistence sets the Persistence field's value.

func (*SendChannelMessageInput) SetType

SetType sets the Type field's value.

func (SendChannelMessageInput) String

func (s SendChannelMessageInput) String() string

String returns the string representation

func (*SendChannelMessageInput) Validate

func (s *SendChannelMessageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SendChannelMessageOutput

type SendChannelMessageOutput struct {

	// The ARN of the channel.
	ChannelArn *string `min:"5" type:"string"`

	// The ID string assigned to each message.
	MessageId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (SendChannelMessageOutput) GoString

func (s SendChannelMessageOutput) GoString() string

GoString returns the string representation

func (*SendChannelMessageOutput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*SendChannelMessageOutput) SetMessageId

SetMessageId sets the MessageId field's value.

func (SendChannelMessageOutput) String

func (s SendChannelMessageOutput) String() string

String returns the string representation

type ServiceFailureException

type ServiceFailureException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The service encountered an unexpected error.

func (*ServiceFailureException) Code

func (s *ServiceFailureException) Code() string

Code returns the exception type name.

func (*ServiceFailureException) Error

func (s *ServiceFailureException) Error() string

func (ServiceFailureException) GoString

func (s ServiceFailureException) GoString() string

GoString returns the string representation

func (*ServiceFailureException) Message

func (s *ServiceFailureException) Message() string

Message returns the exception's message.

func (*ServiceFailureException) OrigErr

func (s *ServiceFailureException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceFailureException) RequestID

func (s *ServiceFailureException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceFailureException) StatusCode

func (s *ServiceFailureException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceFailureException) String

func (s ServiceFailureException) String() string

String returns the string representation

type ServiceUnavailableException

type ServiceUnavailableException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The service is currently unavailable.

func (*ServiceUnavailableException) Code

Code returns the exception type name.

func (*ServiceUnavailableException) Error

func (ServiceUnavailableException) GoString

func (s ServiceUnavailableException) GoString() string

GoString returns the string representation

func (*ServiceUnavailableException) Message

func (s *ServiceUnavailableException) Message() string

Message returns the exception's message.

func (*ServiceUnavailableException) OrigErr

func (s *ServiceUnavailableException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceUnavailableException) RequestID

func (s *ServiceUnavailableException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceUnavailableException) StatusCode

func (s *ServiceUnavailableException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceUnavailableException) String

String returns the string representation

type Tag

type Tag struct {

	// The key of the tag.
	//
	// Key is a required field
	Key *string `min:"1" type:"string" required:"true" sensitive:"true"`

	// The value of the tag.
	//
	// Value is a required field
	Value *string `min:"1" type:"string" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

Describes a tag applied to a resource.

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate

func (s *Tag) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ThrottledClientException

type ThrottledClientException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The client exceeded its request rate limit.

func (*ThrottledClientException) Code

func (s *ThrottledClientException) Code() string

Code returns the exception type name.

func (*ThrottledClientException) Error

func (s *ThrottledClientException) Error() string

func (ThrottledClientException) GoString

func (s ThrottledClientException) GoString() string

GoString returns the string representation

func (*ThrottledClientException) Message

func (s *ThrottledClientException) Message() string

Message returns the exception's message.

func (*ThrottledClientException) OrigErr

func (s *ThrottledClientException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottledClientException) RequestID

func (s *ThrottledClientException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottledClientException) StatusCode

func (s *ThrottledClientException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottledClientException) String

func (s ThrottledClientException) String() string

String returns the string representation

type UnauthorizedClientException

type UnauthorizedClientException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Code_ *string `locationName:"Code" type:"string" enum:"ErrorCode"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The client is not currently authorized to make the request.

func (*UnauthorizedClientException) Code

Code returns the exception type name.

func (*UnauthorizedClientException) Error

func (UnauthorizedClientException) GoString

func (s UnauthorizedClientException) GoString() string

GoString returns the string representation

func (*UnauthorizedClientException) Message

func (s *UnauthorizedClientException) Message() string

Message returns the exception's message.

func (*UnauthorizedClientException) OrigErr

func (s *UnauthorizedClientException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*UnauthorizedClientException) RequestID

func (s *UnauthorizedClientException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*UnauthorizedClientException) StatusCode

func (s *UnauthorizedClientException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (UnauthorizedClientException) String

String returns the string representation

type UpdateChannelInput

type UpdateChannelInput struct {

	// The ARN of the channel.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The metadata for the update request.
	Metadata *string `type:"string" sensitive:"true"`

	// The mode of the update request.
	//
	// Mode is a required field
	Mode *string `type:"string" required:"true" enum:"ChannelMode"`

	// The name of the channel.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

func (UpdateChannelInput) GoString

func (s UpdateChannelInput) GoString() string

GoString returns the string representation

func (*UpdateChannelInput) SetChannelArn

func (s *UpdateChannelInput) SetChannelArn(v string) *UpdateChannelInput

SetChannelArn sets the ChannelArn field's value.

func (*UpdateChannelInput) SetChimeBearer

func (s *UpdateChannelInput) SetChimeBearer(v string) *UpdateChannelInput

SetChimeBearer sets the ChimeBearer field's value.

func (*UpdateChannelInput) SetMetadata

func (s *UpdateChannelInput) SetMetadata(v string) *UpdateChannelInput

SetMetadata sets the Metadata field's value.

func (*UpdateChannelInput) SetMode

SetMode sets the Mode field's value.

func (*UpdateChannelInput) SetName

SetName sets the Name field's value.

func (UpdateChannelInput) String

func (s UpdateChannelInput) String() string

String returns the string representation

func (*UpdateChannelInput) Validate

func (s *UpdateChannelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateChannelMessageInput

type UpdateChannelMessageInput struct {

	// The ARN of the channel.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`

	// The content of the message being updated.
	Content *string `type:"string" sensitive:"true"`

	// The ID string of the message being updated.
	//
	// MessageId is a required field
	MessageId *string `location:"uri" locationName:"messageId" min:"1" type:"string" required:"true"`

	// The metadata of the message being updated.
	Metadata *string `type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (UpdateChannelMessageInput) GoString

func (s UpdateChannelMessageInput) GoString() string

GoString returns the string representation

func (*UpdateChannelMessageInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*UpdateChannelMessageInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (*UpdateChannelMessageInput) SetContent

SetContent sets the Content field's value.

func (*UpdateChannelMessageInput) SetMessageId

SetMessageId sets the MessageId field's value.

func (*UpdateChannelMessageInput) SetMetadata

SetMetadata sets the Metadata field's value.

func (UpdateChannelMessageInput) String

func (s UpdateChannelMessageInput) String() string

String returns the string representation

func (*UpdateChannelMessageInput) Validate

func (s *UpdateChannelMessageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateChannelMessageOutput

type UpdateChannelMessageOutput struct {

	// The ARN of the channel.
	ChannelArn *string `min:"5" type:"string"`

	// The ID string of the message being updated.
	MessageId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateChannelMessageOutput) GoString

func (s UpdateChannelMessageOutput) GoString() string

GoString returns the string representation

func (*UpdateChannelMessageOutput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*UpdateChannelMessageOutput) SetMessageId

SetMessageId sets the MessageId field's value.

func (UpdateChannelMessageOutput) String

String returns the string representation

type UpdateChannelOutput

type UpdateChannelOutput struct {

	// The ARN of the channel.
	ChannelArn *string `min:"5" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateChannelOutput) GoString

func (s UpdateChannelOutput) GoString() string

GoString returns the string representation

func (*UpdateChannelOutput) SetChannelArn

func (s *UpdateChannelOutput) SetChannelArn(v string) *UpdateChannelOutput

SetChannelArn sets the ChannelArn field's value.

func (UpdateChannelOutput) String

func (s UpdateChannelOutput) String() string

String returns the string representation

type UpdateChannelReadMarkerInput

type UpdateChannelReadMarkerInput struct {

	// The ARN of the channel.
	//
	// ChannelArn is a required field
	ChannelArn *string `location:"uri" locationName:"channelArn" min:"5" type:"string" required:"true"`

	// The AppInstanceUserArn of the user that makes the API call.
	//
	// ChimeBearer is a required field
	ChimeBearer *string `location:"header" locationName:"x-amz-chime-bearer" min:"5" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateChannelReadMarkerInput) GoString

func (s UpdateChannelReadMarkerInput) GoString() string

GoString returns the string representation

func (*UpdateChannelReadMarkerInput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (*UpdateChannelReadMarkerInput) SetChimeBearer

SetChimeBearer sets the ChimeBearer field's value.

func (UpdateChannelReadMarkerInput) String

String returns the string representation

func (*UpdateChannelReadMarkerInput) Validate

func (s *UpdateChannelReadMarkerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateChannelReadMarkerOutput

type UpdateChannelReadMarkerOutput struct {

	// The ARN of the channel.
	ChannelArn *string `min:"5" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateChannelReadMarkerOutput) GoString

GoString returns the string representation

func (*UpdateChannelReadMarkerOutput) SetChannelArn

SetChannelArn sets the ChannelArn field's value.

func (UpdateChannelReadMarkerOutput) String

String returns the string representation

Directories

Path Synopsis
Package chimesdkmessagingiface provides an interface to enable mocking the Amazon Chime SDK Messaging service client for testing your code.
Package chimesdkmessagingiface provides an interface to enable mocking the Amazon Chime SDK Messaging service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL