AWS.Tools.CloudTrail.dll-Help.xml

<helpItems schema="maml">
  <command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <details>
      <name>Add-CTResourceTag</name>
      <description>
        <para>Calls the AWS CloudTrail AddTags API operation.</para>
      </description>
      <verb>Add</verb>
      <noun>CTResourceTag</noun>
      <copyright>
        <para>&amp;copy; Copyright 2012 - 2019 Amazon.com, Inc.or its affiliates.All Rights Reserved.</para>
      </copyright>
    </details>
    <description>
      <para>Adds one or more tags to a trail, up to a limit of 50. Tags must be unique per trail. Overwrites an existing tag's value when a new value is specified for an existing tag key. If you specify a key without a value, the tag will be created with the specified key and a value of null. You can tag a trail that applies to all regions only from the region in which the trail was created (that is, from its home region). </para>
    </description>
    <syntax>
      <syntaxItem>
        <name>Add-CTResourceTag</name>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, )" position="1">
          <name>ResourceId</name>
          <description>
            <para>Specifies the ARN of the trail to which one or more tags will be added. The format of a trail ARN is:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>TagsList</name>
          <description>
            <para>Contains a list of CloudTrail tags, up to a limit of 50 </para>
          </description>
          <parameterValue required="true" variableLength="false">Amazon.CloudTrail.Model.Tag[]</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>PassThru</name>
          <description>
            <para>Returns the value passed to the ResourceId parameter. By default, this cmdlet does not generate any output. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>Force</name>
          <description>
            <para>This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        </parameter>
      </syntaxItem>
    </syntax>
    <parameters>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>Force</name>
        <description>
          <para>This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        <type>
          <name>System.Management.Automation.SwitchParameter</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>PassThru</name>
        <description>
          <para>Returns the value passed to the ResourceId parameter. By default, this cmdlet does not generate any output. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        <type>
          <name>System.Management.Automation.SwitchParameter</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, )" position="1">
        <name>ResourceId</name>
        <description>
          <para>Specifies the ARN of the trail to which one or more tags will be added. The format of a trail ARN is:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>TagsList</name>
        <description>
          <para>Contains a list of CloudTrail tags, up to a limit of 50 </para>
        </description>
        <parameterValue required="true" variableLength="false">Amazon.CloudTrail.Model.Tag[]</parameterValue>
        <type>
          <name>Amazon.CloudTrail.Model.Tag[]</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
    </parameters>
    <returnValues>
      <returnValue>
        <type>
          <name>None or System.String</name>
          <uri />
          <description />
        </type>
        <description>
          <para>When you use the PassThru parameter, this cmdlet outputs the value supplied to the ResourceId parameter. Otherwise, this cmdlet does not return any output. The service response (type Amazon.CloudTrail.Model.AddTagsResponse) can be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.</para>
        </description>
      </returnValue>
    </returnValues>
    <relatedLinks>
      <navigationLink>
        <linkText>Online version:</linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/index.html?page=Add-CTResourceTag.html&amp;tocid=Add-CTResourceTag</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Common credential and region parameters: </linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/items/pstoolsref-commonparams.html</uri>
      </navigationLink>
      <navigationLink>
        <linkText>User Guide:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/userguide/</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Service API Reference:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/</uri>
      </navigationLink>
    </relatedLinks>
  </command>
  <command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <details>
      <name>Find-CTEvent</name>
      <description>
        <para>Calls the AWS CloudTrail LookupEvents API operation.</para>
      </description>
      <verb>Find</verb>
      <noun>CTEvent</noun>
      <copyright>
        <para>&amp;copy; Copyright 2012 - 2019 Amazon.com, Inc.or its affiliates.All Rights Reserved.</para>
      </copyright>
    </details>
    <description>
      <para>Looks up <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-concepts.html#cloudtrail-concepts-management-events">management events</a> captured by CloudTrail. Events for a region can be looked up in that region during the last 90 days. Lookup supports the following attributes:
 -
AWS access key
 -
Event ID
 -
Event name
 -
Event source
 -
Read only
 -
Resource name
 -
Resource type
 -
User name
All attributes are optional. The default number of results returned is 50, with a maximum of 50 possible. The response includes a token that you can use to get the next page of results.
<important><para> The rate of lookup requests is limited to one per second per account. If this limit is exceeded, a throttling error occurs. </para></important><important><para> Events that occurred during the selected time range will not be available for lookup if CloudTrail logging was not enabled when the events occurred. </para></important><br /><br />This operation automatically pages all available results to the pipeline - parameters related to iteration are only needed if you want to manually control the paginated output. </para>
    </description>
    <syntax>
      <syntaxItem>
        <name>Find-CTEvent</name>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>EndTime</name>
          <description>
            <para>Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.DateTime</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>LookupAttribute</name>
          <description>
            <para>Contains a list of lookup attributes. Currently the list can contain only one item. </para>
          </description>
          <parameterValue required="true" variableLength="false">Amazon.CloudTrail.Model.LookupAttribute[]</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>StartTime</name>
          <description>
            <para>Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.DateTime</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>MaxResult</name>
          <description>
            <para>The number of events to return. Possible values are 1 through 50. The default is 50. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Int32</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>NextToken</name>
          <description>
            <para>The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the the original call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
<br /><b>Note:</b> This parameter is only used if you are manually controlling output pagination of the service API call. <br />In order to manually control output pagination, assign $null, for the first call, and the value of $AWSHistory.LastServiceResponse.NextToken, for subsequent calls, to this parameter. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
      </syntaxItem>
    </syntax>
    <parameters>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>EndTime</name>
        <description>
          <para>Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.DateTime</parameterValue>
        <type>
          <name>System.DateTime</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>LookupAttribute</name>
        <description>
          <para>Contains a list of lookup attributes. Currently the list can contain only one item. </para>
        </description>
        <parameterValue required="true" variableLength="false">Amazon.CloudTrail.Model.LookupAttribute[]</parameterValue>
        <type>
          <name>Amazon.CloudTrail.Model.LookupAttribute[]</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>MaxResult</name>
        <description>
          <para>The number of events to return. Possible values are 1 through 50. The default is 50. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Int32</parameterValue>
        <type>
          <name>System.Int32</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>NextToken</name>
        <description>
          <para>The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the the original call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
<br /><b>Note:</b> This parameter is only used if you are manually controlling output pagination of the service API call. <br />In order to manually control output pagination, assign $null, for the first call, and the value of $AWSHistory.LastServiceResponse.NextToken, for subsequent calls, to this parameter. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>StartTime</name>
        <description>
          <para>Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.DateTime</parameterValue>
        <type>
          <name>System.DateTime</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
    </parameters>
    <returnValues>
      <returnValue>
        <type>
          <name>Amazon.CloudTrail.Model.Event</name>
          <uri />
          <description />
        </type>
        <description>
          <para>This cmdlet returns a collection of Amazon.CloudTrail.Model.Event objects.
The service call response (type Amazon.CloudTrail.Model.LookupEventsResponse) can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.
Additionally, the following properties are added as Note properties to the service response type instance for the cmdlet entry in the $AWSHistory stack: NextToken (type System.String)</para>
        </description>
      </returnValue>
    </returnValues>
    <relatedLinks>
      <navigationLink>
        <linkText>Online version:</linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/index.html?page=Find-CTEvent.html&amp;tocid=Find-CTEvent</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Common credential and region parameters: </linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/items/pstoolsref-commonparams.html</uri>
      </navigationLink>
      <navigationLink>
        <linkText>User Guide:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/userguide/</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Service API Reference:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/</uri>
      </navigationLink>
    </relatedLinks>
    <examples>
      <example>
        <title>-------------------------- EXAMPLE 1 --------------------------</title><code>PS C:\&gt;Find-CTEvent</code><remarks><para>Description</para><para>-----------</para><para>Returns all events that have occurred over the last seven days. The cmdlet by default automatically makes multiple calls to deliver all events, exiting when the service indicates no further data is available.</para><para /><para /></remarks>
      </example>
      <example>
        <title>-------------------------- EXAMPLE 2 --------------------------</title><code>PS C:\&gt;Find-CTEvent -Region eu-central-1</code><remarks><para>Description</para><para>-----------</para><para>Returns all events that have occurred over the last seven days specifying a region that is not the current shell default.</para><para /><para /></remarks>
      </example>
      <example>
        <title>-------------------------- EXAMPLE 3 --------------------------</title><code>PS C:\&gt;Find-CTEvent -LookupAttribute @{ AttributeKey="EventName"; AttributeValue="RunInstances" }</code><remarks><para>Description</para><para>-----------</para><para>Returns all events that are associated with the RunInstances API call.</para><para /><para /></remarks>
      </example>
      <example>
        <title>-------------------------- EXAMPLE 4 --------------------------</title><code>PS C:\&gt;Find-CTEvent -MaxResult 5</code><remarks><para>Description</para><para>-----------</para><para>Returns the first 5 available events. The token to use to retrieve further events is attached as a note property named 'NextToken' to the $AWSHistory.LastServiceResponse member.</para><para /><para /></remarks>
      </example>
      <example>
        <title>-------------------------- EXAMPLE 5 --------------------------</title><code>PS C:\&gt;Find-CTEvent -MaxResult 10 -NextToken $AWSHistory.LastServiceResponse.NextToken</code><remarks><para>Description</para><para>-----------</para><para>Returns the next 10 events using the 'next page' token from a previous call to indicate where to start returning events from in the sequence.</para><para /><para /></remarks>
      </example>
      <example>
        <title>-------------------------- EXAMPLE 6 --------------------------</title><code>
$nextToken = $null
do
{
    Find-CTEvent -MaxResult 5 -NextToken $nextToken
    $nextToken = $AWSHistory.LastServiceResponse.NextToken
} while ($nextToken -ne $null)
        </code><remarks><para>Description</para><para>-----------</para><para>This example shows how to loop through the available events using manual paging, fetching a maximum of 5 events per call.</para><para /><para /></remarks>
      </example>
    </examples>
  </command>
  <command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <details>
      <name>Get-CTEventSelector</name>
      <description>
        <para>Calls the AWS CloudTrail GetEventSelectors API operation.</para>
      </description>
      <verb>Get</verb>
      <noun>CTEventSelector</noun>
      <copyright>
        <para>&amp;copy; Copyright 2012 - 2019 Amazon.com, Inc.or its affiliates.All Rights Reserved.</para>
      </copyright>
    </details>
    <description>
      <para>Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following:
 -
If your event selector includes read-only events, write-only events, or all events. This applies to both management events and data events.
 -
If your event selector includes management events.
 -
If your event selector includes data events, the Amazon S3 objects or AWS Lambda functions that you are logging for data events.
For more information, see <a href="http://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-and-data-events-with-cloudtrail.html">Logging Data and Management Events for Trails </a> in the <i>AWS CloudTrail User Guide</i>. </para>
    </description>
    <syntax>
      <syntaxItem>
        <name>Get-CTEventSelector</name>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, )" position="1">
          <name>TrailName</name>
          <description>
            <para>Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements:
 - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
 - Start with a letter or number, and end with a letter or number
 - Be between 3 and 128 characters
 - Have no adjacent periods, underscores or dashes. Names like <code>my-_namespace</code> and <code>my--namespace</code> are not valid.
 - Not be in IP address format (for example, 192.168.5.4)
If you specify a trail ARN, it must be in the format:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
      </syntaxItem>
    </syntax>
    <parameters>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, )" position="1">
        <name>TrailName</name>
        <description>
          <para>Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements:
 - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
 - Start with a letter or number, and end with a letter or number
 - Be between 3 and 128 characters
 - Have no adjacent periods, underscores or dashes. Names like <code>my-_namespace</code> and <code>my--namespace</code> are not valid.
 - Not be in IP address format (for example, 192.168.5.4)
If you specify a trail ARN, it must be in the format:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
    </parameters>
    <returnValues>
      <returnValue>
        <type>
          <name>Amazon.CloudTrail.Model.GetEventSelectorsResponse</name>
          <uri />
          <description />
        </type>
        <description>
          <para>This cmdlet returns a Amazon.CloudTrail.Model.GetEventSelectorsResponse object containing multiple properties. The object can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.</para>
        </description>
      </returnValue>
    </returnValues>
    <relatedLinks>
      <navigationLink>
        <linkText>Online version:</linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/index.html?page=Get-CTEventSelector.html&amp;tocid=Get-CTEventSelector</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Common credential and region parameters: </linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/items/pstoolsref-commonparams.html</uri>
      </navigationLink>
      <navigationLink>
        <linkText>User Guide:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/userguide/</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Service API Reference:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/</uri>
      </navigationLink>
    </relatedLinks>
  </command>
  <command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <details>
      <name>Get-CTPublicKey</name>
      <description>
        <para>Calls the AWS CloudTrail ListPublicKeys API operation.</para>
      </description>
      <verb>Get</verb>
      <noun>CTPublicKey</noun>
      <copyright>
        <para>&amp;copy; Copyright 2012 - 2019 Amazon.com, Inc.or its affiliates.All Rights Reserved.</para>
      </copyright>
    </details>
    <description>
      <para>Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key.
CloudTrail uses different private/public key pairs per region. Each digest file is signed with a private key unique to its region. Therefore, when you validate a digest file from a particular region, you must look in the same region for its corresponding public key.
<br /><br />This operation automatically pages all available results to the pipeline - parameters related to iteration are only needed if you want to manually control the paginated output. </para>
    </description>
    <syntax>
      <syntaxItem>
        <name>Get-CTPublicKey</name>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>EndTime</name>
          <description>
            <para>Optionally specifies, in UTC, the end of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.DateTime</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>StartTime</name>
          <description>
            <para>Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.DateTime</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>NextToken</name>
          <description>
            <para>Reserved for future use.
<br /><b>Note:</b> This parameter is only used if you are manually controlling output pagination of the service API call. <br />In order to manually control output pagination, assign $null, for the first call, and the value of $AWSHistory.LastServiceResponse.NextToken, for subsequent calls, to this parameter. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
      </syntaxItem>
    </syntax>
    <parameters>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>EndTime</name>
        <description>
          <para>Optionally specifies, in UTC, the end of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.DateTime</parameterValue>
        <type>
          <name>System.DateTime</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>NextToken</name>
        <description>
          <para>Reserved for future use.
<br /><b>Note:</b> This parameter is only used if you are manually controlling output pagination of the service API call. <br />In order to manually control output pagination, assign $null, for the first call, and the value of $AWSHistory.LastServiceResponse.NextToken, for subsequent calls, to this parameter. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>StartTime</name>
        <description>
          <para>Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.DateTime</parameterValue>
        <type>
          <name>System.DateTime</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
    </parameters>
    <returnValues>
      <returnValue>
        <type>
          <name>Amazon.CloudTrail.Model.PublicKey</name>
          <uri />
          <description />
        </type>
        <description>
          <para>This cmdlet returns a collection of Amazon.CloudTrail.Model.PublicKey objects.
The service call response (type Amazon.CloudTrail.Model.ListPublicKeysResponse) can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.
Additionally, the following properties are added as Note properties to the service response type instance for the cmdlet entry in the $AWSHistory stack: NextToken (type System.String)</para>
        </description>
      </returnValue>
    </returnValues>
    <relatedLinks>
      <navigationLink>
        <linkText>Online version:</linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/index.html?page=Get-CTPublicKey.html&amp;tocid=Get-CTPublicKey</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Common credential and region parameters: </linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/items/pstoolsref-commonparams.html</uri>
      </navigationLink>
      <navigationLink>
        <linkText>User Guide:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/userguide/</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Service API Reference:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/</uri>
      </navigationLink>
    </relatedLinks>
  </command>
  <command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <details>
      <name>Get-CTResourceTag</name>
      <description>
        <para>Calls the AWS CloudTrail ListTags API operation.</para>
      </description>
      <verb>Get</verb>
      <noun>CTResourceTag</noun>
      <copyright>
        <para>&amp;copy; Copyright 2012 - 2019 Amazon.com, Inc.or its affiliates.All Rights Reserved.</para>
      </copyright>
    </details>
    <description>
      <para>Lists the tags for the trail in the current region.<br /><br />This operation automatically pages all available results to the pipeline - parameters related to iteration are only needed if you want to manually control the paginated output. </para>
    </description>
    <syntax>
      <syntaxItem>
        <name>Get-CTResourceTag</name>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>ResourceIdList</name>
          <description>
            <para>Specifies a list of trail ARNs whose tags will be listed. The list has a limit of 20 ARNs. The format of a trail ARN is:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String[]</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>NextToken</name>
          <description>
            <para>Reserved for future use.
<br /><b>Note:</b> This parameter is only used if you are manually controlling output pagination of the service API call. <br />In order to manually control output pagination, assign $null, for the first call, and the value of $AWSHistory.LastServiceResponse.NextToken, for subsequent calls, to this parameter. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
      </syntaxItem>
    </syntax>
    <parameters>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>NextToken</name>
        <description>
          <para>Reserved for future use.
<br /><b>Note:</b> This parameter is only used if you are manually controlling output pagination of the service API call. <br />In order to manually control output pagination, assign $null, for the first call, and the value of $AWSHistory.LastServiceResponse.NextToken, for subsequent calls, to this parameter. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>ResourceIdList</name>
        <description>
          <para>Specifies a list of trail ARNs whose tags will be listed. The list has a limit of 20 ARNs. The format of a trail ARN is:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String[]</parameterValue>
        <type>
          <name>System.String[]</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
    </parameters>
    <returnValues>
      <returnValue>
        <type>
          <name>Amazon.CloudTrail.Model.ResourceTag</name>
          <uri />
          <description />
        </type>
        <description>
          <para>This cmdlet returns a collection of Amazon.CloudTrail.Model.ResourceTag objects.
The service call response (type Amazon.CloudTrail.Model.ListTagsResponse) can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.
Additionally, the following properties are added as Note properties to the service response type instance for the cmdlet entry in the $AWSHistory stack: NextToken (type System.String)</para>
        </description>
      </returnValue>
    </returnValues>
    <relatedLinks>
      <navigationLink>
        <linkText>Online version:</linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/index.html?page=Get-CTResourceTag.html&amp;tocid=Get-CTResourceTag</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Common credential and region parameters: </linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/items/pstoolsref-commonparams.html</uri>
      </navigationLink>
      <navigationLink>
        <linkText>User Guide:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/userguide/</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Service API Reference:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/</uri>
      </navigationLink>
    </relatedLinks>
  </command>
  <command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <details>
      <name>Get-CTTrail</name>
      <description>
        <para>Calls the AWS CloudTrail DescribeTrails API operation.</para>
      </description>
      <verb>Get</verb>
      <noun>CTTrail</noun>
      <copyright>
        <para>&amp;copy; Copyright 2012 - 2019 Amazon.com, Inc.or its affiliates.All Rights Reserved.</para>
      </copyright>
    </details>
    <description>
      <para>Retrieves settings for the trail associated with the current region for your account. </para>
    </description>
    <syntax>
      <syntaxItem>
        <name>Get-CTTrail</name>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, )" position="1">
          <name>TrailNameList</name>
          <description>
            <para>Specifies a list of trail names, trail ARNs, or both, of the trails to describe. The format of a trail ARN is:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
If an empty list is specified, information for the trail in the current region is returned.
 - If an empty list is specified and <code>IncludeShadowTrails</code> is false, then information for all trails in the current region is returned.
 - If an empty list is specified and IncludeShadowTrails is null or true, then information for all trails in the current region and any associated shadow trails in other regions is returned.
If one or more trail names are specified, information is returned only if the names match the names of trails belonging only to the current region. To return information about a trail in another region, you must specify its trail ARN. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String[]</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="2">
          <name>IncludeShadowTrail</name>
          <description>
            <para>Specifies whether to include shadow trails in the response. A shadow trail is the replication in a region of a trail that was created in a different region, or in the case of an organization trail, the replication of an organization trail in member accounts. If you do not include shadow trails, organization trails in a member account and region replication trails will not be returned. The default is true. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Boolean</parameterValue>
        </parameter>
      </syntaxItem>
    </syntax>
    <parameters>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="2">
        <name>IncludeShadowTrail</name>
        <description>
          <para>Specifies whether to include shadow trails in the response. A shadow trail is the replication in a region of a trail that was created in a different region, or in the case of an organization trail, the replication of an organization trail in member accounts. If you do not include shadow trails, organization trails in a member account and region replication trails will not be returned. The default is true. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Boolean</parameterValue>
        <type>
          <name>System.Boolean</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, )" position="1">
        <name>TrailNameList</name>
        <description>
          <para>Specifies a list of trail names, trail ARNs, or both, of the trails to describe. The format of a trail ARN is:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
If an empty list is specified, information for the trail in the current region is returned.
 - If an empty list is specified and <code>IncludeShadowTrails</code> is false, then information for all trails in the current region is returned.
 - If an empty list is specified and IncludeShadowTrails is null or true, then information for all trails in the current region and any associated shadow trails in other regions is returned.
If one or more trail names are specified, information is returned only if the names match the names of trails belonging only to the current region. To return information about a trail in another region, you must specify its trail ARN. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String[]</parameterValue>
        <type>
          <name>System.String[]</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
    </parameters>
    <returnValues>
      <returnValue>
        <type>
          <name>Amazon.CloudTrail.Model.Trail</name>
          <uri />
          <description />
        </type>
        <description>
          <para>This cmdlet returns a collection of Amazon.CloudTrail.Model.Trail objects.
The service call response (type Amazon.CloudTrail.Model.DescribeTrailsResponse) can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.</para>
        </description>
      </returnValue>
    </returnValues>
    <relatedLinks>
      <navigationLink>
        <linkText>Online version:</linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/index.html?page=Get-CTTrail.html&amp;tocid=Get-CTTrail</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Common credential and region parameters: </linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/items/pstoolsref-commonparams.html</uri>
      </navigationLink>
      <navigationLink>
        <linkText>User Guide:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/userguide/</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Service API Reference:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/</uri>
      </navigationLink>
    </relatedLinks>
    <examples>
      <example>
        <title>-------------------------- EXAMPLE 1 --------------------------</title><code>PS C:\&gt;Get-CTTrail</code><remarks><para>Description</para><para>-----------</para><para>Returns the settings of all trails associated with the current region for your account.</para><para /><para /></remarks>
      </example>
      <example>
        <title>-------------------------- EXAMPLE 2 --------------------------</title><code>PS C:\&gt;Get-CTTrail -TrailNameList trail1,trail2</code><remarks><para>Description</para><para>-----------</para><para>Returns the settings for the specified trails.</para><para /><para /></remarks>
      </example>
      <example>
        <title>-------------------------- EXAMPLE 3 --------------------------</title><code>PS C:\&gt;Get-CTTrail -TrailNameList trailABC,trailDEF -Region eu-central-1</code><remarks><para>Description</para><para>-----------</para><para>Returns the settings for the specified trails that were created in a region other than the current shell default (in this case the Frankfurt (eu-central-1) region).</para><para /><para /></remarks>
      </example>
    </examples>
  </command>
  <command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <details>
      <name>Get-CTTrailStatus</name>
      <description>
        <para>Calls the AWS CloudTrail GetTrailStatus API operation.</para>
      </description>
      <verb>Get</verb>
      <noun>CTTrailStatus</noun>
      <copyright>
        <para>&amp;copy; Copyright 2012 - 2019 Amazon.com, Inc.or its affiliates.All Rights Reserved.</para>
      </copyright>
    </details>
    <description>
      <para>Returns a JSON-formatted list of information about the specified trail. Fields include information on delivery errors, Amazon SNS and Amazon S3 errors, and start and stop logging times for each trail. This operation returns trail status from a single region. To return trail status from all regions, you must call the operation on each region. </para>
    </description>
    <syntax>
      <syntaxItem>
        <name>Get-CTTrailStatus</name>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="1">
          <name>Name</name>
          <description>
            <para>Specifies the name or the CloudTrail ARN of the trail for which you are requesting status. To get the status of a shadow trail (a replication of the trail in another region), you must specify its ARN. The format of a trail ARN is:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
      </syntaxItem>
    </syntax>
    <parameters>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="1">
        <name>Name</name>
        <description>
          <para>Specifies the name or the CloudTrail ARN of the trail for which you are requesting status. To get the status of a shadow trail (a replication of the trail in another region), you must specify its ARN. The format of a trail ARN is:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
    </parameters>
    <returnValues>
      <returnValue>
        <type>
          <name>Amazon.CloudTrail.Model.GetTrailStatusResponse</name>
          <uri />
          <description />
        </type>
        <description>
          <para>This cmdlet returns a Amazon.CloudTrail.Model.GetTrailStatusResponse object containing multiple properties. The object can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.</para>
        </description>
      </returnValue>
    </returnValues>
    <relatedLinks>
      <navigationLink>
        <linkText>Online version:</linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/index.html?page=Get-CTTrailStatus.html&amp;tocid=Get-CTTrailStatus</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Common credential and region parameters: </linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/items/pstoolsref-commonparams.html</uri>
      </navigationLink>
      <navigationLink>
        <linkText>User Guide:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/userguide/</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Service API Reference:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/</uri>
      </navigationLink>
    </relatedLinks>
    <examples>
      <example>
        <title>-------------------------- EXAMPLE 1 --------------------------</title><code>PS C:\&gt;Get-CTTrailStatus -Name myExampleTrail</code><remarks><para>Description</para><para>-----------</para><para>Returns status information for the trail with name 'myExampleTrail'. Returned data includes information on delivery errors, Amazon SNS and Amazon S3 errors, and start and stop logging times for the trail. This example assumes the trail was created in the same region as the current shell default.</para><para /><para /></remarks>
      </example>
      <example>
        <title>-------------------------- EXAMPLE 2 --------------------------</title><code>PS C:\&gt;Get-CTTrailStatus -Name myExampleTrail -Region eu-central-1</code><remarks><para>Description</para><para>-----------</para><para>Returns status information for a trail that was created in a region other than the current shell default (in this case, the Frankfurt (eu-central-1) region).</para><para /><para /></remarks>
      </example>
    </examples>
  </command>
  <command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <details>
      <name>New-CTTrail</name>
      <description>
        <para>Calls the AWS CloudTrail CreateTrail API operation.</para>
      </description>
      <verb>New</verb>
      <noun>CTTrail</noun>
      <copyright>
        <para>&amp;copy; Copyright 2012 - 2019 Amazon.com, Inc.or its affiliates.All Rights Reserved.</para>
      </copyright>
    </details>
    <description>
      <para>Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket. A maximum of five trails can exist in a region, irrespective of the region in which they were created. </para>
    </description>
    <syntax>
      <syntaxItem>
        <name>New-CTTrail</name>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="1">
          <name>Name</name>
          <description>
            <para>Specifies the name of the trail. The name must meet the following requirements:
 - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
 - Start with a letter or number, and end with a letter or number
 - Be between 3 and 128 characters
 - Have no adjacent periods, underscores or dashes. Names like <code>my-_namespace</code> and <code>my--namespace</code> are invalid.
 - Not be in IP address format (for example, 192.168.5.4) </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="2">
          <name>S3BucketName</name>
          <description>
            <para>Specifies the name of the Amazon S3 bucket designated for publishing log files. See <a href="http://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_naming_policy.html">Amazon S3 Bucket Naming Requirements</a>. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="3">
          <name>S3KeyPrefix</name>
          <description>
            <para>Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see <a href="http://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html">Finding Your CloudTrail Log Files</a>. The maximum length is 200 characters. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>CloudWatchLogsLogGroupArn</name>
          <description>
            <para>Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered. Not required unless you specify CloudWatchLogsRoleArn. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>CloudWatchLogsRoleArn</name>
          <description>
            <para>Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>EnableLogFileValidation</name>
          <description>
            <para>Specifies whether log file integrity validation is enabled. The default is false.
When you disable log file integrity validation, the chain of digest files is broken after one hour. CloudTrail will not create digest files for log files that were delivered during a period in which log file integrity validation was disabled. For example, if you enable log file integrity validation at noon on January 1, disable it at noon on January 2, and re-enable it at noon on January 10, digest files will not be created for the log files delivered from noon on January 2 to noon on January 10. The same applies whenever you stop CloudTrail logging or delete a trail. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Boolean</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>IncludeGlobalServiceEvent</name>
          <description>
            <para>Specifies whether the trail is publishing events from global services such as IAM to the log files. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Boolean</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>IsMultiRegionTrail</name>
          <description>
            <para>Specifies whether the trail is created in the current region or in all regions. The default is false. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Boolean</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>IsOrganizationTrail</name>
          <description>
            <para>Specifies whether the trail is created for all accounts in an organization in AWS Organizations, or only for the current AWS account. The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the master account for an organization in AWS Organizations. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Boolean</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>KmsKeyId</name>
          <description>
            <para>Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
Examples:
 - alias/MyAliasName
 - arn:aws:kms:us-east-2:123456789012:alias/MyAliasName
 - arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
 - 12345678-1234-1234-1234-123456789012 </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="Named">
          <name>SnsTopicName</name>
          <description>
            <para>Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>Force</name>
          <description>
            <para>This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        </parameter>
      </syntaxItem>
    </syntax>
    <parameters>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>CloudWatchLogsLogGroupArn</name>
        <description>
          <para>Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered. Not required unless you specify CloudWatchLogsRoleArn. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>CloudWatchLogsRoleArn</name>
        <description>
          <para>Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>EnableLogFileValidation</name>
        <description>
          <para>Specifies whether log file integrity validation is enabled. The default is false.
When you disable log file integrity validation, the chain of digest files is broken after one hour. CloudTrail will not create digest files for log files that were delivered during a period in which log file integrity validation was disabled. For example, if you enable log file integrity validation at noon on January 1, disable it at noon on January 2, and re-enable it at noon on January 10, digest files will not be created for the log files delivered from noon on January 2 to noon on January 10. The same applies whenever you stop CloudTrail logging or delete a trail. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Boolean</parameterValue>
        <type>
          <name>System.Boolean</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>Force</name>
        <description>
          <para>This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        <type>
          <name>System.Management.Automation.SwitchParameter</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>IncludeGlobalServiceEvent</name>
        <description>
          <para>Specifies whether the trail is publishing events from global services such as IAM to the log files. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Boolean</parameterValue>
        <type>
          <name>System.Boolean</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>IsMultiRegionTrail</name>
        <description>
          <para>Specifies whether the trail is created in the current region or in all regions. The default is false. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Boolean</parameterValue>
        <type>
          <name>System.Boolean</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>IsOrganizationTrail</name>
        <description>
          <para>Specifies whether the trail is created for all accounts in an organization in AWS Organizations, or only for the current AWS account. The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the master account for an organization in AWS Organizations. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Boolean</parameterValue>
        <type>
          <name>System.Boolean</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>KmsKeyId</name>
        <description>
          <para>Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
Examples:
 - alias/MyAliasName
 - arn:aws:kms:us-east-2:123456789012:alias/MyAliasName
 - arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
 - 12345678-1234-1234-1234-123456789012 </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="1">
        <name>Name</name>
        <description>
          <para>Specifies the name of the trail. The name must meet the following requirements:
 - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
 - Start with a letter or number, and end with a letter or number
 - Be between 3 and 128 characters
 - Have no adjacent periods, underscores or dashes. Names like <code>my-_namespace</code> and <code>my--namespace</code> are invalid.
 - Not be in IP address format (for example, 192.168.5.4) </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="2">
        <name>S3BucketName</name>
        <description>
          <para>Specifies the name of the Amazon S3 bucket designated for publishing log files. See <a href="http://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_naming_policy.html">Amazon S3 Bucket Naming Requirements</a>. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="3">
        <name>S3KeyPrefix</name>
        <description>
          <para>Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see <a href="http://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html">Finding Your CloudTrail Log Files</a>. The maximum length is 200 characters. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="Named">
        <name>SnsTopicName</name>
        <description>
          <para>Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
    </parameters>
    <returnValues>
      <returnValue>
        <type>
          <name>Amazon.CloudTrail.Model.CreateTrailResponse</name>
          <uri />
          <description />
        </type>
        <description>
          <para>This cmdlet returns a Amazon.CloudTrail.Model.CreateTrailResponse object containing multiple properties. The object can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.</para>
        </description>
      </returnValue>
    </returnValues>
    <relatedLinks>
      <navigationLink>
        <linkText>Online version:</linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/index.html?page=New-CTTrail.html&amp;tocid=New-CTTrail</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Common credential and region parameters: </linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/items/pstoolsref-commonparams.html</uri>
      </navigationLink>
      <navigationLink>
        <linkText>User Guide:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/userguide/</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Service API Reference:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/</uri>
      </navigationLink>
    </relatedLinks>
    <examples>
      <example>
        <title>-------------------------- EXAMPLE 1 --------------------------</title><code>PS C:\&gt;New-CTTrail -Name="awscloudtrail-example" -S3BucketName="mycloudtrailbucket"</code><remarks><para>Description</para><para>-----------</para><para>Creates a trail that will use the bucket 'mycloudtrailbucket' for log file storage.</para><para /><para /></remarks>
      </example>
      <example>
        <title>-------------------------- EXAMPLE 2 --------------------------</title><code>
PS C:\&gt;$params = @{
    Name="awscloudtrail-example"
    S3BucketName="mycloudtrailbucket"
    S3KeyPrefix="mylogs"
    SnsTopicName="mlog-deliverytopic"
}
PS C:\&gt;New-CTTrail @params
    </code><remarks><para>Description</para><para>-----------</para><para>Creates a trail that will use the bucket 'mycloudtrailbucket' for log file storage. The S3 objects representing the logs will have a common key prefix of 'mylogs'. When new logs are delivered to the bucket a notification will be sent to the SNS topic 'mlog-deliverytopic'. This example using splatting to supply the parameter values to the cmdlet.</para><para /><para /></remarks>
      </example>
    </examples>
  </command>
  <command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <details>
      <name>Remove-CTResourceTag</name>
      <description>
        <para>Calls the AWS CloudTrail RemoveTags API operation.</para>
      </description>
      <verb>Remove</verb>
      <noun>CTResourceTag</noun>
      <copyright>
        <para>&amp;copy; Copyright 2012 - 2019 Amazon.com, Inc.or its affiliates.All Rights Reserved.</para>
      </copyright>
    </details>
    <description>
      <para>Removes the specified tags from a trail. </para>
    </description>
    <syntax>
      <syntaxItem>
        <name>Remove-CTResourceTag</name>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, )" position="1">
          <name>ResourceId</name>
          <description>
            <para>Specifies the ARN of the trail from which tags should be removed. The format of a trail ARN is:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>TagsList</name>
          <description>
            <para>Specifies a list of tags to be removed. </para>
          </description>
          <parameterValue required="true" variableLength="false">Amazon.CloudTrail.Model.Tag[]</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>PassThru</name>
          <description>
            <para>Returns the value passed to the ResourceId parameter. By default, this cmdlet does not generate any output. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>Force</name>
          <description>
            <para>This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        </parameter>
      </syntaxItem>
    </syntax>
    <parameters>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>Force</name>
        <description>
          <para>This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        <type>
          <name>System.Management.Automation.SwitchParameter</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>PassThru</name>
        <description>
          <para>Returns the value passed to the ResourceId parameter. By default, this cmdlet does not generate any output. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        <type>
          <name>System.Management.Automation.SwitchParameter</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, )" position="1">
        <name>ResourceId</name>
        <description>
          <para>Specifies the ARN of the trail from which tags should be removed. The format of a trail ARN is:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>TagsList</name>
        <description>
          <para>Specifies a list of tags to be removed. </para>
        </description>
        <parameterValue required="true" variableLength="false">Amazon.CloudTrail.Model.Tag[]</parameterValue>
        <type>
          <name>Amazon.CloudTrail.Model.Tag[]</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
    </parameters>
    <returnValues>
      <returnValue>
        <type>
          <name>None or System.String</name>
          <uri />
          <description />
        </type>
        <description>
          <para>When you use the PassThru parameter, this cmdlet outputs the value supplied to the ResourceId parameter. Otherwise, this cmdlet does not return any output. The service response (type Amazon.CloudTrail.Model.RemoveTagsResponse) can be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.</para>
        </description>
      </returnValue>
    </returnValues>
    <relatedLinks>
      <navigationLink>
        <linkText>Online version:</linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/index.html?page=Remove-CTResourceTag.html&amp;tocid=Remove-CTResourceTag</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Common credential and region parameters: </linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/items/pstoolsref-commonparams.html</uri>
      </navigationLink>
      <navigationLink>
        <linkText>User Guide:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/userguide/</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Service API Reference:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/</uri>
      </navigationLink>
    </relatedLinks>
  </command>
  <command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <details>
      <name>Remove-CTTrail</name>
      <description>
        <para>Calls the AWS CloudTrail DeleteTrail API operation.</para>
      </description>
      <verb>Remove</verb>
      <noun>CTTrail</noun>
      <copyright>
        <para>&amp;copy; Copyright 2012 - 2019 Amazon.com, Inc.or its affiliates.All Rights Reserved.</para>
      </copyright>
    </details>
    <description>
      <para>Deletes a trail. This operation must be called from the region in which the trail was created. <code>DeleteTrail</code> cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions. </para>
    </description>
    <syntax>
      <syntaxItem>
        <name>Remove-CTTrail</name>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="1">
          <name>Name</name>
          <description>
            <para>Specifies the name or the CloudTrail ARN of the trail to be deleted. The format of a trail ARN is: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>PassThru</name>
          <description>
            <para>Returns the value passed to the Name parameter. By default, this cmdlet does not generate any output. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>Force</name>
          <description>
            <para>This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        </parameter>
      </syntaxItem>
    </syntax>
    <parameters>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>Force</name>
        <description>
          <para>This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        <type>
          <name>System.Management.Automation.SwitchParameter</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="1">
        <name>Name</name>
        <description>
          <para>Specifies the name or the CloudTrail ARN of the trail to be deleted. The format of a trail ARN is: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>PassThru</name>
        <description>
          <para>Returns the value passed to the Name parameter. By default, this cmdlet does not generate any output. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        <type>
          <name>System.Management.Automation.SwitchParameter</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
    </parameters>
    <returnValues>
      <returnValue>
        <type>
          <name>None or System.String</name>
          <uri />
          <description />
        </type>
        <description>
          <para>When you use the PassThru parameter, this cmdlet outputs the value supplied to the Name parameter. Otherwise, this cmdlet does not return any output. The service response (type Amazon.CloudTrail.Model.DeleteTrailResponse) can be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.</para>
        </description>
      </returnValue>
    </returnValues>
    <relatedLinks>
      <navigationLink>
        <linkText>Online version:</linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/index.html?page=Remove-CTTrail.html&amp;tocid=Remove-CTTrail</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Common credential and region parameters: </linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/items/pstoolsref-commonparams.html</uri>
      </navigationLink>
      <navigationLink>
        <linkText>User Guide:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/userguide/</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Service API Reference:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/</uri>
      </navigationLink>
    </relatedLinks>
    <examples>
      <example>
        <title>-------------------------- EXAMPLE 1 --------------------------</title><code>PS C:\&gt;Remove-CTTrail -Name "awscloudtrail-example"</code><remarks><para>Description</para><para>-----------</para><para>Deletes the specified trail. You will be prompted for confirmation before the command is run. To suppress confirmation, add the -Force switch parameter.</para><para /><para /></remarks>
      </example>
    </examples>
  </command>
  <command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <details>
      <name>Start-CTLogging</name>
      <description>
        <para>Calls the AWS CloudTrail StartLogging API operation.</para>
      </description>
      <verb>Start</verb>
      <noun>CTLogging</noun>
      <copyright>
        <para>&amp;copy; Copyright 2012 - 2019 Amazon.com, Inc.or its affiliates.All Rights Reserved.</para>
      </copyright>
    </details>
    <description>
      <para>Starts the recording of AWS API calls and log file delivery for a trail. For a trail that is enabled in all regions, this operation must be called from the region in which the trail was created. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions. </para>
    </description>
    <syntax>
      <syntaxItem>
        <name>Start-CTLogging</name>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="1">
          <name>Name</name>
          <description>
            <para>Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs AWS API calls. The format of a trail ARN is:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>PassThru</name>
          <description>
            <para>Returns the value passed to the Name parameter. By default, this cmdlet does not generate any output. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>Force</name>
          <description>
            <para>This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        </parameter>
      </syntaxItem>
    </syntax>
    <parameters>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>Force</name>
        <description>
          <para>This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        <type>
          <name>System.Management.Automation.SwitchParameter</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="1">
        <name>Name</name>
        <description>
          <para>Specifies the name or the CloudTrail ARN of the trail for which CloudTrail logs AWS API calls. The format of a trail ARN is:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>PassThru</name>
        <description>
          <para>Returns the value passed to the Name parameter. By default, this cmdlet does not generate any output. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        <type>
          <name>System.Management.Automation.SwitchParameter</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
    </parameters>
    <returnValues>
      <returnValue>
        <type>
          <name>None or System.String</name>
          <uri />
          <description />
        </type>
        <description>
          <para>When you use the PassThru parameter, this cmdlet outputs the value supplied to the Name parameter. Otherwise, this cmdlet does not return any output. The service response (type Amazon.CloudTrail.Model.StartLoggingResponse) can be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.</para>
        </description>
      </returnValue>
    </returnValues>
    <relatedLinks>
      <navigationLink>
        <linkText>Online version:</linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/index.html?page=Start-CTLogging.html&amp;tocid=Start-CTLogging</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Common credential and region parameters: </linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/items/pstoolsref-commonparams.html</uri>
      </navigationLink>
      <navigationLink>
        <linkText>User Guide:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/userguide/</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Service API Reference:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/</uri>
      </navigationLink>
    </relatedLinks>
    <examples>
      <example>
        <title>-------------------------- EXAMPLE 1 --------------------------</title><code>PS C:\&gt;Start-CTLogging -Name myExampleTrail</code><remarks><para>Description</para><para>-----------</para><para>Starts the recording of AWS API calls and log file delivery for the trail named 'myExampleTrail'. This example assumes the trail was created in the same region as the current shell default.</para><para /><para /></remarks>
      </example>
      <example>
        <title>-------------------------- EXAMPLE 2 --------------------------</title><code>PS C:\&gt;Start-CTLogging -Name myExampleTrail -Region eu-central-1</code><remarks><para>Description</para><para>-----------</para><para>Starts the recording of AWS API calls and log file delivery for a trail that was created in a region other than the current shell default (in this case, the Frankfurt (eu-central-1) region).</para><para /><para /></remarks>
      </example>
    </examples>
  </command>
  <command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <details>
      <name>Stop-CTLogging</name>
      <description>
        <para>Calls the AWS CloudTrail StopLogging API operation.</para>
      </description>
      <verb>Stop</verb>
      <noun>CTLogging</noun>
      <copyright>
        <para>&amp;copy; Copyright 2012 - 2019 Amazon.com, Inc.or its affiliates.All Rights Reserved.</para>
      </copyright>
    </details>
    <description>
      <para>Suspends the recording of AWS API calls and log file delivery for the specified trail. Under most circumstances, there is no need to use this action. You can update a trail without stopping it first. This action is the only way to stop recording. For a trail enabled in all regions, this operation must be called from the region in which the trail was created, or an <code>InvalidHomeRegionException</code> will occur. This operation cannot be called on the shadow trails (replicated trails in other regions) of a trail enabled in all regions. </para>
    </description>
    <syntax>
      <syntaxItem>
        <name>Stop-CTLogging</name>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="1">
          <name>Name</name>
          <description>
            <para>Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging AWS API calls. The format of a trail ARN is:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>PassThru</name>
          <description>
            <para>Returns the value passed to the Name parameter. By default, this cmdlet does not generate any output. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>Force</name>
          <description>
            <para>This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        </parameter>
      </syntaxItem>
    </syntax>
    <parameters>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>Force</name>
        <description>
          <para>This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        <type>
          <name>System.Management.Automation.SwitchParameter</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="1">
        <name>Name</name>
        <description>
          <para>Specifies the name or the CloudTrail ARN of the trail for which CloudTrail will stop logging AWS API calls. The format of a trail ARN is:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>PassThru</name>
        <description>
          <para>Returns the value passed to the Name parameter. By default, this cmdlet does not generate any output. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        <type>
          <name>System.Management.Automation.SwitchParameter</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
    </parameters>
    <returnValues>
      <returnValue>
        <type>
          <name>None or System.String</name>
          <uri />
          <description />
        </type>
        <description>
          <para>When you use the PassThru parameter, this cmdlet outputs the value supplied to the Name parameter. Otherwise, this cmdlet does not return any output. The service response (type Amazon.CloudTrail.Model.StopLoggingResponse) can be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.</para>
        </description>
      </returnValue>
    </returnValues>
    <relatedLinks>
      <navigationLink>
        <linkText>Online version:</linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/index.html?page=Stop-CTLogging.html&amp;tocid=Stop-CTLogging</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Common credential and region parameters: </linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/items/pstoolsref-commonparams.html</uri>
      </navigationLink>
      <navigationLink>
        <linkText>User Guide:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/userguide/</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Service API Reference:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/</uri>
      </navigationLink>
    </relatedLinks>
    <examples>
      <example>
        <title>-------------------------- EXAMPLE 1 --------------------------</title><code>PS C:\&gt;Stop-CTLogging -Name myExampleTrail</code><remarks><para>Description</para><para>-----------</para><para>Suspends the recording of AWS API calls and log file delivery for the trail named 'myExampleTrail'. This example assumes the trail was created in the same region as the current shell default.</para><para /><para /></remarks>
      </example>
      <example>
        <title>-------------------------- EXAMPLE 2 --------------------------</title><code>PS C:\&gt;Stop-CTLogging -Name myExampleTrail -Region eu-central-1</code><remarks><para>Description</para><para>-----------</para><para>Suspends the recording of AWS API calls and log file delivery for a trail that was created in a region other than the current shell default (in this case, the Frankfurt (eu-central-1) region).</para><para /><para /></remarks>
      </example>
    </examples>
  </command>
  <command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <details>
      <name>Update-CTTrail</name>
      <description>
        <para>Calls the AWS CloudTrail UpdateTrail API operation.</para>
      </description>
      <verb>Update</verb>
      <noun>CTTrail</noun>
      <copyright>
        <para>&amp;copy; Copyright 2012 - 2019 Amazon.com, Inc.or its affiliates.All Rights Reserved.</para>
      </copyright>
    </details>
    <description>
      <para>Updates the settings that specify delivery of log files. Changes to a trail do not require stopping the CloudTrail service. Use this action to designate an existing bucket for log delivery. If the existing bucket has previously been a target for CloudTrail log files, an IAM policy exists for the bucket. <code>UpdateTrail</code> must be called from the region in which the trail was created; otherwise, an <code>InvalidHomeRegionException</code> is thrown. </para>
    </description>
    <syntax>
      <syntaxItem>
        <name>Update-CTTrail</name>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="1">
          <name>Name</name>
          <description>
            <para>Specifies the name of the trail or trail ARN. If <code>Name</code> is a trail name, the string must meet the following requirements:
 - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
 - Start with a letter or number, and end with a letter or number
 - Be between 3 and 128 characters
 - Have no adjacent periods, underscores or dashes. Names like <code>my-_namespace</code> and <code>my--namespace</code> are invalid.
 - Not be in IP address format (for example, 192.168.5.4)
If <code>Name</code> is a trail ARN, it must be in the format:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="2">
          <name>S3BucketName</name>
          <description>
            <para>Specifies the name of the Amazon S3 bucket designated for publishing log files. See <a href="http://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_naming_policy.html">Amazon S3 Bucket Naming Requirements</a>. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="3">
          <name>S3KeyPrefix</name>
          <description>
            <para>Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see <a href="http://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html">Finding Your CloudTrail Log Files</a>. The maximum length is 200 characters. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>CloudWatchLogsLogGroupArn</name>
          <description>
            <para>Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered. Not required unless you specify CloudWatchLogsRoleArn. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>CloudWatchLogsRoleArn</name>
          <description>
            <para>Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>EnableLogFileValidation</name>
          <description>
            <para>Specifies whether log file validation is enabled. The default is false.
When you disable log file integrity validation, the chain of digest files is broken after one hour. CloudTrail will not create digest files for log files that were delivered during a period in which log file integrity validation was disabled. For example, if you enable log file integrity validation at noon on January 1, disable it at noon on January 2, and re-enable it at noon on January 10, digest files will not be created for the log files delivered from noon on January 2 to noon on January 10. The same applies whenever you stop CloudTrail logging or delete a trail. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Boolean</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>IncludeGlobalServiceEvent</name>
          <description>
            <para>Specifies whether the trail is publishing events from global services such as IAM to the log files. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Boolean</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>IsMultiRegionTrail</name>
          <description>
            <para>Specifies whether the trail applies only to the current region or to all regions. The default is false. If the trail exists only in the current region and this value is set to true, shadow trails (replications of the trail) will be created in the other regions. If the trail exists in all regions and this value is set to false, the trail will remain in the region where it was created, and its shadow trails in other regions will be deleted. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Boolean</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>IsOrganizationTrail</name>
          <description>
            <para>Specifies whether the trail is applied to all accounts in an organization in AWS Organizations, or only for the current AWS account. The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the master account for an organization in AWS Organizations. If the trail is not an organization trail and this is set to true, the trail will be created in all AWS accounts that belong to the organization. If the trail is an organization trail and this is set to false, the trail will remain in the current AWS account but be deleted from all member accounts in the organization. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Boolean</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>KmsKeyId</name>
          <description>
            <para>Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
Examples:
 - alias/MyAliasName
 - arn:aws:kms:us-east-2:123456789012:alias/MyAliasName
 - arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
 - 12345678-1234-1234-1234-123456789012 </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="Named">
          <name>SnsTopicName</name>
          <description>
            <para>Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>Force</name>
          <description>
            <para>This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        </parameter>
      </syntaxItem>
    </syntax>
    <parameters>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>CloudWatchLogsLogGroupArn</name>
        <description>
          <para>Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered. Not required unless you specify CloudWatchLogsRoleArn. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>CloudWatchLogsRoleArn</name>
        <description>
          <para>Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>EnableLogFileValidation</name>
        <description>
          <para>Specifies whether log file validation is enabled. The default is false.
When you disable log file integrity validation, the chain of digest files is broken after one hour. CloudTrail will not create digest files for log files that were delivered during a period in which log file integrity validation was disabled. For example, if you enable log file integrity validation at noon on January 1, disable it at noon on January 2, and re-enable it at noon on January 10, digest files will not be created for the log files delivered from noon on January 2 to noon on January 10. The same applies whenever you stop CloudTrail logging or delete a trail. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Boolean</parameterValue>
        <type>
          <name>System.Boolean</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>Force</name>
        <description>
          <para>This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        <type>
          <name>System.Management.Automation.SwitchParameter</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>IncludeGlobalServiceEvent</name>
        <description>
          <para>Specifies whether the trail is publishing events from global services such as IAM to the log files. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Boolean</parameterValue>
        <type>
          <name>System.Boolean</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>IsMultiRegionTrail</name>
        <description>
          <para>Specifies whether the trail applies only to the current region or to all regions. The default is false. If the trail exists only in the current region and this value is set to true, shadow trails (replications of the trail) will be created in the other regions. If the trail exists in all regions and this value is set to false, the trail will remain in the region where it was created, and its shadow trails in other regions will be deleted. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Boolean</parameterValue>
        <type>
          <name>System.Boolean</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>IsOrganizationTrail</name>
        <description>
          <para>Specifies whether the trail is applied to all accounts in an organization in AWS Organizations, or only for the current AWS account. The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the master account for an organization in AWS Organizations. If the trail is not an organization trail and this is set to true, the trail will be created in all AWS accounts that belong to the organization. If the trail is an organization trail and this is set to false, the trail will remain in the current AWS account but be deleted from all member accounts in the organization. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Boolean</parameterValue>
        <type>
          <name>System.Boolean</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>KmsKeyId</name>
        <description>
          <para>Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
Examples:
 - alias/MyAliasName
 - arn:aws:kms:us-east-2:123456789012:alias/MyAliasName
 - arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
 - 12345678-1234-1234-1234-123456789012 </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, ByPropertyName)" position="1">
        <name>Name</name>
        <description>
          <para>Specifies the name of the trail or trail ARN. If <code>Name</code> is a trail name, the string must meet the following requirements:
 - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
 - Start with a letter or number, and end with a letter or number
 - Be between 3 and 128 characters
 - Have no adjacent periods, underscores or dashes. Names like <code>my-_namespace</code> and <code>my--namespace</code> are invalid.
 - Not be in IP address format (for example, 192.168.5.4)
If <code>Name</code> is a trail ARN, it must be in the format:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="2">
        <name>S3BucketName</name>
        <description>
          <para>Specifies the name of the Amazon S3 bucket designated for publishing log files. See <a href="http://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_naming_policy.html">Amazon S3 Bucket Naming Requirements</a>. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="3">
        <name>S3KeyPrefix</name>
        <description>
          <para>Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see <a href="http://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html">Finding Your CloudTrail Log Files</a>. The maximum length is 200 characters. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByPropertyName)" position="Named">
        <name>SnsTopicName</name>
        <description>
          <para>Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
    </parameters>
    <returnValues>
      <returnValue>
        <type>
          <name>Amazon.CloudTrail.Model.UpdateTrailResponse</name>
          <uri />
          <description />
        </type>
        <description>
          <para>This cmdlet returns a Amazon.CloudTrail.Model.UpdateTrailResponse object containing multiple properties. The object can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.</para>
        </description>
      </returnValue>
    </returnValues>
    <relatedLinks>
      <navigationLink>
        <linkText>Online version:</linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/index.html?page=Update-CTTrail.html&amp;tocid=Update-CTTrail</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Common credential and region parameters: </linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/items/pstoolsref-commonparams.html</uri>
      </navigationLink>
      <navigationLink>
        <linkText>User Guide:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/userguide/</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Service API Reference:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/</uri>
      </navigationLink>
    </relatedLinks>
    <examples>
      <example>
        <title>-------------------------- EXAMPLE 1 --------------------------</title><code>PS C:\&gt;Update-CTTrail -Name "awscloudtrail-example" -IncludeGlobalServiceEvents $true -S3KeyPrefix "globallogs"</code><remarks><para>Description</para><para>-----------</para><para>Updates the specified trail so that global service events (such as those from IAM) are recorded and changes the common key prefix of the log files going forwards to be 'globallogs'.</para><para /><para /></remarks>
      </example>
      <example>
        <title>-------------------------- EXAMPLE 2 --------------------------</title><code>PS C:\&gt;Update-CTTrail -Name "awscloudtrail-example" -SnsTopicName "mlog-deliverytopic2"</code><remarks><para>Description</para><para>-----------</para><para>Updates the specified trail so notifications about new log deliveries are sent to the specified SNS topic.</para><para /><para /></remarks>
      </example>
      <example>
        <title>-------------------------- EXAMPLE 3 --------------------------</title><code>PS C:\&gt;Update-CTTrail -Name "awscloudtrail-example" -S3BucketName "otherlogs"</code><remarks><para>Description</para><para>-----------</para><para>Updates the specified trail so logs are delivered to a different bucket.</para><para /><para /></remarks>
      </example>
    </examples>
  </command>
  <command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
    <details>
      <name>Write-CTEventSelector</name>
      <description>
        <para>Calls the AWS CloudTrail PutEventSelectors API operation.</para>
      </description>
      <verb>Write</verb>
      <noun>CTEventSelector</noun>
      <copyright>
        <para>&amp;copy; Copyright 2012 - 2019 Amazon.com, Inc.or its affiliates.All Rights Reserved.</para>
      </copyright>
    </details>
    <description>
      <para>Configures an event selector for your trail. Use event selectors to further specify the management and data event settings for your trail. By default, trails created without specific event selectors will be configured to log all read and write management events, and no data events.
When an event occurs in your account, CloudTrail evaluates the event selectors in all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event.
Example
 -
You create an event selector for a trail and specify that you want write-only events.
 -
The EC2 <code>GetConsoleOutput</code> and <code>RunInstances</code> API operations occur in your account.
 -
CloudTrail evaluates whether the events match your event selectors.
 -
The <code>RunInstances</code> is a write-only event and it matches your event selector. The trail logs the event.
 -
The <code>GetConsoleOutput</code> is a read-only event but it doesn't match your event selector. The trail doesn't log the event.
The <code>PutEventSelectors</code> operation must be called from the region in which the trail was created; otherwise, an <code>InvalidHomeRegionException</code> is thrown.
You can configure up to five event selectors for each trail. For more information, see <a href="http://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-and-data-events-with-cloudtrail.html">Logging Data and Management Events for Trails </a> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/WhatIsCloudTrail-Limits.html">Limits in AWS CloudTrail</a> in the <i>AWS CloudTrail User Guide</i>. </para>
    </description>
    <syntax>
      <syntaxItem>
        <name>Write-CTEventSelector</name>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, )" position="1">
          <name>TrailName</name>
          <description>
            <para>Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements:
 - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
 - Start with a letter or number, and end with a letter or number
 - Be between 3 and 128 characters
 - Have no adjacent periods, underscores or dashes. Names like <code>my-_namespace</code> and <code>my--namespace</code> are invalid.
 - Not be in IP address format (for example, 192.168.5.4)
If you specify a trail ARN, it must be in the format:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
          </description>
          <parameterValue required="true" variableLength="false">System.String</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>EventSelector</name>
          <description>
            <para>Specifies the settings for your event selectors. You can configure up to five event selectors for a trail. </para>
          </description>
          <parameterValue required="true" variableLength="false">Amazon.CloudTrail.Model.EventSelector[]</parameterValue>
        </parameter>
        <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
          <name>Force</name>
          <description>
            <para>This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution. </para>
          </description>
          <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        </parameter>
      </syntaxItem>
    </syntax>
    <parameters>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>EventSelector</name>
        <description>
          <para>Specifies the settings for your event selectors. You can configure up to five event selectors for a trail. </para>
        </description>
        <parameterValue required="true" variableLength="false">Amazon.CloudTrail.Model.EventSelector[]</parameterValue>
        <type>
          <name>Amazon.CloudTrail.Model.EventSelector[]</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="False" position="Named">
        <name>Force</name>
        <description>
          <para>This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution. </para>
        </description>
        <parameterValue required="true" variableLength="false">System.Management.Automation.SwitchParameter</parameterValue>
        <type>
          <name>System.Management.Automation.SwitchParameter</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
      <parameter required="False" variableLength="false" globbing="false" pipelineInput="True (ByValue, )" position="1">
        <name>TrailName</name>
        <description>
          <para>Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements:
 - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-)
 - Start with a letter or number, and end with a letter or number
 - Be between 3 and 128 characters
 - Have no adjacent periods, underscores or dashes. Names like <code>my-_namespace</code> and <code>my--namespace</code> are invalid.
 - Not be in IP address format (for example, 192.168.5.4)
If you specify a trail ARN, it must be in the format:
<code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code> </para>
        </description>
        <parameterValue required="true" variableLength="false">System.String</parameterValue>
        <type>
          <name>System.String</name>
          <uri />
        </type>
        <defaultValue>None</defaultValue>
      </parameter>
    </parameters>
    <returnValues>
      <returnValue>
        <type>
          <name>Amazon.CloudTrail.Model.PutEventSelectorsResponse</name>
          <uri />
          <description />
        </type>
        <description>
          <para>This cmdlet returns a Amazon.CloudTrail.Model.PutEventSelectorsResponse object containing multiple properties. The object can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.</para>
        </description>
      </returnValue>
    </returnValues>
    <relatedLinks>
      <navigationLink>
        <linkText>Online version:</linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/index.html?page=Write-CTEventSelector.html&amp;tocid=Write-CTEventSelector</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Common credential and region parameters: </linkText>
        <uri>http://docs.aws.amazon.com/powershell/latest/reference/items/pstoolsref-commonparams.html</uri>
      </navigationLink>
      <navigationLink>
        <linkText>User Guide:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/userguide/</uri>
      </navigationLink>
      <navigationLink>
        <linkText>Service API Reference:</linkText>
        <uri>https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/</uri>
      </navigationLink>
    </relatedLinks>
  </command>
</helpItems>