Chilkat Online Tools

DescribeDeliveryStream phpExt Example

Amazon Kinesis Data Firehose

<?php

// The version number (9_5_0) should match version of the Chilkat extension used, omitting the micro-version number.
// For example, if using Chilkat v9.5.0.48, then include as shown here:
include("chilkat_9_5_0.php");

// This example requires the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.

$rest = new CkRest();

$authAws = new CkAuthAws();
$authAws->put_AccessKey('AWS_ACCESS_KEY');
$authAws->put_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->put_Region('us-west-2');
$authAws->put_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 != true) {
    print 'ConnectFailReason: ' . $rest->get_ConnectFailReason() . "\n";
    print $rest->lastErrorText() . "\n";
    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 CkJsonObject();
$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 CkStringBuilder();
$json->EmitSb($sbRequestBody);
$sbResponseBody = new CkStringBuilder();
$success = $rest->FullRequestSb('POST','/',$sbRequestBody,$sbResponseBody);
if ($success != true) {
    print $rest->lastErrorText() . "\n";
    exit;
}

$respStatusCode = $rest->get_ResponseStatusCode();
print 'response status code = ' . $respStatusCode . "\n";
if ($respStatusCode != 200) {
    print 'Response Header:' . "\n";
    print $rest->responseHeader() . "\n";
    print 'Response Body:' . "\n";
    print $sbResponseBody->getAsString() . "\n";
    exit;
}

$jResp = new CkJsonObject();
$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 < $count_i) {
    $jResp->put_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 < $count_j) {
        $jResp->put_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 < $count_k) {
            $jResp->put_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 < $count_j) {
        $jResp->put_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 < $count_j) {
        $jResp->put_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 < $count_j) {
        $jResp->put_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 < $count_k) {
            $jResp->put_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 < $count_j) {
        $jResp->put_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 < $count_j) {
        $jResp->put_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 < $count_j) {
        $jResp->put_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 < $count_j) {
        $jResp->put_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 < $count_j) {
        $jResp->put_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 < $count_k) {
            $jResp->put_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 < $count_j) {
        $jResp->put_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 < $count_k) {
            $jResp->put_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 < $count_j) {
        $jResp->put_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 < $count_j) {
        $jResp->put_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 < $count_k) {
            $jResp->put_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 < $count_j) {
        $jResp->put_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 < $count_k) {
            $jResp->put_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"
//   }
// }

?>