DescribeDeliveryStream Powershell Example
Add-Type -Path "C:\chilkat\ChilkatDotNet47-9.5.0-x64\ChilkatDotNet47.dll"
# This example requires the Chilkat API to have been previously unlocked.
# See Global Unlock Sample for sample code.
$rest = New-Object Chilkat.Rest
$authAws = New-Object Chilkat.AuthAws
$authAws.AccessKey = "AWS_ACCESS_KEY"
$authAws.SecretKey = "AWS_SECRET_KEY"
# Don't forget to change the region to your particular region. (Also make the same change in the call to Connect below.)
$authAws.Region = "us-west-2"
$authAws.ServiceName = "firehose"
# SetAuthAws causes Chilkat to automatically add the following headers: Authorization, X-Amz-Date
$rest.SetAuthAws($authAws)
# URL: https://firehose.us-west-2.amazonaws.com/
# Use the same region as specified above.
$success = $rest.Connect("firehose.us-west-2.amazonaws.com",443,$true,$true)
if ($success -ne $true) {
$("ConnectFailReason: " + $rest.ConnectFailReason)
$($rest.LastErrorText)
exit
}
# The following code creates the JSON request body.
# The JSON created by this code is shown below.
# Use this online tool to generate code from sample JSON:
# Generate Code to Create JSON
$json = New-Object Chilkat.JsonObject
$json.UpdateString("DeliveryStreamName","string")
$json.UpdateString("ExclusiveStartDestinationId","string")
$json.UpdateInt("Limit",123)
# The JSON request body created by the above code:
# {
# "DeliveryStreamName": "string",
# "ExclusiveStartDestinationId": "string",
# "Limit": number
# }
$rest.AddHeader("Content-Type","application/x-amz-json-1.1")
$rest.AddHeader("X-Amz-Target","Firehose_20150804.DescribeDeliveryStream")
$sbRequestBody = New-Object Chilkat.StringBuilder
$json.EmitSb($sbRequestBody)
$sbResponseBody = New-Object Chilkat.StringBuilder
$success = $rest.FullRequestSb("POST","/",$sbRequestBody,$sbResponseBody)
if ($success -ne $true) {
$($rest.LastErrorText)
exit
}
$respStatusCode = $rest.ResponseStatusCode
$("response status code = " + $respStatusCode)
if ($respStatusCode -ne 200) {
$("Response Header:")
$($rest.ResponseHeader)
$("Response Body:")
$($sbResponseBody.GetAsString())
exit
}
$jResp = New-Object Chilkat.JsonObject
$jResp.LoadSb($sbResponseBody)
# The following code parses the JSON response.
# A sample JSON response is shown below the sample code.
# Use this online tool to generate parsing code from sample JSON:
# Generate Parsing Code from JSON
$CreateTimestamp = $jResp.IntOf("DeliveryStreamDescription.CreateTimestamp")
$DeliveryStreamARN = $jResp.StringOf("DeliveryStreamDescription.DeliveryStreamARN")
$Details = $jResp.StringOf("DeliveryStreamDescription.DeliveryStreamEncryptionConfiguration.FailureDescription.Details")
$v_Type = $jResp.StringOf("DeliveryStreamDescription.DeliveryStreamEncryptionConfiguration.FailureDescription.Type")
$KeyARN = $jResp.StringOf("DeliveryStreamDescription.DeliveryStreamEncryptionConfiguration.KeyARN")
$KeyType = $jResp.StringOf("DeliveryStreamDescription.DeliveryStreamEncryptionConfiguration.KeyType")
$Status = $jResp.StringOf("DeliveryStreamDescription.DeliveryStreamEncryptionConfiguration.Status")
$DeliveryStreamName = $jResp.StringOf("DeliveryStreamDescription.DeliveryStreamName")
$DeliveryStreamStatus = $jResp.StringOf("DeliveryStreamDescription.DeliveryStreamStatus")
$DeliveryStreamType = $jResp.StringOf("DeliveryStreamDescription.DeliveryStreamType")
$FailureDescriptionDetails = $jResp.StringOf("DeliveryStreamDescription.FailureDescription.Details")
$FailureDescriptionType = $jResp.StringOf("DeliveryStreamDescription.FailureDescription.Type")
$HasMoreDestinations = $jResp.IntOf("DeliveryStreamDescription.HasMoreDestinations")
$LastUpdateTimestamp = $jResp.IntOf("DeliveryStreamDescription.LastUpdateTimestamp")
$DeliveryStartTimestamp = $jResp.IntOf("DeliveryStreamDescription.Source.KinesisStreamSourceDescription.DeliveryStartTimestamp")
$KinesisStreamARN = $jResp.StringOf("DeliveryStreamDescription.Source.KinesisStreamSourceDescription.KinesisStreamARN")
$RoleARN = $jResp.StringOf("DeliveryStreamDescription.Source.KinesisStreamSourceDescription.RoleARN")
$VersionId = $jResp.StringOf("DeliveryStreamDescription.VersionId")
$i = 0
$count_i = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations")
while ($i -lt $count_i) {
$jResp.I = $i
$IntervalInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.BufferingHints.IntervalInSeconds")
$SizeInMBs = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.BufferingHints.SizeInMBs")
$Enabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.CloudWatchLoggingOptions.Enabled")
$LogGroupName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.CloudWatchLoggingOptions.LogGroupName")
$LogStreamName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.CloudWatchLoggingOptions.LogStreamName")
$ClusterEndpoint = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.ClusterEndpoint")
$DomainARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.DomainARN")
$IndexName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.IndexName")
$IndexRotationPeriod = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.IndexRotationPeriod")
$ProcessingConfigurationEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.ProcessingConfiguration.Enabled")
$DurationInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.RetryOptions.DurationInSeconds")
$AmazonopensearchserviceDestinationDescriptionRoleARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.RoleARN")
$S3BackupMode = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.S3BackupMode")
$BucketARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.S3DestinationDescription.BucketARN")
$BufferingHintsIntervalInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.S3DestinationDescription.BufferingHints.IntervalInSeconds")
$BufferingHintsSizeInMBs = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.S3DestinationDescription.BufferingHints.SizeInMBs")
$CloudWatchLoggingOptionsEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.S3DestinationDescription.CloudWatchLoggingOptions.Enabled")
$CloudWatchLoggingOptionsLogGroupName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.S3DestinationDescription.CloudWatchLoggingOptions.LogGroupName")
$CloudWatchLoggingOptionsLogStreamName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.S3DestinationDescription.CloudWatchLoggingOptions.LogStreamName")
$CompressionFormat = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.S3DestinationDescription.CompressionFormat")
$AWSKMSKeyARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.S3DestinationDescription.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN")
$NoEncryptionConfig = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.S3DestinationDescription.EncryptionConfiguration.NoEncryptionConfig")
$ErrorOutputPrefix = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.S3DestinationDescription.ErrorOutputPrefix")
$Prefix = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.S3DestinationDescription.Prefix")
$S3DestinationDescriptionRoleARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.S3DestinationDescription.RoleARN")
$TypeName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.TypeName")
$VpcConfigurationDescriptionRoleARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.VpcConfigurationDescription.RoleARN")
$VpcId = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.VpcConfigurationDescription.VpcId")
$DestinationId = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].DestinationId")
$BufferingHintsIntervalInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.BufferingHints.IntervalInSeconds")
$BufferingHintsSizeInMBs = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.BufferingHints.SizeInMBs")
$CloudWatchLoggingOptionsEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.CloudWatchLoggingOptions.Enabled")
$CloudWatchLoggingOptionsLogGroupName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.CloudWatchLoggingOptions.LogGroupName")
$CloudWatchLoggingOptionsLogStreamName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.CloudWatchLoggingOptions.LogStreamName")
$ElasticsearchDestinationDescriptionClusterEndpoint = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.ClusterEndpoint")
$ElasticsearchDestinationDescriptionDomainARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.DomainARN")
$ElasticsearchDestinationDescriptionIndexName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.IndexName")
$ElasticsearchDestinationDescriptionIndexRotationPeriod = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.IndexRotationPeriod")
$ProcessingConfigurationEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.ProcessingConfiguration.Enabled")
$RetryOptionsDurationInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.RetryOptions.DurationInSeconds")
$ElasticsearchDestinationDescriptionRoleARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.RoleARN")
$ElasticsearchDestinationDescriptionS3BackupMode = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.S3BackupMode")
$S3DestinationDescriptionBucketARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.S3DestinationDescription.BucketARN")
$BufferingHintsIntervalInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.S3DestinationDescription.BufferingHints.IntervalInSeconds")
$BufferingHintsSizeInMBs = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.S3DestinationDescription.BufferingHints.SizeInMBs")
$CloudWatchLoggingOptionsEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.S3DestinationDescription.CloudWatchLoggingOptions.Enabled")
$CloudWatchLoggingOptionsLogGroupName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.S3DestinationDescription.CloudWatchLoggingOptions.LogGroupName")
$CloudWatchLoggingOptionsLogStreamName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.S3DestinationDescription.CloudWatchLoggingOptions.LogStreamName")
$S3DestinationDescriptionCompressionFormat = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.S3DestinationDescription.CompressionFormat")
$KMSEncryptionConfigAWSKMSKeyARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.S3DestinationDescription.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN")
$EncryptionConfigurationNoEncryptionConfig = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.S3DestinationDescription.EncryptionConfiguration.NoEncryptionConfig")
$S3DestinationDescriptionErrorOutputPrefix = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.S3DestinationDescription.ErrorOutputPrefix")
$S3DestinationDescriptionPrefix = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.S3DestinationDescription.Prefix")
$S3DestinationDescriptionRoleARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.S3DestinationDescription.RoleARN")
$ElasticsearchDestinationDescriptionTypeName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.TypeName")
$VpcConfigurationDescriptionRoleARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.VpcConfigurationDescription.RoleARN")
$VpcConfigurationDescriptionVpcId = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.VpcConfigurationDescription.VpcId")
$ExtendedS3DestinationDescriptionBucketARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.BucketARN")
$BufferingHintsIntervalInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.BufferingHints.IntervalInSeconds")
$BufferingHintsSizeInMBs = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.BufferingHints.SizeInMBs")
$CloudWatchLoggingOptionsEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.CloudWatchLoggingOptions.Enabled")
$CloudWatchLoggingOptionsLogGroupName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.CloudWatchLoggingOptions.LogGroupName")
$CloudWatchLoggingOptionsLogStreamName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.CloudWatchLoggingOptions.LogStreamName")
$ExtendedS3DestinationDescriptionCompressionFormat = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.CompressionFormat")
$DataFormatConversionConfigurationEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.Enabled")
$CaseInsensitive = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.InputFormatConfiguration.Deserializer.OpenXJsonSerDe.CaseInsensitive")
$v_String = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.InputFormatConfiguration.Deserializer.OpenXJsonSerDe.ColumnToJsonKeyMappings.string")
$ConvertDotsInJsonKeysToUnderscores = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.InputFormatConfiguration.Deserializer.OpenXJsonSerDe.ConvertDotsInJsonKeysToUnderscores")
$BlockSizeBytes = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.OutputFormatConfiguration.Serializer.OrcSerDe.BlockSizeBytes")
$BloomFilterFalsePositiveProbability = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.OutputFormatConfiguration.Serializer.OrcSerDe.BloomFilterFalsePositiveProbability")
$v_Compression = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.OutputFormatConfiguration.Serializer.OrcSerDe.Compression")
$DictionaryKeyThreshold = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.OutputFormatConfiguration.Serializer.OrcSerDe.DictionaryKeyThreshold")
$EnablePadding = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.OutputFormatConfiguration.Serializer.OrcSerDe.EnablePadding")
$FormatVersion = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.OutputFormatConfiguration.Serializer.OrcSerDe.FormatVersion")
$PaddingTolerance = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.OutputFormatConfiguration.Serializer.OrcSerDe.PaddingTolerance")
$RowIndexStride = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.OutputFormatConfiguration.Serializer.OrcSerDe.RowIndexStride")
$StripeSizeBytes = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.OutputFormatConfiguration.Serializer.OrcSerDe.StripeSizeBytes")
$ParquetSerDeBlockSizeBytes = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.OutputFormatConfiguration.Serializer.ParquetSerDe.BlockSizeBytes")
$ParquetSerDeCompression = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.OutputFormatConfiguration.Serializer.ParquetSerDe.Compression")
$EnableDictionaryCompression = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.OutputFormatConfiguration.Serializer.ParquetSerDe.EnableDictionaryCompression")
$MaxPaddingBytes = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.OutputFormatConfiguration.Serializer.ParquetSerDe.MaxPaddingBytes")
$PageSizeBytes = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.OutputFormatConfiguration.Serializer.ParquetSerDe.PageSizeBytes")
$WriterVersion = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.OutputFormatConfiguration.Serializer.ParquetSerDe.WriterVersion")
$CatalogId = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.SchemaConfiguration.CatalogId")
$DatabaseName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.SchemaConfiguration.DatabaseName")
$Region = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.SchemaConfiguration.Region")
$SchemaConfigurationRoleARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.SchemaConfiguration.RoleARN")
$TableName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.SchemaConfiguration.TableName")
$SchemaConfigurationVersionId = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.SchemaConfiguration.VersionId")
$DynamicPartitioningConfigurationEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DynamicPartitioningConfiguration.Enabled")
$RetryOptionsDurationInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DynamicPartitioningConfiguration.RetryOptions.DurationInSeconds")
$KMSEncryptionConfigAWSKMSKeyARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN")
$EncryptionConfigurationNoEncryptionConfig = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.EncryptionConfiguration.NoEncryptionConfig")
$ExtendedS3DestinationDescriptionErrorOutputPrefix = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.ErrorOutputPrefix")
$ExtendedS3DestinationDescriptionPrefix = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.Prefix")
$ProcessingConfigurationEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.ProcessingConfiguration.Enabled")
$ExtendedS3DestinationDescriptionRoleARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.RoleARN")
$S3BackupDescriptionBucketARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.S3BackupDescription.BucketARN")
$BufferingHintsIntervalInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.S3BackupDescription.BufferingHints.IntervalInSeconds")
$BufferingHintsSizeInMBs = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.S3BackupDescription.BufferingHints.SizeInMBs")
$CloudWatchLoggingOptionsEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.S3BackupDescription.CloudWatchLoggingOptions.Enabled")
$CloudWatchLoggingOptionsLogGroupName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.S3BackupDescription.CloudWatchLoggingOptions.LogGroupName")
$CloudWatchLoggingOptionsLogStreamName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.S3BackupDescription.CloudWatchLoggingOptions.LogStreamName")
$S3BackupDescriptionCompressionFormat = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.S3BackupDescription.CompressionFormat")
$KMSEncryptionConfigAWSKMSKeyARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.S3BackupDescription.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN")
$EncryptionConfigurationNoEncryptionConfig = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.S3BackupDescription.EncryptionConfiguration.NoEncryptionConfig")
$S3BackupDescriptionErrorOutputPrefix = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.S3BackupDescription.ErrorOutputPrefix")
$S3BackupDescriptionPrefix = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.S3BackupDescription.Prefix")
$S3BackupDescriptionRoleARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.S3BackupDescription.RoleARN")
$ExtendedS3DestinationDescriptionS3BackupMode = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.S3BackupMode")
$BufferingHintsIntervalInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.BufferingHints.IntervalInSeconds")
$BufferingHintsSizeInMBs = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.BufferingHints.SizeInMBs")
$CloudWatchLoggingOptionsEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.CloudWatchLoggingOptions.Enabled")
$CloudWatchLoggingOptionsLogGroupName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.CloudWatchLoggingOptions.LogGroupName")
$CloudWatchLoggingOptionsLogStreamName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.CloudWatchLoggingOptions.LogStreamName")
$Name = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.EndpointConfiguration.Name")
$v_Url = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.EndpointConfiguration.Url")
$ProcessingConfigurationEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.ProcessingConfiguration.Enabled")
$ContentEncoding = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.RequestConfiguration.ContentEncoding")
$RetryOptionsDurationInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.RetryOptions.DurationInSeconds")
$HttpEndpointDestinationDescriptionRoleARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.RoleARN")
$HttpEndpointDestinationDescriptionS3BackupMode = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.S3BackupMode")
$S3DestinationDescriptionBucketARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.S3DestinationDescription.BucketARN")
$BufferingHintsIntervalInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.S3DestinationDescription.BufferingHints.IntervalInSeconds")
$BufferingHintsSizeInMBs = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.S3DestinationDescription.BufferingHints.SizeInMBs")
$CloudWatchLoggingOptionsEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.S3DestinationDescription.CloudWatchLoggingOptions.Enabled")
$CloudWatchLoggingOptionsLogGroupName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.S3DestinationDescription.CloudWatchLoggingOptions.LogGroupName")
$CloudWatchLoggingOptionsLogStreamName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.S3DestinationDescription.CloudWatchLoggingOptions.LogStreamName")
$S3DestinationDescriptionCompressionFormat = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.S3DestinationDescription.CompressionFormat")
$KMSEncryptionConfigAWSKMSKeyARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.S3DestinationDescription.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN")
$EncryptionConfigurationNoEncryptionConfig = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.S3DestinationDescription.EncryptionConfiguration.NoEncryptionConfig")
$S3DestinationDescriptionErrorOutputPrefix = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.S3DestinationDescription.ErrorOutputPrefix")
$S3DestinationDescriptionPrefix = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.S3DestinationDescription.Prefix")
$S3DestinationDescriptionRoleARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.S3DestinationDescription.RoleARN")
$CloudWatchLoggingOptionsEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.CloudWatchLoggingOptions.Enabled")
$CloudWatchLoggingOptionsLogGroupName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.CloudWatchLoggingOptions.LogGroupName")
$CloudWatchLoggingOptionsLogStreamName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.CloudWatchLoggingOptions.LogStreamName")
$ClusterJDBCURL = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.ClusterJDBCURL")
$CopyOptions = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.CopyCommand.CopyOptions")
$DataTableColumns = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.CopyCommand.DataTableColumns")
$DataTableName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.CopyCommand.DataTableName")
$ProcessingConfigurationEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.ProcessingConfiguration.Enabled")
$RetryOptionsDurationInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.RetryOptions.DurationInSeconds")
$RedshiftDestinationDescriptionRoleARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.RoleARN")
$S3BackupDescriptionBucketARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3BackupDescription.BucketARN")
$BufferingHintsIntervalInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3BackupDescription.BufferingHints.IntervalInSeconds")
$BufferingHintsSizeInMBs = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3BackupDescription.BufferingHints.SizeInMBs")
$CloudWatchLoggingOptionsEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3BackupDescription.CloudWatchLoggingOptions.Enabled")
$CloudWatchLoggingOptionsLogGroupName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3BackupDescription.CloudWatchLoggingOptions.LogGroupName")
$CloudWatchLoggingOptionsLogStreamName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3BackupDescription.CloudWatchLoggingOptions.LogStreamName")
$S3BackupDescriptionCompressionFormat = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3BackupDescription.CompressionFormat")
$KMSEncryptionConfigAWSKMSKeyARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3BackupDescription.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN")
$EncryptionConfigurationNoEncryptionConfig = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3BackupDescription.EncryptionConfiguration.NoEncryptionConfig")
$S3BackupDescriptionErrorOutputPrefix = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3BackupDescription.ErrorOutputPrefix")
$S3BackupDescriptionPrefix = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3BackupDescription.Prefix")
$S3BackupDescriptionRoleARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3BackupDescription.RoleARN")
$RedshiftDestinationDescriptionS3BackupMode = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3BackupMode")
$S3DestinationDescriptionBucketARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3DestinationDescription.BucketARN")
$BufferingHintsIntervalInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3DestinationDescription.BufferingHints.IntervalInSeconds")
$BufferingHintsSizeInMBs = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3DestinationDescription.BufferingHints.SizeInMBs")
$CloudWatchLoggingOptionsEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3DestinationDescription.CloudWatchLoggingOptions.Enabled")
$CloudWatchLoggingOptionsLogGroupName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3DestinationDescription.CloudWatchLoggingOptions.LogGroupName")
$CloudWatchLoggingOptionsLogStreamName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3DestinationDescription.CloudWatchLoggingOptions.LogStreamName")
$S3DestinationDescriptionCompressionFormat = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3DestinationDescription.CompressionFormat")
$KMSEncryptionConfigAWSKMSKeyARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3DestinationDescription.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN")
$EncryptionConfigurationNoEncryptionConfig = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3DestinationDescription.EncryptionConfiguration.NoEncryptionConfig")
$S3DestinationDescriptionErrorOutputPrefix = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3DestinationDescription.ErrorOutputPrefix")
$S3DestinationDescriptionPrefix = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3DestinationDescription.Prefix")
$S3DestinationDescriptionRoleARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.S3DestinationDescription.RoleARN")
$Username = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.Username")
$S3DestinationDescriptionBucketARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].S3DestinationDescription.BucketARN")
$BufferingHintsIntervalInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].S3DestinationDescription.BufferingHints.IntervalInSeconds")
$BufferingHintsSizeInMBs = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].S3DestinationDescription.BufferingHints.SizeInMBs")
$CloudWatchLoggingOptionsEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].S3DestinationDescription.CloudWatchLoggingOptions.Enabled")
$CloudWatchLoggingOptionsLogGroupName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].S3DestinationDescription.CloudWatchLoggingOptions.LogGroupName")
$CloudWatchLoggingOptionsLogStreamName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].S3DestinationDescription.CloudWatchLoggingOptions.LogStreamName")
$S3DestinationDescriptionCompressionFormat = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].S3DestinationDescription.CompressionFormat")
$KMSEncryptionConfigAWSKMSKeyARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].S3DestinationDescription.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN")
$EncryptionConfigurationNoEncryptionConfig = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].S3DestinationDescription.EncryptionConfiguration.NoEncryptionConfig")
$S3DestinationDescriptionErrorOutputPrefix = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].S3DestinationDescription.ErrorOutputPrefix")
$S3DestinationDescriptionPrefix = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].S3DestinationDescription.Prefix")
$S3DestinationDescriptionRoleARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].S3DestinationDescription.RoleARN")
$CloudWatchLoggingOptionsEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.CloudWatchLoggingOptions.Enabled")
$CloudWatchLoggingOptionsLogGroupName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.CloudWatchLoggingOptions.LogGroupName")
$CloudWatchLoggingOptionsLogStreamName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.CloudWatchLoggingOptions.LogStreamName")
$HECAcknowledgmentTimeoutInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.HECAcknowledgmentTimeoutInSeconds")
$HECEndpoint = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.HECEndpoint")
$HECEndpointType = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.HECEndpointType")
$HECToken = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.HECToken")
$ProcessingConfigurationEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.ProcessingConfiguration.Enabled")
$RetryOptionsDurationInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.RetryOptions.DurationInSeconds")
$SplunkDestinationDescriptionS3BackupMode = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.S3BackupMode")
$S3DestinationDescriptionBucketARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.S3DestinationDescription.BucketARN")
$BufferingHintsIntervalInSeconds = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.S3DestinationDescription.BufferingHints.IntervalInSeconds")
$BufferingHintsSizeInMBs = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.S3DestinationDescription.BufferingHints.SizeInMBs")
$CloudWatchLoggingOptionsEnabled = $jResp.IntOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.S3DestinationDescription.CloudWatchLoggingOptions.Enabled")
$CloudWatchLoggingOptionsLogGroupName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.S3DestinationDescription.CloudWatchLoggingOptions.LogGroupName")
$CloudWatchLoggingOptionsLogStreamName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.S3DestinationDescription.CloudWatchLoggingOptions.LogStreamName")
$S3DestinationDescriptionCompressionFormat = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.S3DestinationDescription.CompressionFormat")
$KMSEncryptionConfigAWSKMSKeyARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.S3DestinationDescription.EncryptionConfiguration.KMSEncryptionConfig.AWSKMSKeyARN")
$EncryptionConfigurationNoEncryptionConfig = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.S3DestinationDescription.EncryptionConfiguration.NoEncryptionConfig")
$S3DestinationDescriptionErrorOutputPrefix = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.S3DestinationDescription.ErrorOutputPrefix")
$S3DestinationDescriptionPrefix = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.S3DestinationDescription.Prefix")
$S3DestinationDescriptionRoleARN = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.S3DestinationDescription.RoleARN")
$j = 0
$count_j = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.ProcessingConfiguration.Processors")
while ($j -lt $count_j) {
$jResp.J = $j
$v_Type = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.ProcessingConfiguration.Processors[j].Type")
$k = 0
$count_k = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.ProcessingConfiguration.Processors[j].Parameters")
while ($k -lt $count_k) {
$jResp.K = $k
$ParameterName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.ProcessingConfiguration.Processors[j].Parameters[k].ParameterName")
$ParameterValue = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.ProcessingConfiguration.Processors[j].Parameters[k].ParameterValue")
$k = $k + 1
}
$j = $j + 1
}
$j = 0
$count_j = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.VpcConfigurationDescription.SecurityGroupIds")
while ($j -lt $count_j) {
$jResp.J = $j
$strVal = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.VpcConfigurationDescription.SecurityGroupIds[j]")
$j = $j + 1
}
$j = 0
$count_j = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.VpcConfigurationDescription.SubnetIds")
while ($j -lt $count_j) {
$jResp.J = $j
$strVal = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].AmazonopensearchserviceDestinationDescription.VpcConfigurationDescription.SubnetIds[j]")
$j = $j + 1
}
$j = 0
$count_j = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.ProcessingConfiguration.Processors")
while ($j -lt $count_j) {
$jResp.J = $j
$v_Type = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.ProcessingConfiguration.Processors[j].Type")
$k = 0
$count_k = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.ProcessingConfiguration.Processors[j].Parameters")
while ($k -lt $count_k) {
$jResp.K = $k
$ParameterName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.ProcessingConfiguration.Processors[j].Parameters[k].ParameterName")
$ParameterValue = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.ProcessingConfiguration.Processors[j].Parameters[k].ParameterValue")
$k = $k + 1
}
$j = $j + 1
}
$j = 0
$count_j = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.VpcConfigurationDescription.SecurityGroupIds")
while ($j -lt $count_j) {
$jResp.J = $j
$strVal = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.VpcConfigurationDescription.SecurityGroupIds[j]")
$j = $j + 1
}
$j = 0
$count_j = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.VpcConfigurationDescription.SubnetIds")
while ($j -lt $count_j) {
$jResp.J = $j
$strVal = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ElasticsearchDestinationDescription.VpcConfigurationDescription.SubnetIds[j]")
$j = $j + 1
}
$j = 0
$count_j = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.InputFormatConfiguration.Deserializer.HiveJsonSerDe.TimestampFormats")
while ($j -lt $count_j) {
$jResp.J = $j
$strVal = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.InputFormatConfiguration.Deserializer.HiveJsonSerDe.TimestampFormats[j]")
$j = $j + 1
}
$j = 0
$count_j = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.OutputFormatConfiguration.Serializer.OrcSerDe.BloomFilterColumns")
while ($j -lt $count_j) {
$jResp.J = $j
$strVal = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.DataFormatConversionConfiguration.OutputFormatConfiguration.Serializer.OrcSerDe.BloomFilterColumns[j]")
$j = $j + 1
}
$j = 0
$count_j = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.ProcessingConfiguration.Processors")
while ($j -lt $count_j) {
$jResp.J = $j
$v_Type = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.ProcessingConfiguration.Processors[j].Type")
$k = 0
$count_k = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.ProcessingConfiguration.Processors[j].Parameters")
while ($k -lt $count_k) {
$jResp.K = $k
$ParameterName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.ProcessingConfiguration.Processors[j].Parameters[k].ParameterName")
$ParameterValue = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].ExtendedS3DestinationDescription.ProcessingConfiguration.Processors[j].Parameters[k].ParameterValue")
$k = $k + 1
}
$j = $j + 1
}
$j = 0
$count_j = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.ProcessingConfiguration.Processors")
while ($j -lt $count_j) {
$jResp.J = $j
$v_Type = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.ProcessingConfiguration.Processors[j].Type")
$k = 0
$count_k = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.ProcessingConfiguration.Processors[j].Parameters")
while ($k -lt $count_k) {
$jResp.K = $k
$ParameterName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.ProcessingConfiguration.Processors[j].Parameters[k].ParameterName")
$ParameterValue = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.ProcessingConfiguration.Processors[j].Parameters[k].ParameterValue")
$k = $k + 1
}
$j = $j + 1
}
$j = 0
$count_j = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.RequestConfiguration.CommonAttributes")
while ($j -lt $count_j) {
$jResp.J = $j
$AttributeName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.RequestConfiguration.CommonAttributes[j].AttributeName")
$AttributeValue = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].HttpEndpointDestinationDescription.RequestConfiguration.CommonAttributes[j].AttributeValue")
$j = $j + 1
}
$j = 0
$count_j = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.ProcessingConfiguration.Processors")
while ($j -lt $count_j) {
$jResp.J = $j
$v_Type = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.ProcessingConfiguration.Processors[j].Type")
$k = 0
$count_k = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.ProcessingConfiguration.Processors[j].Parameters")
while ($k -lt $count_k) {
$jResp.K = $k
$ParameterName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.ProcessingConfiguration.Processors[j].Parameters[k].ParameterName")
$ParameterValue = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].RedshiftDestinationDescription.ProcessingConfiguration.Processors[j].Parameters[k].ParameterValue")
$k = $k + 1
}
$j = $j + 1
}
$j = 0
$count_j = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.ProcessingConfiguration.Processors")
while ($j -lt $count_j) {
$jResp.J = $j
$v_Type = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.ProcessingConfiguration.Processors[j].Type")
$k = 0
$count_k = $jResp.SizeOfArray("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.ProcessingConfiguration.Processors[j].Parameters")
while ($k -lt $count_k) {
$jResp.K = $k
$ParameterName = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.ProcessingConfiguration.Processors[j].Parameters[k].ParameterName")
$ParameterValue = $jResp.StringOf("DeliveryStreamDescription.Destinations[i].SplunkDestinationDescription.ProcessingConfiguration.Processors[j].Parameters[k].ParameterValue")
$k = $k + 1
}
$j = $j + 1
}
$i = $i + 1
}
# A sample JSON response body parsed by the above code:
# {
# "DeliveryStreamDescription": {
# "CreateTimestamp": number,
# "DeliveryStreamARN": "string",
# "DeliveryStreamEncryptionConfiguration": {
# "FailureDescription": {
# "Details": "string",
# "Type": "string"
# },
# "KeyARN": "string",
# "KeyType": "string",
# "Status": "string"
# },
# "DeliveryStreamName": "string",
# "DeliveryStreamStatus": "string",
# "DeliveryStreamType": "string",
# "Destinations": [
# {
# "AmazonopensearchserviceDestinationDescription": {
# "BufferingHints": {
# "IntervalInSeconds": number,
# "SizeInMBs": number
# },
# "CloudWatchLoggingOptions": {
# "Enabled": boolean,
# "LogGroupName": "string",
# "LogStreamName": "string"
# },
# "ClusterEndpoint": "string",
# "DomainARN": "string",
# "IndexName": "string",
# "IndexRotationPeriod": "string",
# "ProcessingConfiguration": {
# "Enabled": boolean,
# "Processors": [
# {
# "Parameters": [
# {
# "ParameterName": "string",
# "ParameterValue": "string"
# }
# ],
# "Type": "string"
# }
# ]
# },
# "RetryOptions": {
# "DurationInSeconds": number
# },
# "RoleARN": "string",
# "S3BackupMode": "string",
# "S3DestinationDescription": {
# "BucketARN": "string",
# "BufferingHints": {
# "IntervalInSeconds": number,
# "SizeInMBs": number
# },
# "CloudWatchLoggingOptions": {
# "Enabled": boolean,
# "LogGroupName": "string",
# "LogStreamName": "string"
# },
# "CompressionFormat": "string",
# "EncryptionConfiguration": {
# "KMSEncryptionConfig": {
# "AWSKMSKeyARN": "string"
# },
# "NoEncryptionConfig": "string"
# },
# "ErrorOutputPrefix": "string",
# "Prefix": "string",
# "RoleARN": "string"
# },
# "TypeName": "string",
# "VpcConfigurationDescription": {
# "RoleARN": "string",
# "SecurityGroupIds": [
# "string"
# ],
# "SubnetIds": [
# "string"
# ],
# "VpcId": "string"
# }
# },
# "DestinationId": "string",
# "ElasticsearchDestinationDescription": {
# "BufferingHints": {
# "IntervalInSeconds": number,
# "SizeInMBs": number
# },
# "CloudWatchLoggingOptions": {
# "Enabled": boolean,
# "LogGroupName": "string",
# "LogStreamName": "string"
# },
# "ClusterEndpoint": "string",
# "DomainARN": "string",
# "IndexName": "string",
# "IndexRotationPeriod": "string",
# "ProcessingConfiguration": {
# "Enabled": boolean,
# "Processors": [
# {
# "Parameters": [
# {
# "ParameterName": "string",
# "ParameterValue": "string"
# }
# ],
# "Type": "string"
# }
# ]
# },
# "RetryOptions": {
# "DurationInSeconds": number
# },
# "RoleARN": "string",
# "S3BackupMode": "string",
# "S3DestinationDescription": {
# "BucketARN": "string",
# "BufferingHints": {
# "IntervalInSeconds": number,
# "SizeInMBs": number
# },
# "CloudWatchLoggingOptions": {
# "Enabled": boolean,
# "LogGroupName": "string",
# "LogStreamName": "string"
# },
# "CompressionFormat": "string",
# "EncryptionConfiguration": {
# "KMSEncryptionConfig": {
# "AWSKMSKeyARN": "string"
# },
# "NoEncryptionConfig": "string"
# },
# "ErrorOutputPrefix": "string",
# "Prefix": "string",
# "RoleARN": "string"
# },
# "TypeName": "string",
# "VpcConfigurationDescription": {
# "RoleARN": "string",
# "SecurityGroupIds": [
# "string"
# ],
# "SubnetIds": [
# "string"
# ],
# "VpcId": "string"
# }
# },
# "ExtendedS3DestinationDescription": {
# "BucketARN": "string",
# "BufferingHints": {
# "IntervalInSeconds": number,
# "SizeInMBs": number
# },
# "CloudWatchLoggingOptions": {
# "Enabled": boolean,
# "LogGroupName": "string",
# "LogStreamName": "string"
# },
# "CompressionFormat": "string",
# "DataFormatConversionConfiguration": {
# "Enabled": boolean,
# "InputFormatConfiguration": {
# "Deserializer": {
# "HiveJsonSerDe": {
# "TimestampFormats": [
# "string"
# ]
# },
# "OpenXJsonSerDe": {
# "CaseInsensitive": boolean,
# "ColumnToJsonKeyMappings": {
# "string": "string"
# },
# "ConvertDotsInJsonKeysToUnderscores": boolean
# }
# }
# },
# "OutputFormatConfiguration": {
# "Serializer": {
# "OrcSerDe": {
# "BlockSizeBytes": number,
# "BloomFilterColumns": [
# "string"
# ],
# "BloomFilterFalsePositiveProbability": number,
# "Compression": "string",
# "DictionaryKeyThreshold": number,
# "EnablePadding": boolean,
# "FormatVersion": "string",
# "PaddingTolerance": number,
# "RowIndexStride": number,
# "StripeSizeBytes": number
# },
# "ParquetSerDe": {
# "BlockSizeBytes": number,
# "Compression": "string",
# "EnableDictionaryCompression": boolean,
# "MaxPaddingBytes": number,
# "PageSizeBytes": number,
# "WriterVersion": "string"
# }
# }
# },
# "SchemaConfiguration": {
# "CatalogId": "string",
# "DatabaseName": "string",
# "Region": "string",
# "RoleARN": "string",
# "TableName": "string",
# "VersionId": "string"
# }
# },
# "DynamicPartitioningConfiguration": {
# "Enabled": boolean,
# "RetryOptions": {
# "DurationInSeconds": number
# }
# },
# "EncryptionConfiguration": {
# "KMSEncryptionConfig": {
# "AWSKMSKeyARN": "string"
# },
# "NoEncryptionConfig": "string"
# },
# "ErrorOutputPrefix": "string",
# "Prefix": "string",
# "ProcessingConfiguration": {
# "Enabled": boolean,
# "Processors": [
# {
# "Parameters": [
# {
# "ParameterName": "string",
# "ParameterValue": "string"
# }
# ],
# "Type": "string"
# }
# ]
# },
# "RoleARN": "string",
# "S3BackupDescription": {
# "BucketARN": "string",
# "BufferingHints": {
# "IntervalInSeconds": number,
# "SizeInMBs": number
# },
# "CloudWatchLoggingOptions": {
# "Enabled": boolean,
# "LogGroupName": "string",
# "LogStreamName": "string"
# },
# "CompressionFormat": "string",
# "EncryptionConfiguration": {
# "KMSEncryptionConfig": {
# "AWSKMSKeyARN": "string"
# },
# "NoEncryptionConfig": "string"
# },
# "ErrorOutputPrefix": "string",
# "Prefix": "string",
# "RoleARN": "string"
# },
# "S3BackupMode": "string"
# },
# "HttpEndpointDestinationDescription": {
# "BufferingHints": {
# "IntervalInSeconds": number,
# "SizeInMBs": number
# },
# "CloudWatchLoggingOptions": {
# "Enabled": boolean,
# "LogGroupName": "string",
# "LogStreamName": "string"
# },
# "EndpointConfiguration": {
# "Name": "string",
# "Url": "string"
# },
# "ProcessingConfiguration": {
# "Enabled": boolean,
# "Processors": [
# {
# "Parameters": [
# {
# "ParameterName": "string",
# "ParameterValue": "string"
# }
# ],
# "Type": "string"
# }
# ]
# },
# "RequestConfiguration": {
# "CommonAttributes": [
# {
# "AttributeName": "string",
# "AttributeValue": "string"
# }
# ],
# "ContentEncoding": "string"
# },
# "RetryOptions": {
# "DurationInSeconds": number
# },
# "RoleARN": "string",
# "S3BackupMode": "string",
# "S3DestinationDescription": {
# "BucketARN": "string",
# "BufferingHints": {
# "IntervalInSeconds": number,
# "SizeInMBs": number
# },
# "CloudWatchLoggingOptions": {
# "Enabled": boolean,
# "LogGroupName": "string",
# "LogStreamName": "string"
# },
# "CompressionFormat": "string",
# "EncryptionConfiguration": {
# "KMSEncryptionConfig": {
# "AWSKMSKeyARN": "string"
# },
# "NoEncryptionConfig": "string"
# },
# "ErrorOutputPrefix": "string",
# "Prefix": "string",
# "RoleARN": "string"
# }
# },
# "RedshiftDestinationDescription": {
# "CloudWatchLoggingOptions": {
# "Enabled": boolean,
# "LogGroupName": "string",
# "LogStreamName": "string"
# },
# "ClusterJDBCURL": "string",
# "CopyCommand": {
# "CopyOptions": "string",
# "DataTableColumns": "string",
# "DataTableName": "string"
# },
# "ProcessingConfiguration": {
# "Enabled": boolean,
# "Processors": [
# {
# "Parameters": [
# {
# "ParameterName": "string",
# "ParameterValue": "string"
# }
# ],
# "Type": "string"
# }
# ]
# },
# "RetryOptions": {
# "DurationInSeconds": number
# },
# "RoleARN": "string",
# "S3BackupDescription": {
# "BucketARN": "string",
# "BufferingHints": {
# "IntervalInSeconds": number,
# "SizeInMBs": number
# },
# "CloudWatchLoggingOptions": {
# "Enabled": boolean,
# "LogGroupName": "string",
# "LogStreamName": "string"
# },
# "CompressionFormat": "string",
# "EncryptionConfiguration": {
# "KMSEncryptionConfig": {
# "AWSKMSKeyARN": "string"
# },
# "NoEncryptionConfig": "string"
# },
# "ErrorOutputPrefix": "string",
# "Prefix": "string",
# "RoleARN": "string"
# },
# "S3BackupMode": "string",
# "S3DestinationDescription": {
# "BucketARN": "string",
# "BufferingHints": {
# "IntervalInSeconds": number,
# "SizeInMBs": number
# },
# "CloudWatchLoggingOptions": {
# "Enabled": boolean,
# "LogGroupName": "string",
# "LogStreamName": "string"
# },
# "CompressionFormat": "string",
# "EncryptionConfiguration": {
# "KMSEncryptionConfig": {
# "AWSKMSKeyARN": "string"
# },
# "NoEncryptionConfig": "string"
# },
# "ErrorOutputPrefix": "string",
# "Prefix": "string",
# "RoleARN": "string"
# },
# "Username": "string"
# },
# "S3DestinationDescription": {
# "BucketARN": "string",
# "BufferingHints": {
# "IntervalInSeconds": number,
# "SizeInMBs": number
# },
# "CloudWatchLoggingOptions": {
# "Enabled": boolean,
# "LogGroupName": "string",
# "LogStreamName": "string"
# },
# "CompressionFormat": "string",
# "EncryptionConfiguration": {
# "KMSEncryptionConfig": {
# "AWSKMSKeyARN": "string"
# },
# "NoEncryptionConfig": "string"
# },
# "ErrorOutputPrefix": "string",
# "Prefix": "string",
# "RoleARN": "string"
# },
# "SplunkDestinationDescription": {
# "CloudWatchLoggingOptions": {
# "Enabled": boolean,
# "LogGroupName": "string",
# "LogStreamName": "string"
# },
# "HECAcknowledgmentTimeoutInSeconds": number,
# "HECEndpoint": "string",
# "HECEndpointType": "string",
# "HECToken": "string",
# "ProcessingConfiguration": {
# "Enabled": boolean,
# "Processors": [
# {
# "Parameters": [
# {
# "ParameterName": "string",
# "ParameterValue": "string"
# }
# ],
# "Type": "string"
# }
# ]
# },
# "RetryOptions": {
# "DurationInSeconds": number
# },
# "S3BackupMode": "string",
# "S3DestinationDescription": {
# "BucketARN": "string",
# "BufferingHints": {
# "IntervalInSeconds": number,
# "SizeInMBs": number
# },
# "CloudWatchLoggingOptions": {
# "Enabled": boolean,
# "LogGroupName": "string",
# "LogStreamName": "string"
# },
# "CompressionFormat": "string",
# "EncryptionConfiguration": {
# "KMSEncryptionConfig": {
# "AWSKMSKeyARN": "string"
# },
# "NoEncryptionConfig": "string"
# },
# "ErrorOutputPrefix": "string",
# "Prefix": "string",
# "RoleARN": "string"
# }
# }
# }
# ],
# "FailureDescription": {
# "Details": "string",
# "Type": "string"
# },
# "HasMoreDestinations": boolean,
# "LastUpdateTimestamp": number,
# "Source": {
# "KinesisStreamSourceDescription": {
# "DeliveryStartTimestamp": number,
# "KinesisStreamARN": "string",
# "RoleARN": "string"
# }
# },
# "VersionId": "string"
# }
# }