VaporShell.IoTAnalytics.psm1

# PSM1 Contents
function Format-Json {
    [CmdletBinding()]
    Param (
        [Parameter(Mandatory = $true, Position = 0, ValueFromPipeline = $true)]
        [String]
        $Json
    )
    Begin {
        $cleaner = {
            param([String]$Line)
            Process{
                [Regex]::Replace(
                    $Line,
                    "\\u(?<Value>[a-zA-Z0-9]{4})",
                    {
                        param($m)([char]([int]::Parse(
                            $m.Groups['Value'].Value,
                            [System.Globalization.NumberStyles]::HexNumber
                        ))).ToString()
                    }
                )
            }
        }
    }
    Process {
        if ($PSVersionTable.PSVersion.Major -lt 6) {
            try {
                $indent = 0;
                $res = $Json -split '\n' | ForEach-Object {
                    if ($_ -match '[\}\]]') {
                        # This line contains ] or }, decrement the indentation level
                        $indent--
                    }
                    $line = (' ' * $indent * 2) + $_.TrimStart().Replace(': ', ': ')
                    if ($_ -match '[\{\[]') {
                        # This line contains [ or {, increment the indentation level
                        $indent++
                    }
                    $cleaner.Invoke($line)
                }
                $res -join "`n"
            }
            catch {
                ($Json -split '\n' | ForEach-Object {$cleaner.Invoke($_)}) -join "`n"
            }
        }
        else {
            ($Json -split '\n' | ForEach-Object {$cleaner.Invoke($_)}) -join "`n"
        }
    }
}

function Get-TrueCount {
    Param
    (
        [parameter(Mandatory = $false,Position = 0,ValueFromPipeline = $true)]
        $Array
    )
    Process {
        if ($array) {
            if ($array.Count) {
                $count = $array.Count
            }
            else {
                $count = 1
            }
        }
        else {
            $count = 0
        }
    }
    End {
        return $count
    }
}

function New-VSError {
    <#
    .SYNOPSIS
    Error generator function to use in tandem with $PSCmdlet.ThrowTerminatingError()
    
    .PARAMETER Result
    Allows input of an error from AWS SDK, resulting in the Exception message being parsed out.
    
    .PARAMETER String
    Used to create basic String message errors in the same wrapper
    #>

    [cmdletbinding(DefaultParameterSetName="Result")]
    param(
        [parameter(Position=0,ParameterSetName="Result")]
        $Result,
        [parameter(Position=0,ParameterSetName="String")]
        $String
    )
    switch ($PSCmdlet.ParameterSetName) {
        Result { $Exception = "$($result.Exception.InnerException.Message)" }
        String { $Exception = "$String" }
    }
    $e = New-Object "System.Exception" $Exception
    $errorRecord = New-Object 'System.Management.Automation.ErrorRecord' $e, $null, ([System.Management.Automation.ErrorCategory]::InvalidOperation), $null
    return $errorRecord
}

function ResolveS3Endpoint {
    <#
    .SYNOPSIS
    Resolves the S3 endpoint most appropriate for each region.
    #>

    Param
    (
      [parameter(Mandatory=$true,Position=0)]
      [ValidateSet("eu-west-2","ap-south-1","us-east-2","sa-east-1","us-west-1","us-west-2","eu-west-1","ap-southeast-2","ca-central-1","ap-northeast-2","us-east-1","eu-central-1","ap-southeast-1","ap-northeast-1")]
      [String]
      $Region
    )
    $endpointMap = @{
        "us-east-2" = "s3.us-east-2.amazonaws.com"
        "us-east-1" = "s3.amazonaws.com"
        "us-west-1" = "s3-us-west-1.amazonaws.com"
        "us-west-2" = "s3-us-west-2.amazonaws.com"
        "ca-central-1" = "s3.ca-central-1.amazonaws.com"
        "ap-south-1" = "s3.ap-south-1.amazonaws.com"
        "ap-northeast-2" = "s3.ap-northeast-2.amazonaws.com"
        "ap-southeast-1" = "s3-ap-southeast-1.amazonaws.com"
        "ap-southeast-2" = "s3-ap-southeast-2.amazonaws.com"
        "ap-northeast-1" = "s3-ap-northeast-1.amazonaws.com"
        "eu-central-1" = "s3.eu-central-1.amazonaws.com"
        "eu-west-1" = "s3-eu-west-1.amazonaws.com"
        "eu-west-2" = "s3.eu-west-2.amazonaws.com"
        "sa-east-1" = "s3-sa-east-1.amazonaws.com"
    }
    return $endpointMap[$Region]
}

function Add-VSIoTAnalyticsChannelChannelStorage {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Channel.ChannelStorage resource property to the template. Where channel data is stored.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Channel.ChannelStorage resource property to the template.
Where channel data is stored.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-channelstorage.html

    .PARAMETER ServiceManagedS3
        Use this to store channel data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the channel.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-channelstorage.html#cfn-iotanalytics-channel-channelstorage-servicemanageds3
        UpdateType: Mutable
        Type: ServiceManagedS3

    .PARAMETER CustomerManagedS3
        Use this to store channel data in an S3 bucket that you manage. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the channel.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-channelstorage.html#cfn-iotanalytics-channel-channelstorage-customermanageds3
        UpdateType: Mutable
        Type: CustomerManagedS3

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsChannelChannelStorage])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        $ServiceManagedS3,
        [parameter(Mandatory = $false)]
        $CustomerManagedS3
    )
    Process {
        $obj = [IoTAnalyticsChannelChannelStorage]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsChannelChannelStorage'

function Add-VSIoTAnalyticsChannelCustomerManagedS3 {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Channel.CustomerManagedS3 resource property to the template. Use this to store channel data in an S3 bucket that you manage. When customer managed storage is selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the channel.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Channel.CustomerManagedS3 resource property to the template.
Use this to store channel data in an S3 bucket that you manage. When customer managed storage is selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the channel.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-customermanageds3.html

    .PARAMETER Bucket
        The name of the Amazon S3 bucket in which channel data is stored.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-customermanageds3.html#cfn-iotanalytics-channel-customermanageds3-bucket
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER RoleArn
        The ARN of the role which grants AWS IoT Analytics permission to interact with your Amazon S3 resources.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-customermanageds3.html#cfn-iotanalytics-channel-customermanageds3-rolearn
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER KeyPrefix
        Optional] The prefix used to create the keys of the channel data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier within the bucket each object in a bucket has exactly one key. The prefix must end with a '/'.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-customermanageds3.html#cfn-iotanalytics-channel-customermanageds3-keyprefix
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsChannelCustomerManagedS3])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $Bucket,
        [parameter(Mandatory = $true)]
        [object]
        $RoleArn,
        [parameter(Mandatory = $false)]
        [object]
        $KeyPrefix
    )
    Process {
        $obj = [IoTAnalyticsChannelCustomerManagedS3]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsChannelCustomerManagedS3'

function Add-VSIoTAnalyticsChannelRetentionPeriod {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Channel.RetentionPeriod resource property to the template. How long, in days, message data is kept.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Channel.RetentionPeriod resource property to the template.
How long, in days, message data is kept.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-retentionperiod.html

    .PARAMETER NumberOfDays
        The number of days that message data is kept. The unlimited parameter must be false.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-retentionperiod.html#cfn-iotanalytics-channel-retentionperiod-numberofdays
        UpdateType: Mutable
        PrimitiveType: Integer

    .PARAMETER Unlimited
        If true, message data is kept indefinitely.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-retentionperiod.html#cfn-iotanalytics-channel-retentionperiod-unlimited
        UpdateType: Mutable
        PrimitiveType: Boolean

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsChannelRetentionPeriod])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        [object]
        $NumberOfDays,
        [parameter(Mandatory = $false)]
        [object]
        $Unlimited
    )
    Process {
        $obj = [IoTAnalyticsChannelRetentionPeriod]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsChannelRetentionPeriod'

function Add-VSIoTAnalyticsChannelServiceManagedS3 {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Channel.ServiceManagedS3 resource property to the template. Used to store channel data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the channel.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Channel.ServiceManagedS3 resource property to the template.
Used to store channel data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the channel.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-channel-servicemanageds3.html

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsChannelServiceManagedS3])]
    [cmdletbinding()]
    Param(
    )
    Process {
        $obj = [IoTAnalyticsChannelServiceManagedS3]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsChannelServiceManagedS3'

function Add-VSIoTAnalyticsDatasetAction {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.Action resource property to the template. Information needed to run the "containerAction" to produce data set contents.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.Action resource property to the template.
Information needed to run the "containerAction" to produce data set contents.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-action.html

    .PARAMETER ActionName
        The name of the data set action by which data set contents are automatically created.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-action.html#cfn-iotanalytics-dataset-action-actionname
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER ContainerAction
        Information which allows the system to run a containerized application in order to create the data set contents. The application must be in a Docker container along with any needed support libraries.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-action.html#cfn-iotanalytics-dataset-action-containeraction
        UpdateType: Mutable
        Type: ContainerAction

    .PARAMETER QueryAction
        An "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-action.html#cfn-iotanalytics-dataset-action-queryaction
        UpdateType: Mutable
        Type: QueryAction

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetAction])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $ActionName,
        [parameter(Mandatory = $false)]
        $ContainerAction,
        [parameter(Mandatory = $false)]
        $QueryAction
    )
    Process {
        $obj = [IoTAnalyticsDatasetAction]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetAction'

function Add-VSIoTAnalyticsDatasetContainerAction {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.ContainerAction resource property to the template. Information needed to run the "containerAction" to produce data set contents.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.ContainerAction resource property to the template.
Information needed to run the "containerAction" to produce data set contents.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-containeraction.html

    .PARAMETER Variables
        The values of variables used within the context of the execution of the containerized application basically, parameters passed to the application. Each variable must have a name and a value given by one of "stringValue", "datasetContentVersionValue", or "outputFileUriValue".

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-containeraction.html#cfn-iotanalytics-dataset-containeraction-variables
        UpdateType: Mutable
        Type: List
        ItemType: Variable
        DuplicatesAllowed: True

    .PARAMETER ExecutionRoleArn
        The ARN of the role which gives permission to the system to access needed resources in order to run the "containerAction". This includes, at minimum, permission to retrieve the data set contents which are the input to the containerized application.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-containeraction.html#cfn-iotanalytics-dataset-containeraction-executionrolearn
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Image
        The ARN of the Docker container stored in your account. The Docker container contains an application and needed support libraries and is used to generate data set contents.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-containeraction.html#cfn-iotanalytics-dataset-containeraction-image
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER ResourceConfiguration
        Configuration of the resource which executes the "containerAction".

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-containeraction.html#cfn-iotanalytics-dataset-containeraction-resourceconfiguration
        UpdateType: Mutable
        Type: ResourceConfiguration

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetContainerAction])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        [object]
        $Variables,
        [parameter(Mandatory = $true)]
        [object]
        $ExecutionRoleArn,
        [parameter(Mandatory = $true)]
        [object]
        $Image,
        [parameter(Mandatory = $true)]
        $ResourceConfiguration
    )
    Process {
        $obj = [IoTAnalyticsDatasetContainerAction]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetContainerAction'

function Add-VSIoTAnalyticsDatasetDatasetContentDeliveryRule {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRule resource property to the template. When dataset contents are created, they are delivered to destination specified here.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRule resource property to the template.
When dataset contents are created, they are delivered to destination specified here.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-datasetcontentdeliveryrule.html

    .PARAMETER Destination
        The destination to which dataset contents are delivered.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-datasetcontentdeliveryrule.html#cfn-iotanalytics-dataset-datasetcontentdeliveryrule-destination
        UpdateType: Mutable
        Type: DatasetContentDeliveryRuleDestination

    .PARAMETER EntryName
        The name of the dataset content delivery rules entry.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-datasetcontentdeliveryrule.html#cfn-iotanalytics-dataset-datasetcontentdeliveryrule-entryname
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetDatasetContentDeliveryRule])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        $Destination,
        [parameter(Mandatory = $false)]
        [object]
        $EntryName
    )
    Process {
        $obj = [IoTAnalyticsDatasetDatasetContentDeliveryRule]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetDatasetContentDeliveryRule'

function Add-VSIoTAnalyticsDatasetDatasetContentDeliveryRuleDestination {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRuleDestination resource property to the template. The destination to which dataset contents are delivered.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.DatasetContentDeliveryRuleDestination resource property to the template.
The destination to which dataset contents are delivered.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-datasetcontentdeliveryruledestination.html

    .PARAMETER IotEventsDestinationConfiguration
        Configuration information for delivery of dataset contents to AWS IoT Events.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-datasetcontentdeliveryruledestination.html#cfn-iotanalytics-dataset-datasetcontentdeliveryruledestination-ioteventsdestinationconfiguration
        UpdateType: Mutable
        Type: IotEventsDestinationConfiguration

    .PARAMETER S3DestinationConfiguration
        Configuration information for delivery of dataset contents to Amazon S3.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-datasetcontentdeliveryruledestination.html#cfn-iotanalytics-dataset-datasetcontentdeliveryruledestination-s3destinationconfiguration
        UpdateType: Mutable
        Type: S3DestinationConfiguration

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetDatasetContentDeliveryRuleDestination])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        $IotEventsDestinationConfiguration,
        [parameter(Mandatory = $false)]
        $S3DestinationConfiguration
    )
    Process {
        $obj = [IoTAnalyticsDatasetDatasetContentDeliveryRuleDestination]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetDatasetContentDeliveryRuleDestination'

function Add-VSIoTAnalyticsDatasetDatasetContentVersionValue {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.DatasetContentVersionValue resource property to the template.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.DatasetContentVersionValue resource property to the template.


    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-datasetcontentversionvalue.html

    .PARAMETER DatasetName
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-datasetcontentversionvalue.html#cfn-iotanalytics-dataset-datasetcontentversionvalue-datasetname
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetDatasetContentVersionValue])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $DatasetName
    )
    Process {
        $obj = [IoTAnalyticsDatasetDatasetContentVersionValue]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetDatasetContentVersionValue'

function Add-VSIoTAnalyticsDatasetDeltaTime {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.DeltaTime resource property to the template. Used to limit data to that which has arrived since the last execution of the action.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.DeltaTime resource property to the template.
Used to limit data to that which has arrived since the last execution of the action.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-deltatime.html

    .PARAMETER OffsetSeconds
        The number of seconds of estimated in-flight lag time of message data. When you create dataset contents using message data from a specified timeframe, some message data might still be in flight when processing begins, and so do not arrive in time to be processed. Use this field to make allowances for the in flight time of your message data, so that data not processed from a previous timeframe is included with the next timeframe. Otherwise, missed message data would be excluded from processing during the next timeframe too, because its timestamp places it within the previous timeframe.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-deltatime.html#cfn-iotanalytics-dataset-deltatime-offsetseconds
        UpdateType: Mutable
        PrimitiveType: Integer

    .PARAMETER TimeExpression
        An expression by which the time of the message data might be determined. This can be the name of a timestamp field or a SQL expression that is used to derive the time the message data was generated.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-deltatime.html#cfn-iotanalytics-dataset-deltatime-timeexpression
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetDeltaTime])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $OffsetSeconds,
        [parameter(Mandatory = $true)]
        [object]
        $TimeExpression
    )
    Process {
        $obj = [IoTAnalyticsDatasetDeltaTime]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetDeltaTime'

function Add-VSIoTAnalyticsDatasetDeltaTimeSessionWindowConfiguration {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.DeltaTimeSessionWindowConfiguration resource property to the template.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.DeltaTimeSessionWindowConfiguration resource property to the template.


    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-deltatimesessionwindowconfiguration.html

    .PARAMETER TimeoutInMinutes
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-deltatimesessionwindowconfiguration.html#cfn-iotanalytics-dataset-deltatimesessionwindowconfiguration-timeoutinminutes
        UpdateType: Mutable
        PrimitiveType: Integer

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetDeltaTimeSessionWindowConfiguration])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $TimeoutInMinutes
    )
    Process {
        $obj = [IoTAnalyticsDatasetDeltaTimeSessionWindowConfiguration]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetDeltaTimeSessionWindowConfiguration'

function Add-VSIoTAnalyticsDatasetFilter {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.Filter resource property to the template. Information which is used to filter message data, to segregate it according to the time frame in which it arrives.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.Filter resource property to the template.
Information which is used to filter message data, to segregate it according to the time frame in which it arrives.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-filter.html

    .PARAMETER DeltaTime
        Used to limit data to that which has arrived since the last execution of the action.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-filter.html#cfn-iotanalytics-dataset-filter-deltatime
        UpdateType: Mutable
        Type: DeltaTime

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetFilter])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        $DeltaTime
    )
    Process {
        $obj = [IoTAnalyticsDatasetFilter]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetFilter'

function Add-VSIoTAnalyticsDatasetGlueConfiguration {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.GlueConfiguration resource property to the template. Configuration information for coordination with AWS Glue, a fully managed extract, transform and load (ETL service.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.GlueConfiguration resource property to the template.
Configuration information for coordination with AWS Glue, a fully managed extract, transform and load (ETL service.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-glueconfiguration.html

    .PARAMETER DatabaseName
        The name of the database in your AWS Glue Data Catalog in which the table is located. An AWS Glue Data Catalog database contains metadata tables.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-glueconfiguration.html#cfn-iotanalytics-dataset-glueconfiguration-databasename
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER TableName
        The name of the table in your AWS Glue Data Catalog that is used to perform the ETL operations. An AWS Glue Data Catalog table contains partitioned data and descriptions of data sources and targets.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-glueconfiguration.html#cfn-iotanalytics-dataset-glueconfiguration-tablename
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetGlueConfiguration])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $DatabaseName,
        [parameter(Mandatory = $true)]
        [object]
        $TableName
    )
    Process {
        $obj = [IoTAnalyticsDatasetGlueConfiguration]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetGlueConfiguration'

function Add-VSIoTAnalyticsDatasetIotEventsDestinationConfiguration {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.IotEventsDestinationConfiguration resource property to the template. Configuration information for delivery of dataset contents to AWS IoT Events.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.IotEventsDestinationConfiguration resource property to the template.
Configuration information for delivery of dataset contents to AWS IoT Events.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-ioteventsdestinationconfiguration.html

    .PARAMETER InputName
        The name of the AWS IoT Events input to which dataset contents are delivered.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-ioteventsdestinationconfiguration.html#cfn-iotanalytics-dataset-ioteventsdestinationconfiguration-inputname
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER RoleArn
        The ARN of the role that grants AWS IoT Analytics permission to deliver dataset contents to an AWS IoT Events input.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-ioteventsdestinationconfiguration.html#cfn-iotanalytics-dataset-ioteventsdestinationconfiguration-rolearn
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetIotEventsDestinationConfiguration])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $InputName,
        [parameter(Mandatory = $true)]
        [object]
        $RoleArn
    )
    Process {
        $obj = [IoTAnalyticsDatasetIotEventsDestinationConfiguration]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetIotEventsDestinationConfiguration'

function Add-VSIoTAnalyticsDatasetLateDataRule {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.LateDataRule resource property to the template.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.LateDataRule resource property to the template.


    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-latedatarule.html

    .PARAMETER RuleConfiguration
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-latedatarule.html#cfn-iotanalytics-dataset-latedatarule-ruleconfiguration
        UpdateType: Mutable
        Type: LateDataRuleConfiguration

    .PARAMETER RuleName
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-latedatarule.html#cfn-iotanalytics-dataset-latedatarule-rulename
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetLateDataRule])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        $RuleConfiguration,
        [parameter(Mandatory = $false)]
        [object]
        $RuleName
    )
    Process {
        $obj = [IoTAnalyticsDatasetLateDataRule]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetLateDataRule'

function Add-VSIoTAnalyticsDatasetLateDataRuleConfiguration {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.LateDataRuleConfiguration resource property to the template.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.LateDataRuleConfiguration resource property to the template.


    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-latedataruleconfiguration.html

    .PARAMETER DeltaTimeSessionWindowConfiguration
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-latedataruleconfiguration.html#cfn-iotanalytics-dataset-latedataruleconfiguration-deltatimesessionwindowconfiguration
        UpdateType: Mutable
        Type: DeltaTimeSessionWindowConfiguration

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetLateDataRuleConfiguration])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        $DeltaTimeSessionWindowConfiguration
    )
    Process {
        $obj = [IoTAnalyticsDatasetLateDataRuleConfiguration]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetLateDataRuleConfiguration'

function Add-VSIoTAnalyticsDatasetOutputFileUriValue {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.OutputFileUriValue resource property to the template.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.OutputFileUriValue resource property to the template.


    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-outputfileurivalue.html

    .PARAMETER FileName
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-outputfileurivalue.html#cfn-iotanalytics-dataset-outputfileurivalue-filename
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetOutputFileUriValue])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $FileName
    )
    Process {
        $obj = [IoTAnalyticsDatasetOutputFileUriValue]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetOutputFileUriValue'

function Add-VSIoTAnalyticsDatasetQueryAction {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.QueryAction resource property to the template. An "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.QueryAction resource property to the template.
An "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-queryaction.html

    .PARAMETER Filters
        Pre-filters applied to message data.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-queryaction.html#cfn-iotanalytics-dataset-queryaction-filters
        UpdateType: Mutable
        Type: List
        ItemType: Filter
        DuplicatesAllowed: True

    .PARAMETER SqlQuery
        An "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-queryaction.html#cfn-iotanalytics-dataset-queryaction-sqlquery
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetQueryAction])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        [object]
        $Filters,
        [parameter(Mandatory = $true)]
        [object]
        $SqlQuery
    )
    Process {
        $obj = [IoTAnalyticsDatasetQueryAction]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetQueryAction'

function Add-VSIoTAnalyticsDatasetResourceConfiguration {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.ResourceConfiguration resource property to the template. The configuration of the resource used to execute the containerAction.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.ResourceConfiguration resource property to the template.
The configuration of the resource used to execute the containerAction.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-resourceconfiguration.html

    .PARAMETER VolumeSizeInGB
        The size, in GB, of the persistent storage available to the resource instance used to execute the containerAction min: 1, max: 50.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-resourceconfiguration.html#cfn-iotanalytics-dataset-resourceconfiguration-volumesizeingb
        UpdateType: Mutable
        PrimitiveType: Integer

    .PARAMETER ComputeType
        The type of the compute resource used to execute the containerAction. Possible values are: ACU_1 vCPU=4, memory=16 GiB or ACU_2 vCPU=8, memory=32 GiB.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-resourceconfiguration.html#cfn-iotanalytics-dataset-resourceconfiguration-computetype
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetResourceConfiguration])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $VolumeSizeInGB,
        [parameter(Mandatory = $true)]
        [object]
        $ComputeType
    )
    Process {
        $obj = [IoTAnalyticsDatasetResourceConfiguration]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetResourceConfiguration'

function Add-VSIoTAnalyticsDatasetRetentionPeriod {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.RetentionPeriod resource property to the template. How long, in days, message data is kept.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.RetentionPeriod resource property to the template.
How long, in days, message data is kept.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-retentionperiod.html

    .PARAMETER NumberOfDays
        The number of days that message data is kept. The unlimited parameter must be false.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-retentionperiod.html#cfn-iotanalytics-dataset-retentionperiod-numberofdays
        UpdateType: Mutable
        PrimitiveType: Integer

    .PARAMETER Unlimited
        If true, message data is kept indefinitely.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-retentionperiod.html#cfn-iotanalytics-dataset-retentionperiod-unlimited
        UpdateType: Mutable
        PrimitiveType: Boolean

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetRetentionPeriod])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $NumberOfDays,
        [parameter(Mandatory = $true)]
        [object]
        $Unlimited
    )
    Process {
        $obj = [IoTAnalyticsDatasetRetentionPeriod]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetRetentionPeriod'

function Add-VSIoTAnalyticsDatasetS3DestinationConfiguration {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.S3DestinationConfiguration resource property to the template. Configuration information for delivery of dataset contents to Amazon S3.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.S3DestinationConfiguration resource property to the template.
Configuration information for delivery of dataset contents to Amazon S3.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-s3destinationconfiguration.html

    .PARAMETER GlueConfiguration
        Configuration information for coordination with AWS Glue, a fully managed extract, transform and load ETL service.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-s3destinationconfiguration.html#cfn-iotanalytics-dataset-s3destinationconfiguration-glueconfiguration
        UpdateType: Mutable
        Type: GlueConfiguration

    .PARAMETER Bucket
        The name of the S3 bucket to which dataset contents are delivered.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-s3destinationconfiguration.html#cfn-iotanalytics-dataset-s3destinationconfiguration-bucket
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Key
        The key of the dataset contents object. Each object in an S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. To produce a unique key, you can use !{iotanalytics:scheduleTime} to insert the time of the scheduled SQL query run, or !{iotanalytics:versionId} to insert a unique hash identifying the dataset for example, /DataSet/!{iotanalytics:scheduleTime}/!{iotanalytics:versionId}.csv.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-s3destinationconfiguration.html#cfn-iotanalytics-dataset-s3destinationconfiguration-key
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER RoleArn
        The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 and AWS Glue resources.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-s3destinationconfiguration.html#cfn-iotanalytics-dataset-s3destinationconfiguration-rolearn
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetS3DestinationConfiguration])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        $GlueConfiguration,
        [parameter(Mandatory = $true)]
        [object]
        $Bucket,
        [parameter(Mandatory = $true)]
        [object]
        $Key,
        [parameter(Mandatory = $true)]
        [object]
        $RoleArn
    )
    Process {
        $obj = [IoTAnalyticsDatasetS3DestinationConfiguration]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetS3DestinationConfiguration'

function Add-VSIoTAnalyticsDatasetSchedule {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.Schedule resource property to the template.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.Schedule resource property to the template.


    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-schedule.html

    .PARAMETER ScheduleExpression
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-schedule.html#cfn-iotanalytics-dataset-schedule-scheduleexpression
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetSchedule])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $ScheduleExpression
    )
    Process {
        $obj = [IoTAnalyticsDatasetSchedule]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetSchedule'

function Add-VSIoTAnalyticsDatasetTrigger {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.Trigger resource property to the template. The "DatasetTrigger" that specifies when the data set is automatically updated.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.Trigger resource property to the template.
The "DatasetTrigger" that specifies when the data set is automatically updated.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-trigger.html

    .PARAMETER TriggeringDataset
        Information about the data set whose content generation triggers the new data set content generation.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-trigger.html#cfn-iotanalytics-dataset-trigger-triggeringdataset
        UpdateType: Mutable
        Type: TriggeringDataset

    .PARAMETER Schedule
        The "Schedule" when the trigger is initiated.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-trigger.html#cfn-iotanalytics-dataset-trigger-schedule
        UpdateType: Mutable
        Type: Schedule

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetTrigger])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        $TriggeringDataset,
        [parameter(Mandatory = $false)]
        $Schedule
    )
    Process {
        $obj = [IoTAnalyticsDatasetTrigger]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetTrigger'

function Add-VSIoTAnalyticsDatasetTriggeringDataset {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.TriggeringDataset resource property to the template. Information about the dataset whose content generation triggers the new dataset content generation.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.TriggeringDataset resource property to the template.
Information about the dataset whose content generation triggers the new dataset content generation.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-triggeringdataset.html

    .PARAMETER DatasetName
        The name of the data set whose content generation triggers the new data set content generation.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-triggeringdataset.html#cfn-iotanalytics-dataset-triggeringdataset-datasetname
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetTriggeringDataset])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $DatasetName
    )
    Process {
        $obj = [IoTAnalyticsDatasetTriggeringDataset]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetTriggeringDataset'

function Add-VSIoTAnalyticsDatasetVariable {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.Variable resource property to the template. An instance of a variable to be passed to the containerAction execution. Each variable must have a name and a value given by one of stringValue, datasetContentVersionValue, or outputFileUriValue.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.Variable resource property to the template.
An instance of a variable to be passed to the containerAction execution. Each variable must have a name and a value given by one of stringValue, datasetContentVersionValue, or outputFileUriValue.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-variable.html

    .PARAMETER VariableName
        The name of the variable.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-variable.html#cfn-iotanalytics-dataset-variable-variablename
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER DatasetContentVersionValue
        The value of the variable as a structure that specifies a dataset content version.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-variable.html#cfn-iotanalytics-dataset-variable-datasetcontentversionvalue
        UpdateType: Mutable
        Type: DatasetContentVersionValue

    .PARAMETER StringValue
        The value of the variable as a string.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-variable.html#cfn-iotanalytics-dataset-variable-stringvalue
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER DoubleValue
        The value of the variable as a double numeric.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-variable.html#cfn-iotanalytics-dataset-variable-doublevalue
        UpdateType: Mutable
        PrimitiveType: Double

    .PARAMETER OutputFileUriValue
        The value of the variable as a structure that specifies an output file URI.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-variable.html#cfn-iotanalytics-dataset-variable-outputfileurivalue
        UpdateType: Mutable
        Type: OutputFileUriValue

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetVariable])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $VariableName,
        [parameter(Mandatory = $false)]
        $DatasetContentVersionValue,
        [parameter(Mandatory = $false)]
        [object]
        $StringValue,
        [parameter(Mandatory = $false)]
        [object]
        $DoubleValue,
        [parameter(Mandatory = $false)]
        $OutputFileUriValue
    )
    Process {
        $obj = [IoTAnalyticsDatasetVariable]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetVariable'

function Add-VSIoTAnalyticsDatasetVersioningConfiguration {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset.VersioningConfiguration resource property to the template. Information about the versioning of dataset contents.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset.VersioningConfiguration resource property to the template.
Information about the versioning of dataset contents.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-versioningconfiguration.html

    .PARAMETER Unlimited
        If true, unlimited versions of dataset contents are kept.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-versioningconfiguration.html#cfn-iotanalytics-dataset-versioningconfiguration-unlimited
        UpdateType: Mutable
        PrimitiveType: Boolean

    .PARAMETER MaxVersions
        How many versions of dataset contents are kept. The unlimited parameter must be false.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-dataset-versioningconfiguration.html#cfn-iotanalytics-dataset-versioningconfiguration-maxversions
        UpdateType: Mutable
        PrimitiveType: Integer

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatasetVersioningConfiguration])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        [object]
        $Unlimited,
        [parameter(Mandatory = $false)]
        [object]
        $MaxVersions
    )
    Process {
        $obj = [IoTAnalyticsDatasetVersioningConfiguration]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatasetVersioningConfiguration'

function Add-VSIoTAnalyticsDatastoreColumn {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Datastore.Column resource property to the template.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Datastore.Column resource property to the template.


    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-column.html

    .PARAMETER Type
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-column.html#cfn-iotanalytics-datastore-column-type
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Name
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-column.html#cfn-iotanalytics-datastore-column-name
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatastoreColumn])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $Type,
        [parameter(Mandatory = $true)]
        [object]
        $Name
    )
    Process {
        $obj = [IoTAnalyticsDatastoreColumn]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatastoreColumn'

function Add-VSIoTAnalyticsDatastoreCustomerManagedS3 {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Datastore.CustomerManagedS3 resource property to the template. Use this to store data store data in an S3 bucket that you manage. When customer managed storage is selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Datastore.CustomerManagedS3 resource property to the template.
Use this to store data store data in an S3 bucket that you manage. When customer managed storage is selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-customermanageds3.html

    .PARAMETER Bucket
        The name of the Amazon S3 bucket in which data store data is stored.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-customermanageds3.html#cfn-iotanalytics-datastore-customermanageds3-bucket
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER RoleArn
        The ARN of the role which grants AWS IoT Analytics permission to interact with your Amazon S3 resources.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-customermanageds3.html#cfn-iotanalytics-datastore-customermanageds3-rolearn
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER KeyPrefix
        Optional] The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier within the bucket each object in a bucket has exactly one key. The prefix must end with a '/'.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-customermanageds3.html#cfn-iotanalytics-datastore-customermanageds3-keyprefix
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatastoreCustomerManagedS3])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $Bucket,
        [parameter(Mandatory = $true)]
        [object]
        $RoleArn,
        [parameter(Mandatory = $false)]
        [object]
        $KeyPrefix
    )
    Process {
        $obj = [IoTAnalyticsDatastoreCustomerManagedS3]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatastoreCustomerManagedS3'

function Add-VSIoTAnalyticsDatastoreCustomerManagedS3Storage {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Datastore.CustomerManagedS3Storage resource property to the template.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Datastore.CustomerManagedS3Storage resource property to the template.


    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-customermanageds3storage.html

    .PARAMETER Bucket
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-customermanageds3storage.html#cfn-iotanalytics-datastore-customermanageds3storage-bucket
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER KeyPrefix
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-customermanageds3storage.html#cfn-iotanalytics-datastore-customermanageds3storage-keyprefix
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatastoreCustomerManagedS3Storage])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $Bucket,
        [parameter(Mandatory = $false)]
        [object]
        $KeyPrefix
    )
    Process {
        $obj = [IoTAnalyticsDatastoreCustomerManagedS3Storage]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatastoreCustomerManagedS3Storage'

function Add-VSIoTAnalyticsDatastoreDatastorePartition {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Datastore.DatastorePartition resource property to the template.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Datastore.DatastorePartition resource property to the template.


    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-datastorepartition.html

    .PARAMETER Partition
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-datastorepartition.html#cfn-iotanalytics-datastore-datastorepartition-partition
        UpdateType: Mutable
        Type: Partition

    .PARAMETER TimestampPartition
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-datastorepartition.html#cfn-iotanalytics-datastore-datastorepartition-timestamppartition
        UpdateType: Mutable
        Type: TimestampPartition

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatastoreDatastorePartition])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        $Partition,
        [parameter(Mandatory = $false)]
        $TimestampPartition
    )
    Process {
        $obj = [IoTAnalyticsDatastoreDatastorePartition]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatastoreDatastorePartition'

function Add-VSIoTAnalyticsDatastoreDatastorePartitions {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Datastore.DatastorePartitions resource property to the template.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Datastore.DatastorePartitions resource property to the template.


    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-datastorepartitions.html

    .PARAMETER Partitions
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-datastorepartitions.html#cfn-iotanalytics-datastore-datastorepartitions-partitions
        UpdateType: Mutable
        Type: List
        ItemType: DatastorePartition
        DuplicatesAllowed: True

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatastoreDatastorePartitions])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        [object]
        $Partitions
    )
    Process {
        $obj = [IoTAnalyticsDatastoreDatastorePartitions]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatastoreDatastorePartitions'

function Add-VSIoTAnalyticsDatastoreDatastoreStorage {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Datastore.DatastoreStorage resource property to the template. Where data store data is stored.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Datastore.DatastoreStorage resource property to the template.
Where data store data is stored.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-datastorestorage.html

    .PARAMETER ServiceManagedS3
        Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-datastorestorage.html#cfn-iotanalytics-datastore-datastorestorage-servicemanageds3
        UpdateType: Mutable
        Type: ServiceManagedS3

    .PARAMETER CustomerManagedS3
        Use this to store data store data in an S3 bucket that you manage. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-datastorestorage.html#cfn-iotanalytics-datastore-datastorestorage-customermanageds3
        UpdateType: Mutable
        Type: CustomerManagedS3

    .PARAMETER IotSiteWiseMultiLayerStorage
        *Update requires*: No interruption: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-datastorestorage.html#cfn-iotanalytics-datastore-datastorestorage-iotsitewisemultilayerstorage
        UpdateType: Mutable
        Type: IotSiteWiseMultiLayerStorage

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatastoreDatastoreStorage])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        $ServiceManagedS3,
        [parameter(Mandatory = $false)]
        $CustomerManagedS3,
        [parameter(Mandatory = $false)]
        $IotSiteWiseMultiLayerStorage
    )
    Process {
        $obj = [IoTAnalyticsDatastoreDatastoreStorage]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatastoreDatastoreStorage'

function Add-VSIoTAnalyticsDatastoreFileFormatConfiguration {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Datastore.FileFormatConfiguration resource property to the template.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Datastore.FileFormatConfiguration resource property to the template.


    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-fileformatconfiguration.html

    .PARAMETER JsonConfiguration
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-fileformatconfiguration.html#cfn-iotanalytics-datastore-fileformatconfiguration-jsonconfiguration
        UpdateType: Mutable
        Type: JsonConfiguration

    .PARAMETER ParquetConfiguration
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-fileformatconfiguration.html#cfn-iotanalytics-datastore-fileformatconfiguration-parquetconfiguration
        UpdateType: Mutable
        Type: ParquetConfiguration

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatastoreFileFormatConfiguration])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        $JsonConfiguration,
        [parameter(Mandatory = $false)]
        $ParquetConfiguration
    )
    Process {
        $obj = [IoTAnalyticsDatastoreFileFormatConfiguration]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatastoreFileFormatConfiguration'

function Add-VSIoTAnalyticsDatastoreIotSiteWiseMultiLayerStorage {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Datastore.IotSiteWiseMultiLayerStorage resource property to the template.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Datastore.IotSiteWiseMultiLayerStorage resource property to the template.


    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-iotsitewisemultilayerstorage.html

    .PARAMETER CustomerManagedS3Storage
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-iotsitewisemultilayerstorage.html#cfn-iotanalytics-datastore-iotsitewisemultilayerstorage-customermanageds3storage
        UpdateType: Mutable
        Type: CustomerManagedS3Storage

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatastoreIotSiteWiseMultiLayerStorage])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        $CustomerManagedS3Storage
    )
    Process {
        $obj = [IoTAnalyticsDatastoreIotSiteWiseMultiLayerStorage]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatastoreIotSiteWiseMultiLayerStorage'

function Add-VSIoTAnalyticsDatastoreJsonConfiguration {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Datastore.JsonConfiguration resource property to the template.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Datastore.JsonConfiguration resource property to the template.


    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-jsonconfiguration.html

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatastoreJsonConfiguration])]
    [cmdletbinding()]
    Param(
    )
    Process {
        $obj = [IoTAnalyticsDatastoreJsonConfiguration]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatastoreJsonConfiguration'

function Add-VSIoTAnalyticsDatastoreParquetConfiguration {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Datastore.ParquetConfiguration resource property to the template.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Datastore.ParquetConfiguration resource property to the template.


    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-parquetconfiguration.html

    .PARAMETER SchemaDefinition
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-parquetconfiguration.html#cfn-iotanalytics-datastore-parquetconfiguration-schemadefinition
        UpdateType: Mutable
        Type: SchemaDefinition

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatastoreParquetConfiguration])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        $SchemaDefinition
    )
    Process {
        $obj = [IoTAnalyticsDatastoreParquetConfiguration]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatastoreParquetConfiguration'

function Add-VSIoTAnalyticsDatastorePartition {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Datastore.Partition resource property to the template.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Datastore.Partition resource property to the template.


    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-partition.html

    .PARAMETER AttributeName
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-partition.html#cfn-iotanalytics-datastore-partition-attributename
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatastorePartition])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $AttributeName
    )
    Process {
        $obj = [IoTAnalyticsDatastorePartition]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatastorePartition'

function Add-VSIoTAnalyticsDatastoreRetentionPeriod {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Datastore.RetentionPeriod resource property to the template. How long, in days, message data is kept.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Datastore.RetentionPeriod resource property to the template.
How long, in days, message data is kept.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-retentionperiod.html

    .PARAMETER NumberOfDays
        The number of days that message data is kept. The unlimited parameter must be false.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-retentionperiod.html#cfn-iotanalytics-datastore-retentionperiod-numberofdays
        UpdateType: Mutable
        PrimitiveType: Integer

    .PARAMETER Unlimited
        If true, message data is kept indefinitely.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-retentionperiod.html#cfn-iotanalytics-datastore-retentionperiod-unlimited
        UpdateType: Mutable
        PrimitiveType: Boolean

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatastoreRetentionPeriod])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        [object]
        $NumberOfDays,
        [parameter(Mandatory = $false)]
        [object]
        $Unlimited
    )
    Process {
        $obj = [IoTAnalyticsDatastoreRetentionPeriod]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatastoreRetentionPeriod'

function Add-VSIoTAnalyticsDatastoreSchemaDefinition {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Datastore.SchemaDefinition resource property to the template.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Datastore.SchemaDefinition resource property to the template.


    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-schemadefinition.html

    .PARAMETER Columns
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-schemadefinition.html#cfn-iotanalytics-datastore-schemadefinition-columns
        UpdateType: Mutable
        Type: List
        ItemType: Column
        DuplicatesAllowed: True

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatastoreSchemaDefinition])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        [object]
        $Columns
    )
    Process {
        $obj = [IoTAnalyticsDatastoreSchemaDefinition]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatastoreSchemaDefinition'

function Add-VSIoTAnalyticsDatastoreServiceManagedS3 {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Datastore.ServiceManagedS3 resource property to the template. Used to store data store data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Datastore.ServiceManagedS3 resource property to the template.
Used to store data store data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-servicemanageds3.html

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatastoreServiceManagedS3])]
    [cmdletbinding()]
    Param(
    )
    Process {
        $obj = [IoTAnalyticsDatastoreServiceManagedS3]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatastoreServiceManagedS3'

function Add-VSIoTAnalyticsDatastoreTimestampPartition {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Datastore.TimestampPartition resource property to the template.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Datastore.TimestampPartition resource property to the template.


    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-timestamppartition.html

    .PARAMETER AttributeName
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-timestamppartition.html#cfn-iotanalytics-datastore-timestamppartition-attributename
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER TimestampFormat
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-datastore-timestamppartition.html#cfn-iotanalytics-datastore-timestamppartition-timestampformat
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatastoreTimestampPartition])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $AttributeName,
        [parameter(Mandatory = $false)]
        [object]
        $TimestampFormat
    )
    Process {
        $obj = [IoTAnalyticsDatastoreTimestampPartition]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsDatastoreTimestampPartition'

function Add-VSIoTAnalyticsPipelineActivity {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Pipeline.Activity resource property to the template. An activity that performs a transformation on a message.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Pipeline.Activity resource property to the template.
An activity that performs a transformation on a message.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html

    .PARAMETER SelectAttributes
        Creates a new message using only the specified attributes from the original message.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-selectattributes
        UpdateType: Mutable
        Type: SelectAttributes

    .PARAMETER Datastore
        Specifies where to store the processed message data.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-datastore
        UpdateType: Mutable
        Type: Datastore

    .PARAMETER Filter
        Filters a message based on its attributes.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-filter
        UpdateType: Mutable
        Type: Filter

    .PARAMETER AddAttributes
        Adds other attributes based on existing attributes in the message.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-addattributes
        UpdateType: Mutable
        Type: AddAttributes

    .PARAMETER Channel
        Determines the source of the messages to be processed.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-channel
        UpdateType: Mutable
        Type: Channel

    .PARAMETER DeviceShadowEnrich
        Adds information from the AWS IoT Device Shadows service to a message.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-deviceshadowenrich
        UpdateType: Mutable
        Type: DeviceShadowEnrich

    .PARAMETER Math
        Computes an arithmetic expression using the message's attributes and adds it to the message.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-math
        UpdateType: Mutable
        Type: Math

    .PARAMETER Lambda
        Runs a Lambda function to modify the message.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-lambda
        UpdateType: Mutable
        Type: Lambda

    .PARAMETER DeviceRegistryEnrich
        Adds data from the AWS IoT device registry to your message.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-deviceregistryenrich
        UpdateType: Mutable
        Type: DeviceRegistryEnrich

    .PARAMETER RemoveAttributes
        Removes attributes from a message.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-activity.html#cfn-iotanalytics-pipeline-activity-removeattributes
        UpdateType: Mutable
        Type: RemoveAttributes

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsPipelineActivity])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        $SelectAttributes,
        [parameter(Mandatory = $false)]
        $Datastore,
        [parameter(Mandatory = $false)]
        $Filter,
        [parameter(Mandatory = $false)]
        $AddAttributes,
        [parameter(Mandatory = $false)]
        $Channel,
        [parameter(Mandatory = $false)]
        $DeviceShadowEnrich,
        [parameter(Mandatory = $false)]
        $Math,
        [parameter(Mandatory = $false)]
        $Lambda,
        [parameter(Mandatory = $false)]
        $DeviceRegistryEnrich,
        [parameter(Mandatory = $false)]
        $RemoveAttributes
    )
    Process {
        $obj = [IoTAnalyticsPipelineActivity]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsPipelineActivity'

function Add-VSIoTAnalyticsPipelineAddAttributes {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Pipeline.AddAttributes resource property to the template. An activity that adds other attributes based on existing attributes in the message.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Pipeline.AddAttributes resource property to the template.
An activity that adds other attributes based on existing attributes in the message.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-addattributes.html

    .PARAMETER Next
        The next activity in the pipeline.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-addattributes.html#cfn-iotanalytics-pipeline-addattributes-next
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Attributes
        A list of 1-50 "AttributeNameMapping" objects that map an existing attribute to a new attribute.
The existing attributes remain in the message, so if you want to remove the originals, use "RemoveAttributeActivity".

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-addattributes.html#cfn-iotanalytics-pipeline-addattributes-attributes
        UpdateType: Mutable
        Type: Map
        PrimitiveItemType: String

    .PARAMETER Name
        The name of the 'addAttributes' activity.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-addattributes.html#cfn-iotanalytics-pipeline-addattributes-name
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsPipelineAddAttributes])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        [object]
        $Next,
        [parameter(Mandatory = $true)]
        [IDictionary]
        $Attributes,
        [parameter(Mandatory = $true)]
        [object]
        $Name
    )
    Process {
        $obj = [IoTAnalyticsPipelineAddAttributes]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsPipelineAddAttributes'

function Add-VSIoTAnalyticsPipelineChannel {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Pipeline.Channel resource property to the template. Determines the source of the messages to be processed.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Pipeline.Channel resource property to the template.
Determines the source of the messages to be processed.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-channel.html

    .PARAMETER ChannelName
        The name of the channel from which the messages are processed.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-channel.html#cfn-iotanalytics-pipeline-channel-channelname
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Next
        The next activity in the pipeline.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-channel.html#cfn-iotanalytics-pipeline-channel-next
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Name
        The name of the 'channel' activity.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-channel.html#cfn-iotanalytics-pipeline-channel-name
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsPipelineChannel])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $ChannelName,
        [parameter(Mandatory = $false)]
        [object]
        $Next,
        [parameter(Mandatory = $true)]
        [object]
        $Name
    )
    Process {
        $obj = [IoTAnalyticsPipelineChannel]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsPipelineChannel'

function Add-VSIoTAnalyticsPipelineDatastore {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Pipeline.Datastore resource property to the template. The datastore activity that specifies where to store the processed data.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Pipeline.Datastore resource property to the template.
The datastore activity that specifies where to store the processed data.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-datastore.html

    .PARAMETER DatastoreName
        The name of the data store where processed messages are stored.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-datastore.html#cfn-iotanalytics-pipeline-datastore-datastorename
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Name
        The name of the datastore activity.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-datastore.html#cfn-iotanalytics-pipeline-datastore-name
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsPipelineDatastore])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $DatastoreName,
        [parameter(Mandatory = $true)]
        [object]
        $Name
    )
    Process {
        $obj = [IoTAnalyticsPipelineDatastore]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsPipelineDatastore'

function Add-VSIoTAnalyticsPipelineDeviceRegistryEnrich {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Pipeline.DeviceRegistryEnrich resource property to the template. An activity that adds data from the AWS IoT device registry to your message.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Pipeline.DeviceRegistryEnrich resource property to the template.
An activity that adds data from the AWS IoT device registry to your message.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceregistryenrich.html

    .PARAMETER Attribute
        The name of the attribute that is added to the message.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceregistryenrich.html#cfn-iotanalytics-pipeline-deviceregistryenrich-attribute
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Next
        The next activity in the pipeline.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceregistryenrich.html#cfn-iotanalytics-pipeline-deviceregistryenrich-next
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER ThingName
        The name of the IoT device whose registry information is added to the message.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceregistryenrich.html#cfn-iotanalytics-pipeline-deviceregistryenrich-thingname
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER RoleArn
        The ARN of the role that allows access to the device's registry information.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceregistryenrich.html#cfn-iotanalytics-pipeline-deviceregistryenrich-rolearn
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Name
        The name of the 'deviceRegistryEnrich' activity.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceregistryenrich.html#cfn-iotanalytics-pipeline-deviceregistryenrich-name
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsPipelineDeviceRegistryEnrich])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $Attribute,
        [parameter(Mandatory = $false)]
        [object]
        $Next,
        [parameter(Mandatory = $true)]
        [object]
        $ThingName,
        [parameter(Mandatory = $true)]
        [object]
        $RoleArn,
        [parameter(Mandatory = $true)]
        [object]
        $Name
    )
    Process {
        $obj = [IoTAnalyticsPipelineDeviceRegistryEnrich]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsPipelineDeviceRegistryEnrich'

function Add-VSIoTAnalyticsPipelineDeviceShadowEnrich {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Pipeline.DeviceShadowEnrich resource property to the template. An activity that adds information from the AWS IoT Device Shadows service to a message.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Pipeline.DeviceShadowEnrich resource property to the template.
An activity that adds information from the AWS IoT Device Shadows service to a message.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceshadowenrich.html

    .PARAMETER Attribute
        The name of the attribute that is added to the message.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceshadowenrich.html#cfn-iotanalytics-pipeline-deviceshadowenrich-attribute
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Next
        The next activity in the pipeline.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceshadowenrich.html#cfn-iotanalytics-pipeline-deviceshadowenrich-next
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER ThingName
        The name of the IoT device whose shadow information is added to the message.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceshadowenrich.html#cfn-iotanalytics-pipeline-deviceshadowenrich-thingname
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER RoleArn
        The ARN of the role that allows access to the device's shadow.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceshadowenrich.html#cfn-iotanalytics-pipeline-deviceshadowenrich-rolearn
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Name
        The name of the 'deviceShadowEnrich' activity.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-deviceshadowenrich.html#cfn-iotanalytics-pipeline-deviceshadowenrich-name
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsPipelineDeviceShadowEnrich])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $Attribute,
        [parameter(Mandatory = $false)]
        [object]
        $Next,
        [parameter(Mandatory = $true)]
        [object]
        $ThingName,
        [parameter(Mandatory = $true)]
        [object]
        $RoleArn,
        [parameter(Mandatory = $true)]
        [object]
        $Name
    )
    Process {
        $obj = [IoTAnalyticsPipelineDeviceShadowEnrich]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsPipelineDeviceShadowEnrich'

function Add-VSIoTAnalyticsPipelineFilter {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Pipeline.Filter resource property to the template. An activity that filters a message based on its attributes.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Pipeline.Filter resource property to the template.
An activity that filters a message based on its attributes.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-filter.html

    .PARAMETER Filter
        An expression that looks like an SQL WHERE clause that must return a Boolean value.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-filter.html#cfn-iotanalytics-pipeline-filter-filter
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Next
        The next activity in the pipeline.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-filter.html#cfn-iotanalytics-pipeline-filter-next
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Name
        The name of the 'filter' activity.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-filter.html#cfn-iotanalytics-pipeline-filter-name
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsPipelineFilter])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $Filter,
        [parameter(Mandatory = $false)]
        [object]
        $Next,
        [parameter(Mandatory = $true)]
        [object]
        $Name
    )
    Process {
        $obj = [IoTAnalyticsPipelineFilter]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsPipelineFilter'

function Add-VSIoTAnalyticsPipelineLambda {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Pipeline.Lambda resource property to the template. An activity that runs a Lambda function to modify the message.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Pipeline.Lambda resource property to the template.
An activity that runs a Lambda function to modify the message.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-lambda.html

    .PARAMETER BatchSize
        The number of messages passed to the Lambda function for processing.
The AWS Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-lambda.html#cfn-iotanalytics-pipeline-lambda-batchsize
        UpdateType: Mutable
        PrimitiveType: Integer

    .PARAMETER Next
        The next activity in the pipeline.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-lambda.html#cfn-iotanalytics-pipeline-lambda-next
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER LambdaName
        The name of the Lambda function that is run on the message.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-lambda.html#cfn-iotanalytics-pipeline-lambda-lambdaname
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Name
        The name of the 'lambda' activity.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-lambda.html#cfn-iotanalytics-pipeline-lambda-name
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsPipelineLambda])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $BatchSize,
        [parameter(Mandatory = $false)]
        [object]
        $Next,
        [parameter(Mandatory = $true)]
        [object]
        $LambdaName,
        [parameter(Mandatory = $true)]
        [object]
        $Name
    )
    Process {
        $obj = [IoTAnalyticsPipelineLambda]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsPipelineLambda'

function Add-VSIoTAnalyticsPipelineMath {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Pipeline.Math resource property to the template. An activity that computes an arithmetic expression using the message's attributes.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Pipeline.Math resource property to the template.
An activity that computes an arithmetic expression using the message's attributes.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-math.html

    .PARAMETER Attribute
        The name of the attribute that contains the result of the math operation.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-math.html#cfn-iotanalytics-pipeline-math-attribute
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Next
        The next activity in the pipeline.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-math.html#cfn-iotanalytics-pipeline-math-next
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Math
        An expression that uses one or more existing attributes and must return an integer value.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-math.html#cfn-iotanalytics-pipeline-math-math
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Name
        The name of the 'math' activity.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-math.html#cfn-iotanalytics-pipeline-math-name
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsPipelineMath])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true)]
        [object]
        $Attribute,
        [parameter(Mandatory = $false)]
        [object]
        $Next,
        [parameter(Mandatory = $true)]
        [object]
        $Math,
        [parameter(Mandatory = $true)]
        [object]
        $Name
    )
    Process {
        $obj = [IoTAnalyticsPipelineMath]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsPipelineMath'

function Add-VSIoTAnalyticsPipelineRemoveAttributes {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Pipeline.RemoveAttributes resource property to the template. An activity that removes attributes from a message.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Pipeline.RemoveAttributes resource property to the template.
An activity that removes attributes from a message.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-removeattributes.html

    .PARAMETER Next
        The next activity in the pipeline.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-removeattributes.html#cfn-iotanalytics-pipeline-removeattributes-next
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Attributes
        A list of 1-50 attributes to remove from the message.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-removeattributes.html#cfn-iotanalytics-pipeline-removeattributes-attributes
        UpdateType: Mutable
        Type: List
        PrimitiveItemType: String
        DuplicatesAllowed: True

    .PARAMETER Name
        The name of the 'removeAttributes' activity.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-removeattributes.html#cfn-iotanalytics-pipeline-removeattributes-name
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsPipelineRemoveAttributes])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        [object]
        $Next,
        [parameter(Mandatory = $true)]
        $Attributes,
        [parameter(Mandatory = $true)]
        [object]
        $Name
    )
    Process {
        $obj = [IoTAnalyticsPipelineRemoveAttributes]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsPipelineRemoveAttributes'

function Add-VSIoTAnalyticsPipelineSelectAttributes {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Pipeline.SelectAttributes resource property to the template. Creates a new message using only the specified attributes from the original message.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Pipeline.SelectAttributes resource property to the template.
Creates a new message using only the specified attributes from the original message.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-selectattributes.html

    .PARAMETER Next
        The next activity in the pipeline.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-selectattributes.html#cfn-iotanalytics-pipeline-selectattributes-next
        UpdateType: Mutable
        PrimitiveType: String

    .PARAMETER Attributes
        A list of the attributes to select from the message.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-selectattributes.html#cfn-iotanalytics-pipeline-selectattributes-attributes
        UpdateType: Mutable
        Type: List
        PrimitiveItemType: String
        DuplicatesAllowed: True

    .PARAMETER Name
        The name of the 'selectAttributes' activity.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotanalytics-pipeline-selectattributes.html#cfn-iotanalytics-pipeline-selectattributes-name
        UpdateType: Mutable
        PrimitiveType: String

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsPipelineSelectAttributes])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $false)]
        [object]
        $Next,
        [parameter(Mandatory = $true)]
        $Attributes,
        [parameter(Mandatory = $true)]
        [object]
        $Name
    )
    Process {
        $obj = [IoTAnalyticsPipelineSelectAttributes]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'Add-VSIoTAnalyticsPipelineSelectAttributes'

function New-VSIoTAnalyticsChannel {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Channel resource to the template. The AWS::IoTAnalytics::Channel resource collects data from an MQTT topic and archives the raw, unprocessed messages before publishing the data to a pipeline. For more information, see How to Use AWS IoT Analytics: https://docs.aws.amazon.com/iotanalytics/latest/userguide/welcome.html#aws-iot-analytics-how in the *AWS IoT Analytics User Guide*.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Channel resource to the template. The AWS::IoTAnalytics::Channel resource collects data from an MQTT topic and archives the raw, unprocessed messages before publishing the data to a pipeline. For more information, see How to Use AWS IoT Analytics: https://docs.aws.amazon.com/iotanalytics/latest/userguide/welcome.html#aws-iot-analytics-how in the *AWS IoT Analytics User Guide*.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-channel.html

    .PARAMETER LogicalId
        The logical ID must be alphanumeric (A-Za-z0-9) and unique within the template. Use the logical name to reference the resource in other parts of the template. For example, if you want to map an Amazon Elastic Block Store volume to an Amazon EC2 instance, you reference the logical IDs to associate the block stores with the instance.

    .PARAMETER ChannelStorage
        Where channel data is stored.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-channel.html#cfn-iotanalytics-channel-channelstorage
        UpdateType: Mutable
        Type: ChannelStorage

    .PARAMETER ChannelName
        The name of the channel.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-channel.html#cfn-iotanalytics-channel-channelname
        UpdateType: Immutable
        PrimitiveType: String

    .PARAMETER RetentionPeriod
        How long, in days, message data is kept for the channel.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-channel.html#cfn-iotanalytics-channel-retentionperiod
        UpdateType: Mutable
        Type: RetentionPeriod

    .PARAMETER Tags
        Metadata which can be used to manage the channel.
For more information, see Tag: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-channel.html#cfn-iotanalytics-channel-tags
        UpdateType: Mutable
        Type: List
        ItemType: Tag
        DuplicatesAllowed: True

    .PARAMETER DeletionPolicy
        With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted. You specify a DeletionPolicy attribute for each resource that you want to control. If a resource has no DeletionPolicy attribute, AWS CloudFormation deletes the resource by default.

        To keep a resource when its stack is deleted, specify Retain for that resource. You can use retain for any resource. For example, you can retain a nested stack, S3 bucket, or EC2 instance so that you can continue to use or modify those resources after you delete their stacks.

        You must use one of the following options: "Delete","Retain","Snapshot"

    .PARAMETER UpdateReplacePolicy
        Use the UpdateReplacePolicy attribute to retain or (in some cases) backup the existing physical instance of a resource when it is replaced during a stack update operation.

        When you initiate a stack update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template and parameters. If you update a resource property that requires that the resource be replaced, AWS CloudFormation recreates the resource during the update. Recreating the resource generates a new physical ID. AWS CloudFormation creates the replacement resource first, and then changes references from other dependent resources to point to the replacement resource. By default, AWS CloudFormation then deletes the old resource. Using the UpdateReplacePolicy, you can specify that AWS CloudFormation retain or (in some cases) create a snapshot of the old resource.

        For resources that support snapshots, such as AWS::EC2::Volume, specify Snapshot to have AWS CloudFormation create a snapshot before deleting the old resource instance.

        You can apply the UpdateReplacePolicy attribute to any resource. UpdateReplacePolicy is only executed if you update a resource property whose update behavior is specified as Replacement, thereby causing AWS CloudFormation to replace the old resource with a new one with a new physical ID. For example, if you update the Engine property of an AWS::RDS::DBInstance resource type, AWS CloudFormation creates a new resource and replaces the current DB instance resource with the new one. The UpdateReplacePolicy attribute would then dictate whether AWS CloudFormation deleted, retained, or created a snapshot of the old DB instance. The update behavior for each property of a resource is specified in the reference topic for that resource in the AWS Resource and Property Types Reference. For more information on resource update behavior, see Update Behaviors of Stack Resources.

        The UpdateReplacePolicy attribute applies to stack updates you perform directly, as well as stack updates performed using change sets.

        Note
        Resources that are retained continue to exist and continue to incur applicable charges until you delete those resources. Snapshots that are created with this policy continue to exist and continue to incur applicable charges until you delete those snapshots. UpdateReplacePolicy retains the old physical resource or snapshot, but removes it from AWS CloudFormation's scope.

        UpdateReplacePolicy differs from the DeletionPolicy attribute in that it only applies to resources replaced during stack updates. Use DeletionPolicy for resources deleted when a stack is deleted, or when the resource definition itself is deleted from the template as part of a stack update.

        You must use one of the following options: "Delete","Retain","Snapshot"

    .PARAMETER DependsOn
        With the DependsOn attribute you can specify that the creation of a specific resource follows another. When you add a DependsOn attribute to a resource, that resource is created only after the creation of the resource specified in the DependsOn attribute.

        This parameter takes a string or list of strings representing Logical IDs of resources that must be created prior to this resource being created.


    .PARAMETER Metadata
        The Metadata attribute enables you to associate structured data with a resource. By adding a Metadata attribute to a resource, you can add data in JSON or YAML to the resource declaration. In addition, you can use intrinsic functions (such as GetAtt and Ref), parameters, and pseudo parameters within the Metadata attribute to add those interpreted values.

        This will be returned when describing the resource using AWS CLI.


    .PARAMETER UpdatePolicy
        Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup resource. AWS CloudFormation invokes one of three update policies depending on the type of change you make or whether a scheduled action is associated with the Auto Scaling group.

        You must use the "Add-UpdatePolicy" function or the [UpdatePolicy] class here.
    .PARAMETER Condition
        Logical ID of the condition that this resource needs to be true in order for this resource to be provisioned.

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsChannel])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true,Position = 0)]
        [ValidateLogicalId()]
        [string]
        $LogicalId,
        [parameter(Mandatory = $false)]
        $ChannelStorage,
        [parameter(Mandatory = $true)]
        [object]
        $ChannelName,
        [parameter(Mandatory = $false)]
        $RetentionPeriod,
        [TransformTag()]
        [object]
        [parameter(Mandatory = $false)]
        $Tags,
        [parameter()]
        [DeletionPolicy]
        $DeletionPolicy,
        [parameter()]
        [UpdateReplacePolicy]
        $UpdateReplacePolicy,
        [parameter(Mandatory = $false)]
        [string[]]
        $DependsOn,
        [parameter(Mandatory = $false)]
        [VSJson]
        $Metadata,
        [parameter(Mandatory = $false)]
        [UpdatePolicy]
        $UpdatePolicy,
        [parameter(Mandatory = $false)]
        [string]
        $Condition
    )
    Process {
        $obj = [IoTAnalyticsChannel]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'New-VSIoTAnalyticsChannel'

function New-VSIoTAnalyticsDataset {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Dataset resource to the template. The AWS::IoTAnalytics::Dataset resource stores data retrieved from a data store by applying a "queryAction" (an SQL query or a "containerAction" (executing a containerized application. The data set can be populated manually by calling "CreateDatasetContent" or automatically according to a "trigger" you specify. For more information, see How to Use AWS IoT Analytics: https://docs.aws.amazon.com/iotanalytics/latest/userguide/welcome.html#aws-iot-analytics-how in the *AWS IoT Analytics User Guide*.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Dataset resource to the template. The AWS::IoTAnalytics::Dataset resource stores data retrieved from a data store by applying a "queryAction" (an SQL query or a "containerAction" (executing a containerized application. The data set can be populated manually by calling "CreateDatasetContent" or automatically according to a "trigger" you specify. For more information, see How to Use AWS IoT Analytics: https://docs.aws.amazon.com/iotanalytics/latest/userguide/welcome.html#aws-iot-analytics-how in the *AWS IoT Analytics User Guide*.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html

    .PARAMETER LogicalId
        The logical ID must be alphanumeric (A-Za-z0-9) and unique within the template. Use the logical name to reference the resource in other parts of the template. For example, if you want to map an Amazon Elastic Block Store volume to an Amazon EC2 instance, you reference the logical IDs to associate the block stores with the instance.

    .PARAMETER Actions
        The DatasetAction objects that automatically create the data set contents.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-actions
        UpdateType: Mutable
        Type: List
        ItemType: Action
        DuplicatesAllowed: True

    .PARAMETER LateDataRules
        + CreateDataset: https://docs.aws.amazon.com/iotanalytics/latest/APIReference/API_CreateDataset.html in the *AWS IoT Analytics API Reference*

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-latedatarules
        UpdateType: Mutable
        Type: List
        ItemType: LateDataRule
        DuplicatesAllowed: True

    .PARAMETER DatasetName
        The name of the data set.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-datasetname
        UpdateType: Immutable
        PrimitiveType: String

    .PARAMETER ContentDeliveryRules
        When dataset contents are created they are delivered to destinations specified here.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-contentdeliveryrules
        UpdateType: Mutable
        Type: List
        ItemType: DatasetContentDeliveryRule
        DuplicatesAllowed: True

    .PARAMETER Triggers
        The DatasetTrigger objects that specify when the data set is automatically updated.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-triggers
        UpdateType: Mutable
        Type: List
        ItemType: Trigger
        DuplicatesAllowed: True

    .PARAMETER VersioningConfiguration
        Optional. How many versions of dataset contents are kept. If not specified or set to null, only the latest version plus the latest succeeded version if they are different are kept for the time period specified by the retentionPeriod parameter. For more information, see Keeping Multiple Versions of AWS IoT Analytics Data Sets: https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions in the *AWS IoT Analytics User Guide*.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-versioningconfiguration
        UpdateType: Mutable
        Type: VersioningConfiguration

    .PARAMETER RetentionPeriod
        Optional. How long, in days, message data is kept for the data set.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-retentionperiod
        UpdateType: Mutable
        Type: RetentionPeriod

    .PARAMETER Tags
        Metadata which can be used to manage the data set.
For more information, see Tag: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-dataset.html#cfn-iotanalytics-dataset-tags
        UpdateType: Mutable
        Type: List
        ItemType: Tag
        DuplicatesAllowed: True

    .PARAMETER DeletionPolicy
        With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted. You specify a DeletionPolicy attribute for each resource that you want to control. If a resource has no DeletionPolicy attribute, AWS CloudFormation deletes the resource by default.

        To keep a resource when its stack is deleted, specify Retain for that resource. You can use retain for any resource. For example, you can retain a nested stack, S3 bucket, or EC2 instance so that you can continue to use or modify those resources after you delete their stacks.

        You must use one of the following options: "Delete","Retain","Snapshot"

    .PARAMETER UpdateReplacePolicy
        Use the UpdateReplacePolicy attribute to retain or (in some cases) backup the existing physical instance of a resource when it is replaced during a stack update operation.

        When you initiate a stack update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template and parameters. If you update a resource property that requires that the resource be replaced, AWS CloudFormation recreates the resource during the update. Recreating the resource generates a new physical ID. AWS CloudFormation creates the replacement resource first, and then changes references from other dependent resources to point to the replacement resource. By default, AWS CloudFormation then deletes the old resource. Using the UpdateReplacePolicy, you can specify that AWS CloudFormation retain or (in some cases) create a snapshot of the old resource.

        For resources that support snapshots, such as AWS::EC2::Volume, specify Snapshot to have AWS CloudFormation create a snapshot before deleting the old resource instance.

        You can apply the UpdateReplacePolicy attribute to any resource. UpdateReplacePolicy is only executed if you update a resource property whose update behavior is specified as Replacement, thereby causing AWS CloudFormation to replace the old resource with a new one with a new physical ID. For example, if you update the Engine property of an AWS::RDS::DBInstance resource type, AWS CloudFormation creates a new resource and replaces the current DB instance resource with the new one. The UpdateReplacePolicy attribute would then dictate whether AWS CloudFormation deleted, retained, or created a snapshot of the old DB instance. The update behavior for each property of a resource is specified in the reference topic for that resource in the AWS Resource and Property Types Reference. For more information on resource update behavior, see Update Behaviors of Stack Resources.

        The UpdateReplacePolicy attribute applies to stack updates you perform directly, as well as stack updates performed using change sets.

        Note
        Resources that are retained continue to exist and continue to incur applicable charges until you delete those resources. Snapshots that are created with this policy continue to exist and continue to incur applicable charges until you delete those snapshots. UpdateReplacePolicy retains the old physical resource or snapshot, but removes it from AWS CloudFormation's scope.

        UpdateReplacePolicy differs from the DeletionPolicy attribute in that it only applies to resources replaced during stack updates. Use DeletionPolicy for resources deleted when a stack is deleted, or when the resource definition itself is deleted from the template as part of a stack update.

        You must use one of the following options: "Delete","Retain","Snapshot"

    .PARAMETER DependsOn
        With the DependsOn attribute you can specify that the creation of a specific resource follows another. When you add a DependsOn attribute to a resource, that resource is created only after the creation of the resource specified in the DependsOn attribute.

        This parameter takes a string or list of strings representing Logical IDs of resources that must be created prior to this resource being created.


    .PARAMETER Metadata
        The Metadata attribute enables you to associate structured data with a resource. By adding a Metadata attribute to a resource, you can add data in JSON or YAML to the resource declaration. In addition, you can use intrinsic functions (such as GetAtt and Ref), parameters, and pseudo parameters within the Metadata attribute to add those interpreted values.

        This will be returned when describing the resource using AWS CLI.


    .PARAMETER UpdatePolicy
        Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup resource. AWS CloudFormation invokes one of three update policies depending on the type of change you make or whether a scheduled action is associated with the Auto Scaling group.

        You must use the "Add-UpdatePolicy" function or the [UpdatePolicy] class here.
    .PARAMETER Condition
        Logical ID of the condition that this resource needs to be true in order for this resource to be provisioned.

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDataset])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true,Position = 0)]
        [ValidateLogicalId()]
        [string]
        $LogicalId,
        [parameter(Mandatory = $true)]
        [object]
        $Actions,
        [parameter(Mandatory = $false)]
        [object]
        $LateDataRules,
        [parameter(Mandatory = $true)]
        [object]
        $DatasetName,
        [parameter(Mandatory = $false)]
        [object]
        $ContentDeliveryRules,
        [parameter(Mandatory = $false)]
        [object]
        $Triggers,
        [parameter(Mandatory = $false)]
        $VersioningConfiguration,
        [parameter(Mandatory = $false)]
        $RetentionPeriod,
        [TransformTag()]
        [object]
        [parameter(Mandatory = $false)]
        $Tags,
        [parameter()]
        [DeletionPolicy]
        $DeletionPolicy,
        [parameter()]
        [UpdateReplacePolicy]
        $UpdateReplacePolicy,
        [parameter(Mandatory = $false)]
        [string[]]
        $DependsOn,
        [parameter(Mandatory = $false)]
        [VSJson]
        $Metadata,
        [parameter(Mandatory = $false)]
        [UpdatePolicy]
        $UpdatePolicy,
        [parameter(Mandatory = $false)]
        [string]
        $Condition
    )
    Process {
        $obj = [IoTAnalyticsDataset]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'New-VSIoTAnalyticsDataset'

function New-VSIoTAnalyticsDatastore {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Datastore resource to the template. AWS::IoTAnalytics::Datastore resource is a repository for messages. For more information, see How to Use AWS IoT Analytics: https://docs.aws.amazon.com/iotanalytics/latest/userguide/welcome.html#aws-iot-analytics-how in the *AWS IoT Analytics User Guide*.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Datastore resource to the template. AWS::IoTAnalytics::Datastore resource is a repository for messages. For more information, see How to Use AWS IoT Analytics: https://docs.aws.amazon.com/iotanalytics/latest/userguide/welcome.html#aws-iot-analytics-how in the *AWS IoT Analytics User Guide*.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-datastore.html

    .PARAMETER LogicalId
        The logical ID must be alphanumeric (A-Za-z0-9) and unique within the template. Use the logical name to reference the resource in other parts of the template. For example, if you want to map an Amazon Elastic Block Store volume to an Amazon EC2 instance, you reference the logical IDs to associate the block stores with the instance.

    .PARAMETER DatastoreStorage
        Where data store data is stored.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-datastore.html#cfn-iotanalytics-datastore-datastorestorage
        UpdateType: Mutable
        Type: DatastoreStorage

    .PARAMETER DatastoreName
        The name of the data store.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-datastore.html#cfn-iotanalytics-datastore-datastorename
        UpdateType: Immutable
        PrimitiveType: String

    .PARAMETER DatastorePartitions
        + CreateDatastore: https://docs.aws.amazon.com/iotanalytics/latest/APIReference/API_CreateDatastore.html in the *AWS IoT Analytics API Reference*

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-datastore.html#cfn-iotanalytics-datastore-datastorepartitions
        UpdateType: Mutable
        Type: DatastorePartitions

    .PARAMETER FileFormatConfiguration
        + CreateDatastore: https://docs.aws.amazon.com/iotanalytics/latest/APIReference/API_CreateDatastore.html in the *AWS IoT Analytics API Reference*

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-datastore.html#cfn-iotanalytics-datastore-fileformatconfiguration
        UpdateType: Mutable
        Type: FileFormatConfiguration

    .PARAMETER RetentionPeriod
        How long, in days, message data is kept for the data store. When customerManagedS3 storage is selected, this parameter is ignored.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-datastore.html#cfn-iotanalytics-datastore-retentionperiod
        UpdateType: Mutable
        Type: RetentionPeriod

    .PARAMETER Tags
        Metadata which can be used to manage the data store.
For more information, see Tag: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-datastore.html#cfn-iotanalytics-datastore-tags
        UpdateType: Mutable
        Type: List
        ItemType: Tag
        DuplicatesAllowed: True

    .PARAMETER DeletionPolicy
        With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted. You specify a DeletionPolicy attribute for each resource that you want to control. If a resource has no DeletionPolicy attribute, AWS CloudFormation deletes the resource by default.

        To keep a resource when its stack is deleted, specify Retain for that resource. You can use retain for any resource. For example, you can retain a nested stack, S3 bucket, or EC2 instance so that you can continue to use or modify those resources after you delete their stacks.

        You must use one of the following options: "Delete","Retain","Snapshot"

    .PARAMETER UpdateReplacePolicy
        Use the UpdateReplacePolicy attribute to retain or (in some cases) backup the existing physical instance of a resource when it is replaced during a stack update operation.

        When you initiate a stack update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template and parameters. If you update a resource property that requires that the resource be replaced, AWS CloudFormation recreates the resource during the update. Recreating the resource generates a new physical ID. AWS CloudFormation creates the replacement resource first, and then changes references from other dependent resources to point to the replacement resource. By default, AWS CloudFormation then deletes the old resource. Using the UpdateReplacePolicy, you can specify that AWS CloudFormation retain or (in some cases) create a snapshot of the old resource.

        For resources that support snapshots, such as AWS::EC2::Volume, specify Snapshot to have AWS CloudFormation create a snapshot before deleting the old resource instance.

        You can apply the UpdateReplacePolicy attribute to any resource. UpdateReplacePolicy is only executed if you update a resource property whose update behavior is specified as Replacement, thereby causing AWS CloudFormation to replace the old resource with a new one with a new physical ID. For example, if you update the Engine property of an AWS::RDS::DBInstance resource type, AWS CloudFormation creates a new resource and replaces the current DB instance resource with the new one. The UpdateReplacePolicy attribute would then dictate whether AWS CloudFormation deleted, retained, or created a snapshot of the old DB instance. The update behavior for each property of a resource is specified in the reference topic for that resource in the AWS Resource and Property Types Reference. For more information on resource update behavior, see Update Behaviors of Stack Resources.

        The UpdateReplacePolicy attribute applies to stack updates you perform directly, as well as stack updates performed using change sets.

        Note
        Resources that are retained continue to exist and continue to incur applicable charges until you delete those resources. Snapshots that are created with this policy continue to exist and continue to incur applicable charges until you delete those snapshots. UpdateReplacePolicy retains the old physical resource or snapshot, but removes it from AWS CloudFormation's scope.

        UpdateReplacePolicy differs from the DeletionPolicy attribute in that it only applies to resources replaced during stack updates. Use DeletionPolicy for resources deleted when a stack is deleted, or when the resource definition itself is deleted from the template as part of a stack update.

        You must use one of the following options: "Delete","Retain","Snapshot"

    .PARAMETER DependsOn
        With the DependsOn attribute you can specify that the creation of a specific resource follows another. When you add a DependsOn attribute to a resource, that resource is created only after the creation of the resource specified in the DependsOn attribute.

        This parameter takes a string or list of strings representing Logical IDs of resources that must be created prior to this resource being created.


    .PARAMETER Metadata
        The Metadata attribute enables you to associate structured data with a resource. By adding a Metadata attribute to a resource, you can add data in JSON or YAML to the resource declaration. In addition, you can use intrinsic functions (such as GetAtt and Ref), parameters, and pseudo parameters within the Metadata attribute to add those interpreted values.

        This will be returned when describing the resource using AWS CLI.


    .PARAMETER UpdatePolicy
        Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup resource. AWS CloudFormation invokes one of three update policies depending on the type of change you make or whether a scheduled action is associated with the Auto Scaling group.

        You must use the "Add-UpdatePolicy" function or the [UpdatePolicy] class here.
    .PARAMETER Condition
        Logical ID of the condition that this resource needs to be true in order for this resource to be provisioned.

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsDatastore])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true,Position = 0)]
        [ValidateLogicalId()]
        [string]
        $LogicalId,
        [parameter(Mandatory = $false)]
        $DatastoreStorage,
        [parameter(Mandatory = $false)]
        [object]
        $DatastoreName,
        [parameter(Mandatory = $false)]
        $DatastorePartitions,
        [parameter(Mandatory = $false)]
        $FileFormatConfiguration,
        [parameter(Mandatory = $false)]
        $RetentionPeriod,
        [TransformTag()]
        [object]
        [parameter(Mandatory = $false)]
        $Tags,
        [parameter()]
        [DeletionPolicy]
        $DeletionPolicy,
        [parameter()]
        [UpdateReplacePolicy]
        $UpdateReplacePolicy,
        [parameter(Mandatory = $false)]
        [string[]]
        $DependsOn,
        [parameter(Mandatory = $false)]
        [VSJson]
        $Metadata,
        [parameter(Mandatory = $false)]
        [UpdatePolicy]
        $UpdatePolicy,
        [parameter(Mandatory = $false)]
        [string]
        $Condition
    )
    Process {
        $obj = [IoTAnalyticsDatastore]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'New-VSIoTAnalyticsDatastore'

function New-VSIoTAnalyticsPipeline {
    <#
    .SYNOPSIS
        Adds an AWS::IoTAnalytics::Pipeline resource to the template. The AWS::IoTAnalytics::Pipeline resource consumes messages from one or more channels and allows you to process the messages before storing them in a data store. You must specify both a channel and a datastore activity and, optionally, as many as 23 additional activities in the pipelineActivities array. For more information, see How to Use AWS IoT Analytics: https://docs.aws.amazon.com/iotanalytics/latest/userguide/welcome.html#aws-iot-analytics-how in the *AWS IoT Analytics User Guide*.

    .DESCRIPTION
        Adds an AWS::IoTAnalytics::Pipeline resource to the template. The AWS::IoTAnalytics::Pipeline resource consumes messages from one or more channels and allows you to process the messages before storing them in a data store. You must specify both a channel and a datastore activity and, optionally, as many as 23 additional activities in the pipelineActivities array. For more information, see How to Use AWS IoT Analytics: https://docs.aws.amazon.com/iotanalytics/latest/userguide/welcome.html#aws-iot-analytics-how in the *AWS IoT Analytics User Guide*.

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-pipeline.html

    .PARAMETER LogicalId
        The logical ID must be alphanumeric (A-Za-z0-9) and unique within the template. Use the logical name to reference the resource in other parts of the template. For example, if you want to map an Amazon Elastic Block Store volume to an Amazon EC2 instance, you reference the logical IDs to associate the block stores with the instance.

    .PARAMETER PipelineName
        The name of the pipeline.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-pipeline.html#cfn-iotanalytics-pipeline-pipelinename
        UpdateType: Immutable
        PrimitiveType: String

    .PARAMETER Tags
        Metadata which can be used to manage the pipeline.
For more information, see Tag: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html.

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-pipeline.html#cfn-iotanalytics-pipeline-tags
        UpdateType: Mutable
        Type: List
        ItemType: Tag
        DuplicatesAllowed: True

    .PARAMETER PipelineActivities
        A list of "PipelineActivity" objects. Activities perform transformations on your messages, such as removing, renaming or adding message attributes; filtering messages based on attribute values; invoking your Lambda functions on messages for advanced processing; or performing mathematical transformations to normalize device data.
The list can be 2-25 **PipelineActivity** objects and must contain both a channel and a datastore activity. Each entry in the list must contain only one activity, for example:
pipelineActivities = { "channel": { ... } }, { "lambda": { ... } }, ... ]

        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-pipeline.html#cfn-iotanalytics-pipeline-pipelineactivities
        UpdateType: Mutable
        Type: List
        ItemType: Activity
        DuplicatesAllowed: True

    .PARAMETER DeletionPolicy
        With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted. You specify a DeletionPolicy attribute for each resource that you want to control. If a resource has no DeletionPolicy attribute, AWS CloudFormation deletes the resource by default.

        To keep a resource when its stack is deleted, specify Retain for that resource. You can use retain for any resource. For example, you can retain a nested stack, S3 bucket, or EC2 instance so that you can continue to use or modify those resources after you delete their stacks.

        You must use one of the following options: "Delete","Retain","Snapshot"

    .PARAMETER UpdateReplacePolicy
        Use the UpdateReplacePolicy attribute to retain or (in some cases) backup the existing physical instance of a resource when it is replaced during a stack update operation.

        When you initiate a stack update, AWS CloudFormation updates resources based on differences between what you submit and the stack's current template and parameters. If you update a resource property that requires that the resource be replaced, AWS CloudFormation recreates the resource during the update. Recreating the resource generates a new physical ID. AWS CloudFormation creates the replacement resource first, and then changes references from other dependent resources to point to the replacement resource. By default, AWS CloudFormation then deletes the old resource. Using the UpdateReplacePolicy, you can specify that AWS CloudFormation retain or (in some cases) create a snapshot of the old resource.

        For resources that support snapshots, such as AWS::EC2::Volume, specify Snapshot to have AWS CloudFormation create a snapshot before deleting the old resource instance.

        You can apply the UpdateReplacePolicy attribute to any resource. UpdateReplacePolicy is only executed if you update a resource property whose update behavior is specified as Replacement, thereby causing AWS CloudFormation to replace the old resource with a new one with a new physical ID. For example, if you update the Engine property of an AWS::RDS::DBInstance resource type, AWS CloudFormation creates a new resource and replaces the current DB instance resource with the new one. The UpdateReplacePolicy attribute would then dictate whether AWS CloudFormation deleted, retained, or created a snapshot of the old DB instance. The update behavior for each property of a resource is specified in the reference topic for that resource in the AWS Resource and Property Types Reference. For more information on resource update behavior, see Update Behaviors of Stack Resources.

        The UpdateReplacePolicy attribute applies to stack updates you perform directly, as well as stack updates performed using change sets.

        Note
        Resources that are retained continue to exist and continue to incur applicable charges until you delete those resources. Snapshots that are created with this policy continue to exist and continue to incur applicable charges until you delete those snapshots. UpdateReplacePolicy retains the old physical resource or snapshot, but removes it from AWS CloudFormation's scope.

        UpdateReplacePolicy differs from the DeletionPolicy attribute in that it only applies to resources replaced during stack updates. Use DeletionPolicy for resources deleted when a stack is deleted, or when the resource definition itself is deleted from the template as part of a stack update.

        You must use one of the following options: "Delete","Retain","Snapshot"

    .PARAMETER DependsOn
        With the DependsOn attribute you can specify that the creation of a specific resource follows another. When you add a DependsOn attribute to a resource, that resource is created only after the creation of the resource specified in the DependsOn attribute.

        This parameter takes a string or list of strings representing Logical IDs of resources that must be created prior to this resource being created.


    .PARAMETER Metadata
        The Metadata attribute enables you to associate structured data with a resource. By adding a Metadata attribute to a resource, you can add data in JSON or YAML to the resource declaration. In addition, you can use intrinsic functions (such as GetAtt and Ref), parameters, and pseudo parameters within the Metadata attribute to add those interpreted values.

        This will be returned when describing the resource using AWS CLI.


    .PARAMETER UpdatePolicy
        Use the UpdatePolicy attribute to specify how AWS CloudFormation handles updates to the AWS::AutoScaling::AutoScalingGroup resource. AWS CloudFormation invokes one of three update policies depending on the type of change you make or whether a scheduled action is associated with the Auto Scaling group.

        You must use the "Add-UpdatePolicy" function or the [UpdatePolicy] class here.
    .PARAMETER Condition
        Logical ID of the condition that this resource needs to be true in order for this resource to be provisioned.

    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType([IoTAnalyticsPipeline])]
    [cmdletbinding()]
    Param(
        [parameter(Mandatory = $true,Position = 0)]
        [ValidateLogicalId()]
        [string]
        $LogicalId,
        [parameter(Mandatory = $true)]
        [object]
        $PipelineName,
        [TransformTag()]
        [object]
        [parameter(Mandatory = $false)]
        $Tags,
        [parameter(Mandatory = $true)]
        [object]
        $PipelineActivities,
        [parameter()]
        [DeletionPolicy]
        $DeletionPolicy,
        [parameter()]
        [UpdateReplacePolicy]
        $UpdateReplacePolicy,
        [parameter(Mandatory = $false)]
        [string[]]
        $DependsOn,
        [parameter(Mandatory = $false)]
        [VSJson]
        $Metadata,
        [parameter(Mandatory = $false)]
        [UpdatePolicy]
        $UpdatePolicy,
        [parameter(Mandatory = $false)]
        [string]
        $Condition
    )
    Process {
        $obj = [IoTAnalyticsPipeline]::new($PSBoundParameters)
        Write-Debug "$($MyInvocation.MyCommand) PSBoundParameters:`n$($PSBoundParameters | ConvertTo-Json -Depth 20 | Format-Json)"
        Write-Verbose "Resulting object from $($MyInvocation.MyCommand): `n$($obj.ToJson() | Format-Json)"
        $obj
    }
}

Export-ModuleMember -Function 'New-VSIoTAnalyticsPipeline'