AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Calls the AWS Account PutContactInformation API operation.

Syntax

Write-ACCTContactInformation
-AccountId <String>
-ContactInformation_AddressLine1 <String>
-ContactInformation_AddressLine2 <String>
-ContactInformation_AddressLine3 <String>
-ContactInformation_City <String>
-ContactInformation_CompanyName <String>
-ContactInformation_CountryCode <String>
-ContactInformation_DistrictOrCounty <String>
-ContactInformation_FullName <String>
-ContactInformation_PhoneNumber <String>
-ContactInformation_PostalCode <String>
-ContactInformation_StateOrRegion <String>
-ContactInformation_WebsiteUrl <String>
-Select <String>
-Force <SwitchParameter>
-ClientConfig <AmazonAccountConfig>

Description

Updates the primary contact information of an Amazon Web Services account. For complete details about how to use the primary contact operations, see Update the primary and alternate contact information.

Parameters

-AccountId <String>
Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must also be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter.To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ClientConfig <AmazonAccountConfig>
Amazon.PowerShell.Cmdlets.ACCT.AmazonAccountClientCmdlet.ClientConfig
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ContactInformation_AddressLine1 <String>
The first line of the primary contact address.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-ContactInformation_AddressLine2 <String>
The second line of the primary contact address, if any.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ContactInformation_AddressLine3 <String>
The third line of the primary contact address, if any.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ContactInformation_City <String>
The city of the primary contact address.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-ContactInformation_CompanyName <String>
The name of the company associated with the primary contact information, if any.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ContactInformation_CountryCode <String>
The ISO-3166 two-letter country code for the primary contact address.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-ContactInformation_DistrictOrCounty <String>
The district or county of the primary contact address, if any.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ContactInformation_FullName <String>
The full name of the primary contact address.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-ContactInformation_PhoneNumber <String>
The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-ContactInformation_PostalCode <String>
The postal code of the primary contact address.
Required?True
Position?Named
Accept pipeline input?True (ByPropertyName)
-ContactInformation_StateOrRegion <String>
The state or region of the primary contact address. This field is required in selected countries.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ContactInformation_WebsiteUrl <String>
The URL of the website associated with the primary contact information, if any.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Select <String>
Use the -Select parameter to control the cmdlet output. The cmdlet doesn't have a return value by default. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.Account.Model.PutContactInformationResponse). Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)

Common Credential and Region Parameters

-AccessKey <String>
The AWS access key for the user account. This can be a temporary access key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAK
-Credential <AWSCredentials>
An AWSCredentials object instance containing access and secret key information, and optionally a token for session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-EndpointUrl <String>
The endpoint to make the call against.Note: This parameter is primarily for internal AWS use and is not required/should not be specified for normal usage. The cmdlets normally determine which endpoint to call based on the region specified to the -Region parameter or set as default in the shell (via Set-DefaultAWSRegion). Only specify this parameter if you must direct the call to a specific custom endpoint.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-NetworkCredential <PSCredential>
Used with SAML-based authentication when ProfileName references a SAML role profile. Contains the network credentials to be supplied during authentication with the configured identity provider's endpoint. This parameter is not required if the user's default network identity can or should be used during authentication.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-ProfileLocation <String>
Used to specify the name and location of the ini-format credential file (shared with the AWS CLI and other AWS SDKs)If this optional parameter is omitted this cmdlet will search the encrypted credential file used by the AWS SDK for .NET and AWS Toolkit for Visual Studio first. If the profile is not found then the cmdlet will search in the ini-format credential file at the default location: (user's home directory)\.aws\credentials.If this parameter is specified then this cmdlet will only search the ini-format credential file at the location given.As the current folder can vary in a shell or during script execution it is advised that you use specify a fully qualified path instead of a relative path.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAWSProfilesLocation, ProfilesLocation
-ProfileName <String>
The user-defined name of an AWS credentials or SAML-based role profile containing credential information. The profile is expected to be found in the secure credential file shared with the AWS SDK for .NET and AWS Toolkit for Visual Studio. You can also specify the name of a profile stored in the .ini-format credential file used with the AWS CLI and other AWS SDKs.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesStoredCredentials, AWSProfileName
-Region <Object>
The system name of an AWS region or an AWSRegion instance. This governs the endpoint that will be used when calling service operations. Note that the AWS resources referenced in a call are usually region-specific.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesRegionToCall
-SecretKey <String>
The AWS secret key for the user account. This can be a temporary secret key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSK, SecretAccessKey
-SessionToken <String>
The session token if the access and secret keys are temporary session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesST

Outputs

This cmdlet does not generate any output.The service response (type Amazon.Account.Model.PutContactInformationResponse) can be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.

Supported Version

AWS Tools for PowerShell: 2.x.y.z