// Provides information about the phone numbers for the specified Amazon Connect
// instance. For more information about phone numbers, see Set Up Phone Numbers for
// Your Contact Center
// (https://docs.aws.amazon.com/connect/latest/adminguide/contact-center-phone-number.html)
// in the Amazon Connect Administrator Guide.
Provides information about the phone numbers for the specified Amazon Connect
instance. For more information about phone numbers, see Set Up Phone Numbers for
Your Contact Center

in the Amazon Connect Administrator Guide.
// Provides information about the phone numbers for the specified Amazon Connect // instance . For more information about phone numbers see Set Up Phone Numbers for // Your Contact Center // ( https : // docs . aws . amazon . com / connect / latest / adminguide / contact - center - phone - number . html ) // in the Amazon Connect Administrator Guide .
func (c *Client) ListPhoneNumbers(ctx context.Context, params *ListPhoneNumbersInput, optFns ...func(*Options)) (*ListPhoneNumbersOutput, error) {
	if params == nil {
		params = &ListPhoneNumbersInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListPhoneNumbers", params, optFns, addOperationListPhoneNumbersMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListPhoneNumbersOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListPhoneNumbers ( ctx context . Context , params * ListPhoneNumbersInput , optFns ... func ( * Options ) ) ( * ListPhoneNumbersOutput , error ) { if params == nil { params = & ListPhoneNumbersInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListPhoneNumbersMiddlewares ) if err != nil { return nil , err } out := result . ( * ListPhoneNumbersOutput ) out . ResultMetadata = metadata return out , nil }
Provides information about the phone numbers for the specified Amazon Connect
instance.
Provides information about the phone numbers for the specified Amazon Connect instance .