AWS SDK for Go (PILOT)
API Reference

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

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

UpdateContactInput

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

type UpdateContactInput struct { ContactArn *string `type:"string" required:"true"` DisplayName *string `min:"1" type:"string"` FirstName *string `min:"1" type:"string"` LastName *string `min:"1" type:"string"` PhoneNumber *string `type:"string" sensitive:"true"` }

ContactArn

Type: *string

The ARN of the contact to update.

ContactArn is a required field

DisplayName

Type: *string

The updated display name of the contact.

FirstName

Type: *string

The updated first name of the contact.

LastName

Type: *string

The updated last name of the contact.

PhoneNumber

Type: *string

The updated phone number of the contact.

Method

GoString

func (s UpdateContactInput) GoString() string

GoString returns the string representation

SetContactArn

func (s *UpdateContactInput) SetContactArn(v string) *UpdateContactInput

SetContactArn sets the ContactArn field's value.

SetDisplayName

func (s *UpdateContactInput) SetDisplayName(v string) *UpdateContactInput

SetDisplayName sets the DisplayName field's value.

SetFirstName

func (s *UpdateContactInput) SetFirstName(v string) *UpdateContactInput

SetFirstName sets the FirstName field's value.

SetLastName

func (s *UpdateContactInput) SetLastName(v string) *UpdateContactInput

SetLastName sets the LastName field's value.

SetPhoneNumber

func (s *UpdateContactInput) SetPhoneNumber(v string) *UpdateContactInput

SetPhoneNumber sets the PhoneNumber field's value.

String

func (s UpdateContactInput) String() string

String returns the string representation

Validate

func (s *UpdateContactInput) Validate() error

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

On this page: