diff --git a/Include/sdk/_sdk-versions.json b/Include/sdk/_sdk-versions.json index 158ad8fed6..2835b10f8e 100644 --- a/Include/sdk/_sdk-versions.json +++ b/Include/sdk/_sdk-versions.json @@ -1,2811 +1,2811 @@ { - "ProductVersion" : "3.7.587.0", - "CoreVersion" : "3.7.108.1", + "ProductVersion" : "3.7.588.0", + "CoreVersion" : "3.7.108.2", "OverrideCoreVersion" : "3.3", "DefaultToPreview" : false, "ServiceVersions" : { "CloudHSM" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AutoScaling" : { - "Version" : "3.7.104.50", + "Version" : "3.7.104.51", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AWSSupport" : { - "Version" : "3.7.102.24", + "Version" : "3.7.102.25", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CloudFormation" : { - "Version" : "3.7.108.6", + "Version" : "3.7.108.7", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CloudFront" : { - "Version" : "3.7.105.74", + "Version" : "3.7.105.75", "AssemblyVersionOverride" : "3.3.4.0", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CloudSearch" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CloudSearchDomain" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CloudTrail" : { - "Version" : "3.7.107.7", + "Version" : "3.7.107.8", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ConfigService" : { - "Version" : "3.7.106.5", + "Version" : "3.7.106.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CloudWatch" : { - "Version" : "3.7.104.27", + "Version" : "3.7.104.28", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CloudWatchLogs" : { - "Version" : "3.7.106.0", + "Version" : "3.7.106.1", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CodeDeploy" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CognitoIdentity" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1", - "SecurityToken" : "3.7.103.21" + "Core" : "3.7.108.2", + "SecurityToken" : "3.7.103.22" }, "InPreview" : false }, "CognitoSync" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1", - "CognitoIdentity" : "3.7.100.152" + "Core" : "3.7.108.2", + "CognitoIdentity" : "3.7.100.153" }, "InPreview" : false }, "DataPipeline" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "DeviceFarm" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "DirectConnect" : { - "Version" : "3.7.100.153", + "Version" : "3.7.100.154", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "DynamoDBv2" : { - "Version" : "3.7.105.5", + "Version" : "3.7.105.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "EC2" : { - "Version" : "3.7.140.2", + "Version" : "3.7.141.0", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ECS" : { - "Version" : "3.7.109.5", + "Version" : "3.7.109.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ElastiCache" : { - "Version" : "3.7.104.24", + "Version" : "3.7.104.25", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ElasticBeanstalk" : { - "Version" : "3.7.101.90", + "Version" : "3.7.101.91", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ElasticLoadBalancing" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ElasticMapReduce" : { - "Version" : "3.7.106.5", + "Version" : "3.7.106.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ElasticTranscoder" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Glacier" : { - "Version" : "3.7.101.90", + "Version" : "3.7.101.91", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1", - "SQS" : "3.7.103.10", - "SimpleNotificationService" : "3.7.101.88" + "Core" : "3.7.108.2", + "SQS" : "3.7.103.11", + "SimpleNotificationService" : "3.7.101.89" }, "InPreview" : false }, "IdentityManagement" : { - "Version" : "3.7.102.5", + "Version" : "3.7.102.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ImportExport" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Kinesis" : { - "Version" : "3.7.102.89", + "Version" : "3.7.102.90", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Lambda" : { - "Version" : "3.7.113.5", + "Version" : "3.7.113.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "KeyManagementService" : { - "Version" : "3.7.104.3", + "Version" : "3.7.104.4", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MachineLearning" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MobileAnalytics" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "OpsWorks" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "RDS" : { - "Version" : "3.7.120.5", + "Version" : "3.7.120.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Redshift" : { - "Version" : "3.7.102.5", + "Version" : "3.7.102.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Route53" : { - "Version" : "3.7.104.92", + "Version" : "3.7.104.93", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Route53Domains" : { - "Version" : "3.7.102.6", + "Version" : "3.7.102.7", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "S3" : { - "Version" : "3.7.107.5", + "Version" : "3.7.108.0", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SecurityToken" : { - "Version" : "3.7.103.21", + "Version" : "3.7.103.22", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SimpleDB" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SimpleEmail" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SimpleNotificationService" : { - "Version" : "3.7.101.88", + "Version" : "3.7.101.89", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SimpleWorkflow" : { - "Version" : "3.7.102.25", + "Version" : "3.7.102.26", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SQS" : { - "Version" : "3.7.103.10", + "Version" : "3.7.103.11", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SimpleSystemsManagement" : { - "Version" : "3.7.104.56", + "Version" : "3.7.104.57", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "StorageGateway" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "WorkSpaces" : { - "Version" : "3.7.104.132", + "Version" : "3.7.104.133", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "DirectoryService" : { - "Version" : "3.7.101.33", + "Version" : "3.7.101.34", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ElasticFileSystem" : { - "Version" : "3.7.102.30", + "Version" : "3.7.102.31", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CodeCommit" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CodePipeline" : { - "Version" : "3.7.101.17", + "Version" : "3.7.101.18", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Elasticsearch" : { - "Version" : "3.7.102.24", + "Version" : "3.7.102.25", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "WAF" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "KinesisFirehose" : { - "Version" : "3.7.101.127", + "Version" : "3.7.101.128", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AWSMarketplaceCommerceAnalytics" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Inspector" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IoT" : { - "Version" : "3.7.109.10", + "Version" : "3.7.109.11", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IotData" : { - "Version" : "3.7.104.10", + "Version" : "3.7.104.11", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "APIGateway" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ECR" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CloudWatchEvents" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CertificateManager" : { - "Version" : "3.7.101.141", + "Version" : "3.7.101.142", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "GameLift" : { - "Version" : "3.7.105.5", + "Version" : "3.7.105.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "DatabaseMigrationService" : { - "Version" : "3.7.104.0", + "Version" : "3.7.105.0", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AWSMarketplaceMetering" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CognitoIdentityProvider" : { - "Version" : "3.7.102.0", + "Version" : "3.7.103.0", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ApplicationDiscoveryService" : { - "Version" : "3.7.102.6", + "Version" : "3.7.102.7", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ApplicationAutoScaling" : { - "Version" : "3.7.106.17", + "Version" : "3.7.106.18", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ServiceCatalog" : { - "Version" : "3.7.104.9", + "Version" : "3.7.104.10", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ElasticLoadBalancingV2" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "KinesisAnalytics" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Snowball" : { - "Version" : "3.7.102.36", + "Version" : "3.7.102.37", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Budgets" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ServerMigrationService" : { - "Version" : "3.7.101.49", + "Version" : "3.7.101.50", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Rekognition" : { - "Version" : "3.7.108.8", + "Version" : "3.7.108.9", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Lightsail" : { - "Version" : "3.7.103.7", + "Version" : "3.7.103.8", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Polly" : { - "Version" : "3.7.107.15", + "Version" : "3.7.107.16", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "StepFunctions" : { - "Version" : "3.7.103.5", + "Version" : "3.7.103.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AppStream" : { - "Version" : "3.7.103.5", + "Version" : "3.7.103.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "OpsWorksCM" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CodeBuild" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Pinpoint" : { - "Version" : "3.7.102.5", + "Version" : "3.7.102.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Shield" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AWSHealth" : { - "Version" : "3.7.101.24", + "Version" : "3.7.101.25", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "XRay" : { - "Version" : "3.7.102.133", + "Version" : "3.7.102.134", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "WAFRegional" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Batch" : { - "Version" : "3.7.105.4", + "Version" : "3.7.105.5", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CostAndUsageReport" : { - "Version" : "3.7.101.18", + "Version" : "3.7.101.19", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CloudDirectory" : { - "Version" : "3.7.101.90", + "Version" : "3.7.101.91", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Lex" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MTurk" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Organizations" : { - "Version" : "3.7.102.69", + "Version" : "3.7.102.70", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "WorkDocs" : { - "Version" : "3.7.102.57", + "Version" : "3.7.102.58", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ResourceGroupsTaggingAPI" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CodeStar" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "LexModelBuildingService" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MarketplaceEntitlementService" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Athena" : { - "Version" : "3.7.111.9", + "Version" : "3.7.111.10", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Greengrass" : { - "Version" : "3.7.101.90", + "Version" : "3.7.101.91", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "DAX" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MigrationHub" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Glue" : { - "Version" : "3.7.120.0", + "Version" : "3.7.120.1", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CloudHSMV2" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Mobile" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Pricing" : { - "Version" : "3.7.102.6", + "Version" : "3.7.102.7", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CostExplorer" : { - "Version" : "3.7.103.116", + "Version" : "3.7.103.117", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MediaPackage" : { - "Version" : "3.7.101.66", + "Version" : "3.7.101.67", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MediaLive" : { - "Version" : "3.7.107.0", + "Version" : "3.7.107.1", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MediaStoreData" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MediaStore" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MediaConvert" : { - "Version" : "3.7.112.6", + "Version" : "3.7.112.7", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MQ" : { - "Version" : "3.7.101.5", + "Version" : "3.7.101.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "GuardDuty" : { - "Version" : "3.7.107.5", + "Version" : "3.7.107.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AppSync" : { - "Version" : "3.7.105.18", + "Version" : "3.7.105.19", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SageMakerRuntime" : { - "Version" : "3.7.102.47", + "Version" : "3.7.102.48", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IoTJobsDataPlane" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SageMaker" : { - "Version" : "3.7.142.4", + "Version" : "3.7.143.0", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Translate" : { - "Version" : "3.7.102.19", + "Version" : "3.7.102.20", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Comprehend" : { - "Version" : "3.7.104.37", + "Version" : "3.7.104.38", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "KinesisVideo" : { - "Version" : "3.7.103.5", + "Version" : "3.7.103.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "KinesisVideoMedia" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "KinesisVideoArchivedMedia" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ResourceGroups" : { - "Version" : "3.7.101.98", + "Version" : "3.7.101.99", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AlexaForBusiness" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ServerlessApplicationRepository" : { - "Version" : "3.7.101.90", + "Version" : "3.7.101.91", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Cloud9" : { - "Version" : "3.7.101.97", + "Version" : "3.7.101.98", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ServiceDiscovery" : { - "Version" : "3.7.102.54", + "Version" : "3.7.102.55", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "WorkMail" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AutoScalingPlans" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "TranscribeService" : { - "Version" : "3.7.104.68", + "Version" : "3.7.104.69", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Connect" : { - "Version" : "3.7.129.6", + "Version" : "3.7.130.0", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "FMS" : { - "Version" : "3.7.105.19", + "Version" : "3.7.105.20", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SecretsManager" : { - "Version" : "3.7.102.64", + "Version" : "3.7.102.65", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ACMPCA" : { - "Version" : "3.7.102.103", + "Version" : "3.7.102.104", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IoTAnalytics" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IoT1ClickDevicesService" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IoT1ClickProjects" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "PI" : { - "Version" : "3.7.101.69", + "Version" : "3.7.101.70", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Neptune" : { - "Version" : "3.7.102.57", + "Version" : "3.7.102.58", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MediaTailor" : { - "Version" : "3.7.106.0", + "Version" : "3.7.107.0", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "EKS" : { - "Version" : "3.7.104.115", + "Version" : "3.7.104.116", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Macie" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "DLM" : { - "Version" : "3.7.102.44", + "Version" : "3.7.102.45", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Signer" : { - "Version" : "3.7.101.10", + "Version" : "3.7.101.11", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Chime" : { - "Version" : "3.7.102.5", + "Version" : "3.7.102.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "PinpointEmail" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "PinpointSMSVoice" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "S3Control" : { - "Version" : "3.7.109.37", + "Version" : "3.7.109.38", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "RAM" : { - "Version" : "3.7.102.37", + "Version" : "3.7.102.38", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Route53Resolver" : { - "Version" : "3.7.102.24", + "Version" : "3.7.102.25", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "RDSDataService" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "QuickSight" : { - "Version" : "3.7.111.2", + "Version" : "3.7.111.3", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Amplify" : { - "Version" : "3.7.101.132", + "Version" : "3.7.101.133", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "RoboMaker" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "DataSync" : { - "Version" : "3.7.105.33", + "Version" : "3.7.106.0", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Transfer" : { - "Version" : "3.7.107.5", + "Version" : "3.7.107.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "GlobalAccelerator" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ComprehendMedical" : { - "Version" : "3.7.102.10", + "Version" : "3.7.102.11", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "KinesisAnalyticsV2" : { - "Version" : "3.7.102.5", + "Version" : "3.7.102.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MediaConnect" : { - "Version" : "3.7.101.40", + "Version" : "3.7.101.41", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "FSx" : { - "Version" : "3.7.103.9", + "Version" : "3.7.104.0", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SecurityHub" : { - "Version" : "3.7.109.8", + "Version" : "3.7.109.9", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "LicenseManager" : { - "Version" : "3.7.102.48", + "Version" : "3.7.102.49", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AppMesh" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Kafka" : { - "Version" : "3.7.104.23", + "Version" : "3.7.104.24", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ApiGatewayManagementApi" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ApiGatewayV2" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "DocDB" : { - "Version" : "3.7.101.44", + "Version" : "3.7.101.45", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Backup" : { - "Version" : "3.7.104.20", + "Version" : "3.7.104.21", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "WorkLink" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Textract" : { - "Version" : "3.7.105.54", + "Version" : "3.7.105.55", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ManagedBlockchain" : { - "Version" : "3.7.101.71", + "Version" : "3.7.101.72", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MediaPackageVod" : { - "Version" : "3.7.103.66", + "Version" : "3.7.103.67", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "GroundStation" : { - "Version" : "3.7.104.41", + "Version" : "3.7.104.42", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IoTThingsGraph" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IoTEvents" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IoTEventsData" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "PersonalizeRuntime" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Personalize" : { - "Version" : "3.7.102.15", + "Version" : "3.7.103.0", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "PersonalizeEvents" : { - "Version" : "3.7.101.133", + "Version" : "3.7.101.134", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ServiceQuotas" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ApplicationInsights" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "EC2InstanceConnect" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "EventBridge" : { - "Version" : "3.7.102.42", + "Version" : "3.7.102.43", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "LakeFormation" : { - "Version" : "3.7.104.48", + "Version" : "3.7.104.49", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ForecastService" : { - "Version" : "3.7.101.88", + "Version" : "3.7.101.89", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ForecastQueryService" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "QLDB" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "QLDBSession" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "WorkMailMessageFlow" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CodeStarNotifications" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SavingsPlans" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SSO" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SSOOIDC" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MarketplaceCatalog" : { - "Version" : "3.7.103.31", + "Version" : "3.7.103.32", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SimpleEmailV2" : { - "Version" : "3.7.103.20", + "Version" : "3.7.103.21", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "DataExchange" : { - "Version" : "3.7.103.47", + "Version" : "3.7.103.48", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MigrationHubConfig" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ConnectParticipant" : { - "Version" : "3.7.104.90", + "Version" : "3.7.104.91", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "WAFV2" : { - "Version" : "3.7.112.7", + "Version" : "3.7.112.8", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AppConfig" : { - "Version" : "3.7.102.79", + "Version" : "3.7.102.80", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IoTSecureTunneling" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ElasticInference" : { - "Version" : "3.7.101.47", + "Version" : "3.7.101.48", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Imagebuilder" : { - "Version" : "3.7.103.50", + "Version" : "3.7.103.51", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Schemas" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AccessAnalyzer" : { - "Version" : "3.7.103.89", + "Version" : "3.7.103.90", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ComputeOptimizer" : { - "Version" : "3.7.106.21", + "Version" : "3.7.106.22", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "NetworkManager" : { - "Version" : "3.7.101.116", + "Version" : "3.7.101.117", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Kendra" : { - "Version" : "3.7.105.5", + "Version" : "3.7.105.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "FraudDetector" : { - "Version" : "3.7.104.11", + "Version" : "3.7.104.12", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CodeGuruReviewer" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CodeGuruProfiler" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Outposts" : { - "Version" : "3.7.105.2", + "Version" : "3.7.105.3", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AugmentedAIRuntime" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "EBS" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "KinesisVideoSignalingChannels" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Detective" : { - "Version" : "3.7.102.22", + "Version" : "3.7.102.23", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CodeStarconnections" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Synthetics" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IoTSiteWise" : { - "Version" : "3.7.103.26", + "Version" : "3.7.103.27", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Macie2" : { - "Version" : "3.7.104.5", + "Version" : "3.7.104.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CodeArtifact" : { - "Version" : "3.7.104.54", + "Version" : "3.7.104.55", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Honeycode" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IVS" : { - "Version" : "3.7.105.5", + "Version" : "3.7.105.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Braket" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IdentityStore" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Appflow" : { - "Version" : "3.7.113.5", + "Version" : "3.7.113.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "RedshiftDataAPIService" : { - "Version" : "3.7.102.66", + "Version" : "3.7.102.67", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SSOAdmin" : { - "Version" : "3.7.101.86", + "Version" : "3.7.101.87", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "TimestreamWrite" : { - "Version" : "3.7.102.9", + "Version" : "3.7.102.10", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "TimestreamQuery" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "S3Outposts" : { - "Version" : "3.7.102.57", + "Version" : "3.7.102.58", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "GlueDataBrew" : { - "Version" : "3.7.101.92", + "Version" : "3.7.101.93", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AppRegistry" : { - "Version" : "3.7.102.53", + "Version" : "3.7.102.54", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "NetworkFirewall" : { - "Version" : "3.7.107.27", + "Version" : "3.7.107.28", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MWAA" : { - "Version" : "3.7.102.11", + "Version" : "3.7.102.12", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "DevOpsGuru" : { - "Version" : "3.7.103.5", + "Version" : "3.7.103.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SageMakerFeatureStoreRuntime" : { - "Version" : "3.7.103.5", + "Version" : "3.7.103.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AppIntegrationsService" : { - "Version" : "3.7.101.63", + "Version" : "3.7.101.64", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ECRPublic" : { - "Version" : "3.7.102.42", + "Version" : "3.7.102.43", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AmplifyBackend" : { - "Version" : "3.7.101.103", + "Version" : "3.7.101.104", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ConnectContactLens" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "LookoutforVision" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CustomerProfiles" : { - "Version" : "3.7.105.10", + "Version" : "3.7.105.11", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "EMRContainers" : { - "Version" : "3.7.104.10", + "Version" : "3.7.104.11", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SagemakerEdgeManager" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "HealthLake" : { - "Version" : "3.7.101.15", + "Version" : "3.7.101.16", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AuditManager" : { - "Version" : "3.7.104.6", + "Version" : "3.7.104.7", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "PrometheusService" : { - "Version" : "3.7.101.5", + "Version" : "3.7.101.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "GreengrassV2" : { - "Version" : "3.7.103.45", + "Version" : "3.7.103.46", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IoTWireless" : { - "Version" : "3.7.105.16", + "Version" : "3.7.105.17", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IoTFleetHub" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IoTDeviceAdvisor" : { - "Version" : "3.7.103.10", + "Version" : "3.7.103.11", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "LocationService" : { - "Version" : "3.7.105.2", + "Version" : "3.7.105.3", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "WellArchitected" : { - "Version" : "3.7.104.7", + "Version" : "3.7.104.8", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "LexRuntimeV2" : { - "Version" : "3.7.101.81", + "Version" : "3.7.101.82", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "LexModelsV2" : { - "Version" : "3.7.103.10", + "Version" : "3.7.103.11", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "FIS" : { - "Version" : "3.7.101.90", + "Version" : "3.7.101.91", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "LookoutMetrics" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Mgn" : { - "Version" : "3.7.103.3", + "Version" : "3.7.103.4", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "LookoutEquipment" : { - "Version" : "3.7.101.111", + "Version" : "3.7.101.112", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "NimbleStudio" : { - "Version" : "3.7.101.111", + "Version" : "3.7.101.112", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "FinSpaceData" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Finspace" : { - "Version" : "3.7.101.11", + "Version" : "3.7.101.12", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SSMIncidents" : { - "Version" : "3.7.104.52", + "Version" : "3.7.104.53", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SSMContacts" : { - "Version" : "3.7.101.52", + "Version" : "3.7.101.53", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ApplicationCostProfiler" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AppRunner" : { - "Version" : "3.7.105.46", + "Version" : "3.7.105.47", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Proton" : { - "Version" : "3.7.105.45", + "Version" : "3.7.106.0", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Route53RecoveryReadiness" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Route53RecoveryControlConfig" : { - "Version" : "3.7.101.108", + "Version" : "3.7.101.109", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Route53RecoveryCluster" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ChimeSDKMessaging" : { - "Version" : "3.7.104.5", + "Version" : "3.7.104.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ChimeSDKIdentity" : { - "Version" : "3.7.102.5", + "Version" : "3.7.102.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SnowDeviceManagement" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MemoryDB" : { - "Version" : "3.7.103.15", + "Version" : "3.7.103.16", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "OpenSearchService" : { - "Version" : "3.7.108.8", + "Version" : "3.7.108.9", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "KafkaConnect" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ConnectWisdomService" : { - "Version" : "3.7.102.63", + "Version" : "3.7.102.64", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "VoiceID" : { - "Version" : "3.7.101.53", + "Version" : "3.7.101.54", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Account" : { - "Version" : "3.7.103.6", + "Version" : "3.7.103.7", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CloudControlApi" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ManagedGrafana" : { - "Version" : "3.7.103.30", + "Version" : "3.7.103.31", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Panorama" : { - "Version" : "3.7.101.95", + "Version" : "3.7.101.96", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ChimeSDKMeetings" : { - "Version" : "3.7.101.36", + "Version" : "3.7.101.37", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ResilienceHub" : { - "Version" : "3.7.103.28", + "Version" : "3.7.103.29", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MigrationHubStrategyRecommendations" : { - "Version" : "3.7.103.61", + "Version" : "3.7.103.62", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Drs" : { - "Version" : "3.7.105.7", + "Version" : "3.7.105.8", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AppConfigData" : { - "Version" : "3.7.101.79", + "Version" : "3.7.101.80", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MigrationHubRefactorSpaces" : { - "Version" : "3.7.103.17", + "Version" : "3.7.103.18", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Inspector2" : { - "Version" : "3.7.106.5", + "Version" : "3.7.106.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CloudWatchEvidently" : { - "Version" : "3.7.102.65", + "Version" : "3.7.102.66", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CloudWatchRUM" : { - "Version" : "3.7.102.74", + "Version" : "3.7.102.75", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "RecycleBin" : { - "Version" : "3.7.101.130", + "Version" : "3.7.101.131", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IoTTwinMaker" : { - "Version" : "3.7.104.28", + "Version" : "3.7.104.29", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "WorkSpacesWeb" : { - "Version" : "3.7.102.15", + "Version" : "3.7.102.16", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "BackupGateway" : { - "Version" : "3.7.101.115", + "Version" : "3.7.101.116", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AmplifyUIBuilder" : { - "Version" : "3.7.102.8", + "Version" : "3.7.102.9", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Keyspaces" : { - "Version" : "3.7.103.11", + "Version" : "3.7.103.12", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "BillingConductor" : { - "Version" : "3.7.105.58", + "Version" : "3.7.105.59", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "GameSparks" : { - "Version" : "3.7.101.147", + "Version" : "3.7.101.148", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "PinpointSMSVoiceV2" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Ivschat" : { - "Version" : "3.7.104.64", + "Version" : "3.7.104.65", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ChimeSDKMediaPipelines" : { - "Version" : "3.7.102.36", + "Version" : "3.7.102.37", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "EMRServerless" : { - "Version" : "3.7.105.5", + "Version" : "3.7.105.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MainframeModernization" : { - "Version" : "3.7.103.15", + "Version" : "3.7.103.16", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ConnectCampaignService" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "RedshiftServerless" : { - "Version" : "3.7.101.124", + "Version" : "3.7.101.125", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IAMRolesAnywhere" : { - "Version" : "3.7.101.23", + "Version" : "3.7.101.24", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "LicenseManagerUserSubscriptions" : { - "Version" : "3.7.101.128", + "Version" : "3.7.101.129", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "BackupStorage" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Private5G" : { - "Version" : "3.7.103.5", + "Version" : "3.7.103.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SupportApp" : { - "Version" : "3.7.101.147", + "Version" : "3.7.101.148", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ControlTower" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IoTFleetWise" : { - "Version" : "3.7.104.15", + "Version" : "3.7.104.16", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MigrationHubOrchestrator" : { - "Version" : "3.7.100.152", + "Version" : "3.7.100.153", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ConnectCases" : { - "Version" : "3.7.103.20", + "Version" : "3.7.103.21", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ResourceExplorer2" : { - "Version" : "3.7.101.111", + "Version" : "3.7.101.112", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Scheduler" : { - "Version" : "3.7.101.111", + "Version" : "3.7.101.112", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ChimeSDKVoice" : { - "Version" : "3.7.105.15", + "Version" : "3.7.105.16", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IoTRoboRunner" : { - "Version" : "3.7.100.131", + "Version" : "3.7.100.132", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SsmSap" : { - "Version" : "3.7.101.92", + "Version" : "3.7.101.93", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "OAM" : { - "Version" : "3.7.100.129", + "Version" : "3.7.100.130", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "ARCZonalShift" : { - "Version" : "3.7.100.128", + "Version" : "3.7.100.129", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SimSpaceWeaver" : { - "Version" : "3.7.102.7", + "Version" : "3.7.102.8", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SecurityLake" : { - "Version" : "3.7.103.15", + "Version" : "3.7.103.16", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "OpenSearchServerless" : { - "Version" : "3.7.101.51", + "Version" : "3.7.101.52", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Omics" : { - "Version" : "3.7.104.5", + "Version" : "3.7.104.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "DocDBElastic" : { - "Version" : "3.7.100.126", + "Version" : "3.7.100.127", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SageMakerGeospatial" : { - "Version" : "3.7.102.21", + "Version" : "3.7.102.22", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Pipes" : { - "Version" : "3.7.102.55", + "Version" : "3.7.102.56", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CodeCatalyst" : { - "Version" : "3.7.102.23", + "Version" : "3.7.102.24", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "SageMakerMetrics" : { - "Version" : "3.7.100.118", + "Version" : "3.7.100.119", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "KinesisVideoWebRTCStorage" : { - "Version" : "3.7.101.109", + "Version" : "3.7.101.110", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "LicenseManagerLinuxSubscriptions" : { - "Version" : "3.7.100.110", + "Version" : "3.7.100.111", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "KendraRanking" : { - "Version" : "3.7.100.101", + "Version" : "3.7.100.102", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CleanRooms" : { - "Version" : "3.7.102.5", + "Version" : "3.7.102.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CloudTrailData" : { - "Version" : "3.7.100.89", + "Version" : "3.7.100.90", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "Tnb" : { - "Version" : "3.7.101.63", + "Version" : "3.7.101.64", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "InternetMonitor" : { - "Version" : "3.7.103.5", + "Version" : "3.7.103.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "IVSRealTime" : { - "Version" : "3.7.102.24", + "Version" : "3.7.102.25", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "VPCLattice" : { - "Version" : "3.7.100.50", + "Version" : "3.7.100.51", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "OSIS" : { - "Version" : "3.7.100.32", + "Version" : "3.7.100.33", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "MediaPackageV2" : { - "Version" : "3.7.100.20", + "Version" : "3.7.100.21", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "PaymentCryptographyData" : { - "Version" : "3.7.100.9", + "Version" : "3.7.100.10", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "PaymentCryptography" : { - "Version" : "3.7.100.9", + "Version" : "3.7.100.10", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "CodeGuruSecurity" : { - "Version" : "3.7.100.7", + "Version" : "3.7.100.8", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "VerifiedPermissions" : { - "Version" : "3.7.100.10", + "Version" : "3.7.100.11", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false }, "AppFabric" : { - "Version" : "3.7.100.5", + "Version" : "3.7.100.6", "AssemblyVersionOverride" : "3.3", "Dependencies" : { - "Core" : "3.7.108.1" + "Core" : "3.7.108.2" }, "InPreview" : false } diff --git a/changelogs/CHANGELOG.2023.md b/changelogs/CHANGELOG.2023.md index 0378392100..c90e464335 100644 --- a/changelogs/CHANGELOG.2023.md +++ b/changelogs/CHANGELOG.2023.md @@ -1,4 +1,28 @@ -### 4.1.369 (2023-07-11 07:30Z) +### 4.1.370 (2023-07-13 21:28Z) + * AWS Tools for PowerShell now use AWS .NET SDK 3.7.588.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/master/changelogs/SDK.CHANGELOG.ALL.md. + * Amazon Connect Service + * Added cmdlet Remove-CONNQueue leveraging the DeleteQueue service API. + * Added cmdlet Remove-CONNRoutingProfile leveraging the DeleteRoutingProfile service API. + * Amazon Database Migration Service + * Modified cmdlet Edit-DMSEndpoint: added parameters PostgreSQLSettings_BabelfishDatabaseName and PostgreSQLSettings_DatabaseMode. + * Modified cmdlet New-DMSEndpoint: added parameters PostgreSQLSettings_BabelfishDatabaseName and PostgreSQLSettings_DatabaseMode. + * Amazon FSx + * Modified cmdlet New-FSXVolume: added parameters AutocommitPeriod_Type, AutocommitPeriod_Value, DefaultRetention_Type, DefaultRetention_Value, MaximumRetention_Type, MaximumRetention_Value, MinimumRetention_Type, MinimumRetention_Value, SnaplockConfiguration_AuditLogVolume, SnaplockConfiguration_PrivilegedDelete, SnaplockConfiguration_SnaplockType and SnaplockConfiguration_VolumeAppendModeEnabled. + * Modified cmdlet New-FSXVolumeFromBackup: added parameters AutocommitPeriod_Type, AutocommitPeriod_Value, DefaultRetention_Type, DefaultRetention_Value, MaximumRetention_Type, MaximumRetention_Value, MinimumRetention_Type, MinimumRetention_Value, SnaplockConfiguration_AuditLogVolume, SnaplockConfiguration_PrivilegedDelete, SnaplockConfiguration_SnaplockType and SnaplockConfiguration_VolumeAppendModeEnabled. + * Modified cmdlet Remove-FSXVolume: added parameter OntapConfiguration_BypassSnaplockEnterpriseRetention. + * Modified cmdlet Update-FSXVolume: added parameters AutocommitPeriod_Type, AutocommitPeriod_Value, DefaultRetention_Type, DefaultRetention_Value, MaximumRetention_Type, MaximumRetention_Value, MinimumRetention_Type, MinimumRetention_Value, SnaplockConfiguration_AuditLogVolume, SnaplockConfiguration_PrivilegedDelete and SnaplockConfiguration_VolumeAppendModeEnabled. + * Amazon Personalize + * Added cmdlet Update-PERSDataset leveraging the UpdateDataset service API. + * Amazon Proton + * Added cmdlet Get-PRODeployment leveraging the GetDeployment service API. + * Added cmdlet Get-PRODeploymentList leveraging the ListDeployments service API. + * Added cmdlet Remove-PRODeployment leveraging the DeleteDeployment service API. + * Modified cmdlet Get-PROComponentOutputList: added parameter DeploymentId. + * Modified cmdlet Get-PROEnvironmentOutputList: added parameter DeploymentId. + * Modified cmdlet Get-PROServiceInstanceOutputList: added parameter DeploymentId. + * Modified cmdlet Get-PROServicePipelineOutputList: added parameter DeploymentId. + +### 4.1.369 (2023-07-11 07:30Z) * AWS Tools for PowerShell now use AWS .NET SDK 3.7.587.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/master/changelogs/SDK.CHANGELOG.ALL.md. ### 4.1.368 (2023-07-07 21:17Z) diff --git a/changelogs/CHANGELOG.ALL.md b/changelogs/CHANGELOG.ALL.md index ec3dd6ec54..d0208c76fd 100644 --- a/changelogs/CHANGELOG.ALL.md +++ b/changelogs/CHANGELOG.ALL.md @@ -1,4 +1,28 @@ -### 4.1.369 (2023-07-11 07:30Z) +### 4.1.370 (2023-07-13 21:28Z) + * AWS Tools for PowerShell now use AWS .NET SDK 3.7.588.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/master/changelogs/SDK.CHANGELOG.ALL.md. + * Amazon Connect Service + * Added cmdlet Remove-CONNQueue leveraging the DeleteQueue service API. + * Added cmdlet Remove-CONNRoutingProfile leveraging the DeleteRoutingProfile service API. + * Amazon Database Migration Service + * Modified cmdlet Edit-DMSEndpoint: added parameters PostgreSQLSettings_BabelfishDatabaseName and PostgreSQLSettings_DatabaseMode. + * Modified cmdlet New-DMSEndpoint: added parameters PostgreSQLSettings_BabelfishDatabaseName and PostgreSQLSettings_DatabaseMode. + * Amazon FSx + * Modified cmdlet New-FSXVolume: added parameters AutocommitPeriod_Type, AutocommitPeriod_Value, DefaultRetention_Type, DefaultRetention_Value, MaximumRetention_Type, MaximumRetention_Value, MinimumRetention_Type, MinimumRetention_Value, SnaplockConfiguration_AuditLogVolume, SnaplockConfiguration_PrivilegedDelete, SnaplockConfiguration_SnaplockType and SnaplockConfiguration_VolumeAppendModeEnabled. + * Modified cmdlet New-FSXVolumeFromBackup: added parameters AutocommitPeriod_Type, AutocommitPeriod_Value, DefaultRetention_Type, DefaultRetention_Value, MaximumRetention_Type, MaximumRetention_Value, MinimumRetention_Type, MinimumRetention_Value, SnaplockConfiguration_AuditLogVolume, SnaplockConfiguration_PrivilegedDelete, SnaplockConfiguration_SnaplockType and SnaplockConfiguration_VolumeAppendModeEnabled. + * Modified cmdlet Remove-FSXVolume: added parameter OntapConfiguration_BypassSnaplockEnterpriseRetention. + * Modified cmdlet Update-FSXVolume: added parameters AutocommitPeriod_Type, AutocommitPeriod_Value, DefaultRetention_Type, DefaultRetention_Value, MaximumRetention_Type, MaximumRetention_Value, MinimumRetention_Type, MinimumRetention_Value, SnaplockConfiguration_AuditLogVolume, SnaplockConfiguration_PrivilegedDelete and SnaplockConfiguration_VolumeAppendModeEnabled. + * Amazon Personalize + * Added cmdlet Update-PERSDataset leveraging the UpdateDataset service API. + * Amazon Proton + * Added cmdlet Get-PRODeployment leveraging the GetDeployment service API. + * Added cmdlet Get-PRODeploymentList leveraging the ListDeployments service API. + * Added cmdlet Remove-PRODeployment leveraging the DeleteDeployment service API. + * Modified cmdlet Get-PROComponentOutputList: added parameter DeploymentId. + * Modified cmdlet Get-PROEnvironmentOutputList: added parameter DeploymentId. + * Modified cmdlet Get-PROServiceInstanceOutputList: added parameter DeploymentId. + * Modified cmdlet Get-PROServicePipelineOutputList: added parameter DeploymentId. + +### 4.1.369 (2023-07-11 07:30Z) * AWS Tools for PowerShell now use AWS .NET SDK 3.7.587.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/master/changelogs/SDK.CHANGELOG.ALL.md. ### 4.1.368 (2023-07-07 21:17Z) diff --git a/generator/AWSPSGeneratorLib/Config/ServiceConfig/connect.xml b/generator/AWSPSGeneratorLib/Config/ServiceConfig/connect.xml index e2f931a946..8806412584 100644 --- a/generator/AWSPSGeneratorLib/Config/ServiceConfig/connect.xml +++ b/generator/AWSPSGeneratorLib/Config/ServiceConfig/connect.xml @@ -188,10 +188,18 @@ + + + + + + + + diff --git a/generator/AWSPSGeneratorLib/Config/ServiceConfig/personalize.xml b/generator/AWSPSGeneratorLib/Config/ServiceConfig/personalize.xml index 80a058f253..766c837b25 100644 --- a/generator/AWSPSGeneratorLib/Config/ServiceConfig/personalize.xml +++ b/generator/AWSPSGeneratorLib/Config/ServiceConfig/personalize.xml @@ -275,6 +275,10 @@ + + + + diff --git a/generator/AWSPSGeneratorLib/Config/ServiceConfig/proton.xml b/generator/AWSPSGeneratorLib/Config/ServiceConfig/proton.xml index 3f614e30b2..946dcc0cea 100644 --- a/generator/AWSPSGeneratorLib/Config/ServiceConfig/proton.xml +++ b/generator/AWSPSGeneratorLib/Config/ServiceConfig/proton.xml @@ -91,6 +91,10 @@ + + + + @@ -139,6 +143,10 @@ + + + + @@ -215,6 +223,10 @@ + + + + diff --git a/modules/AWSPowerShell/AWSAliases.ps1 b/modules/AWSPowerShell/AWSAliases.ps1 index 44782f8b4c..962e112699 100644 --- a/modules/AWSPowerShell/AWSAliases.ps1 +++ b/modules/AWSPowerShell/AWSAliases.ps1 @@ -5515,8 +5515,12 @@ Set-Alias -Name Delete-CONNIntegrationAssociation -Value Remove-CONNIntegrationA Set-Alias -Name CONN-DeleteIntegrationAssociation -Value Remove-CONNIntegrationAssociation Set-Alias -Name Delete-CONNPrompt -Value Remove-CONNPrompt Set-Alias -Name CONN-DeletePrompt -Value Remove-CONNPrompt +Set-Alias -Name Delete-CONNQueue -Value Remove-CONNQueue +Set-Alias -Name CONN-DeleteQueue -Value Remove-CONNQueue Set-Alias -Name Delete-CONNQuickConnect -Value Remove-CONNQuickConnect Set-Alias -Name CONN-DeleteQuickConnect -Value Remove-CONNQuickConnect +Set-Alias -Name Delete-CONNRoutingProfile -Value Remove-CONNRoutingProfile +Set-Alias -Name CONN-DeleteRoutingProfile -Value Remove-CONNRoutingProfile Set-Alias -Name Delete-CONNRule -Value Remove-CONNRule Set-Alias -Name CONN-DeleteRule -Value Remove-CONNRule Set-Alias -Name Delete-CONNSecurityProfile -Value Remove-CONNSecurityProfile @@ -18853,6 +18857,7 @@ Set-Alias -Name PERS-StopSolutionVersionCreation -Value Stop-PERSSolutionVersion Set-Alias -Name PERS-TagResource -Value Add-PERSResourceTag Set-Alias -Name PERS-UntagResource -Value Remove-PERSResourceTag Set-Alias -Name PERS-UpdateCampaign -Value Update-PERSCampaign +Set-Alias -Name PERS-UpdateDataset -Value Update-PERSDataset Set-Alias -Name PERS-UpdateMetricAttribution -Value Update-PERSMetricAttribution Set-Alias -Name PERS-UpdateRecommender -Value Update-PERSRecommender Set-Alias -Name Put-PERSEEvents -Value Write-PERSEEvent @@ -19431,6 +19436,8 @@ Set-Alias -Name Create-PROTemplateSyncConfig -Value New-PROTemplateSyncConfig Set-Alias -Name PRO-CreateTemplateSyncConfig -Value New-PROTemplateSyncConfig Set-Alias -Name Delete-PROComponent -Value Remove-PROComponent Set-Alias -Name PRO-DeleteComponent -Value Remove-PROComponent +Set-Alias -Name Delete-PRODeployment -Value Remove-PRODeployment +Set-Alias -Name PRO-DeleteDeployment -Value Remove-PRODeployment Set-Alias -Name Delete-PROEnvironmentAccountConnection -Value Remove-PROEnvironmentAccountConnection Set-Alias -Name PRO-DeleteEnvironmentAccountConnection -Value Remove-PROEnvironmentAccountConnection Set-Alias -Name Delete-PROEnvironment -Value Remove-PROEnvironment @@ -19454,6 +19461,7 @@ Set-Alias -Name PRO-DeleteTemplateSyncConfig -Value Remove-PROTemplateSyncConfig Set-Alias -Name Get-PROAccountSettings -Value Get-PROAccountSetting Set-Alias -Name PRO-GetAccountSettings -Value Get-PROAccountSetting Set-Alias -Name PRO-GetComponent -Value Get-PROComponent +Set-Alias -Name PRO-GetDeployment -Value Get-PRODeployment Set-Alias -Name PRO-GetEnvironmentAccountConnection -Value Get-PROEnvironmentAccountConnection Set-Alias -Name PRO-GetEnvironment -Value Get-PROEnvironment Set-Alias -Name PRO-GetEnvironmentTemplate -Value Get-PROEnvironmentTemplate @@ -19479,6 +19487,9 @@ Set-Alias -Name PRO-ListComponentProvisionedResources -Value Get-PROComponentPro Set-Alias -Name List-PROComponents -Value Get-PROComponentList Set-Alias -Name List-PROComponentList -Value Get-PROComponentList Set-Alias -Name PRO-ListComponents -Value Get-PROComponentList +Set-Alias -Name List-PRODeployments -Value Get-PRODeploymentList +Set-Alias -Name List-PRODeploymentList -Value Get-PRODeploymentList +Set-Alias -Name PRO-ListDeployments -Value Get-PRODeploymentList Set-Alias -Name List-PROEnvironmentAccountConnections -Value Get-PROEnvironmentAccountConnectionList Set-Alias -Name List-PROEnvironmentAccountConnectionList -Value Get-PROEnvironmentAccountConnectionList Set-Alias -Name PRO-ListEnvironmentAccountConnections -Value Get-PROEnvironmentAccountConnectionList diff --git a/modules/AWSPowerShell/AWSPowerShellCompleters.psm1 b/modules/AWSPowerShell/AWSPowerShellCompleters.psm1 index d0c1ff3899..7d434f4de1 100644 --- a/modules/AWSPowerShell/AWSPowerShellCompleters.psm1 +++ b/modules/AWSPowerShell/AWSPowerShellCompleters.psm1 @@ -14251,7 +14251,9 @@ $CONN_SelectMap = @{ "Remove-CONNInstance", "Remove-CONNIntegrationAssociation", "Remove-CONNPrompt", + "Remove-CONNQueue", "Remove-CONNQuickConnect", + "Remove-CONNRoutingProfile", "Remove-CONNRule", "Remove-CONNSecurityProfile", "Remove-CONNTaskTemplate", @@ -17055,6 +17057,16 @@ $DMS_Completers = { break } + # Amazon.DatabaseMigrationService.DatabaseMode + { + ($_ -eq "Edit-DMSEndpoint/PostgreSQLSettings_DatabaseMode") -Or + ($_ -eq "New-DMSEndpoint/PostgreSQLSettings_DatabaseMode") + } + { + $v = "babelfish","default" + break + } + # Amazon.DatabaseMigrationService.DataFormatValue { ($_ -eq "Edit-DMSEndpoint/S3Settings_DataFormat") -Or @@ -17325,6 +17337,7 @@ $DMS_map = @{ "MongoDbSettings_NestingLevel"=@("Edit-DMSEndpoint","New-DMSEndpoint") "MySQLSettings_TargetDbType"=@("Edit-DMSEndpoint","New-DMSEndpoint") "OracleSettings_CharLengthSemantics"=@("Edit-DMSEndpoint","New-DMSEndpoint") + "PostgreSQLSettings_DatabaseMode"=@("Edit-DMSEndpoint","New-DMSEndpoint") "PostgreSQLSettings_MapLongVarcharAs"=@("Edit-DMSEndpoint","New-DMSEndpoint") "PostgreSQLSettings_PluginName"=@("Edit-DMSEndpoint","New-DMSEndpoint") "RedisSettings_AuthType"=@("Edit-DMSEndpoint","New-DMSEndpoint") @@ -19248,7 +19261,7 @@ $EC2_Completers = { ($_ -eq "Request-EC2SpotInstance/LaunchSpecification_InstanceType") } { - $v = "a1.2xlarge","a1.4xlarge","a1.large","a1.medium","a1.metal","a1.xlarge","c1.medium","c1.xlarge","c3.2xlarge","c3.4xlarge","c3.8xlarge","c3.large","c3.xlarge","c4.2xlarge","c4.4xlarge","c4.8xlarge","c4.large","c4.xlarge","c5.12xlarge","c5.18xlarge","c5.24xlarge","c5.2xlarge","c5.4xlarge","c5.9xlarge","c5.large","c5.metal","c5.xlarge","c5a.12xlarge","c5a.16xlarge","c5a.24xlarge","c5a.2xlarge","c5a.4xlarge","c5a.8xlarge","c5a.large","c5a.xlarge","c5ad.12xlarge","c5ad.16xlarge","c5ad.24xlarge","c5ad.2xlarge","c5ad.4xlarge","c5ad.8xlarge","c5ad.large","c5ad.xlarge","c5d.12xlarge","c5d.18xlarge","c5d.24xlarge","c5d.2xlarge","c5d.4xlarge","c5d.9xlarge","c5d.large","c5d.metal","c5d.xlarge","c5n.18xlarge","c5n.2xlarge","c5n.4xlarge","c5n.9xlarge","c5n.large","c5n.metal","c5n.xlarge","c6a.12xlarge","c6a.16xlarge","c6a.24xlarge","c6a.2xlarge","c6a.32xlarge","c6a.48xlarge","c6a.4xlarge","c6a.8xlarge","c6a.large","c6a.metal","c6a.xlarge","c6g.12xlarge","c6g.16xlarge","c6g.2xlarge","c6g.4xlarge","c6g.8xlarge","c6g.large","c6g.medium","c6g.metal","c6g.xlarge","c6gd.12xlarge","c6gd.16xlarge","c6gd.2xlarge","c6gd.4xlarge","c6gd.8xlarge","c6gd.large","c6gd.medium","c6gd.metal","c6gd.xlarge","c6gn.12xlarge","c6gn.16xlarge","c6gn.2xlarge","c6gn.4xlarge","c6gn.8xlarge","c6gn.large","c6gn.medium","c6gn.xlarge","c6i.12xlarge","c6i.16xlarge","c6i.24xlarge","c6i.2xlarge","c6i.32xlarge","c6i.4xlarge","c6i.8xlarge","c6i.large","c6i.metal","c6i.xlarge","c6id.12xlarge","c6id.16xlarge","c6id.24xlarge","c6id.2xlarge","c6id.32xlarge","c6id.4xlarge","c6id.8xlarge","c6id.large","c6id.metal","c6id.xlarge","c6in.12xlarge","c6in.16xlarge","c6in.24xlarge","c6in.2xlarge","c6in.32xlarge","c6in.4xlarge","c6in.8xlarge","c6in.large","c6in.metal","c6in.xlarge","c7g.12xlarge","c7g.16xlarge","c7g.2xlarge","c7g.4xlarge","c7g.8xlarge","c7g.large","c7g.medium","c7g.metal","c7g.xlarge","cc1.4xlarge","cc2.8xlarge","cg1.4xlarge","cr1.8xlarge","d2.2xlarge","d2.4xlarge","d2.8xlarge","d2.xlarge","d3.2xlarge","d3.4xlarge","d3.8xlarge","d3.xlarge","d3en.12xlarge","d3en.2xlarge","d3en.4xlarge","d3en.6xlarge","d3en.8xlarge","d3en.xlarge","dl1.24xlarge","f1.16xlarge","f1.2xlarge","f1.4xlarge","g2.2xlarge","g2.8xlarge","g3.16xlarge","g3.4xlarge","g3.8xlarge","g3s.xlarge","g4ad.16xlarge","g4ad.2xlarge","g4ad.4xlarge","g4ad.8xlarge","g4ad.xlarge","g4dn.12xlarge","g4dn.16xlarge","g4dn.2xlarge","g4dn.4xlarge","g4dn.8xlarge","g4dn.metal","g4dn.xlarge","g5.12xlarge","g5.16xlarge","g5.24xlarge","g5.2xlarge","g5.48xlarge","g5.4xlarge","g5.8xlarge","g5.xlarge","g5g.16xlarge","g5g.2xlarge","g5g.4xlarge","g5g.8xlarge","g5g.metal","g5g.xlarge","h1.16xlarge","h1.2xlarge","h1.4xlarge","h1.8xlarge","hi1.4xlarge","hpc6a.48xlarge","hpc6id.32xlarge","hs1.8xlarge","i2.2xlarge","i2.4xlarge","i2.8xlarge","i2.xlarge","i3.16xlarge","i3.2xlarge","i3.4xlarge","i3.8xlarge","i3.large","i3.metal","i3.xlarge","i3en.12xlarge","i3en.24xlarge","i3en.2xlarge","i3en.3xlarge","i3en.6xlarge","i3en.large","i3en.metal","i3en.xlarge","i4g.16xlarge","i4g.2xlarge","i4g.4xlarge","i4g.8xlarge","i4g.large","i4g.xlarge","i4i.16xlarge","i4i.2xlarge","i4i.32xlarge","i4i.4xlarge","i4i.8xlarge","i4i.large","i4i.metal","i4i.xlarge","im4gn.16xlarge","im4gn.2xlarge","im4gn.4xlarge","im4gn.8xlarge","im4gn.large","im4gn.xlarge","inf1.24xlarge","inf1.2xlarge","inf1.6xlarge","inf1.xlarge","inf2.24xlarge","inf2.48xlarge","inf2.8xlarge","inf2.xlarge","is4gen.2xlarge","is4gen.4xlarge","is4gen.8xlarge","is4gen.large","is4gen.medium","is4gen.xlarge","m1.large","m1.medium","m1.small","m1.xlarge","m2.2xlarge","m2.4xlarge","m2.xlarge","m3.2xlarge","m3.large","m3.medium","m3.xlarge","m4.10xlarge","m4.16xlarge","m4.2xlarge","m4.4xlarge","m4.large","m4.xlarge","m5.12xlarge","m5.16xlarge","m5.24xlarge","m5.2xlarge","m5.4xlarge","m5.8xlarge","m5.large","m5.metal","m5.xlarge","m5a.12xlarge","m5a.16xlarge","m5a.24xlarge","m5a.2xlarge","m5a.4xlarge","m5a.8xlarge","m5a.large","m5a.xlarge","m5ad.12xlarge","m5ad.16xlarge","m5ad.24xlarge","m5ad.2xlarge","m5ad.4xlarge","m5ad.8xlarge","m5ad.large","m5ad.xlarge","m5d.12xlarge","m5d.16xlarge","m5d.24xlarge","m5d.2xlarge","m5d.4xlarge","m5d.8xlarge","m5d.large","m5d.metal","m5d.xlarge","m5dn.12xlarge","m5dn.16xlarge","m5dn.24xlarge","m5dn.2xlarge","m5dn.4xlarge","m5dn.8xlarge","m5dn.large","m5dn.metal","m5dn.xlarge","m5n.12xlarge","m5n.16xlarge","m5n.24xlarge","m5n.2xlarge","m5n.4xlarge","m5n.8xlarge","m5n.large","m5n.metal","m5n.xlarge","m5zn.12xlarge","m5zn.2xlarge","m5zn.3xlarge","m5zn.6xlarge","m5zn.large","m5zn.metal","m5zn.xlarge","m6a.12xlarge","m6a.16xlarge","m6a.24xlarge","m6a.2xlarge","m6a.32xlarge","m6a.48xlarge","m6a.4xlarge","m6a.8xlarge","m6a.large","m6a.metal","m6a.xlarge","m6g.12xlarge","m6g.16xlarge","m6g.2xlarge","m6g.4xlarge","m6g.8xlarge","m6g.large","m6g.medium","m6g.metal","m6g.xlarge","m6gd.12xlarge","m6gd.16xlarge","m6gd.2xlarge","m6gd.4xlarge","m6gd.8xlarge","m6gd.large","m6gd.medium","m6gd.metal","m6gd.xlarge","m6i.12xlarge","m6i.16xlarge","m6i.24xlarge","m6i.2xlarge","m6i.32xlarge","m6i.4xlarge","m6i.8xlarge","m6i.large","m6i.metal","m6i.xlarge","m6id.12xlarge","m6id.16xlarge","m6id.24xlarge","m6id.2xlarge","m6id.32xlarge","m6id.4xlarge","m6id.8xlarge","m6id.large","m6id.metal","m6id.xlarge","m6idn.12xlarge","m6idn.16xlarge","m6idn.24xlarge","m6idn.2xlarge","m6idn.32xlarge","m6idn.4xlarge","m6idn.8xlarge","m6idn.large","m6idn.metal","m6idn.xlarge","m6in.12xlarge","m6in.16xlarge","m6in.24xlarge","m6in.2xlarge","m6in.32xlarge","m6in.4xlarge","m6in.8xlarge","m6in.large","m6in.metal","m6in.xlarge","m7g.12xlarge","m7g.16xlarge","m7g.2xlarge","m7g.4xlarge","m7g.8xlarge","m7g.large","m7g.medium","m7g.metal","m7g.xlarge","mac1.metal","mac2.metal","p2.16xlarge","p2.8xlarge","p2.xlarge","p3.16xlarge","p3.2xlarge","p3.8xlarge","p3dn.24xlarge","p4d.24xlarge","p4de.24xlarge","r3.2xlarge","r3.4xlarge","r3.8xlarge","r3.large","r3.xlarge","r4.16xlarge","r4.2xlarge","r4.4xlarge","r4.8xlarge","r4.large","r4.xlarge","r5.12xlarge","r5.16xlarge","r5.24xlarge","r5.2xlarge","r5.4xlarge","r5.8xlarge","r5.large","r5.metal","r5.xlarge","r5a.12xlarge","r5a.16xlarge","r5a.24xlarge","r5a.2xlarge","r5a.4xlarge","r5a.8xlarge","r5a.large","r5a.xlarge","r5ad.12xlarge","r5ad.16xlarge","r5ad.24xlarge","r5ad.2xlarge","r5ad.4xlarge","r5ad.8xlarge","r5ad.large","r5ad.xlarge","r5b.12xlarge","r5b.16xlarge","r5b.24xlarge","r5b.2xlarge","r5b.4xlarge","r5b.8xlarge","r5b.large","r5b.metal","r5b.xlarge","r5d.12xlarge","r5d.16xlarge","r5d.24xlarge","r5d.2xlarge","r5d.4xlarge","r5d.8xlarge","r5d.large","r5d.metal","r5d.xlarge","r5dn.12xlarge","r5dn.16xlarge","r5dn.24xlarge","r5dn.2xlarge","r5dn.4xlarge","r5dn.8xlarge","r5dn.large","r5dn.metal","r5dn.xlarge","r5n.12xlarge","r5n.16xlarge","r5n.24xlarge","r5n.2xlarge","r5n.4xlarge","r5n.8xlarge","r5n.large","r5n.metal","r5n.xlarge","r6a.12xlarge","r6a.16xlarge","r6a.24xlarge","r6a.2xlarge","r6a.32xlarge","r6a.48xlarge","r6a.4xlarge","r6a.8xlarge","r6a.large","r6a.metal","r6a.xlarge","r6g.12xlarge","r6g.16xlarge","r6g.2xlarge","r6g.4xlarge","r6g.8xlarge","r6g.large","r6g.medium","r6g.metal","r6g.xlarge","r6gd.12xlarge","r6gd.16xlarge","r6gd.2xlarge","r6gd.4xlarge","r6gd.8xlarge","r6gd.large","r6gd.medium","r6gd.metal","r6gd.xlarge","r6i.12xlarge","r6i.16xlarge","r6i.24xlarge","r6i.2xlarge","r6i.32xlarge","r6i.4xlarge","r6i.8xlarge","r6i.large","r6i.metal","r6i.xlarge","r6id.12xlarge","r6id.16xlarge","r6id.24xlarge","r6id.2xlarge","r6id.32xlarge","r6id.4xlarge","r6id.8xlarge","r6id.large","r6id.metal","r6id.xlarge","r6idn.12xlarge","r6idn.16xlarge","r6idn.24xlarge","r6idn.2xlarge","r6idn.32xlarge","r6idn.4xlarge","r6idn.8xlarge","r6idn.large","r6idn.metal","r6idn.xlarge","r6in.12xlarge","r6in.16xlarge","r6in.24xlarge","r6in.2xlarge","r6in.32xlarge","r6in.4xlarge","r6in.8xlarge","r6in.large","r6in.metal","r6in.xlarge","r7g.12xlarge","r7g.16xlarge","r7g.2xlarge","r7g.4xlarge","r7g.8xlarge","r7g.large","r7g.medium","r7g.metal","r7g.xlarge","t1.micro","t2.2xlarge","t2.large","t2.medium","t2.micro","t2.nano","t2.small","t2.xlarge","t3.2xlarge","t3.large","t3.medium","t3.micro","t3.nano","t3.small","t3.xlarge","t3a.2xlarge","t3a.large","t3a.medium","t3a.micro","t3a.nano","t3a.small","t3a.xlarge","t4g.2xlarge","t4g.large","t4g.medium","t4g.micro","t4g.nano","t4g.small","t4g.xlarge","trn1.2xlarge","trn1.32xlarge","trn1n.32xlarge","u-12tb1.112xlarge","u-12tb1.metal","u-18tb1.112xlarge","u-18tb1.metal","u-24tb1.112xlarge","u-24tb1.metal","u-3tb1.56xlarge","u-6tb1.112xlarge","u-6tb1.56xlarge","u-6tb1.metal","u-9tb1.112xlarge","u-9tb1.metal","vt1.24xlarge","vt1.3xlarge","vt1.6xlarge","x1.16xlarge","x1.32xlarge","x1e.16xlarge","x1e.2xlarge","x1e.32xlarge","x1e.4xlarge","x1e.8xlarge","x1e.xlarge","x2gd.12xlarge","x2gd.16xlarge","x2gd.2xlarge","x2gd.4xlarge","x2gd.8xlarge","x2gd.large","x2gd.medium","x2gd.metal","x2gd.xlarge","x2idn.16xlarge","x2idn.24xlarge","x2idn.32xlarge","x2idn.metal","x2iedn.16xlarge","x2iedn.24xlarge","x2iedn.2xlarge","x2iedn.32xlarge","x2iedn.4xlarge","x2iedn.8xlarge","x2iedn.metal","x2iedn.xlarge","x2iezn.12xlarge","x2iezn.2xlarge","x2iezn.4xlarge","x2iezn.6xlarge","x2iezn.8xlarge","x2iezn.metal","z1d.12xlarge","z1d.2xlarge","z1d.3xlarge","z1d.6xlarge","z1d.large","z1d.metal","z1d.xlarge" + $v = "a1.2xlarge","a1.4xlarge","a1.large","a1.medium","a1.metal","a1.xlarge","c1.medium","c1.xlarge","c3.2xlarge","c3.4xlarge","c3.8xlarge","c3.large","c3.xlarge","c4.2xlarge","c4.4xlarge","c4.8xlarge","c4.large","c4.xlarge","c5.12xlarge","c5.18xlarge","c5.24xlarge","c5.2xlarge","c5.4xlarge","c5.9xlarge","c5.large","c5.metal","c5.xlarge","c5a.12xlarge","c5a.16xlarge","c5a.24xlarge","c5a.2xlarge","c5a.4xlarge","c5a.8xlarge","c5a.large","c5a.xlarge","c5ad.12xlarge","c5ad.16xlarge","c5ad.24xlarge","c5ad.2xlarge","c5ad.4xlarge","c5ad.8xlarge","c5ad.large","c5ad.xlarge","c5d.12xlarge","c5d.18xlarge","c5d.24xlarge","c5d.2xlarge","c5d.4xlarge","c5d.9xlarge","c5d.large","c5d.metal","c5d.xlarge","c5n.18xlarge","c5n.2xlarge","c5n.4xlarge","c5n.9xlarge","c5n.large","c5n.metal","c5n.xlarge","c6a.12xlarge","c6a.16xlarge","c6a.24xlarge","c6a.2xlarge","c6a.32xlarge","c6a.48xlarge","c6a.4xlarge","c6a.8xlarge","c6a.large","c6a.metal","c6a.xlarge","c6g.12xlarge","c6g.16xlarge","c6g.2xlarge","c6g.4xlarge","c6g.8xlarge","c6g.large","c6g.medium","c6g.metal","c6g.xlarge","c6gd.12xlarge","c6gd.16xlarge","c6gd.2xlarge","c6gd.4xlarge","c6gd.8xlarge","c6gd.large","c6gd.medium","c6gd.metal","c6gd.xlarge","c6gn.12xlarge","c6gn.16xlarge","c6gn.2xlarge","c6gn.4xlarge","c6gn.8xlarge","c6gn.large","c6gn.medium","c6gn.xlarge","c6i.12xlarge","c6i.16xlarge","c6i.24xlarge","c6i.2xlarge","c6i.32xlarge","c6i.4xlarge","c6i.8xlarge","c6i.large","c6i.metal","c6i.xlarge","c6id.12xlarge","c6id.16xlarge","c6id.24xlarge","c6id.2xlarge","c6id.32xlarge","c6id.4xlarge","c6id.8xlarge","c6id.large","c6id.metal","c6id.xlarge","c6in.12xlarge","c6in.16xlarge","c6in.24xlarge","c6in.2xlarge","c6in.32xlarge","c6in.4xlarge","c6in.8xlarge","c6in.large","c6in.metal","c6in.xlarge","c7g.12xlarge","c7g.16xlarge","c7g.2xlarge","c7g.4xlarge","c7g.8xlarge","c7g.large","c7g.medium","c7g.metal","c7g.xlarge","c7gn.12xlarge","c7gn.16xlarge","c7gn.2xlarge","c7gn.4xlarge","c7gn.8xlarge","c7gn.large","c7gn.medium","c7gn.xlarge","cc1.4xlarge","cc2.8xlarge","cg1.4xlarge","cr1.8xlarge","d2.2xlarge","d2.4xlarge","d2.8xlarge","d2.xlarge","d3.2xlarge","d3.4xlarge","d3.8xlarge","d3.xlarge","d3en.12xlarge","d3en.2xlarge","d3en.4xlarge","d3en.6xlarge","d3en.8xlarge","d3en.xlarge","dl1.24xlarge","f1.16xlarge","f1.2xlarge","f1.4xlarge","g2.2xlarge","g2.8xlarge","g3.16xlarge","g3.4xlarge","g3.8xlarge","g3s.xlarge","g4ad.16xlarge","g4ad.2xlarge","g4ad.4xlarge","g4ad.8xlarge","g4ad.xlarge","g4dn.12xlarge","g4dn.16xlarge","g4dn.2xlarge","g4dn.4xlarge","g4dn.8xlarge","g4dn.metal","g4dn.xlarge","g5.12xlarge","g5.16xlarge","g5.24xlarge","g5.2xlarge","g5.48xlarge","g5.4xlarge","g5.8xlarge","g5.xlarge","g5g.16xlarge","g5g.2xlarge","g5g.4xlarge","g5g.8xlarge","g5g.metal","g5g.xlarge","h1.16xlarge","h1.2xlarge","h1.4xlarge","h1.8xlarge","hi1.4xlarge","hpc6a.48xlarge","hpc6id.32xlarge","hpc7g.16xlarge","hpc7g.4xlarge","hpc7g.8xlarge","hs1.8xlarge","i2.2xlarge","i2.4xlarge","i2.8xlarge","i2.xlarge","i3.16xlarge","i3.2xlarge","i3.4xlarge","i3.8xlarge","i3.large","i3.metal","i3.xlarge","i3en.12xlarge","i3en.24xlarge","i3en.2xlarge","i3en.3xlarge","i3en.6xlarge","i3en.large","i3en.metal","i3en.xlarge","i4g.16xlarge","i4g.2xlarge","i4g.4xlarge","i4g.8xlarge","i4g.large","i4g.xlarge","i4i.16xlarge","i4i.2xlarge","i4i.32xlarge","i4i.4xlarge","i4i.8xlarge","i4i.large","i4i.metal","i4i.xlarge","im4gn.16xlarge","im4gn.2xlarge","im4gn.4xlarge","im4gn.8xlarge","im4gn.large","im4gn.xlarge","inf1.24xlarge","inf1.2xlarge","inf1.6xlarge","inf1.xlarge","inf2.24xlarge","inf2.48xlarge","inf2.8xlarge","inf2.xlarge","is4gen.2xlarge","is4gen.4xlarge","is4gen.8xlarge","is4gen.large","is4gen.medium","is4gen.xlarge","m1.large","m1.medium","m1.small","m1.xlarge","m2.2xlarge","m2.4xlarge","m2.xlarge","m3.2xlarge","m3.large","m3.medium","m3.xlarge","m4.10xlarge","m4.16xlarge","m4.2xlarge","m4.4xlarge","m4.large","m4.xlarge","m5.12xlarge","m5.16xlarge","m5.24xlarge","m5.2xlarge","m5.4xlarge","m5.8xlarge","m5.large","m5.metal","m5.xlarge","m5a.12xlarge","m5a.16xlarge","m5a.24xlarge","m5a.2xlarge","m5a.4xlarge","m5a.8xlarge","m5a.large","m5a.xlarge","m5ad.12xlarge","m5ad.16xlarge","m5ad.24xlarge","m5ad.2xlarge","m5ad.4xlarge","m5ad.8xlarge","m5ad.large","m5ad.xlarge","m5d.12xlarge","m5d.16xlarge","m5d.24xlarge","m5d.2xlarge","m5d.4xlarge","m5d.8xlarge","m5d.large","m5d.metal","m5d.xlarge","m5dn.12xlarge","m5dn.16xlarge","m5dn.24xlarge","m5dn.2xlarge","m5dn.4xlarge","m5dn.8xlarge","m5dn.large","m5dn.metal","m5dn.xlarge","m5n.12xlarge","m5n.16xlarge","m5n.24xlarge","m5n.2xlarge","m5n.4xlarge","m5n.8xlarge","m5n.large","m5n.metal","m5n.xlarge","m5zn.12xlarge","m5zn.2xlarge","m5zn.3xlarge","m5zn.6xlarge","m5zn.large","m5zn.metal","m5zn.xlarge","m6a.12xlarge","m6a.16xlarge","m6a.24xlarge","m6a.2xlarge","m6a.32xlarge","m6a.48xlarge","m6a.4xlarge","m6a.8xlarge","m6a.large","m6a.metal","m6a.xlarge","m6g.12xlarge","m6g.16xlarge","m6g.2xlarge","m6g.4xlarge","m6g.8xlarge","m6g.large","m6g.medium","m6g.metal","m6g.xlarge","m6gd.12xlarge","m6gd.16xlarge","m6gd.2xlarge","m6gd.4xlarge","m6gd.8xlarge","m6gd.large","m6gd.medium","m6gd.metal","m6gd.xlarge","m6i.12xlarge","m6i.16xlarge","m6i.24xlarge","m6i.2xlarge","m6i.32xlarge","m6i.4xlarge","m6i.8xlarge","m6i.large","m6i.metal","m6i.xlarge","m6id.12xlarge","m6id.16xlarge","m6id.24xlarge","m6id.2xlarge","m6id.32xlarge","m6id.4xlarge","m6id.8xlarge","m6id.large","m6id.metal","m6id.xlarge","m6idn.12xlarge","m6idn.16xlarge","m6idn.24xlarge","m6idn.2xlarge","m6idn.32xlarge","m6idn.4xlarge","m6idn.8xlarge","m6idn.large","m6idn.metal","m6idn.xlarge","m6in.12xlarge","m6in.16xlarge","m6in.24xlarge","m6in.2xlarge","m6in.32xlarge","m6in.4xlarge","m6in.8xlarge","m6in.large","m6in.metal","m6in.xlarge","m7g.12xlarge","m7g.16xlarge","m7g.2xlarge","m7g.4xlarge","m7g.8xlarge","m7g.large","m7g.medium","m7g.metal","m7g.xlarge","mac1.metal","mac2.metal","p2.16xlarge","p2.8xlarge","p2.xlarge","p3.16xlarge","p3.2xlarge","p3.8xlarge","p3dn.24xlarge","p4d.24xlarge","p4de.24xlarge","r3.2xlarge","r3.4xlarge","r3.8xlarge","r3.large","r3.xlarge","r4.16xlarge","r4.2xlarge","r4.4xlarge","r4.8xlarge","r4.large","r4.xlarge","r5.12xlarge","r5.16xlarge","r5.24xlarge","r5.2xlarge","r5.4xlarge","r5.8xlarge","r5.large","r5.metal","r5.xlarge","r5a.12xlarge","r5a.16xlarge","r5a.24xlarge","r5a.2xlarge","r5a.4xlarge","r5a.8xlarge","r5a.large","r5a.xlarge","r5ad.12xlarge","r5ad.16xlarge","r5ad.24xlarge","r5ad.2xlarge","r5ad.4xlarge","r5ad.8xlarge","r5ad.large","r5ad.xlarge","r5b.12xlarge","r5b.16xlarge","r5b.24xlarge","r5b.2xlarge","r5b.4xlarge","r5b.8xlarge","r5b.large","r5b.metal","r5b.xlarge","r5d.12xlarge","r5d.16xlarge","r5d.24xlarge","r5d.2xlarge","r5d.4xlarge","r5d.8xlarge","r5d.large","r5d.metal","r5d.xlarge","r5dn.12xlarge","r5dn.16xlarge","r5dn.24xlarge","r5dn.2xlarge","r5dn.4xlarge","r5dn.8xlarge","r5dn.large","r5dn.metal","r5dn.xlarge","r5n.12xlarge","r5n.16xlarge","r5n.24xlarge","r5n.2xlarge","r5n.4xlarge","r5n.8xlarge","r5n.large","r5n.metal","r5n.xlarge","r6a.12xlarge","r6a.16xlarge","r6a.24xlarge","r6a.2xlarge","r6a.32xlarge","r6a.48xlarge","r6a.4xlarge","r6a.8xlarge","r6a.large","r6a.metal","r6a.xlarge","r6g.12xlarge","r6g.16xlarge","r6g.2xlarge","r6g.4xlarge","r6g.8xlarge","r6g.large","r6g.medium","r6g.metal","r6g.xlarge","r6gd.12xlarge","r6gd.16xlarge","r6gd.2xlarge","r6gd.4xlarge","r6gd.8xlarge","r6gd.large","r6gd.medium","r6gd.metal","r6gd.xlarge","r6i.12xlarge","r6i.16xlarge","r6i.24xlarge","r6i.2xlarge","r6i.32xlarge","r6i.4xlarge","r6i.8xlarge","r6i.large","r6i.metal","r6i.xlarge","r6id.12xlarge","r6id.16xlarge","r6id.24xlarge","r6id.2xlarge","r6id.32xlarge","r6id.4xlarge","r6id.8xlarge","r6id.large","r6id.metal","r6id.xlarge","r6idn.12xlarge","r6idn.16xlarge","r6idn.24xlarge","r6idn.2xlarge","r6idn.32xlarge","r6idn.4xlarge","r6idn.8xlarge","r6idn.large","r6idn.metal","r6idn.xlarge","r6in.12xlarge","r6in.16xlarge","r6in.24xlarge","r6in.2xlarge","r6in.32xlarge","r6in.4xlarge","r6in.8xlarge","r6in.large","r6in.metal","r6in.xlarge","r7g.12xlarge","r7g.16xlarge","r7g.2xlarge","r7g.4xlarge","r7g.8xlarge","r7g.large","r7g.medium","r7g.metal","r7g.xlarge","t1.micro","t2.2xlarge","t2.large","t2.medium","t2.micro","t2.nano","t2.small","t2.xlarge","t3.2xlarge","t3.large","t3.medium","t3.micro","t3.nano","t3.small","t3.xlarge","t3a.2xlarge","t3a.large","t3a.medium","t3a.micro","t3a.nano","t3a.small","t3a.xlarge","t4g.2xlarge","t4g.large","t4g.medium","t4g.micro","t4g.nano","t4g.small","t4g.xlarge","trn1.2xlarge","trn1.32xlarge","trn1n.32xlarge","u-12tb1.112xlarge","u-12tb1.metal","u-18tb1.112xlarge","u-18tb1.metal","u-24tb1.112xlarge","u-24tb1.metal","u-3tb1.56xlarge","u-6tb1.112xlarge","u-6tb1.56xlarge","u-6tb1.metal","u-9tb1.112xlarge","u-9tb1.metal","vt1.24xlarge","vt1.3xlarge","vt1.6xlarge","x1.16xlarge","x1.32xlarge","x1e.16xlarge","x1e.2xlarge","x1e.32xlarge","x1e.4xlarge","x1e.8xlarge","x1e.xlarge","x2gd.12xlarge","x2gd.16xlarge","x2gd.2xlarge","x2gd.4xlarge","x2gd.8xlarge","x2gd.large","x2gd.medium","x2gd.metal","x2gd.xlarge","x2idn.16xlarge","x2idn.24xlarge","x2idn.32xlarge","x2idn.metal","x2iedn.16xlarge","x2iedn.24xlarge","x2iedn.2xlarge","x2iedn.32xlarge","x2iedn.4xlarge","x2iedn.8xlarge","x2iedn.metal","x2iedn.xlarge","x2iezn.12xlarge","x2iezn.2xlarge","x2iezn.4xlarge","x2iezn.6xlarge","x2iezn.8xlarge","x2iezn.metal","z1d.12xlarge","z1d.2xlarge","z1d.3xlarge","z1d.6xlarge","z1d.large","z1d.metal","z1d.xlarge" break } @@ -25003,6 +25016,17 @@ $FSX_Completers = { switch ($("$commandName/$parameterName")) { + # Amazon.FSx.AutocommitPeriodType + { + ($_ -eq "New-FSXVolume/OntapConfiguration_SnaplockConfiguration_AutocommitPeriod_Type") -Or + ($_ -eq "New-FSXVolumeFromBackup/OntapConfiguration_SnaplockConfiguration_AutocommitPeriod_Type") -Or + ($_ -eq "Update-FSXVolume/OntapConfiguration_SnaplockConfiguration_AutocommitPeriod_Type") + } + { + $v = "DAYS","HOURS","MINUTES","MONTHS","NONE","YEARS" + break + } + # Amazon.FSx.DataRepositoryTaskType "New-FSXDataRepositoryTask/Type" { @@ -25090,6 +25114,17 @@ $FSX_Completers = { break } + # Amazon.FSx.PrivilegedDelete + { + ($_ -eq "New-FSXVolume/OntapConfiguration_SnaplockConfiguration_PrivilegedDelete") -Or + ($_ -eq "New-FSXVolumeFromBackup/OntapConfiguration_SnaplockConfiguration_PrivilegedDelete") -Or + ($_ -eq "Update-FSXVolume/OntapConfiguration_SnaplockConfiguration_PrivilegedDelete") + } + { + $v = "DISABLED","ENABLED","PERMANENTLY_DISABLED" + break + } + # Amazon.FSx.ReportFormat "New-FSXDataRepositoryTask/Report_Format" { @@ -25104,6 +25139,23 @@ $FSX_Completers = { break } + # Amazon.FSx.RetentionPeriodType + { + ($_ -eq "New-FSXVolume/OntapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_Type") -Or + ($_ -eq "New-FSXVolumeFromBackup/OntapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_Type") -Or + ($_ -eq "Update-FSXVolume/OntapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_Type") -Or + ($_ -eq "New-FSXVolume/OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_Type") -Or + ($_ -eq "New-FSXVolumeFromBackup/OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_Type") -Or + ($_ -eq "Update-FSXVolume/OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_Type") -Or + ($_ -eq "New-FSXVolume/OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_Type") -Or + ($_ -eq "New-FSXVolumeFromBackup/OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_Type") -Or + ($_ -eq "Update-FSXVolume/OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_Type") + } + { + $v = "DAYS","HOURS","INFINITE","MINUTES","MONTHS","SECONDS","UNSPECIFIED","YEARS" + break + } + # Amazon.FSx.SecurityStyle { ($_ -eq "New-FSXVolume/OntapConfiguration_SecurityStyle") -Or @@ -25115,6 +25167,16 @@ $FSX_Completers = { break } + # Amazon.FSx.SnaplockType + { + ($_ -eq "New-FSXVolume/OntapConfiguration_SnaplockConfiguration_SnaplockType") -Or + ($_ -eq "New-FSXVolumeFromBackup/OntapConfiguration_SnaplockConfiguration_SnaplockType") + } + { + $v = "COMPLIANCE","ENTERPRISE" + break + } + # Amazon.FSx.StorageType { ($_ -eq "New-FSXFileSystem/StorageType") -Or @@ -25166,6 +25228,12 @@ $FSX_map = @{ "OntapConfiguration_DiskIopsConfiguration_Mode"=@("New-FSXFileSystem","Update-FSXFileSystem") "OntapConfiguration_OntapVolumeType"=@("New-FSXVolume","New-FSXVolumeFromBackup") "OntapConfiguration_SecurityStyle"=@("New-FSXVolume","New-FSXVolumeFromBackup","Update-FSXVolume") + "OntapConfiguration_SnaplockConfiguration_AutocommitPeriod_Type"=@("New-FSXVolume","New-FSXVolumeFromBackup","Update-FSXVolume") + "OntapConfiguration_SnaplockConfiguration_PrivilegedDelete"=@("New-FSXVolume","New-FSXVolumeFromBackup","Update-FSXVolume") + "OntapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_Type"=@("New-FSXVolume","New-FSXVolumeFromBackup","Update-FSXVolume") + "OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_Type"=@("New-FSXVolume","New-FSXVolumeFromBackup","Update-FSXVolume") + "OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_Type"=@("New-FSXVolume","New-FSXVolumeFromBackup","Update-FSXVolume") + "OntapConfiguration_SnaplockConfiguration_SnaplockType"=@("New-FSXVolume","New-FSXVolumeFromBackup") "OntapConfiguration_TieringPolicy_Name"=@("New-FSXVolume","New-FSXVolumeFromBackup","Update-FSXVolume") "OpenZFSConfiguration_DataCompressionType"=@("New-FSXVolume","Update-FSXVolume") "OpenZFSConfiguration_DeploymentType"=@("New-FSXFileSystem","New-FSXFileSystemFromBackup") @@ -44191,6 +44259,7 @@ $PERS_SelectMap = @{ "Add-PERSResourceTag", "Remove-PERSResourceTag", "Update-PERSCampaign", + "Update-PERSDataset", "Update-PERSMetricAttribution", "Update-PERSRecommender") } @@ -45948,6 +46017,7 @@ $PRO_SelectMap = @{ "New-PROServiceTemplateVersion", "New-PROTemplateSyncConfig", "Remove-PROComponent", + "Remove-PRODeployment", "Remove-PROEnvironment", "Remove-PROEnvironmentAccountConnection", "Remove-PROEnvironmentTemplate", @@ -45960,6 +46030,7 @@ $PRO_SelectMap = @{ "Remove-PROTemplateSyncConfig", "Get-PROAccountSetting", "Get-PROComponent", + "Get-PRODeployment", "Get-PROEnvironment", "Get-PROEnvironmentAccountConnection", "Get-PROEnvironmentTemplate", @@ -45979,6 +46050,7 @@ $PRO_SelectMap = @{ "Get-PROComponentOutputList", "Get-PROComponentProvisionedResourceList", "Get-PROComponentList", + "Get-PRODeploymentList", "Get-PROEnvironmentAccountConnectionList", "Get-PROEnvironmentOutputList", "Get-PROEnvironmentProvisionedResourceList", diff --git a/modules/AWSPowerShell/Cmdlets/Connect/AWS.Tools.Connect.Completers.psm1 b/modules/AWSPowerShell/Cmdlets/Connect/AWS.Tools.Connect.Completers.psm1 index 7af13dcba7..142941f285 100644 --- a/modules/AWSPowerShell/Cmdlets/Connect/AWS.Tools.Connect.Completers.psm1 +++ b/modules/AWSPowerShell/Cmdlets/Connect/AWS.Tools.Connect.Completers.psm1 @@ -493,7 +493,9 @@ $CONN_SelectMap = @{ "Remove-CONNInstance", "Remove-CONNIntegrationAssociation", "Remove-CONNPrompt", + "Remove-CONNQueue", "Remove-CONNQuickConnect", + "Remove-CONNRoutingProfile", "Remove-CONNRule", "Remove-CONNSecurityProfile", "Remove-CONNTaskTemplate", diff --git a/modules/AWSPowerShell/Cmdlets/Connect/AWS.Tools.Connect.psd1 b/modules/AWSPowerShell/Cmdlets/Connect/AWS.Tools.Connect.psd1 index c4578664ab..c4a3dde529 100644 --- a/modules/AWSPowerShell/Cmdlets/Connect/AWS.Tools.Connect.psd1 +++ b/modules/AWSPowerShell/Cmdlets/Connect/AWS.Tools.Connect.psd1 @@ -203,9 +203,11 @@ This version of AWS Tools for PowerShell is compatible with Windows PowerShell 5 'Remove-CONNPhoneNumber', 'Remove-CONNPhoneNumberContactFlow', 'Remove-CONNPrompt', + 'Remove-CONNQueue', 'Remove-CONNQueueQuickConnect', 'Remove-CONNQuickConnect', 'Remove-CONNResourceTag', + 'Remove-CONNRoutingProfile', 'Remove-CONNRule', 'Remove-CONNSecurityKey', 'Remove-CONNSecurityProfile', diff --git a/modules/AWSPowerShell/Cmdlets/Connect/Basic/Remove-CONNQueue-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/Connect/Basic/Remove-CONNQueue-Cmdlet.cs new file mode 100644 index 0000000000..1f965a52a5 --- /dev/null +++ b/modules/AWSPowerShell/Cmdlets/Connect/Basic/Remove-CONNQueue-Cmdlet.cs @@ -0,0 +1,245 @@ +/******************************************************************************* + * Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"). You may not use + * this file except in compliance with the License. A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. + * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + * CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * ***************************************************************************** + * + * AWS Tools for Windows (TM) PowerShell (TM) + * + */ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using System.Text; +using Amazon.PowerShell.Common; +using Amazon.Runtime; +using Amazon.Connect; +using Amazon.Connect.Model; + +namespace Amazon.PowerShell.Cmdlets.CONN +{ + /// + /// Deletes a queue. + /// + [Cmdlet("Remove", "CONNQueue", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] + [OutputType("None")] + [AWSCmdlet("Calls the Amazon Connect Service DeleteQueue API operation.", Operation = new[] {"DeleteQueue"}, SelectReturnType = typeof(Amazon.Connect.Model.DeleteQueueResponse))] + [AWSCmdletOutput("None or Amazon.Connect.Model.DeleteQueueResponse", + "This cmdlet does not generate any output." + + "The service response (type Amazon.Connect.Model.DeleteQueueResponse) can be referenced from properties attached to the cmdlet entry in the $AWSHistory stack." + )] + public partial class RemoveCONNQueueCmdlet : AmazonConnectClientCmdlet, IExecutor + { + + #region Parameter InstanceId + /// + /// + /// The identifier of the Amazon Connect instance. You can find + /// the instance ID in the Amazon Resource Name (ARN) of the instance. + /// + /// + #if !MODULAR + [System.Management.Automation.Parameter(Position = 0, ValueFromPipelineByPropertyName = true, ValueFromPipeline = true)] + #else + [System.Management.Automation.Parameter(Position = 0, ValueFromPipelineByPropertyName = true, ValueFromPipeline = true, Mandatory = true)] + [System.Management.Automation.AllowEmptyString] + [System.Management.Automation.AllowNull] + #endif + [Amazon.PowerShell.Common.AWSRequiredParameter] + public System.String InstanceId { get; set; } + #endregion + + #region Parameter QueueId + /// + /// + /// The identifier for the queue. + /// + /// + #if !MODULAR + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + #else + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true)] + [System.Management.Automation.AllowEmptyString] + [System.Management.Automation.AllowNull] + #endif + [Amazon.PowerShell.Common.AWSRequiredParameter] + public System.String QueueId { get; set; } + #endregion + + #region Parameter Select + /// + /// Use the -Select parameter to control the cmdlet output. The cmdlet doesn't have a return value by default. + /// Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.Connect.Model.DeleteQueueResponse). + /// Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value. + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public string Select { get; set; } = "*"; + #endregion + + #region Parameter PassThru + /// + /// Changes the cmdlet behavior to return the value passed to the InstanceId parameter. + /// The -PassThru parameter is deprecated, use -Select '^InstanceId' instead. This parameter will be removed in a future version. + /// + [System.Obsolete("The -PassThru parameter is deprecated, use -Select '^InstanceId' instead. This parameter will be removed in a future version.")] + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public SwitchParameter PassThru { get; set; } + #endregion + + #region Parameter Force + /// + /// This parameter overrides confirmation prompts to force + /// the cmdlet to continue its operation. This parameter should always + /// be used with caution. + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public SwitchParameter Force { get; set; } + #endregion + + protected override void ProcessRecord() + { + this._AWSSignerType = "v4"; + base.ProcessRecord(); + + var resourceIdentifiersText = FormatParameterValuesForConfirmationMsg(nameof(this.InstanceId), MyInvocation.BoundParameters); + if (!ConfirmShouldProceed(this.Force.IsPresent, resourceIdentifiersText, "Remove-CONNQueue (DeleteQueue)")) + { + return; + } + + var context = new CmdletContext(); + + // allow for manipulation of parameters prior to loading into context + PreExecutionContextLoad(context); + + #pragma warning disable CS0618, CS0612 //A class member was marked with the Obsolete attribute + if (ParameterWasBound(nameof(this.Select))) + { + context.Select = CreateSelectDelegate(Select) ?? + throw new System.ArgumentException("Invalid value for -Select parameter.", nameof(this.Select)); + if (this.PassThru.IsPresent) + { + throw new System.ArgumentException("-PassThru cannot be used when -Select is specified.", nameof(this.Select)); + } + } + else if (this.PassThru.IsPresent) + { + context.Select = (response, cmdlet) => this.InstanceId; + } + #pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute + context.InstanceId = this.InstanceId; + #if MODULAR + if (this.InstanceId == null && ParameterWasBound(nameof(this.InstanceId))) + { + WriteWarning("You are passing $null as a value for parameter InstanceId which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues."); + } + #endif + context.QueueId = this.QueueId; + #if MODULAR + if (this.QueueId == null && ParameterWasBound(nameof(this.QueueId))) + { + WriteWarning("You are passing $null as a value for parameter QueueId which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues."); + } + #endif + + // allow further manipulation of loaded context prior to processing + PostExecutionContextLoad(context); + + var output = Execute(context) as CmdletOutput; + ProcessOutput(output); + } + + #region IExecutor Members + + public object Execute(ExecutorContext context) + { + var cmdletContext = context as CmdletContext; + // create request + var request = new Amazon.Connect.Model.DeleteQueueRequest(); + + if (cmdletContext.InstanceId != null) + { + request.InstanceId = cmdletContext.InstanceId; + } + if (cmdletContext.QueueId != null) + { + request.QueueId = cmdletContext.QueueId; + } + + CmdletOutput output; + + // issue call + var client = Client ?? CreateClient(_CurrentCredentials, _RegionEndpoint); + try + { + var response = CallAWSServiceOperation(client, request); + object pipelineOutput = null; + pipelineOutput = cmdletContext.Select(response, this); + output = new CmdletOutput + { + PipelineOutput = pipelineOutput, + ServiceResponse = response + }; + } + catch (Exception e) + { + output = new CmdletOutput { ErrorResponse = e }; + } + + return output; + } + + public ExecutorContext CreateContext() + { + return new CmdletContext(); + } + + #endregion + + #region AWS Service Operation Call + + private Amazon.Connect.Model.DeleteQueueResponse CallAWSServiceOperation(IAmazonConnect client, Amazon.Connect.Model.DeleteQueueRequest request) + { + Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Connect Service", "DeleteQueue"); + try + { + #if DESKTOP + return client.DeleteQueue(request); + #elif CORECLR + return client.DeleteQueueAsync(request).GetAwaiter().GetResult(); + #else + #error "Unknown build edition" + #endif + } + catch (AmazonServiceException exc) + { + var webException = exc.InnerException as System.Net.WebException; + if (webException != null) + { + throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException); + } + throw; + } + } + + #endregion + + internal partial class CmdletContext : ExecutorContext + { + public System.String InstanceId { get; set; } + public System.String QueueId { get; set; } + public System.Func Select { get; set; } = + (response, cmdlet) => null; + } + + } +} diff --git a/modules/AWSPowerShell/Cmdlets/Connect/Basic/Remove-CONNRoutingProfile-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/Connect/Basic/Remove-CONNRoutingProfile-Cmdlet.cs new file mode 100644 index 0000000000..9cd19ebf7b --- /dev/null +++ b/modules/AWSPowerShell/Cmdlets/Connect/Basic/Remove-CONNRoutingProfile-Cmdlet.cs @@ -0,0 +1,245 @@ +/******************************************************************************* + * Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"). You may not use + * this file except in compliance with the License. A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. + * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + * CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * ***************************************************************************** + * + * AWS Tools for Windows (TM) PowerShell (TM) + * + */ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using System.Text; +using Amazon.PowerShell.Common; +using Amazon.Runtime; +using Amazon.Connect; +using Amazon.Connect.Model; + +namespace Amazon.PowerShell.Cmdlets.CONN +{ + /// + /// Deletes a routing profile. + /// + [Cmdlet("Remove", "CONNRoutingProfile", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] + [OutputType("None")] + [AWSCmdlet("Calls the Amazon Connect Service DeleteRoutingProfile API operation.", Operation = new[] {"DeleteRoutingProfile"}, SelectReturnType = typeof(Amazon.Connect.Model.DeleteRoutingProfileResponse))] + [AWSCmdletOutput("None or Amazon.Connect.Model.DeleteRoutingProfileResponse", + "This cmdlet does not generate any output." + + "The service response (type Amazon.Connect.Model.DeleteRoutingProfileResponse) can be referenced from properties attached to the cmdlet entry in the $AWSHistory stack." + )] + public partial class RemoveCONNRoutingProfileCmdlet : AmazonConnectClientCmdlet, IExecutor + { + + #region Parameter InstanceId + /// + /// + /// The identifier of the Amazon Connect instance. You can find + /// the instance ID in the Amazon Resource Name (ARN) of the instance. + /// + /// + #if !MODULAR + [System.Management.Automation.Parameter(Position = 0, ValueFromPipelineByPropertyName = true, ValueFromPipeline = true)] + #else + [System.Management.Automation.Parameter(Position = 0, ValueFromPipelineByPropertyName = true, ValueFromPipeline = true, Mandatory = true)] + [System.Management.Automation.AllowEmptyString] + [System.Management.Automation.AllowNull] + #endif + [Amazon.PowerShell.Common.AWSRequiredParameter] + public System.String InstanceId { get; set; } + #endregion + + #region Parameter RoutingProfileId + /// + /// + /// The identifier of the routing profile. + /// + /// + #if !MODULAR + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + #else + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true)] + [System.Management.Automation.AllowEmptyString] + [System.Management.Automation.AllowNull] + #endif + [Amazon.PowerShell.Common.AWSRequiredParameter] + public System.String RoutingProfileId { get; set; } + #endregion + + #region Parameter Select + /// + /// Use the -Select parameter to control the cmdlet output. The cmdlet doesn't have a return value by default. + /// Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.Connect.Model.DeleteRoutingProfileResponse). + /// Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value. + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public string Select { get; set; } = "*"; + #endregion + + #region Parameter PassThru + /// + /// Changes the cmdlet behavior to return the value passed to the InstanceId parameter. + /// The -PassThru parameter is deprecated, use -Select '^InstanceId' instead. This parameter will be removed in a future version. + /// + [System.Obsolete("The -PassThru parameter is deprecated, use -Select '^InstanceId' instead. This parameter will be removed in a future version.")] + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public SwitchParameter PassThru { get; set; } + #endregion + + #region Parameter Force + /// + /// This parameter overrides confirmation prompts to force + /// the cmdlet to continue its operation. This parameter should always + /// be used with caution. + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public SwitchParameter Force { get; set; } + #endregion + + protected override void ProcessRecord() + { + this._AWSSignerType = "v4"; + base.ProcessRecord(); + + var resourceIdentifiersText = FormatParameterValuesForConfirmationMsg(nameof(this.InstanceId), MyInvocation.BoundParameters); + if (!ConfirmShouldProceed(this.Force.IsPresent, resourceIdentifiersText, "Remove-CONNRoutingProfile (DeleteRoutingProfile)")) + { + return; + } + + var context = new CmdletContext(); + + // allow for manipulation of parameters prior to loading into context + PreExecutionContextLoad(context); + + #pragma warning disable CS0618, CS0612 //A class member was marked with the Obsolete attribute + if (ParameterWasBound(nameof(this.Select))) + { + context.Select = CreateSelectDelegate(Select) ?? + throw new System.ArgumentException("Invalid value for -Select parameter.", nameof(this.Select)); + if (this.PassThru.IsPresent) + { + throw new System.ArgumentException("-PassThru cannot be used when -Select is specified.", nameof(this.Select)); + } + } + else if (this.PassThru.IsPresent) + { + context.Select = (response, cmdlet) => this.InstanceId; + } + #pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute + context.InstanceId = this.InstanceId; + #if MODULAR + if (this.InstanceId == null && ParameterWasBound(nameof(this.InstanceId))) + { + WriteWarning("You are passing $null as a value for parameter InstanceId which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues."); + } + #endif + context.RoutingProfileId = this.RoutingProfileId; + #if MODULAR + if (this.RoutingProfileId == null && ParameterWasBound(nameof(this.RoutingProfileId))) + { + WriteWarning("You are passing $null as a value for parameter RoutingProfileId which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues."); + } + #endif + + // allow further manipulation of loaded context prior to processing + PostExecutionContextLoad(context); + + var output = Execute(context) as CmdletOutput; + ProcessOutput(output); + } + + #region IExecutor Members + + public object Execute(ExecutorContext context) + { + var cmdletContext = context as CmdletContext; + // create request + var request = new Amazon.Connect.Model.DeleteRoutingProfileRequest(); + + if (cmdletContext.InstanceId != null) + { + request.InstanceId = cmdletContext.InstanceId; + } + if (cmdletContext.RoutingProfileId != null) + { + request.RoutingProfileId = cmdletContext.RoutingProfileId; + } + + CmdletOutput output; + + // issue call + var client = Client ?? CreateClient(_CurrentCredentials, _RegionEndpoint); + try + { + var response = CallAWSServiceOperation(client, request); + object pipelineOutput = null; + pipelineOutput = cmdletContext.Select(response, this); + output = new CmdletOutput + { + PipelineOutput = pipelineOutput, + ServiceResponse = response + }; + } + catch (Exception e) + { + output = new CmdletOutput { ErrorResponse = e }; + } + + return output; + } + + public ExecutorContext CreateContext() + { + return new CmdletContext(); + } + + #endregion + + #region AWS Service Operation Call + + private Amazon.Connect.Model.DeleteRoutingProfileResponse CallAWSServiceOperation(IAmazonConnect client, Amazon.Connect.Model.DeleteRoutingProfileRequest request) + { + Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Amazon Connect Service", "DeleteRoutingProfile"); + try + { + #if DESKTOP + return client.DeleteRoutingProfile(request); + #elif CORECLR + return client.DeleteRoutingProfileAsync(request).GetAwaiter().GetResult(); + #else + #error "Unknown build edition" + #endif + } + catch (AmazonServiceException exc) + { + var webException = exc.InnerException as System.Net.WebException; + if (webException != null) + { + throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException); + } + throw; + } + } + + #endregion + + internal partial class CmdletContext : ExecutorContext + { + public System.String InstanceId { get; set; } + public System.String RoutingProfileId { get; set; } + public System.Func Select { get; set; } = + (response, cmdlet) => null; + } + + } +} diff --git a/modules/AWSPowerShell/Cmdlets/DataSync/Basic/New-DSYNAgent-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/DataSync/Basic/New-DSYNAgent-Cmdlet.cs index 99489402d9..828ab23b77 100644 --- a/modules/AWSPowerShell/Cmdlets/DataSync/Basic/New-DSYNAgent-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/DataSync/Basic/New-DSYNAgent-Cmdlet.cs @@ -28,26 +28,18 @@ namespace Amazon.PowerShell.Cmdlets.DSYN { /// - /// Activates an DataSync agent that you have deployed in your storage environment. The - /// activation process associates your agent with your account. In the activation process, - /// you specify information such as the Amazon Web Services Region that you want to activate - /// the agent in. You activate the agent in the Amazon Web Services Region where your - /// target locations (in Amazon S3 or Amazon EFS) reside. Your tasks are created in this - /// Amazon Web Services Region. + /// Activates an DataSync agent that you've deployed in your storage environment. The + /// activation process associates the agent with your Amazon Web Services account. /// /// /// - /// You can activate the agent in a VPC (virtual private cloud) or provide the agent access - /// to a VPC endpoint so you can run tasks without going over the public internet. - /// - /// You can use an agent for more than one location. If a task uses multiple agents, all - /// of them need to have status AVAILABLE for the task to run. If you use multiple agents - /// for a source location, the status of all the agents must be AVAILABLE for the task - /// to run. - /// - /// Agents are automatically updated by Amazon Web Services on a regular basis, using - /// a mechanism that ensures minimal interruption to your tasks. - /// + /// If you haven't deployed an agent yet, see the following topics to learn more: + /// + /// If you're transferring between Amazon Web Services storage services, you don't need + /// a DataSync agent. + /// /// [Cmdlet("New", "DSYNAgent", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] [OutputType("System.String")] @@ -62,12 +54,9 @@ public partial class NewDSYNAgentCmdlet : AmazonDataSyncClientCmdlet, IExecutor #region Parameter ActivationKey /// /// - /// Your agent activation key. You can get the activation key either by sending an HTTP - /// GET request with redirects that enable you to get the agent IP address (port 80). - /// Alternatively, you can get it from the DataSync console.The redirect URL returned in the response provides you the activation key for your - /// agent in the query string parameter activationKey. It might also include - /// other activation-related parameters; however, these are merely defaults. The arguments - /// you pass to this API call determine the actual configuration of your agent.For more information, see Activating an Agent in the DataSync User Guide. + /// Specifies your DataSync agent's activation key. If you don't have an activation key, + /// see Activate + /// your agent. /// /// #if !MODULAR @@ -84,8 +73,7 @@ public partial class NewDSYNAgentCmdlet : AmazonDataSyncClientCmdlet, IExecutor #region Parameter AgentName /// /// - /// The name you configured for your agent. This value is a text reference that is used - /// to identify the agent in the console. + /// Specifies a name for your agent. You can see this name in the DataSync console. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] @@ -95,8 +83,10 @@ public partial class NewDSYNAgentCmdlet : AmazonDataSyncClientCmdlet, IExecutor #region Parameter SecurityGroupArn /// /// - /// The ARNs of the security groups used to protect your data transfer task subnets. See - /// SecurityGroupArns. + /// Specifies the Amazon Resource Name (ARN) of the security group that protects your + /// task's network + /// interfaces when using + /// a virtual private cloud (VPC) endpoint. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] @@ -107,13 +97,9 @@ public partial class NewDSYNAgentCmdlet : AmazonDataSyncClientCmdlet, IExecutor #region Parameter SubnetArn /// /// - /// The Amazon Resource Names (ARNs) of the subnets in which DataSync will create elastic - /// network interfaces for each data transfer task. The agent that runs a task must be - /// private. When you start a task that is associated with an agent created in a VPC, - /// or one that has access to an IP address in a VPC, then the task is also private. In - /// this case, DataSync creates four network interfaces for each task in your subnet. - /// For a data transfer to work, the agent must be able to route to all these four network - /// interfaces. + /// Specifies the ARN of the subnet where you want to run your DataSync task when using + /// a VPC endpoint. This is the subnet where DataSync creates and manages the network + /// interfaces for your transfer. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] @@ -124,10 +110,8 @@ public partial class NewDSYNAgentCmdlet : AmazonDataSyncClientCmdlet, IExecutor #region Parameter Tag /// /// - /// The key-value pair that represents the tag that you want to associate with the agent. - /// The value can be an empty string. This value helps you manage, filter, and search - /// for your agents.Valid characters for key and value are letters, spaces, and numbers representable - /// in UTF-8 format, and the following special characters: + - = . _ : / @. + /// Specifies labels that help you categorize, filter, and search for your Amazon Web + /// Services resources. We recommend creating at least one tag for your agent. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] @@ -138,10 +122,8 @@ public partial class NewDSYNAgentCmdlet : AmazonDataSyncClientCmdlet, IExecutor #region Parameter VpcEndpointId /// /// - /// The ID of the VPC (virtual private cloud) endpoint that the agent has access to. This - /// is the client-side VPC endpoint, also called a PrivateLink. If you don't have a PrivateLink - /// VPC endpoint, see Creating - /// a VPC Endpoint Service Configuration in the Amazon VPC User Guide.VPC endpoint ID looks like this: vpce-01234d5aff67890e1. + /// Specifies the ID of the VPC endpoint that you want your agent to connect to. For example, + /// a VPC endpoint ID looks like vpce-01234d5aff67890e1.The VPC endpoint you use must include the DataSync service name (for example, com.amazonaws.us-east-2.datasync). /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] diff --git a/modules/AWSPowerShell/Cmdlets/DataSync/Basic/New-DSYNLocationFsxWindow-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/DataSync/Basic/New-DSYNLocationFsxWindow-Cmdlet.cs index 64725d5c64..1596023bc7 100644 --- a/modules/AWSPowerShell/Cmdlets/DataSync/Basic/New-DSYNLocationFsxWindow-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/DataSync/Basic/New-DSYNLocationFsxWindow-Cmdlet.cs @@ -136,9 +136,9 @@ public partial class NewDSYNLocationFsxWindowCmdlet : AmazonDataSyncClientCmdlet #region Parameter User /// /// - /// Specifies the user who has the permissions to access files and folders in the file - /// system.For information about choosing a user name that ensures sufficient permissions to - /// files, folders, and metadata, see user. + /// Specifies the user who has the permissions to access files, folders, and metadata + /// in your file system.For information about choosing a user with sufficient permissions, see Required + /// permissions. /// /// #if !MODULAR diff --git a/modules/AWSPowerShell/Cmdlets/DataSync/Basic/New-DSYNLocationObjectStorage-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/DataSync/Basic/New-DSYNLocationObjectStorage-Cmdlet.cs index 9e83421716..d581e37bfd 100644 --- a/modules/AWSPowerShell/Cmdlets/DataSync/Basic/New-DSYNLocationObjectStorage-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/DataSync/Basic/New-DSYNLocationObjectStorage-Cmdlet.cs @@ -105,10 +105,9 @@ public partial class NewDSYNLocationObjectStorageCmdlet : AmazonDataSyncClientCm #region Parameter ServerCertificate /// /// - /// Specifies a certificate to authenticate with an object storage system that uses a - /// private or self-signed certificate authority (CA). You must specify a Base64-encoded - /// .pem file (for example, file:///home/user/.ssh/storage_sys_certificate.pem). - /// The certificate can be up to 32768 bytes (before Base64 encoding).To use this parameter, configure ServerProtocol to HTTPS. + /// Specifies a file with the certificates that are used to sign the object storage server's + /// certificate (for example, file:///home/user/.ssh/storage_sys_certificate.pem). + /// The file you specify must include the following:
  • The certificate of the signing certificate authority (CA)
  • Any intermediate certificates
  • base64 encoding
  • A .pem extension
The file can be up to 32768 bytes (before base64 encoding).To use this parameter, configure ServerProtocol to HTTPS. ///
/// The cmdlet will automatically convert the supplied parameter of type string, string[], System.IO.FileInfo or System.IO.Stream to byte[] before supplying it to the service. ///
diff --git a/modules/AWSPowerShell/Cmdlets/DatabaseMigrationService/AWS.Tools.DatabaseMigrationService.Completers.psm1 b/modules/AWSPowerShell/Cmdlets/DatabaseMigrationService/AWS.Tools.DatabaseMigrationService.Completers.psm1 index 59c438e815..78bf78db9a 100644 --- a/modules/AWSPowerShell/Cmdlets/DatabaseMigrationService/AWS.Tools.DatabaseMigrationService.Completers.psm1 +++ b/modules/AWSPowerShell/Cmdlets/DatabaseMigrationService/AWS.Tools.DatabaseMigrationService.Completers.psm1 @@ -130,6 +130,16 @@ $DMS_Completers = { break } + # Amazon.DatabaseMigrationService.DatabaseMode + { + ($_ -eq "Edit-DMSEndpoint/PostgreSQLSettings_DatabaseMode") -Or + ($_ -eq "New-DMSEndpoint/PostgreSQLSettings_DatabaseMode") + } + { + $v = "babelfish","default" + break + } + # Amazon.DatabaseMigrationService.DataFormatValue { ($_ -eq "Edit-DMSEndpoint/S3Settings_DataFormat") -Or @@ -400,6 +410,7 @@ $DMS_map = @{ "MongoDbSettings_NestingLevel"=@("Edit-DMSEndpoint","New-DMSEndpoint") "MySQLSettings_TargetDbType"=@("Edit-DMSEndpoint","New-DMSEndpoint") "OracleSettings_CharLengthSemantics"=@("Edit-DMSEndpoint","New-DMSEndpoint") + "PostgreSQLSettings_DatabaseMode"=@("Edit-DMSEndpoint","New-DMSEndpoint") "PostgreSQLSettings_MapLongVarcharAs"=@("Edit-DMSEndpoint","New-DMSEndpoint") "PostgreSQLSettings_PluginName"=@("Edit-DMSEndpoint","New-DMSEndpoint") "RedisSettings_AuthType"=@("Edit-DMSEndpoint","New-DMSEndpoint") diff --git a/modules/AWSPowerShell/Cmdlets/DatabaseMigrationService/Basic/Edit-DMSEndpoint-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/DatabaseMigrationService/Basic/Edit-DMSEndpoint-Cmdlet.cs index 52c5146d46..460abf8772 100644 --- a/modules/AWSPowerShell/Cmdlets/DatabaseMigrationService/Basic/Edit-DMSEndpoint-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/DatabaseMigrationService/Basic/Edit-DMSEndpoint-Cmdlet.cs @@ -330,6 +330,16 @@ public partial class EditDMSEndpointCmdlet : AmazonDatabaseMigrationServiceClien public System.String RedisSettings_AuthUserName { get; set; } #endregion + #region Parameter PostgreSQLSettings_BabelfishDatabaseName + /// + /// + /// The Babelfish for Aurora PostgreSQL database name for the endpoint. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public System.String PostgreSQLSettings_BabelfishDatabaseName { get; set; } + #endregion + #region Parameter MicrosoftSQLServerSettings_BcpPacketSize /// /// @@ -743,6 +753,19 @@ public partial class EditDMSEndpointCmdlet : AmazonDatabaseMigrationServiceClien public System.String IBMDb2Settings_CurrentLsn { get; set; } #endregion + #region Parameter PostgreSQLSettings_DatabaseMode + /// + /// + /// Specifies whether to use default or custom replication behavior for PostgreSQL-compatible + /// endpoints. You can use this setting to specify replication behavior for endpoints + /// that require additional configuration, such as Babelfish endpoints. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [AWSConstantClassSource("Amazon.DatabaseMigrationService.DatabaseMode")] + public Amazon.DatabaseMigrationService.DatabaseMode PostgreSQLSettings_DatabaseMode { get; set; } + #endregion + #region Parameter DatabaseName /// /// @@ -4094,7 +4117,9 @@ protected override void ProcessRecord() context.Password = this.Password; context.Port = this.Port; context.PostgreSQLSettings_AfterConnectScript = this.PostgreSQLSettings_AfterConnectScript; + context.PostgreSQLSettings_BabelfishDatabaseName = this.PostgreSQLSettings_BabelfishDatabaseName; context.PostgreSQLSettings_CaptureDdl = this.PostgreSQLSettings_CaptureDdl; + context.PostgreSQLSettings_DatabaseMode = this.PostgreSQLSettings_DatabaseMode; context.PostgreSQLSettings_DatabaseName = this.PostgreSQLSettings_DatabaseName; context.PostgreSQLSettings_DdlArtifactsSchema = this.PostgreSQLSettings_DdlArtifactsSchema; context.PostgreSQLSettings_ExecuteTimeout = this.PostgreSQLSettings_ExecuteTimeout; @@ -6121,6 +6146,16 @@ public object Execute(ExecutorContext context) request.PostgreSQLSettings.AfterConnectScript = requestPostgreSQLSettings_postgreSQLSettings_AfterConnectScript; requestPostgreSQLSettingsIsNull = false; } + System.String requestPostgreSQLSettings_postgreSQLSettings_BabelfishDatabaseName = null; + if (cmdletContext.PostgreSQLSettings_BabelfishDatabaseName != null) + { + requestPostgreSQLSettings_postgreSQLSettings_BabelfishDatabaseName = cmdletContext.PostgreSQLSettings_BabelfishDatabaseName; + } + if (requestPostgreSQLSettings_postgreSQLSettings_BabelfishDatabaseName != null) + { + request.PostgreSQLSettings.BabelfishDatabaseName = requestPostgreSQLSettings_postgreSQLSettings_BabelfishDatabaseName; + requestPostgreSQLSettingsIsNull = false; + } System.Boolean? requestPostgreSQLSettings_postgreSQLSettings_CaptureDdl = null; if (cmdletContext.PostgreSQLSettings_CaptureDdl != null) { @@ -6131,6 +6166,16 @@ public object Execute(ExecutorContext context) request.PostgreSQLSettings.CaptureDdls = requestPostgreSQLSettings_postgreSQLSettings_CaptureDdl.Value; requestPostgreSQLSettingsIsNull = false; } + Amazon.DatabaseMigrationService.DatabaseMode requestPostgreSQLSettings_postgreSQLSettings_DatabaseMode = null; + if (cmdletContext.PostgreSQLSettings_DatabaseMode != null) + { + requestPostgreSQLSettings_postgreSQLSettings_DatabaseMode = cmdletContext.PostgreSQLSettings_DatabaseMode; + } + if (requestPostgreSQLSettings_postgreSQLSettings_DatabaseMode != null) + { + request.PostgreSQLSettings.DatabaseMode = requestPostgreSQLSettings_postgreSQLSettings_DatabaseMode; + requestPostgreSQLSettingsIsNull = false; + } System.String requestPostgreSQLSettings_postgreSQLSettings_DatabaseName = null; if (cmdletContext.PostgreSQLSettings_DatabaseName != null) { @@ -7552,7 +7597,9 @@ internal partial class CmdletContext : ExecutorContext public System.String Password { get; set; } public System.Int32? Port { get; set; } public System.String PostgreSQLSettings_AfterConnectScript { get; set; } + public System.String PostgreSQLSettings_BabelfishDatabaseName { get; set; } public System.Boolean? PostgreSQLSettings_CaptureDdl { get; set; } + public Amazon.DatabaseMigrationService.DatabaseMode PostgreSQLSettings_DatabaseMode { get; set; } public System.String PostgreSQLSettings_DatabaseName { get; set; } public System.String PostgreSQLSettings_DdlArtifactsSchema { get; set; } public System.Int32? PostgreSQLSettings_ExecuteTimeout { get; set; } diff --git a/modules/AWSPowerShell/Cmdlets/DatabaseMigrationService/Basic/New-DMSEndpoint-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/DatabaseMigrationService/Basic/New-DMSEndpoint-Cmdlet.cs index 0cf258af25..d7e9aff9b8 100644 --- a/modules/AWSPowerShell/Cmdlets/DatabaseMigrationService/Basic/New-DMSEndpoint-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/DatabaseMigrationService/Basic/New-DMSEndpoint-Cmdlet.cs @@ -330,6 +330,16 @@ public partial class NewDMSEndpointCmdlet : AmazonDatabaseMigrationServiceClient public System.String RedisSettings_AuthUserName { get; set; } #endregion + #region Parameter PostgreSQLSettings_BabelfishDatabaseName + /// + /// + /// The Babelfish for Aurora PostgreSQL database name for the endpoint. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public System.String PostgreSQLSettings_BabelfishDatabaseName { get; set; } + #endregion + #region Parameter MicrosoftSQLServerSettings_BcpPacketSize /// /// @@ -743,6 +753,19 @@ public partial class NewDMSEndpointCmdlet : AmazonDatabaseMigrationServiceClient public System.String IBMDb2Settings_CurrentLsn { get; set; } #endregion + #region Parameter PostgreSQLSettings_DatabaseMode + /// + /// + /// Specifies whether to use default or custom replication behavior for PostgreSQL-compatible + /// endpoints. You can use this setting to specify replication behavior for endpoints + /// that require additional configuration, such as Babelfish endpoints. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [AWSConstantClassSource("Amazon.DatabaseMigrationService.DatabaseMode")] + public Amazon.DatabaseMigrationService.DatabaseMode PostgreSQLSettings_DatabaseMode { get; set; } + #endregion + #region Parameter DatabaseName /// /// @@ -4132,7 +4155,9 @@ protected override void ProcessRecord() context.Password = this.Password; context.Port = this.Port; context.PostgreSQLSettings_AfterConnectScript = this.PostgreSQLSettings_AfterConnectScript; + context.PostgreSQLSettings_BabelfishDatabaseName = this.PostgreSQLSettings_BabelfishDatabaseName; context.PostgreSQLSettings_CaptureDdl = this.PostgreSQLSettings_CaptureDdl; + context.PostgreSQLSettings_DatabaseMode = this.PostgreSQLSettings_DatabaseMode; context.PostgreSQLSettings_DatabaseName = this.PostgreSQLSettings_DatabaseName; context.PostgreSQLSettings_DdlArtifactsSchema = this.PostgreSQLSettings_DdlArtifactsSchema; context.PostgreSQLSettings_ExecuteTimeout = this.PostgreSQLSettings_ExecuteTimeout; @@ -6160,6 +6185,16 @@ public object Execute(ExecutorContext context) request.PostgreSQLSettings.AfterConnectScript = requestPostgreSQLSettings_postgreSQLSettings_AfterConnectScript; requestPostgreSQLSettingsIsNull = false; } + System.String requestPostgreSQLSettings_postgreSQLSettings_BabelfishDatabaseName = null; + if (cmdletContext.PostgreSQLSettings_BabelfishDatabaseName != null) + { + requestPostgreSQLSettings_postgreSQLSettings_BabelfishDatabaseName = cmdletContext.PostgreSQLSettings_BabelfishDatabaseName; + } + if (requestPostgreSQLSettings_postgreSQLSettings_BabelfishDatabaseName != null) + { + request.PostgreSQLSettings.BabelfishDatabaseName = requestPostgreSQLSettings_postgreSQLSettings_BabelfishDatabaseName; + requestPostgreSQLSettingsIsNull = false; + } System.Boolean? requestPostgreSQLSettings_postgreSQLSettings_CaptureDdl = null; if (cmdletContext.PostgreSQLSettings_CaptureDdl != null) { @@ -6170,6 +6205,16 @@ public object Execute(ExecutorContext context) request.PostgreSQLSettings.CaptureDdls = requestPostgreSQLSettings_postgreSQLSettings_CaptureDdl.Value; requestPostgreSQLSettingsIsNull = false; } + Amazon.DatabaseMigrationService.DatabaseMode requestPostgreSQLSettings_postgreSQLSettings_DatabaseMode = null; + if (cmdletContext.PostgreSQLSettings_DatabaseMode != null) + { + requestPostgreSQLSettings_postgreSQLSettings_DatabaseMode = cmdletContext.PostgreSQLSettings_DatabaseMode; + } + if (requestPostgreSQLSettings_postgreSQLSettings_DatabaseMode != null) + { + request.PostgreSQLSettings.DatabaseMode = requestPostgreSQLSettings_postgreSQLSettings_DatabaseMode; + requestPostgreSQLSettingsIsNull = false; + } System.String requestPostgreSQLSettings_postgreSQLSettings_DatabaseName = null; if (cmdletContext.PostgreSQLSettings_DatabaseName != null) { @@ -7598,7 +7643,9 @@ internal partial class CmdletContext : ExecutorContext public System.String Password { get; set; } public System.Int32? Port { get; set; } public System.String PostgreSQLSettings_AfterConnectScript { get; set; } + public System.String PostgreSQLSettings_BabelfishDatabaseName { get; set; } public System.Boolean? PostgreSQLSettings_CaptureDdl { get; set; } + public Amazon.DatabaseMigrationService.DatabaseMode PostgreSQLSettings_DatabaseMode { get; set; } public System.String PostgreSQLSettings_DatabaseName { get; set; } public System.String PostgreSQLSettings_DdlArtifactsSchema { get; set; } public System.Int32? PostgreSQLSettings_ExecuteTimeout { get; set; } diff --git a/modules/AWSPowerShell/Cmdlets/EC2/AWS.Tools.EC2.Completers.psm1 b/modules/AWSPowerShell/Cmdlets/EC2/AWS.Tools.EC2.Completers.psm1 index 6d90583399..089cea5a27 100644 --- a/modules/AWSPowerShell/Cmdlets/EC2/AWS.Tools.EC2.Completers.psm1 +++ b/modules/AWSPowerShell/Cmdlets/EC2/AWS.Tools.EC2.Completers.psm1 @@ -597,7 +597,7 @@ $EC2_Completers = { ($_ -eq "Request-EC2SpotInstance/LaunchSpecification_InstanceType") } { - $v = "a1.2xlarge","a1.4xlarge","a1.large","a1.medium","a1.metal","a1.xlarge","c1.medium","c1.xlarge","c3.2xlarge","c3.4xlarge","c3.8xlarge","c3.large","c3.xlarge","c4.2xlarge","c4.4xlarge","c4.8xlarge","c4.large","c4.xlarge","c5.12xlarge","c5.18xlarge","c5.24xlarge","c5.2xlarge","c5.4xlarge","c5.9xlarge","c5.large","c5.metal","c5.xlarge","c5a.12xlarge","c5a.16xlarge","c5a.24xlarge","c5a.2xlarge","c5a.4xlarge","c5a.8xlarge","c5a.large","c5a.xlarge","c5ad.12xlarge","c5ad.16xlarge","c5ad.24xlarge","c5ad.2xlarge","c5ad.4xlarge","c5ad.8xlarge","c5ad.large","c5ad.xlarge","c5d.12xlarge","c5d.18xlarge","c5d.24xlarge","c5d.2xlarge","c5d.4xlarge","c5d.9xlarge","c5d.large","c5d.metal","c5d.xlarge","c5n.18xlarge","c5n.2xlarge","c5n.4xlarge","c5n.9xlarge","c5n.large","c5n.metal","c5n.xlarge","c6a.12xlarge","c6a.16xlarge","c6a.24xlarge","c6a.2xlarge","c6a.32xlarge","c6a.48xlarge","c6a.4xlarge","c6a.8xlarge","c6a.large","c6a.metal","c6a.xlarge","c6g.12xlarge","c6g.16xlarge","c6g.2xlarge","c6g.4xlarge","c6g.8xlarge","c6g.large","c6g.medium","c6g.metal","c6g.xlarge","c6gd.12xlarge","c6gd.16xlarge","c6gd.2xlarge","c6gd.4xlarge","c6gd.8xlarge","c6gd.large","c6gd.medium","c6gd.metal","c6gd.xlarge","c6gn.12xlarge","c6gn.16xlarge","c6gn.2xlarge","c6gn.4xlarge","c6gn.8xlarge","c6gn.large","c6gn.medium","c6gn.xlarge","c6i.12xlarge","c6i.16xlarge","c6i.24xlarge","c6i.2xlarge","c6i.32xlarge","c6i.4xlarge","c6i.8xlarge","c6i.large","c6i.metal","c6i.xlarge","c6id.12xlarge","c6id.16xlarge","c6id.24xlarge","c6id.2xlarge","c6id.32xlarge","c6id.4xlarge","c6id.8xlarge","c6id.large","c6id.metal","c6id.xlarge","c6in.12xlarge","c6in.16xlarge","c6in.24xlarge","c6in.2xlarge","c6in.32xlarge","c6in.4xlarge","c6in.8xlarge","c6in.large","c6in.metal","c6in.xlarge","c7g.12xlarge","c7g.16xlarge","c7g.2xlarge","c7g.4xlarge","c7g.8xlarge","c7g.large","c7g.medium","c7g.metal","c7g.xlarge","cc1.4xlarge","cc2.8xlarge","cg1.4xlarge","cr1.8xlarge","d2.2xlarge","d2.4xlarge","d2.8xlarge","d2.xlarge","d3.2xlarge","d3.4xlarge","d3.8xlarge","d3.xlarge","d3en.12xlarge","d3en.2xlarge","d3en.4xlarge","d3en.6xlarge","d3en.8xlarge","d3en.xlarge","dl1.24xlarge","f1.16xlarge","f1.2xlarge","f1.4xlarge","g2.2xlarge","g2.8xlarge","g3.16xlarge","g3.4xlarge","g3.8xlarge","g3s.xlarge","g4ad.16xlarge","g4ad.2xlarge","g4ad.4xlarge","g4ad.8xlarge","g4ad.xlarge","g4dn.12xlarge","g4dn.16xlarge","g4dn.2xlarge","g4dn.4xlarge","g4dn.8xlarge","g4dn.metal","g4dn.xlarge","g5.12xlarge","g5.16xlarge","g5.24xlarge","g5.2xlarge","g5.48xlarge","g5.4xlarge","g5.8xlarge","g5.xlarge","g5g.16xlarge","g5g.2xlarge","g5g.4xlarge","g5g.8xlarge","g5g.metal","g5g.xlarge","h1.16xlarge","h1.2xlarge","h1.4xlarge","h1.8xlarge","hi1.4xlarge","hpc6a.48xlarge","hpc6id.32xlarge","hs1.8xlarge","i2.2xlarge","i2.4xlarge","i2.8xlarge","i2.xlarge","i3.16xlarge","i3.2xlarge","i3.4xlarge","i3.8xlarge","i3.large","i3.metal","i3.xlarge","i3en.12xlarge","i3en.24xlarge","i3en.2xlarge","i3en.3xlarge","i3en.6xlarge","i3en.large","i3en.metal","i3en.xlarge","i4g.16xlarge","i4g.2xlarge","i4g.4xlarge","i4g.8xlarge","i4g.large","i4g.xlarge","i4i.16xlarge","i4i.2xlarge","i4i.32xlarge","i4i.4xlarge","i4i.8xlarge","i4i.large","i4i.metal","i4i.xlarge","im4gn.16xlarge","im4gn.2xlarge","im4gn.4xlarge","im4gn.8xlarge","im4gn.large","im4gn.xlarge","inf1.24xlarge","inf1.2xlarge","inf1.6xlarge","inf1.xlarge","inf2.24xlarge","inf2.48xlarge","inf2.8xlarge","inf2.xlarge","is4gen.2xlarge","is4gen.4xlarge","is4gen.8xlarge","is4gen.large","is4gen.medium","is4gen.xlarge","m1.large","m1.medium","m1.small","m1.xlarge","m2.2xlarge","m2.4xlarge","m2.xlarge","m3.2xlarge","m3.large","m3.medium","m3.xlarge","m4.10xlarge","m4.16xlarge","m4.2xlarge","m4.4xlarge","m4.large","m4.xlarge","m5.12xlarge","m5.16xlarge","m5.24xlarge","m5.2xlarge","m5.4xlarge","m5.8xlarge","m5.large","m5.metal","m5.xlarge","m5a.12xlarge","m5a.16xlarge","m5a.24xlarge","m5a.2xlarge","m5a.4xlarge","m5a.8xlarge","m5a.large","m5a.xlarge","m5ad.12xlarge","m5ad.16xlarge","m5ad.24xlarge","m5ad.2xlarge","m5ad.4xlarge","m5ad.8xlarge","m5ad.large","m5ad.xlarge","m5d.12xlarge","m5d.16xlarge","m5d.24xlarge","m5d.2xlarge","m5d.4xlarge","m5d.8xlarge","m5d.large","m5d.metal","m5d.xlarge","m5dn.12xlarge","m5dn.16xlarge","m5dn.24xlarge","m5dn.2xlarge","m5dn.4xlarge","m5dn.8xlarge","m5dn.large","m5dn.metal","m5dn.xlarge","m5n.12xlarge","m5n.16xlarge","m5n.24xlarge","m5n.2xlarge","m5n.4xlarge","m5n.8xlarge","m5n.large","m5n.metal","m5n.xlarge","m5zn.12xlarge","m5zn.2xlarge","m5zn.3xlarge","m5zn.6xlarge","m5zn.large","m5zn.metal","m5zn.xlarge","m6a.12xlarge","m6a.16xlarge","m6a.24xlarge","m6a.2xlarge","m6a.32xlarge","m6a.48xlarge","m6a.4xlarge","m6a.8xlarge","m6a.large","m6a.metal","m6a.xlarge","m6g.12xlarge","m6g.16xlarge","m6g.2xlarge","m6g.4xlarge","m6g.8xlarge","m6g.large","m6g.medium","m6g.metal","m6g.xlarge","m6gd.12xlarge","m6gd.16xlarge","m6gd.2xlarge","m6gd.4xlarge","m6gd.8xlarge","m6gd.large","m6gd.medium","m6gd.metal","m6gd.xlarge","m6i.12xlarge","m6i.16xlarge","m6i.24xlarge","m6i.2xlarge","m6i.32xlarge","m6i.4xlarge","m6i.8xlarge","m6i.large","m6i.metal","m6i.xlarge","m6id.12xlarge","m6id.16xlarge","m6id.24xlarge","m6id.2xlarge","m6id.32xlarge","m6id.4xlarge","m6id.8xlarge","m6id.large","m6id.metal","m6id.xlarge","m6idn.12xlarge","m6idn.16xlarge","m6idn.24xlarge","m6idn.2xlarge","m6idn.32xlarge","m6idn.4xlarge","m6idn.8xlarge","m6idn.large","m6idn.metal","m6idn.xlarge","m6in.12xlarge","m6in.16xlarge","m6in.24xlarge","m6in.2xlarge","m6in.32xlarge","m6in.4xlarge","m6in.8xlarge","m6in.large","m6in.metal","m6in.xlarge","m7g.12xlarge","m7g.16xlarge","m7g.2xlarge","m7g.4xlarge","m7g.8xlarge","m7g.large","m7g.medium","m7g.metal","m7g.xlarge","mac1.metal","mac2.metal","p2.16xlarge","p2.8xlarge","p2.xlarge","p3.16xlarge","p3.2xlarge","p3.8xlarge","p3dn.24xlarge","p4d.24xlarge","p4de.24xlarge","r3.2xlarge","r3.4xlarge","r3.8xlarge","r3.large","r3.xlarge","r4.16xlarge","r4.2xlarge","r4.4xlarge","r4.8xlarge","r4.large","r4.xlarge","r5.12xlarge","r5.16xlarge","r5.24xlarge","r5.2xlarge","r5.4xlarge","r5.8xlarge","r5.large","r5.metal","r5.xlarge","r5a.12xlarge","r5a.16xlarge","r5a.24xlarge","r5a.2xlarge","r5a.4xlarge","r5a.8xlarge","r5a.large","r5a.xlarge","r5ad.12xlarge","r5ad.16xlarge","r5ad.24xlarge","r5ad.2xlarge","r5ad.4xlarge","r5ad.8xlarge","r5ad.large","r5ad.xlarge","r5b.12xlarge","r5b.16xlarge","r5b.24xlarge","r5b.2xlarge","r5b.4xlarge","r5b.8xlarge","r5b.large","r5b.metal","r5b.xlarge","r5d.12xlarge","r5d.16xlarge","r5d.24xlarge","r5d.2xlarge","r5d.4xlarge","r5d.8xlarge","r5d.large","r5d.metal","r5d.xlarge","r5dn.12xlarge","r5dn.16xlarge","r5dn.24xlarge","r5dn.2xlarge","r5dn.4xlarge","r5dn.8xlarge","r5dn.large","r5dn.metal","r5dn.xlarge","r5n.12xlarge","r5n.16xlarge","r5n.24xlarge","r5n.2xlarge","r5n.4xlarge","r5n.8xlarge","r5n.large","r5n.metal","r5n.xlarge","r6a.12xlarge","r6a.16xlarge","r6a.24xlarge","r6a.2xlarge","r6a.32xlarge","r6a.48xlarge","r6a.4xlarge","r6a.8xlarge","r6a.large","r6a.metal","r6a.xlarge","r6g.12xlarge","r6g.16xlarge","r6g.2xlarge","r6g.4xlarge","r6g.8xlarge","r6g.large","r6g.medium","r6g.metal","r6g.xlarge","r6gd.12xlarge","r6gd.16xlarge","r6gd.2xlarge","r6gd.4xlarge","r6gd.8xlarge","r6gd.large","r6gd.medium","r6gd.metal","r6gd.xlarge","r6i.12xlarge","r6i.16xlarge","r6i.24xlarge","r6i.2xlarge","r6i.32xlarge","r6i.4xlarge","r6i.8xlarge","r6i.large","r6i.metal","r6i.xlarge","r6id.12xlarge","r6id.16xlarge","r6id.24xlarge","r6id.2xlarge","r6id.32xlarge","r6id.4xlarge","r6id.8xlarge","r6id.large","r6id.metal","r6id.xlarge","r6idn.12xlarge","r6idn.16xlarge","r6idn.24xlarge","r6idn.2xlarge","r6idn.32xlarge","r6idn.4xlarge","r6idn.8xlarge","r6idn.large","r6idn.metal","r6idn.xlarge","r6in.12xlarge","r6in.16xlarge","r6in.24xlarge","r6in.2xlarge","r6in.32xlarge","r6in.4xlarge","r6in.8xlarge","r6in.large","r6in.metal","r6in.xlarge","r7g.12xlarge","r7g.16xlarge","r7g.2xlarge","r7g.4xlarge","r7g.8xlarge","r7g.large","r7g.medium","r7g.metal","r7g.xlarge","t1.micro","t2.2xlarge","t2.large","t2.medium","t2.micro","t2.nano","t2.small","t2.xlarge","t3.2xlarge","t3.large","t3.medium","t3.micro","t3.nano","t3.small","t3.xlarge","t3a.2xlarge","t3a.large","t3a.medium","t3a.micro","t3a.nano","t3a.small","t3a.xlarge","t4g.2xlarge","t4g.large","t4g.medium","t4g.micro","t4g.nano","t4g.small","t4g.xlarge","trn1.2xlarge","trn1.32xlarge","trn1n.32xlarge","u-12tb1.112xlarge","u-12tb1.metal","u-18tb1.112xlarge","u-18tb1.metal","u-24tb1.112xlarge","u-24tb1.metal","u-3tb1.56xlarge","u-6tb1.112xlarge","u-6tb1.56xlarge","u-6tb1.metal","u-9tb1.112xlarge","u-9tb1.metal","vt1.24xlarge","vt1.3xlarge","vt1.6xlarge","x1.16xlarge","x1.32xlarge","x1e.16xlarge","x1e.2xlarge","x1e.32xlarge","x1e.4xlarge","x1e.8xlarge","x1e.xlarge","x2gd.12xlarge","x2gd.16xlarge","x2gd.2xlarge","x2gd.4xlarge","x2gd.8xlarge","x2gd.large","x2gd.medium","x2gd.metal","x2gd.xlarge","x2idn.16xlarge","x2idn.24xlarge","x2idn.32xlarge","x2idn.metal","x2iedn.16xlarge","x2iedn.24xlarge","x2iedn.2xlarge","x2iedn.32xlarge","x2iedn.4xlarge","x2iedn.8xlarge","x2iedn.metal","x2iedn.xlarge","x2iezn.12xlarge","x2iezn.2xlarge","x2iezn.4xlarge","x2iezn.6xlarge","x2iezn.8xlarge","x2iezn.metal","z1d.12xlarge","z1d.2xlarge","z1d.3xlarge","z1d.6xlarge","z1d.large","z1d.metal","z1d.xlarge" + $v = "a1.2xlarge","a1.4xlarge","a1.large","a1.medium","a1.metal","a1.xlarge","c1.medium","c1.xlarge","c3.2xlarge","c3.4xlarge","c3.8xlarge","c3.large","c3.xlarge","c4.2xlarge","c4.4xlarge","c4.8xlarge","c4.large","c4.xlarge","c5.12xlarge","c5.18xlarge","c5.24xlarge","c5.2xlarge","c5.4xlarge","c5.9xlarge","c5.large","c5.metal","c5.xlarge","c5a.12xlarge","c5a.16xlarge","c5a.24xlarge","c5a.2xlarge","c5a.4xlarge","c5a.8xlarge","c5a.large","c5a.xlarge","c5ad.12xlarge","c5ad.16xlarge","c5ad.24xlarge","c5ad.2xlarge","c5ad.4xlarge","c5ad.8xlarge","c5ad.large","c5ad.xlarge","c5d.12xlarge","c5d.18xlarge","c5d.24xlarge","c5d.2xlarge","c5d.4xlarge","c5d.9xlarge","c5d.large","c5d.metal","c5d.xlarge","c5n.18xlarge","c5n.2xlarge","c5n.4xlarge","c5n.9xlarge","c5n.large","c5n.metal","c5n.xlarge","c6a.12xlarge","c6a.16xlarge","c6a.24xlarge","c6a.2xlarge","c6a.32xlarge","c6a.48xlarge","c6a.4xlarge","c6a.8xlarge","c6a.large","c6a.metal","c6a.xlarge","c6g.12xlarge","c6g.16xlarge","c6g.2xlarge","c6g.4xlarge","c6g.8xlarge","c6g.large","c6g.medium","c6g.metal","c6g.xlarge","c6gd.12xlarge","c6gd.16xlarge","c6gd.2xlarge","c6gd.4xlarge","c6gd.8xlarge","c6gd.large","c6gd.medium","c6gd.metal","c6gd.xlarge","c6gn.12xlarge","c6gn.16xlarge","c6gn.2xlarge","c6gn.4xlarge","c6gn.8xlarge","c6gn.large","c6gn.medium","c6gn.xlarge","c6i.12xlarge","c6i.16xlarge","c6i.24xlarge","c6i.2xlarge","c6i.32xlarge","c6i.4xlarge","c6i.8xlarge","c6i.large","c6i.metal","c6i.xlarge","c6id.12xlarge","c6id.16xlarge","c6id.24xlarge","c6id.2xlarge","c6id.32xlarge","c6id.4xlarge","c6id.8xlarge","c6id.large","c6id.metal","c6id.xlarge","c6in.12xlarge","c6in.16xlarge","c6in.24xlarge","c6in.2xlarge","c6in.32xlarge","c6in.4xlarge","c6in.8xlarge","c6in.large","c6in.metal","c6in.xlarge","c7g.12xlarge","c7g.16xlarge","c7g.2xlarge","c7g.4xlarge","c7g.8xlarge","c7g.large","c7g.medium","c7g.metal","c7g.xlarge","c7gn.12xlarge","c7gn.16xlarge","c7gn.2xlarge","c7gn.4xlarge","c7gn.8xlarge","c7gn.large","c7gn.medium","c7gn.xlarge","cc1.4xlarge","cc2.8xlarge","cg1.4xlarge","cr1.8xlarge","d2.2xlarge","d2.4xlarge","d2.8xlarge","d2.xlarge","d3.2xlarge","d3.4xlarge","d3.8xlarge","d3.xlarge","d3en.12xlarge","d3en.2xlarge","d3en.4xlarge","d3en.6xlarge","d3en.8xlarge","d3en.xlarge","dl1.24xlarge","f1.16xlarge","f1.2xlarge","f1.4xlarge","g2.2xlarge","g2.8xlarge","g3.16xlarge","g3.4xlarge","g3.8xlarge","g3s.xlarge","g4ad.16xlarge","g4ad.2xlarge","g4ad.4xlarge","g4ad.8xlarge","g4ad.xlarge","g4dn.12xlarge","g4dn.16xlarge","g4dn.2xlarge","g4dn.4xlarge","g4dn.8xlarge","g4dn.metal","g4dn.xlarge","g5.12xlarge","g5.16xlarge","g5.24xlarge","g5.2xlarge","g5.48xlarge","g5.4xlarge","g5.8xlarge","g5.xlarge","g5g.16xlarge","g5g.2xlarge","g5g.4xlarge","g5g.8xlarge","g5g.metal","g5g.xlarge","h1.16xlarge","h1.2xlarge","h1.4xlarge","h1.8xlarge","hi1.4xlarge","hpc6a.48xlarge","hpc6id.32xlarge","hpc7g.16xlarge","hpc7g.4xlarge","hpc7g.8xlarge","hs1.8xlarge","i2.2xlarge","i2.4xlarge","i2.8xlarge","i2.xlarge","i3.16xlarge","i3.2xlarge","i3.4xlarge","i3.8xlarge","i3.large","i3.metal","i3.xlarge","i3en.12xlarge","i3en.24xlarge","i3en.2xlarge","i3en.3xlarge","i3en.6xlarge","i3en.large","i3en.metal","i3en.xlarge","i4g.16xlarge","i4g.2xlarge","i4g.4xlarge","i4g.8xlarge","i4g.large","i4g.xlarge","i4i.16xlarge","i4i.2xlarge","i4i.32xlarge","i4i.4xlarge","i4i.8xlarge","i4i.large","i4i.metal","i4i.xlarge","im4gn.16xlarge","im4gn.2xlarge","im4gn.4xlarge","im4gn.8xlarge","im4gn.large","im4gn.xlarge","inf1.24xlarge","inf1.2xlarge","inf1.6xlarge","inf1.xlarge","inf2.24xlarge","inf2.48xlarge","inf2.8xlarge","inf2.xlarge","is4gen.2xlarge","is4gen.4xlarge","is4gen.8xlarge","is4gen.large","is4gen.medium","is4gen.xlarge","m1.large","m1.medium","m1.small","m1.xlarge","m2.2xlarge","m2.4xlarge","m2.xlarge","m3.2xlarge","m3.large","m3.medium","m3.xlarge","m4.10xlarge","m4.16xlarge","m4.2xlarge","m4.4xlarge","m4.large","m4.xlarge","m5.12xlarge","m5.16xlarge","m5.24xlarge","m5.2xlarge","m5.4xlarge","m5.8xlarge","m5.large","m5.metal","m5.xlarge","m5a.12xlarge","m5a.16xlarge","m5a.24xlarge","m5a.2xlarge","m5a.4xlarge","m5a.8xlarge","m5a.large","m5a.xlarge","m5ad.12xlarge","m5ad.16xlarge","m5ad.24xlarge","m5ad.2xlarge","m5ad.4xlarge","m5ad.8xlarge","m5ad.large","m5ad.xlarge","m5d.12xlarge","m5d.16xlarge","m5d.24xlarge","m5d.2xlarge","m5d.4xlarge","m5d.8xlarge","m5d.large","m5d.metal","m5d.xlarge","m5dn.12xlarge","m5dn.16xlarge","m5dn.24xlarge","m5dn.2xlarge","m5dn.4xlarge","m5dn.8xlarge","m5dn.large","m5dn.metal","m5dn.xlarge","m5n.12xlarge","m5n.16xlarge","m5n.24xlarge","m5n.2xlarge","m5n.4xlarge","m5n.8xlarge","m5n.large","m5n.metal","m5n.xlarge","m5zn.12xlarge","m5zn.2xlarge","m5zn.3xlarge","m5zn.6xlarge","m5zn.large","m5zn.metal","m5zn.xlarge","m6a.12xlarge","m6a.16xlarge","m6a.24xlarge","m6a.2xlarge","m6a.32xlarge","m6a.48xlarge","m6a.4xlarge","m6a.8xlarge","m6a.large","m6a.metal","m6a.xlarge","m6g.12xlarge","m6g.16xlarge","m6g.2xlarge","m6g.4xlarge","m6g.8xlarge","m6g.large","m6g.medium","m6g.metal","m6g.xlarge","m6gd.12xlarge","m6gd.16xlarge","m6gd.2xlarge","m6gd.4xlarge","m6gd.8xlarge","m6gd.large","m6gd.medium","m6gd.metal","m6gd.xlarge","m6i.12xlarge","m6i.16xlarge","m6i.24xlarge","m6i.2xlarge","m6i.32xlarge","m6i.4xlarge","m6i.8xlarge","m6i.large","m6i.metal","m6i.xlarge","m6id.12xlarge","m6id.16xlarge","m6id.24xlarge","m6id.2xlarge","m6id.32xlarge","m6id.4xlarge","m6id.8xlarge","m6id.large","m6id.metal","m6id.xlarge","m6idn.12xlarge","m6idn.16xlarge","m6idn.24xlarge","m6idn.2xlarge","m6idn.32xlarge","m6idn.4xlarge","m6idn.8xlarge","m6idn.large","m6idn.metal","m6idn.xlarge","m6in.12xlarge","m6in.16xlarge","m6in.24xlarge","m6in.2xlarge","m6in.32xlarge","m6in.4xlarge","m6in.8xlarge","m6in.large","m6in.metal","m6in.xlarge","m7g.12xlarge","m7g.16xlarge","m7g.2xlarge","m7g.4xlarge","m7g.8xlarge","m7g.large","m7g.medium","m7g.metal","m7g.xlarge","mac1.metal","mac2.metal","p2.16xlarge","p2.8xlarge","p2.xlarge","p3.16xlarge","p3.2xlarge","p3.8xlarge","p3dn.24xlarge","p4d.24xlarge","p4de.24xlarge","r3.2xlarge","r3.4xlarge","r3.8xlarge","r3.large","r3.xlarge","r4.16xlarge","r4.2xlarge","r4.4xlarge","r4.8xlarge","r4.large","r4.xlarge","r5.12xlarge","r5.16xlarge","r5.24xlarge","r5.2xlarge","r5.4xlarge","r5.8xlarge","r5.large","r5.metal","r5.xlarge","r5a.12xlarge","r5a.16xlarge","r5a.24xlarge","r5a.2xlarge","r5a.4xlarge","r5a.8xlarge","r5a.large","r5a.xlarge","r5ad.12xlarge","r5ad.16xlarge","r5ad.24xlarge","r5ad.2xlarge","r5ad.4xlarge","r5ad.8xlarge","r5ad.large","r5ad.xlarge","r5b.12xlarge","r5b.16xlarge","r5b.24xlarge","r5b.2xlarge","r5b.4xlarge","r5b.8xlarge","r5b.large","r5b.metal","r5b.xlarge","r5d.12xlarge","r5d.16xlarge","r5d.24xlarge","r5d.2xlarge","r5d.4xlarge","r5d.8xlarge","r5d.large","r5d.metal","r5d.xlarge","r5dn.12xlarge","r5dn.16xlarge","r5dn.24xlarge","r5dn.2xlarge","r5dn.4xlarge","r5dn.8xlarge","r5dn.large","r5dn.metal","r5dn.xlarge","r5n.12xlarge","r5n.16xlarge","r5n.24xlarge","r5n.2xlarge","r5n.4xlarge","r5n.8xlarge","r5n.large","r5n.metal","r5n.xlarge","r6a.12xlarge","r6a.16xlarge","r6a.24xlarge","r6a.2xlarge","r6a.32xlarge","r6a.48xlarge","r6a.4xlarge","r6a.8xlarge","r6a.large","r6a.metal","r6a.xlarge","r6g.12xlarge","r6g.16xlarge","r6g.2xlarge","r6g.4xlarge","r6g.8xlarge","r6g.large","r6g.medium","r6g.metal","r6g.xlarge","r6gd.12xlarge","r6gd.16xlarge","r6gd.2xlarge","r6gd.4xlarge","r6gd.8xlarge","r6gd.large","r6gd.medium","r6gd.metal","r6gd.xlarge","r6i.12xlarge","r6i.16xlarge","r6i.24xlarge","r6i.2xlarge","r6i.32xlarge","r6i.4xlarge","r6i.8xlarge","r6i.large","r6i.metal","r6i.xlarge","r6id.12xlarge","r6id.16xlarge","r6id.24xlarge","r6id.2xlarge","r6id.32xlarge","r6id.4xlarge","r6id.8xlarge","r6id.large","r6id.metal","r6id.xlarge","r6idn.12xlarge","r6idn.16xlarge","r6idn.24xlarge","r6idn.2xlarge","r6idn.32xlarge","r6idn.4xlarge","r6idn.8xlarge","r6idn.large","r6idn.metal","r6idn.xlarge","r6in.12xlarge","r6in.16xlarge","r6in.24xlarge","r6in.2xlarge","r6in.32xlarge","r6in.4xlarge","r6in.8xlarge","r6in.large","r6in.metal","r6in.xlarge","r7g.12xlarge","r7g.16xlarge","r7g.2xlarge","r7g.4xlarge","r7g.8xlarge","r7g.large","r7g.medium","r7g.metal","r7g.xlarge","t1.micro","t2.2xlarge","t2.large","t2.medium","t2.micro","t2.nano","t2.small","t2.xlarge","t3.2xlarge","t3.large","t3.medium","t3.micro","t3.nano","t3.small","t3.xlarge","t3a.2xlarge","t3a.large","t3a.medium","t3a.micro","t3a.nano","t3a.small","t3a.xlarge","t4g.2xlarge","t4g.large","t4g.medium","t4g.micro","t4g.nano","t4g.small","t4g.xlarge","trn1.2xlarge","trn1.32xlarge","trn1n.32xlarge","u-12tb1.112xlarge","u-12tb1.metal","u-18tb1.112xlarge","u-18tb1.metal","u-24tb1.112xlarge","u-24tb1.metal","u-3tb1.56xlarge","u-6tb1.112xlarge","u-6tb1.56xlarge","u-6tb1.metal","u-9tb1.112xlarge","u-9tb1.metal","vt1.24xlarge","vt1.3xlarge","vt1.6xlarge","x1.16xlarge","x1.32xlarge","x1e.16xlarge","x1e.2xlarge","x1e.32xlarge","x1e.4xlarge","x1e.8xlarge","x1e.xlarge","x2gd.12xlarge","x2gd.16xlarge","x2gd.2xlarge","x2gd.4xlarge","x2gd.8xlarge","x2gd.large","x2gd.medium","x2gd.metal","x2gd.xlarge","x2idn.16xlarge","x2idn.24xlarge","x2idn.32xlarge","x2idn.metal","x2iedn.16xlarge","x2iedn.24xlarge","x2iedn.2xlarge","x2iedn.32xlarge","x2iedn.4xlarge","x2iedn.8xlarge","x2iedn.metal","x2iedn.xlarge","x2iezn.12xlarge","x2iezn.2xlarge","x2iezn.4xlarge","x2iezn.6xlarge","x2iezn.8xlarge","x2iezn.metal","z1d.12xlarge","z1d.2xlarge","z1d.3xlarge","z1d.6xlarge","z1d.large","z1d.metal","z1d.xlarge" break } diff --git a/modules/AWSPowerShell/Cmdlets/FSx/AWS.Tools.FSx.Completers.psm1 b/modules/AWSPowerShell/Cmdlets/FSx/AWS.Tools.FSx.Completers.psm1 index ff692b13d0..34c708e2c3 100644 --- a/modules/AWSPowerShell/Cmdlets/FSx/AWS.Tools.FSx.Completers.psm1 +++ b/modules/AWSPowerShell/Cmdlets/FSx/AWS.Tools.FSx.Completers.psm1 @@ -80,6 +80,17 @@ $FSX_Completers = { switch ($("$commandName/$parameterName")) { + # Amazon.FSx.AutocommitPeriodType + { + ($_ -eq "New-FSXVolume/OntapConfiguration_SnaplockConfiguration_AutocommitPeriod_Type") -Or + ($_ -eq "New-FSXVolumeFromBackup/OntapConfiguration_SnaplockConfiguration_AutocommitPeriod_Type") -Or + ($_ -eq "Update-FSXVolume/OntapConfiguration_SnaplockConfiguration_AutocommitPeriod_Type") + } + { + $v = "DAYS","HOURS","MINUTES","MONTHS","NONE","YEARS" + break + } + # Amazon.FSx.DataRepositoryTaskType "New-FSXDataRepositoryTask/Type" { @@ -167,6 +178,17 @@ $FSX_Completers = { break } + # Amazon.FSx.PrivilegedDelete + { + ($_ -eq "New-FSXVolume/OntapConfiguration_SnaplockConfiguration_PrivilegedDelete") -Or + ($_ -eq "New-FSXVolumeFromBackup/OntapConfiguration_SnaplockConfiguration_PrivilegedDelete") -Or + ($_ -eq "Update-FSXVolume/OntapConfiguration_SnaplockConfiguration_PrivilegedDelete") + } + { + $v = "DISABLED","ENABLED","PERMANENTLY_DISABLED" + break + } + # Amazon.FSx.ReportFormat "New-FSXDataRepositoryTask/Report_Format" { @@ -181,6 +203,23 @@ $FSX_Completers = { break } + # Amazon.FSx.RetentionPeriodType + { + ($_ -eq "New-FSXVolume/OntapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_Type") -Or + ($_ -eq "New-FSXVolumeFromBackup/OntapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_Type") -Or + ($_ -eq "Update-FSXVolume/OntapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_Type") -Or + ($_ -eq "New-FSXVolume/OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_Type") -Or + ($_ -eq "New-FSXVolumeFromBackup/OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_Type") -Or + ($_ -eq "Update-FSXVolume/OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_Type") -Or + ($_ -eq "New-FSXVolume/OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_Type") -Or + ($_ -eq "New-FSXVolumeFromBackup/OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_Type") -Or + ($_ -eq "Update-FSXVolume/OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_Type") + } + { + $v = "DAYS","HOURS","INFINITE","MINUTES","MONTHS","SECONDS","UNSPECIFIED","YEARS" + break + } + # Amazon.FSx.SecurityStyle { ($_ -eq "New-FSXVolume/OntapConfiguration_SecurityStyle") -Or @@ -192,6 +231,16 @@ $FSX_Completers = { break } + # Amazon.FSx.SnaplockType + { + ($_ -eq "New-FSXVolume/OntapConfiguration_SnaplockConfiguration_SnaplockType") -Or + ($_ -eq "New-FSXVolumeFromBackup/OntapConfiguration_SnaplockConfiguration_SnaplockType") + } + { + $v = "COMPLIANCE","ENTERPRISE" + break + } + # Amazon.FSx.StorageType { ($_ -eq "New-FSXFileSystem/StorageType") -Or @@ -243,6 +292,12 @@ $FSX_map = @{ "OntapConfiguration_DiskIopsConfiguration_Mode"=@("New-FSXFileSystem","Update-FSXFileSystem") "OntapConfiguration_OntapVolumeType"=@("New-FSXVolume","New-FSXVolumeFromBackup") "OntapConfiguration_SecurityStyle"=@("New-FSXVolume","New-FSXVolumeFromBackup","Update-FSXVolume") + "OntapConfiguration_SnaplockConfiguration_AutocommitPeriod_Type"=@("New-FSXVolume","New-FSXVolumeFromBackup","Update-FSXVolume") + "OntapConfiguration_SnaplockConfiguration_PrivilegedDelete"=@("New-FSXVolume","New-FSXVolumeFromBackup","Update-FSXVolume") + "OntapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_Type"=@("New-FSXVolume","New-FSXVolumeFromBackup","Update-FSXVolume") + "OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_Type"=@("New-FSXVolume","New-FSXVolumeFromBackup","Update-FSXVolume") + "OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_Type"=@("New-FSXVolume","New-FSXVolumeFromBackup","Update-FSXVolume") + "OntapConfiguration_SnaplockConfiguration_SnaplockType"=@("New-FSXVolume","New-FSXVolumeFromBackup") "OntapConfiguration_TieringPolicy_Name"=@("New-FSXVolume","New-FSXVolumeFromBackup","Update-FSXVolume") "OpenZFSConfiguration_DataCompressionType"=@("New-FSXVolume","Update-FSXVolume") "OpenZFSConfiguration_DeploymentType"=@("New-FSXFileSystem","New-FSXFileSystemFromBackup") diff --git a/modules/AWSPowerShell/Cmdlets/FSx/Basic/New-FSXVolume-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/FSx/Basic/New-FSXVolume-Cmdlet.cs index 808b11c23a..57a9ba6d7a 100644 --- a/modules/AWSPowerShell/Cmdlets/FSx/Basic/New-FSXVolume-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/FSx/Basic/New-FSXVolume-Cmdlet.cs @@ -42,6 +42,21 @@ public partial class NewFSXVolumeCmdlet : AmazonFSxClientCmdlet, IExecutor protected override bool IsSensitiveResponse { get; set; } = true; + #region Parameter SnaplockConfiguration_AuditLogVolume + /// + /// + /// Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume. The + /// default value is false. If you set AuditLogVolume to true, + /// the SnapLock volume is created as an audit log volume. The minimum retention period + /// for an audit log volume is six months. For more information, see + /// SnapLock audit log volumes. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_AuditLogVolume")] + public System.Boolean? SnaplockConfiguration_AuditLogVolume { get; set; } + #endregion + #region Parameter ClientRequestToken /// /// @@ -211,6 +226,23 @@ public partial class NewFSXVolumeCmdlet : AmazonFSxClientCmdlet, IExecutor public System.String OpenZFSConfiguration_ParentVolumeId { get; set; } #endregion + #region Parameter SnaplockConfiguration_PrivilegedDelete + /// + /// + /// Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock + /// Enterprise volume. Enabling privileged delete allows SnapLock administrators to delete + /// WORM files even if they have active retention periods. PERMANENTLY_DISABLED + /// is a terminal state. If privileged delete is permanently disabled on a SnapLock volume, + /// you can't re-enable it. The default value is DISABLED. For more information, see Privileged + /// delete. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_PrivilegedDelete")] + [AWSConstantClassSource("Amazon.FSx.PrivilegedDelete")] + public Amazon.FSx.PrivilegedDelete SnaplockConfiguration_PrivilegedDelete { get; set; } + #endregion + #region Parameter OpenZFSConfiguration_ReadOnly /// /// @@ -262,8 +294,7 @@ public partial class NewFSXVolumeCmdlet : AmazonFSxClientCmdlet, IExecutor #region Parameter OntapConfiguration_SizeInMegabyte /// /// - /// Specifies the size of the volume, in megabytes (MB), that you are creating. Provide - /// any whole number in the range of 20–104857600 to specify the size of the volume. + /// Specifies the size of the volume, in megabytes (MB), that you are creating. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] @@ -271,6 +302,28 @@ public partial class NewFSXVolumeCmdlet : AmazonFSxClientCmdlet, IExecutor public System.Int32? OntapConfiguration_SizeInMegabyte { get; set; } #endregion + #region Parameter SnaplockConfiguration_SnaplockType + /// + /// + /// Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, + /// it can't be changed. You can choose one of the following retention modes:
  • COMPLIANCE: Files transitioned to write once, read many (WORM) on a + /// Compliance volume can't be deleted until their retention periods expire. This retention + /// mode is used to address government or industry-specific mandates or to protect against + /// ransomware attacks. For more information, see SnapLock + /// Compliance.
  • ENTERPRISE: Files transitioned to WORM on an Enterprise volume can be + /// deleted by authorized users before their retention periods expire using privileged + /// delete. This retention mode is used to advance an organization's data integrity and + /// internal compliance or to test retention settings before using SnapLock Compliance. + /// For more information, see SnapLock + /// Enterprise.
+ ///
+ ///
+ [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_SnaplockType")] + [AWSConstantClassSource("Amazon.FSx.SnaplockType")] + public Amazon.FSx.SnaplockType SnaplockConfiguration_SnaplockType { get; set; } + #endregion + #region Parameter OriginSnapshot_SnapshotARN /// /// @@ -363,6 +416,65 @@ public partial class NewFSXVolumeCmdlet : AmazonFSxClientCmdlet, IExecutor public Amazon.FSx.Model.Tag[] Tag { get; set; } #endregion + #region Parameter AutocommitPeriod_Type + /// + /// + /// Defines the type of time for the autocommit period of a file in an FSx for ONTAP SnapLock + /// volume. Setting this value to NONE disables autocommit. The default value + /// is NONE. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_AutocommitPeriod_Type")] + [AWSConstantClassSource("Amazon.FSx.AutocommitPeriodType")] + public Amazon.FSx.AutocommitPeriodType AutocommitPeriod_Type { get; set; } + #endregion + + #region Parameter DefaultRetention_Type + /// + /// + /// Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume. + /// Set it to one of the valid types. If you set it to INFINITE, the files + /// are retained forever. If you set it to UNSPECIFIED, the files are retained + /// until you set an explicit retention period. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_Type")] + [AWSConstantClassSource("Amazon.FSx.RetentionPeriodType")] + public Amazon.FSx.RetentionPeriodType DefaultRetention_Type { get; set; } + #endregion + + #region Parameter MaximumRetention_Type + /// + /// + /// Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume. + /// Set it to one of the valid types. If you set it to INFINITE, the files + /// are retained forever. If you set it to UNSPECIFIED, the files are retained + /// until you set an explicit retention period. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_Type")] + [AWSConstantClassSource("Amazon.FSx.RetentionPeriodType")] + public Amazon.FSx.RetentionPeriodType MaximumRetention_Type { get; set; } + #endregion + + #region Parameter MinimumRetention_Type + /// + /// + /// Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume. + /// Set it to one of the valid types. If you set it to INFINITE, the files + /// are retained forever. If you set it to UNSPECIFIED, the files are retained + /// until you set an explicit retention period. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_Type")] + [AWSConstantClassSource("Amazon.FSx.RetentionPeriodType")] + public Amazon.FSx.RetentionPeriodType MinimumRetention_Type { get; set; } + #endregion + #region Parameter OpenZFSConfiguration_UserAndGroupQuota /// /// @@ -374,6 +486,71 @@ public partial class NewFSXVolumeCmdlet : AmazonFSxClientCmdlet, IExecutor public Amazon.FSx.Model.OpenZFSUserOrGroupQuota[] OpenZFSConfiguration_UserAndGroupQuota { get; set; } #endregion + #region Parameter AutocommitPeriod_Value + /// + /// + /// Defines the amount of time for the autocommit period of a file in an FSx for ONTAP + /// SnapLock volume. The following ranges are valid:
  • Minutes: 5 - 65,535
  • Hours: 1 - 65,535
  • Days: 1 - 3,650
  • Months: 1 - 120
  • Years: 1 - 10
+ ///
+ ///
+ [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_AutocommitPeriod_Value")] + public System.Int32? AutocommitPeriod_Value { get; set; } + #endregion + + #region Parameter DefaultRetention_Value + /// + /// + /// Defines the amount of time for the retention period of an FSx for ONTAP SnapLock volume. + /// You can't set a value for INFINITE or UNSPECIFIED. For all + /// other options, the following ranges are valid:
  • Seconds: 0 - 65,535
  • Minutes: 0 - 65,535
  • Hours: 0 - 24
  • Days: 0 - 365
  • Months: 0 - 12
  • Years: 0 - 100
+ ///
+ ///
+ [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_Value")] + public System.Int32? DefaultRetention_Value { get; set; } + #endregion + + #region Parameter MaximumRetention_Value + /// + /// + /// Defines the amount of time for the retention period of an FSx for ONTAP SnapLock volume. + /// You can't set a value for INFINITE or UNSPECIFIED. For all + /// other options, the following ranges are valid:
  • Seconds: 0 - 65,535
  • Minutes: 0 - 65,535
  • Hours: 0 - 24
  • Days: 0 - 365
  • Months: 0 - 12
  • Years: 0 - 100
+ ///
+ ///
+ [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_Value")] + public System.Int32? MaximumRetention_Value { get; set; } + #endregion + + #region Parameter MinimumRetention_Value + /// + /// + /// Defines the amount of time for the retention period of an FSx for ONTAP SnapLock volume. + /// You can't set a value for INFINITE or UNSPECIFIED. For all + /// other options, the following ranges are valid:
  • Seconds: 0 - 65,535
  • Minutes: 0 - 65,535
  • Hours: 0 - 24
  • Days: 0 - 365
  • Months: 0 - 12
  • Years: 0 - 100
+ ///
+ ///
+ [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_Value")] + public System.Int32? MinimumRetention_Value { get; set; } + #endregion + + #region Parameter SnaplockConfiguration_VolumeAppendModeEnabled + /// + /// + /// Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. Volume-append + /// mode allows you to create WORM-appendable files and write data to them incrementally. + /// The default value is false. For more information, see Volume-append + /// mode. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_VolumeAppendModeEnabled")] + public System.Boolean? SnaplockConfiguration_VolumeAppendModeEnabled { get; set; } + #endregion + #region Parameter VolumeType /// /// @@ -467,6 +644,18 @@ protected override void ProcessRecord() context.OntapConfiguration_OntapVolumeType = this.OntapConfiguration_OntapVolumeType; context.OntapConfiguration_SecurityStyle = this.OntapConfiguration_SecurityStyle; context.OntapConfiguration_SizeInMegabyte = this.OntapConfiguration_SizeInMegabyte; + context.SnaplockConfiguration_AuditLogVolume = this.SnaplockConfiguration_AuditLogVolume; + context.AutocommitPeriod_Type = this.AutocommitPeriod_Type; + context.AutocommitPeriod_Value = this.AutocommitPeriod_Value; + context.SnaplockConfiguration_PrivilegedDelete = this.SnaplockConfiguration_PrivilegedDelete; + context.DefaultRetention_Type = this.DefaultRetention_Type; + context.DefaultRetention_Value = this.DefaultRetention_Value; + context.MaximumRetention_Type = this.MaximumRetention_Type; + context.MaximumRetention_Value = this.MaximumRetention_Value; + context.MinimumRetention_Type = this.MinimumRetention_Type; + context.MinimumRetention_Value = this.MinimumRetention_Value; + context.SnaplockConfiguration_SnaplockType = this.SnaplockConfiguration_SnaplockType; + context.SnaplockConfiguration_VolumeAppendModeEnabled = this.SnaplockConfiguration_VolumeAppendModeEnabled; context.OntapConfiguration_SnapshotPolicy = this.OntapConfiguration_SnapshotPolicy; context.OntapConfiguration_StorageEfficiencyEnabled = this.OntapConfiguration_StorageEfficiencyEnabled; context.OntapConfiguration_StorageVirtualMachineId = this.OntapConfiguration_StorageVirtualMachineId; @@ -642,6 +831,216 @@ public object Execute(ExecutorContext context) { request.OntapConfiguration.TieringPolicy = requestOntapConfiguration_ontapConfiguration_TieringPolicy; requestOntapConfigurationIsNull = false; + } + Amazon.FSx.Model.CreateSnaplockConfiguration requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration = null; + + // populate SnaplockConfiguration + var requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = true; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration = new Amazon.FSx.Model.CreateSnaplockConfiguration(); + System.Boolean? requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_AuditLogVolume = null; + if (cmdletContext.SnaplockConfiguration_AuditLogVolume != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_AuditLogVolume = cmdletContext.SnaplockConfiguration_AuditLogVolume.Value; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_AuditLogVolume != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration.AuditLogVolume = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_AuditLogVolume.Value; + requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = false; + } + Amazon.FSx.PrivilegedDelete requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_PrivilegedDelete = null; + if (cmdletContext.SnaplockConfiguration_PrivilegedDelete != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_PrivilegedDelete = cmdletContext.SnaplockConfiguration_PrivilegedDelete; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_PrivilegedDelete != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration.PrivilegedDelete = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_PrivilegedDelete; + requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = false; + } + Amazon.FSx.SnaplockType requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_SnaplockType = null; + if (cmdletContext.SnaplockConfiguration_SnaplockType != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_SnaplockType = cmdletContext.SnaplockConfiguration_SnaplockType; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_SnaplockType != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration.SnaplockType = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_SnaplockType; + requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = false; + } + System.Boolean? requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_VolumeAppendModeEnabled = null; + if (cmdletContext.SnaplockConfiguration_VolumeAppendModeEnabled != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_VolumeAppendModeEnabled = cmdletContext.SnaplockConfiguration_VolumeAppendModeEnabled.Value; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_VolumeAppendModeEnabled != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration.VolumeAppendModeEnabled = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_VolumeAppendModeEnabled.Value; + requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = false; + } + Amazon.FSx.Model.AutocommitPeriod requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod = null; + + // populate AutocommitPeriod + var requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriodIsNull = true; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod = new Amazon.FSx.Model.AutocommitPeriod(); + Amazon.FSx.AutocommitPeriodType requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Type = null; + if (cmdletContext.AutocommitPeriod_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Type = cmdletContext.AutocommitPeriod_Type; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod.Type = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Type; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriodIsNull = false; + } + System.Int32? requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Value = null; + if (cmdletContext.AutocommitPeriod_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Value = cmdletContext.AutocommitPeriod_Value.Value; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod.Value = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Value.Value; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriodIsNull = false; + } + // determine if requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod should be set to null + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriodIsNull) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod = null; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration.AutocommitPeriod = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod; + requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = false; + } + Amazon.FSx.Model.SnaplockRetentionPeriod requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod = null; + + // populate RetentionPeriod + var requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriodIsNull = true; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod = new Amazon.FSx.Model.SnaplockRetentionPeriod(); + Amazon.FSx.Model.RetentionPeriod requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention = null; + + // populate DefaultRetention + var requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetentionIsNull = true; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention = new Amazon.FSx.Model.RetentionPeriod(); + Amazon.FSx.RetentionPeriodType requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Type = null; + if (cmdletContext.DefaultRetention_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Type = cmdletContext.DefaultRetention_Type; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention.Type = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Type; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetentionIsNull = false; + } + System.Int32? requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Value = null; + if (cmdletContext.DefaultRetention_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Value = cmdletContext.DefaultRetention_Value.Value; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention.Value = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Value.Value; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetentionIsNull = false; + } + // determine if requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention should be set to null + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetentionIsNull) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention = null; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod.DefaultRetention = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriodIsNull = false; + } + Amazon.FSx.Model.RetentionPeriod requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention = null; + + // populate MaximumRetention + var requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetentionIsNull = true; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention = new Amazon.FSx.Model.RetentionPeriod(); + Amazon.FSx.RetentionPeriodType requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Type = null; + if (cmdletContext.MaximumRetention_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Type = cmdletContext.MaximumRetention_Type; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention.Type = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Type; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetentionIsNull = false; + } + System.Int32? requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Value = null; + if (cmdletContext.MaximumRetention_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Value = cmdletContext.MaximumRetention_Value.Value; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention.Value = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Value.Value; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetentionIsNull = false; + } + // determine if requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention should be set to null + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetentionIsNull) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention = null; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod.MaximumRetention = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriodIsNull = false; + } + Amazon.FSx.Model.RetentionPeriod requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention = null; + + // populate MinimumRetention + var requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetentionIsNull = true; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention = new Amazon.FSx.Model.RetentionPeriod(); + Amazon.FSx.RetentionPeriodType requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Type = null; + if (cmdletContext.MinimumRetention_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Type = cmdletContext.MinimumRetention_Type; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention.Type = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Type; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetentionIsNull = false; + } + System.Int32? requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Value = null; + if (cmdletContext.MinimumRetention_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Value = cmdletContext.MinimumRetention_Value.Value; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention.Value = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Value.Value; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetentionIsNull = false; + } + // determine if requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention should be set to null + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetentionIsNull) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention = null; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod.MinimumRetention = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriodIsNull = false; + } + // determine if requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod should be set to null + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriodIsNull) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod = null; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration.RetentionPeriod = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod; + requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = false; + } + // determine if requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration should be set to null + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration = null; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration != null) + { + request.OntapConfiguration.SnaplockConfiguration = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration; + requestOntapConfigurationIsNull = false; } // determine if request.OntapConfiguration should be set to null if (requestOntapConfigurationIsNull) @@ -858,6 +1257,18 @@ internal partial class CmdletContext : ExecutorContext public Amazon.FSx.InputOntapVolumeType OntapConfiguration_OntapVolumeType { get; set; } public Amazon.FSx.SecurityStyle OntapConfiguration_SecurityStyle { get; set; } public System.Int32? OntapConfiguration_SizeInMegabyte { get; set; } + public System.Boolean? SnaplockConfiguration_AuditLogVolume { get; set; } + public Amazon.FSx.AutocommitPeriodType AutocommitPeriod_Type { get; set; } + public System.Int32? AutocommitPeriod_Value { get; set; } + public Amazon.FSx.PrivilegedDelete SnaplockConfiguration_PrivilegedDelete { get; set; } + public Amazon.FSx.RetentionPeriodType DefaultRetention_Type { get; set; } + public System.Int32? DefaultRetention_Value { get; set; } + public Amazon.FSx.RetentionPeriodType MaximumRetention_Type { get; set; } + public System.Int32? MaximumRetention_Value { get; set; } + public Amazon.FSx.RetentionPeriodType MinimumRetention_Type { get; set; } + public System.Int32? MinimumRetention_Value { get; set; } + public Amazon.FSx.SnaplockType SnaplockConfiguration_SnaplockType { get; set; } + public System.Boolean? SnaplockConfiguration_VolumeAppendModeEnabled { get; set; } public System.String OntapConfiguration_SnapshotPolicy { get; set; } public System.Boolean? OntapConfiguration_StorageEfficiencyEnabled { get; set; } public System.String OntapConfiguration_StorageVirtualMachineId { get; set; } diff --git a/modules/AWSPowerShell/Cmdlets/FSx/Basic/New-FSXVolumeFromBackup-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/FSx/Basic/New-FSXVolumeFromBackup-Cmdlet.cs index 27c97e944a..961d0a8931 100644 --- a/modules/AWSPowerShell/Cmdlets/FSx/Basic/New-FSXVolumeFromBackup-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/FSx/Basic/New-FSXVolumeFromBackup-Cmdlet.cs @@ -43,6 +43,21 @@ public partial class NewFSXVolumeFromBackupCmdlet : AmazonFSxClientCmdlet, IExec protected override bool IsSensitiveResponse { get; set; } = true; + #region Parameter SnaplockConfiguration_AuditLogVolume + /// + /// + /// Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume. The + /// default value is false. If you set AuditLogVolume to true, + /// the SnapLock volume is created as an audit log volume. The minimum retention period + /// for an audit log volume is six months. For more information, see + /// SnapLock audit log volumes. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_AuditLogVolume")] + public System.Boolean? SnaplockConfiguration_AuditLogVolume { get; set; } + #endregion + #region Parameter BackupId /// /// @@ -157,6 +172,23 @@ public partial class NewFSXVolumeFromBackupCmdlet : AmazonFSxClientCmdlet, IExec public Amazon.FSx.InputOntapVolumeType OntapConfiguration_OntapVolumeType { get; set; } #endregion + #region Parameter SnaplockConfiguration_PrivilegedDelete + /// + /// + /// Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock + /// Enterprise volume. Enabling privileged delete allows SnapLock administrators to delete + /// WORM files even if they have active retention periods. PERMANENTLY_DISABLED + /// is a terminal state. If privileged delete is permanently disabled on a SnapLock volume, + /// you can't re-enable it. The default value is DISABLED. For more information, see Privileged + /// delete. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_PrivilegedDelete")] + [AWSConstantClassSource("Amazon.FSx.PrivilegedDelete")] + public Amazon.FSx.PrivilegedDelete SnaplockConfiguration_PrivilegedDelete { get; set; } + #endregion + #region Parameter OntapConfiguration_SecurityStyle /// /// @@ -181,8 +213,7 @@ public partial class NewFSXVolumeFromBackupCmdlet : AmazonFSxClientCmdlet, IExec #region Parameter OntapConfiguration_SizeInMegabyte /// /// - /// Specifies the size of the volume, in megabytes (MB), that you are creating. Provide - /// any whole number in the range of 20–104857600 to specify the size of the volume. + /// Specifies the size of the volume, in megabytes (MB), that you are creating. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] @@ -190,6 +221,28 @@ public partial class NewFSXVolumeFromBackupCmdlet : AmazonFSxClientCmdlet, IExec public System.Int32? OntapConfiguration_SizeInMegabyte { get; set; } #endregion + #region Parameter SnaplockConfiguration_SnaplockType + /// + /// + /// Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, + /// it can't be changed. You can choose one of the following retention modes:
  • COMPLIANCE: Files transitioned to write once, read many (WORM) on a + /// Compliance volume can't be deleted until their retention periods expire. This retention + /// mode is used to address government or industry-specific mandates or to protect against + /// ransomware attacks. For more information, see SnapLock + /// Compliance.
  • ENTERPRISE: Files transitioned to WORM on an Enterprise volume can be + /// deleted by authorized users before their retention periods expire using privileged + /// delete. This retention mode is used to advance an organization's data integrity and + /// internal compliance or to test retention settings before using SnapLock Compliance. + /// For more information, see SnapLock + /// Enterprise.
+ ///
+ ///
+ [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_SnaplockType")] + [AWSConstantClassSource("Amazon.FSx.SnaplockType")] + public Amazon.FSx.SnaplockType SnaplockConfiguration_SnaplockType { get; set; } + #endregion + #region Parameter OntapConfiguration_SnapshotPolicy /// /// @@ -239,6 +292,130 @@ public partial class NewFSXVolumeFromBackupCmdlet : AmazonFSxClientCmdlet, IExec public Amazon.FSx.Model.Tag[] Tag { get; set; } #endregion + #region Parameter AutocommitPeriod_Type + /// + /// + /// Defines the type of time for the autocommit period of a file in an FSx for ONTAP SnapLock + /// volume. Setting this value to NONE disables autocommit. The default value + /// is NONE. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_AutocommitPeriod_Type")] + [AWSConstantClassSource("Amazon.FSx.AutocommitPeriodType")] + public Amazon.FSx.AutocommitPeriodType AutocommitPeriod_Type { get; set; } + #endregion + + #region Parameter DefaultRetention_Type + /// + /// + /// Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume. + /// Set it to one of the valid types. If you set it to INFINITE, the files + /// are retained forever. If you set it to UNSPECIFIED, the files are retained + /// until you set an explicit retention period. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_Type")] + [AWSConstantClassSource("Amazon.FSx.RetentionPeriodType")] + public Amazon.FSx.RetentionPeriodType DefaultRetention_Type { get; set; } + #endregion + + #region Parameter MaximumRetention_Type + /// + /// + /// Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume. + /// Set it to one of the valid types. If you set it to INFINITE, the files + /// are retained forever. If you set it to UNSPECIFIED, the files are retained + /// until you set an explicit retention period. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_Type")] + [AWSConstantClassSource("Amazon.FSx.RetentionPeriodType")] + public Amazon.FSx.RetentionPeriodType MaximumRetention_Type { get; set; } + #endregion + + #region Parameter MinimumRetention_Type + /// + /// + /// Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume. + /// Set it to one of the valid types. If you set it to INFINITE, the files + /// are retained forever. If you set it to UNSPECIFIED, the files are retained + /// until you set an explicit retention period. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_Type")] + [AWSConstantClassSource("Amazon.FSx.RetentionPeriodType")] + public Amazon.FSx.RetentionPeriodType MinimumRetention_Type { get; set; } + #endregion + + #region Parameter AutocommitPeriod_Value + /// + /// + /// Defines the amount of time for the autocommit period of a file in an FSx for ONTAP + /// SnapLock volume. The following ranges are valid:
  • Minutes: 5 - 65,535
  • Hours: 1 - 65,535
  • Days: 1 - 3,650
  • Months: 1 - 120
  • Years: 1 - 10
+ ///
+ ///
+ [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_AutocommitPeriod_Value")] + public System.Int32? AutocommitPeriod_Value { get; set; } + #endregion + + #region Parameter DefaultRetention_Value + /// + /// + /// Defines the amount of time for the retention period of an FSx for ONTAP SnapLock volume. + /// You can't set a value for INFINITE or UNSPECIFIED. For all + /// other options, the following ranges are valid:
  • Seconds: 0 - 65,535
  • Minutes: 0 - 65,535
  • Hours: 0 - 24
  • Days: 0 - 365
  • Months: 0 - 12
  • Years: 0 - 100
+ ///
+ ///
+ [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_Value")] + public System.Int32? DefaultRetention_Value { get; set; } + #endregion + + #region Parameter MaximumRetention_Value + /// + /// + /// Defines the amount of time for the retention period of an FSx for ONTAP SnapLock volume. + /// You can't set a value for INFINITE or UNSPECIFIED. For all + /// other options, the following ranges are valid:
  • Seconds: 0 - 65,535
  • Minutes: 0 - 65,535
  • Hours: 0 - 24
  • Days: 0 - 365
  • Months: 0 - 12
  • Years: 0 - 100
+ ///
+ ///
+ [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_Value")] + public System.Int32? MaximumRetention_Value { get; set; } + #endregion + + #region Parameter MinimumRetention_Value + /// + /// + /// Defines the amount of time for the retention period of an FSx for ONTAP SnapLock volume. + /// You can't set a value for INFINITE or UNSPECIFIED. For all + /// other options, the following ranges are valid:
  • Seconds: 0 - 65,535
  • Minutes: 0 - 65,535
  • Hours: 0 - 24
  • Days: 0 - 365
  • Months: 0 - 12
  • Years: 0 - 100
+ ///
+ ///
+ [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_Value")] + public System.Int32? MinimumRetention_Value { get; set; } + #endregion + + #region Parameter SnaplockConfiguration_VolumeAppendModeEnabled + /// + /// + /// Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. Volume-append + /// mode allows you to create WORM-appendable files and write data to them incrementally. + /// The default value is false. For more information, see Volume-append + /// mode. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_VolumeAppendModeEnabled")] + public System.Boolean? SnaplockConfiguration_VolumeAppendModeEnabled { get; set; } + #endregion + #region Parameter Select /// /// Use the -Select parameter to control the cmdlet output. The default value is 'Volume'. @@ -321,6 +498,18 @@ protected override void ProcessRecord() context.OntapConfiguration_OntapVolumeType = this.OntapConfiguration_OntapVolumeType; context.OntapConfiguration_SecurityStyle = this.OntapConfiguration_SecurityStyle; context.OntapConfiguration_SizeInMegabyte = this.OntapConfiguration_SizeInMegabyte; + context.SnaplockConfiguration_AuditLogVolume = this.SnaplockConfiguration_AuditLogVolume; + context.AutocommitPeriod_Type = this.AutocommitPeriod_Type; + context.AutocommitPeriod_Value = this.AutocommitPeriod_Value; + context.SnaplockConfiguration_PrivilegedDelete = this.SnaplockConfiguration_PrivilegedDelete; + context.DefaultRetention_Type = this.DefaultRetention_Type; + context.DefaultRetention_Value = this.DefaultRetention_Value; + context.MaximumRetention_Type = this.MaximumRetention_Type; + context.MaximumRetention_Value = this.MaximumRetention_Value; + context.MinimumRetention_Type = this.MinimumRetention_Type; + context.MinimumRetention_Value = this.MinimumRetention_Value; + context.SnaplockConfiguration_SnaplockType = this.SnaplockConfiguration_SnaplockType; + context.SnaplockConfiguration_VolumeAppendModeEnabled = this.SnaplockConfiguration_VolumeAppendModeEnabled; context.OntapConfiguration_SnapshotPolicy = this.OntapConfiguration_SnapshotPolicy; context.OntapConfiguration_StorageEfficiencyEnabled = this.OntapConfiguration_StorageEfficiencyEnabled; context.OntapConfiguration_StorageVirtualMachineId = this.OntapConfiguration_StorageVirtualMachineId; @@ -476,6 +665,216 @@ public object Execute(ExecutorContext context) { request.OntapConfiguration.TieringPolicy = requestOntapConfiguration_ontapConfiguration_TieringPolicy; requestOntapConfigurationIsNull = false; + } + Amazon.FSx.Model.CreateSnaplockConfiguration requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration = null; + + // populate SnaplockConfiguration + var requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = true; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration = new Amazon.FSx.Model.CreateSnaplockConfiguration(); + System.Boolean? requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_AuditLogVolume = null; + if (cmdletContext.SnaplockConfiguration_AuditLogVolume != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_AuditLogVolume = cmdletContext.SnaplockConfiguration_AuditLogVolume.Value; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_AuditLogVolume != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration.AuditLogVolume = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_AuditLogVolume.Value; + requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = false; + } + Amazon.FSx.PrivilegedDelete requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_PrivilegedDelete = null; + if (cmdletContext.SnaplockConfiguration_PrivilegedDelete != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_PrivilegedDelete = cmdletContext.SnaplockConfiguration_PrivilegedDelete; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_PrivilegedDelete != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration.PrivilegedDelete = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_PrivilegedDelete; + requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = false; + } + Amazon.FSx.SnaplockType requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_SnaplockType = null; + if (cmdletContext.SnaplockConfiguration_SnaplockType != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_SnaplockType = cmdletContext.SnaplockConfiguration_SnaplockType; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_SnaplockType != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration.SnaplockType = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_SnaplockType; + requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = false; + } + System.Boolean? requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_VolumeAppendModeEnabled = null; + if (cmdletContext.SnaplockConfiguration_VolumeAppendModeEnabled != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_VolumeAppendModeEnabled = cmdletContext.SnaplockConfiguration_VolumeAppendModeEnabled.Value; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_VolumeAppendModeEnabled != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration.VolumeAppendModeEnabled = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_VolumeAppendModeEnabled.Value; + requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = false; + } + Amazon.FSx.Model.AutocommitPeriod requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod = null; + + // populate AutocommitPeriod + var requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriodIsNull = true; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod = new Amazon.FSx.Model.AutocommitPeriod(); + Amazon.FSx.AutocommitPeriodType requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Type = null; + if (cmdletContext.AutocommitPeriod_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Type = cmdletContext.AutocommitPeriod_Type; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod.Type = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Type; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriodIsNull = false; + } + System.Int32? requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Value = null; + if (cmdletContext.AutocommitPeriod_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Value = cmdletContext.AutocommitPeriod_Value.Value; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod.Value = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Value.Value; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriodIsNull = false; + } + // determine if requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod should be set to null + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriodIsNull) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod = null; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration.AutocommitPeriod = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod; + requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = false; + } + Amazon.FSx.Model.SnaplockRetentionPeriod requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod = null; + + // populate RetentionPeriod + var requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriodIsNull = true; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod = new Amazon.FSx.Model.SnaplockRetentionPeriod(); + Amazon.FSx.Model.RetentionPeriod requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention = null; + + // populate DefaultRetention + var requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetentionIsNull = true; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention = new Amazon.FSx.Model.RetentionPeriod(); + Amazon.FSx.RetentionPeriodType requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Type = null; + if (cmdletContext.DefaultRetention_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Type = cmdletContext.DefaultRetention_Type; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention.Type = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Type; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetentionIsNull = false; + } + System.Int32? requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Value = null; + if (cmdletContext.DefaultRetention_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Value = cmdletContext.DefaultRetention_Value.Value; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention.Value = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Value.Value; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetentionIsNull = false; + } + // determine if requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention should be set to null + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetentionIsNull) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention = null; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod.DefaultRetention = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriodIsNull = false; + } + Amazon.FSx.Model.RetentionPeriod requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention = null; + + // populate MaximumRetention + var requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetentionIsNull = true; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention = new Amazon.FSx.Model.RetentionPeriod(); + Amazon.FSx.RetentionPeriodType requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Type = null; + if (cmdletContext.MaximumRetention_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Type = cmdletContext.MaximumRetention_Type; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention.Type = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Type; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetentionIsNull = false; + } + System.Int32? requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Value = null; + if (cmdletContext.MaximumRetention_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Value = cmdletContext.MaximumRetention_Value.Value; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention.Value = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Value.Value; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetentionIsNull = false; + } + // determine if requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention should be set to null + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetentionIsNull) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention = null; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod.MaximumRetention = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriodIsNull = false; + } + Amazon.FSx.Model.RetentionPeriod requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention = null; + + // populate MinimumRetention + var requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetentionIsNull = true; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention = new Amazon.FSx.Model.RetentionPeriod(); + Amazon.FSx.RetentionPeriodType requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Type = null; + if (cmdletContext.MinimumRetention_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Type = cmdletContext.MinimumRetention_Type; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention.Type = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Type; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetentionIsNull = false; + } + System.Int32? requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Value = null; + if (cmdletContext.MinimumRetention_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Value = cmdletContext.MinimumRetention_Value.Value; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention.Value = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Value.Value; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetentionIsNull = false; + } + // determine if requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention should be set to null + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetentionIsNull) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention = null; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod.MinimumRetention = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriodIsNull = false; + } + // determine if requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod should be set to null + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriodIsNull) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod = null; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration.RetentionPeriod = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod; + requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = false; + } + // determine if requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration should be set to null + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration = null; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration != null) + { + request.OntapConfiguration.SnaplockConfiguration = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration; + requestOntapConfigurationIsNull = false; } // determine if request.OntapConfiguration should be set to null if (requestOntapConfigurationIsNull) @@ -555,6 +954,18 @@ internal partial class CmdletContext : ExecutorContext public Amazon.FSx.InputOntapVolumeType OntapConfiguration_OntapVolumeType { get; set; } public Amazon.FSx.SecurityStyle OntapConfiguration_SecurityStyle { get; set; } public System.Int32? OntapConfiguration_SizeInMegabyte { get; set; } + public System.Boolean? SnaplockConfiguration_AuditLogVolume { get; set; } + public Amazon.FSx.AutocommitPeriodType AutocommitPeriod_Type { get; set; } + public System.Int32? AutocommitPeriod_Value { get; set; } + public Amazon.FSx.PrivilegedDelete SnaplockConfiguration_PrivilegedDelete { get; set; } + public Amazon.FSx.RetentionPeriodType DefaultRetention_Type { get; set; } + public System.Int32? DefaultRetention_Value { get; set; } + public Amazon.FSx.RetentionPeriodType MaximumRetention_Type { get; set; } + public System.Int32? MaximumRetention_Value { get; set; } + public Amazon.FSx.RetentionPeriodType MinimumRetention_Type { get; set; } + public System.Int32? MinimumRetention_Value { get; set; } + public Amazon.FSx.SnaplockType SnaplockConfiguration_SnaplockType { get; set; } + public System.Boolean? SnaplockConfiguration_VolumeAppendModeEnabled { get; set; } public System.String OntapConfiguration_SnapshotPolicy { get; set; } public System.Boolean? OntapConfiguration_StorageEfficiencyEnabled { get; set; } public System.String OntapConfiguration_StorageVirtualMachineId { get; set; } diff --git a/modules/AWSPowerShell/Cmdlets/FSx/Basic/Remove-FSXVolume-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/FSx/Basic/Remove-FSXVolume-Cmdlet.cs index 9ada92fae6..a4b154d1aa 100644 --- a/modules/AWSPowerShell/Cmdlets/FSx/Basic/Remove-FSXVolume-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/FSx/Basic/Remove-FSXVolume-Cmdlet.cs @@ -39,6 +39,21 @@ namespace Amazon.PowerShell.Cmdlets.FSX public partial class RemoveFSXVolumeCmdlet : AmazonFSxClientCmdlet, IExecutor { + #region Parameter OntapConfiguration_BypassSnaplockEnterpriseRetention + /// + /// + /// Setting this to true allows a SnapLock administrator to delete an FSx + /// for ONTAP SnapLock Enterprise volume with unexpired write once, read many (WORM) files. + /// The IAM permission fsx:BypassSnaplockEnterpriseRetention is also required + /// to delete SnapLock Enterprise volumes with unexpired WORM files. The default value + /// is false. For more information, see + /// Deleting a SnapLock volume . + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public System.Boolean? OntapConfiguration_BypassSnaplockEnterpriseRetention { get; set; } + #endregion + #region Parameter ClientRequestToken /// /// @@ -161,6 +176,7 @@ protected override void ProcessRecord() } #pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute context.ClientRequestToken = this.ClientRequestToken; + context.OntapConfiguration_BypassSnaplockEnterpriseRetention = this.OntapConfiguration_BypassSnaplockEnterpriseRetention; if (this.OntapConfiguration_FinalBackupTag != null) { context.OntapConfiguration_FinalBackupTag = new List(this.OntapConfiguration_FinalBackupTag); @@ -201,6 +217,16 @@ public object Execute(ExecutorContext context) // populate OntapConfiguration var requestOntapConfigurationIsNull = true; request.OntapConfiguration = new Amazon.FSx.Model.DeleteVolumeOntapConfiguration(); + System.Boolean? requestOntapConfiguration_ontapConfiguration_BypassSnaplockEnterpriseRetention = null; + if (cmdletContext.OntapConfiguration_BypassSnaplockEnterpriseRetention != null) + { + requestOntapConfiguration_ontapConfiguration_BypassSnaplockEnterpriseRetention = cmdletContext.OntapConfiguration_BypassSnaplockEnterpriseRetention.Value; + } + if (requestOntapConfiguration_ontapConfiguration_BypassSnaplockEnterpriseRetention != null) + { + request.OntapConfiguration.BypassSnaplockEnterpriseRetention = requestOntapConfiguration_ontapConfiguration_BypassSnaplockEnterpriseRetention.Value; + requestOntapConfigurationIsNull = false; + } List requestOntapConfiguration_ontapConfiguration_FinalBackupTag = null; if (cmdletContext.OntapConfiguration_FinalBackupTag != null) { @@ -311,6 +337,7 @@ private Amazon.FSx.Model.DeleteVolumeResponse CallAWSServiceOperation(IAmazonFSx internal partial class CmdletContext : ExecutorContext { public System.String ClientRequestToken { get; set; } + public System.Boolean? OntapConfiguration_BypassSnaplockEnterpriseRetention { get; set; } public List OntapConfiguration_FinalBackupTag { get; set; } public System.Boolean? OntapConfiguration_SkipFinalBackup { get; set; } public List OpenZFSConfiguration_Option { get; set; } diff --git a/modules/AWSPowerShell/Cmdlets/FSx/Basic/Update-FSXFileSystem-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/FSx/Basic/Update-FSXFileSystem-Cmdlet.cs index 1deb90a17a..93195cd5bf 100644 --- a/modules/AWSPowerShell/Cmdlets/FSx/Basic/Update-FSXFileSystem-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/FSx/Basic/Update-FSXFileSystem-Cmdlet.cs @@ -36,7 +36,7 @@ namespace Amazon.PowerShell.Cmdlets.FSX /// For FSx for Windows File Server file systems, you can update the following properties: ///
  • AuditLogConfiguration
  • AutomaticBackupRetentionDays
  • DailyAutomaticBackupStartTime
  • SelfManagedActiveDirectoryConfiguration
  • StorageCapacity
  • ThroughputCapacity
  • WeeklyMaintenanceStartTime
/// For FSx for Lustre file systems, you can update the following properties: - ///
  • AutoImportPolicy
  • AutomaticBackupRetentionDays
  • DailyAutomaticBackupStartTime
  • DataCompressionType
  • LustreRootSquashConfiguration
  • StorageCapacity
  • WeeklyMaintenanceStartTime
+ ///
  • AutoImportPolicy
  • AutomaticBackupRetentionDays
  • DailyAutomaticBackupStartTime
  • DataCompressionType
  • LogConfiguration
  • LustreRootSquashConfiguration
  • StorageCapacity
  • WeeklyMaintenanceStartTime
/// For FSx for ONTAP file systems, you can update the following properties: ///
  • AddRouteTableIds
  • AutomaticBackupRetentionDays
  • DailyAutomaticBackupStartTime
  • DiskIopsConfiguration
  • FsxAdminPassword
  • RemoveRouteTableIds
  • StorageCapacity
  • ThroughputCapacity
  • WeeklyMaintenanceStartTime
/// For FSx for OpenZFS file systems, you can update the following properties: diff --git a/modules/AWSPowerShell/Cmdlets/FSx/Basic/Update-FSXVolume-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/FSx/Basic/Update-FSXVolume-Cmdlet.cs index 3327645d85..42f730f898 100644 --- a/modules/AWSPowerShell/Cmdlets/FSx/Basic/Update-FSXVolume-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/FSx/Basic/Update-FSXVolume-Cmdlet.cs @@ -43,6 +43,21 @@ public partial class UpdateFSXVolumeCmdlet : AmazonFSxClientCmdlet, IExecutor protected override bool IsSensitiveResponse { get; set; } = true; + #region Parameter SnaplockConfiguration_AuditLogVolume + /// + /// + /// Enables or disables the audit log volume for an FSx for ONTAP SnapLock volume. The + /// default value is false. If you set AuditLogVolume to true, + /// the SnapLock volume is created as an audit log volume. The minimum retention period + /// for an audit log volume is six months. For more information, see + /// SnapLock audit log volumes. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_AuditLogVolume")] + public System.Boolean? SnaplockConfiguration_AuditLogVolume { get; set; } + #endregion + #region Parameter ClientRequestToken /// /// @@ -149,6 +164,23 @@ public partial class UpdateFSXVolumeCmdlet : AmazonFSxClientCmdlet, IExecutor public Amazon.FSx.Model.OpenZFSNfsExport[] OpenZFSConfiguration_NfsExport { get; set; } #endregion + #region Parameter SnaplockConfiguration_PrivilegedDelete + /// + /// + /// Enables, disables, or permanently disables privileged delete on an FSx for ONTAP SnapLock + /// Enterprise volume. Enabling privileged delete allows SnapLock administrators to delete + /// write once, read many (WORM) files even if they have active retention periods. PERMANENTLY_DISABLED + /// is a terminal state. If privileged delete is permanently disabled on a SnapLock volume, + /// you can't re-enable it. The default value is DISABLED. For more information, see Privileged + /// delete. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_PrivilegedDelete")] + [AWSConstantClassSource("Amazon.FSx.PrivilegedDelete")] + public Amazon.FSx.PrivilegedDelete SnaplockConfiguration_PrivilegedDelete { get; set; } + #endregion + #region Parameter OpenZFSConfiguration_ReadOnly /// /// @@ -177,7 +209,7 @@ public partial class UpdateFSXVolumeCmdlet : AmazonFSxClientCmdlet, IExecutor #region Parameter OntapConfiguration_SecurityStyle /// /// - /// The security style for the volume, which can be UNIX. NTFS, + /// The security style for the volume, which can be UNIX, NTFS, /// or MIXED. /// /// @@ -249,6 +281,65 @@ public partial class UpdateFSXVolumeCmdlet : AmazonFSxClientCmdlet, IExecutor public System.Boolean? OntapConfiguration_StorageEfficiencyEnabled { get; set; } #endregion + #region Parameter AutocommitPeriod_Type + /// + /// + /// Defines the type of time for the autocommit period of a file in an FSx for ONTAP SnapLock + /// volume. Setting this value to NONE disables autocommit. The default value + /// is NONE. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_AutocommitPeriod_Type")] + [AWSConstantClassSource("Amazon.FSx.AutocommitPeriodType")] + public Amazon.FSx.AutocommitPeriodType AutocommitPeriod_Type { get; set; } + #endregion + + #region Parameter DefaultRetention_Type + /// + /// + /// Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume. + /// Set it to one of the valid types. If you set it to INFINITE, the files + /// are retained forever. If you set it to UNSPECIFIED, the files are retained + /// until you set an explicit retention period. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_Type")] + [AWSConstantClassSource("Amazon.FSx.RetentionPeriodType")] + public Amazon.FSx.RetentionPeriodType DefaultRetention_Type { get; set; } + #endregion + + #region Parameter MaximumRetention_Type + /// + /// + /// Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume. + /// Set it to one of the valid types. If you set it to INFINITE, the files + /// are retained forever. If you set it to UNSPECIFIED, the files are retained + /// until you set an explicit retention period. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_Type")] + [AWSConstantClassSource("Amazon.FSx.RetentionPeriodType")] + public Amazon.FSx.RetentionPeriodType MaximumRetention_Type { get; set; } + #endregion + + #region Parameter MinimumRetention_Type + /// + /// + /// Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume. + /// Set it to one of the valid types. If you set it to INFINITE, the files + /// are retained forever. If you set it to UNSPECIFIED, the files are retained + /// until you set an explicit retention period. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_Type")] + [AWSConstantClassSource("Amazon.FSx.RetentionPeriodType")] + public Amazon.FSx.RetentionPeriodType MinimumRetention_Type { get; set; } + #endregion + #region Parameter OpenZFSConfiguration_UserAndGroupQuota /// /// @@ -260,6 +351,71 @@ public partial class UpdateFSXVolumeCmdlet : AmazonFSxClientCmdlet, IExecutor public Amazon.FSx.Model.OpenZFSUserOrGroupQuota[] OpenZFSConfiguration_UserAndGroupQuota { get; set; } #endregion + #region Parameter AutocommitPeriod_Value + /// + /// + /// Defines the amount of time for the autocommit period of a file in an FSx for ONTAP + /// SnapLock volume. The following ranges are valid:
  • Minutes: 5 - 65,535
  • Hours: 1 - 65,535
  • Days: 1 - 3,650
  • Months: 1 - 120
  • Years: 1 - 10
+ ///
+ ///
+ [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_AutocommitPeriod_Value")] + public System.Int32? AutocommitPeriod_Value { get; set; } + #endregion + + #region Parameter DefaultRetention_Value + /// + /// + /// Defines the amount of time for the retention period of an FSx for ONTAP SnapLock volume. + /// You can't set a value for INFINITE or UNSPECIFIED. For all + /// other options, the following ranges are valid:
  • Seconds: 0 - 65,535
  • Minutes: 0 - 65,535
  • Hours: 0 - 24
  • Days: 0 - 365
  • Months: 0 - 12
  • Years: 0 - 100
+ ///
+ ///
+ [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_Value")] + public System.Int32? DefaultRetention_Value { get; set; } + #endregion + + #region Parameter MaximumRetention_Value + /// + /// + /// Defines the amount of time for the retention period of an FSx for ONTAP SnapLock volume. + /// You can't set a value for INFINITE or UNSPECIFIED. For all + /// other options, the following ranges are valid:
  • Seconds: 0 - 65,535
  • Minutes: 0 - 65,535
  • Hours: 0 - 24
  • Days: 0 - 365
  • Months: 0 - 12
  • Years: 0 - 100
+ ///
+ ///
+ [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_Value")] + public System.Int32? MaximumRetention_Value { get; set; } + #endregion + + #region Parameter MinimumRetention_Value + /// + /// + /// Defines the amount of time for the retention period of an FSx for ONTAP SnapLock volume. + /// You can't set a value for INFINITE or UNSPECIFIED. For all + /// other options, the following ranges are valid:
  • Seconds: 0 - 65,535
  • Minutes: 0 - 65,535
  • Hours: 0 - 24
  • Days: 0 - 365
  • Months: 0 - 12
  • Years: 0 - 100
+ ///
+ ///
+ [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_Value")] + public System.Int32? MinimumRetention_Value { get; set; } + #endregion + + #region Parameter SnaplockConfiguration_VolumeAppendModeEnabled + /// + /// + /// Enables or disables volume-append mode on an FSx for ONTAP SnapLock volume. Volume-append + /// mode allows you to create WORM-appendable files and write data to them incrementally. + /// The default value is false. For more information, see Volume-append + /// mode. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("OntapConfiguration_SnaplockConfiguration_VolumeAppendModeEnabled")] + public System.Boolean? SnaplockConfiguration_VolumeAppendModeEnabled { get; set; } + #endregion + #region Parameter VolumeId /// /// @@ -345,6 +501,17 @@ protected override void ProcessRecord() context.OntapConfiguration_JunctionPath = this.OntapConfiguration_JunctionPath; context.OntapConfiguration_SecurityStyle = this.OntapConfiguration_SecurityStyle; context.OntapConfiguration_SizeInMegabyte = this.OntapConfiguration_SizeInMegabyte; + context.SnaplockConfiguration_AuditLogVolume = this.SnaplockConfiguration_AuditLogVolume; + context.AutocommitPeriod_Type = this.AutocommitPeriod_Type; + context.AutocommitPeriod_Value = this.AutocommitPeriod_Value; + context.SnaplockConfiguration_PrivilegedDelete = this.SnaplockConfiguration_PrivilegedDelete; + context.DefaultRetention_Type = this.DefaultRetention_Type; + context.DefaultRetention_Value = this.DefaultRetention_Value; + context.MaximumRetention_Type = this.MaximumRetention_Type; + context.MaximumRetention_Value = this.MaximumRetention_Value; + context.MinimumRetention_Type = this.MinimumRetention_Type; + context.MinimumRetention_Value = this.MinimumRetention_Value; + context.SnaplockConfiguration_VolumeAppendModeEnabled = this.SnaplockConfiguration_VolumeAppendModeEnabled; context.OntapConfiguration_SnapshotPolicy = this.OntapConfiguration_SnapshotPolicy; context.OntapConfiguration_StorageEfficiencyEnabled = this.OntapConfiguration_StorageEfficiencyEnabled; context.TieringPolicy_CoolingPeriod = this.TieringPolicy_CoolingPeriod; @@ -491,6 +658,206 @@ public object Execute(ExecutorContext context) { request.OntapConfiguration.TieringPolicy = requestOntapConfiguration_ontapConfiguration_TieringPolicy; requestOntapConfigurationIsNull = false; + } + Amazon.FSx.Model.UpdateSnaplockConfiguration requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration = null; + + // populate SnaplockConfiguration + var requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = true; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration = new Amazon.FSx.Model.UpdateSnaplockConfiguration(); + System.Boolean? requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_AuditLogVolume = null; + if (cmdletContext.SnaplockConfiguration_AuditLogVolume != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_AuditLogVolume = cmdletContext.SnaplockConfiguration_AuditLogVolume.Value; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_AuditLogVolume != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration.AuditLogVolume = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_AuditLogVolume.Value; + requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = false; + } + Amazon.FSx.PrivilegedDelete requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_PrivilegedDelete = null; + if (cmdletContext.SnaplockConfiguration_PrivilegedDelete != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_PrivilegedDelete = cmdletContext.SnaplockConfiguration_PrivilegedDelete; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_PrivilegedDelete != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration.PrivilegedDelete = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_PrivilegedDelete; + requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = false; + } + System.Boolean? requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_VolumeAppendModeEnabled = null; + if (cmdletContext.SnaplockConfiguration_VolumeAppendModeEnabled != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_VolumeAppendModeEnabled = cmdletContext.SnaplockConfiguration_VolumeAppendModeEnabled.Value; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_VolumeAppendModeEnabled != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration.VolumeAppendModeEnabled = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_snaplockConfiguration_VolumeAppendModeEnabled.Value; + requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = false; + } + Amazon.FSx.Model.AutocommitPeriod requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod = null; + + // populate AutocommitPeriod + var requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriodIsNull = true; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod = new Amazon.FSx.Model.AutocommitPeriod(); + Amazon.FSx.AutocommitPeriodType requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Type = null; + if (cmdletContext.AutocommitPeriod_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Type = cmdletContext.AutocommitPeriod_Type; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod.Type = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Type; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriodIsNull = false; + } + System.Int32? requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Value = null; + if (cmdletContext.AutocommitPeriod_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Value = cmdletContext.AutocommitPeriod_Value.Value; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod.Value = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod_autocommitPeriod_Value.Value; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriodIsNull = false; + } + // determine if requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod should be set to null + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriodIsNull) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod = null; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration.AutocommitPeriod = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_AutocommitPeriod; + requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = false; + } + Amazon.FSx.Model.SnaplockRetentionPeriod requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod = null; + + // populate RetentionPeriod + var requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriodIsNull = true; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod = new Amazon.FSx.Model.SnaplockRetentionPeriod(); + Amazon.FSx.Model.RetentionPeriod requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention = null; + + // populate DefaultRetention + var requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetentionIsNull = true; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention = new Amazon.FSx.Model.RetentionPeriod(); + Amazon.FSx.RetentionPeriodType requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Type = null; + if (cmdletContext.DefaultRetention_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Type = cmdletContext.DefaultRetention_Type; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention.Type = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Type; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetentionIsNull = false; + } + System.Int32? requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Value = null; + if (cmdletContext.DefaultRetention_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Value = cmdletContext.DefaultRetention_Value.Value; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention.Value = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention_defaultRetention_Value.Value; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetentionIsNull = false; + } + // determine if requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention should be set to null + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetentionIsNull) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention = null; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod.DefaultRetention = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_DefaultRetention; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriodIsNull = false; + } + Amazon.FSx.Model.RetentionPeriod requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention = null; + + // populate MaximumRetention + var requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetentionIsNull = true; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention = new Amazon.FSx.Model.RetentionPeriod(); + Amazon.FSx.RetentionPeriodType requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Type = null; + if (cmdletContext.MaximumRetention_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Type = cmdletContext.MaximumRetention_Type; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention.Type = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Type; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetentionIsNull = false; + } + System.Int32? requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Value = null; + if (cmdletContext.MaximumRetention_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Value = cmdletContext.MaximumRetention_Value.Value; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention.Value = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention_maximumRetention_Value.Value; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetentionIsNull = false; + } + // determine if requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention should be set to null + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetentionIsNull) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention = null; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod.MaximumRetention = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MaximumRetention; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriodIsNull = false; + } + Amazon.FSx.Model.RetentionPeriod requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention = null; + + // populate MinimumRetention + var requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetentionIsNull = true; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention = new Amazon.FSx.Model.RetentionPeriod(); + Amazon.FSx.RetentionPeriodType requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Type = null; + if (cmdletContext.MinimumRetention_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Type = cmdletContext.MinimumRetention_Type; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Type != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention.Type = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Type; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetentionIsNull = false; + } + System.Int32? requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Value = null; + if (cmdletContext.MinimumRetention_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Value = cmdletContext.MinimumRetention_Value.Value; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Value != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention.Value = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention_minimumRetention_Value.Value; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetentionIsNull = false; + } + // determine if requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention should be set to null + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetentionIsNull) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention = null; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod.MinimumRetention = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_ontapConfiguration_SnaplockConfiguration_RetentionPeriod_MinimumRetention; + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriodIsNull = false; + } + // determine if requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod should be set to null + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriodIsNull) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod = null; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod != null) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration.RetentionPeriod = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration_ontapConfiguration_SnaplockConfiguration_RetentionPeriod; + requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull = false; + } + // determine if requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration should be set to null + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfigurationIsNull) + { + requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration = null; + } + if (requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration != null) + { + request.OntapConfiguration.SnaplockConfiguration = requestOntapConfiguration_ontapConfiguration_SnaplockConfiguration; + requestOntapConfigurationIsNull = false; } // determine if request.OntapConfiguration should be set to null if (requestOntapConfigurationIsNull) @@ -647,6 +1014,17 @@ internal partial class CmdletContext : ExecutorContext public System.String OntapConfiguration_JunctionPath { get; set; } public Amazon.FSx.SecurityStyle OntapConfiguration_SecurityStyle { get; set; } public System.Int32? OntapConfiguration_SizeInMegabyte { get; set; } + public System.Boolean? SnaplockConfiguration_AuditLogVolume { get; set; } + public Amazon.FSx.AutocommitPeriodType AutocommitPeriod_Type { get; set; } + public System.Int32? AutocommitPeriod_Value { get; set; } + public Amazon.FSx.PrivilegedDelete SnaplockConfiguration_PrivilegedDelete { get; set; } + public Amazon.FSx.RetentionPeriodType DefaultRetention_Type { get; set; } + public System.Int32? DefaultRetention_Value { get; set; } + public Amazon.FSx.RetentionPeriodType MaximumRetention_Type { get; set; } + public System.Int32? MaximumRetention_Value { get; set; } + public Amazon.FSx.RetentionPeriodType MinimumRetention_Type { get; set; } + public System.Int32? MinimumRetention_Value { get; set; } + public System.Boolean? SnaplockConfiguration_VolumeAppendModeEnabled { get; set; } public System.String OntapConfiguration_SnapshotPolicy { get; set; } public System.Boolean? OntapConfiguration_StorageEfficiencyEnabled { get; set; } public System.Int32? TieringPolicy_CoolingPeriod { get; set; } diff --git a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Add-IAMRoleToInstanceProfile-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Add-IAMRoleToInstanceProfile-Cmdlet.cs index b15062547d..f7f0e640c8 100644 --- a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Add-IAMRoleToInstanceProfile-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Add-IAMRoleToInstanceProfile-Cmdlet.cs @@ -40,9 +40,10 @@ namespace Amazon.PowerShell.Cmdlets.IAM /// The caller of this operation must be granted the PassRole permission /// on the IAM role by a permissions policy. /// - /// For more information about roles, see Working - /// with roles. For more information about instance profiles, see About - /// instance profiles. + /// For more information about roles, see IAM + /// roles in the IAM User Guide. For more information about instance profiles, + /// see Using + /// instance profiles in the IAM User Guide. /// /// [Cmdlet("Add", "IAMRoleToInstanceProfile", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] diff --git a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMInstanceProfile-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMInstanceProfile-Cmdlet.cs index e897306b04..38a9361265 100644 --- a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMInstanceProfile-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMInstanceProfile-Cmdlet.cs @@ -30,7 +30,7 @@ namespace Amazon.PowerShell.Cmdlets.IAM /// /// Retrieves information about the specified instance profile, including the instance /// profile's path, GUID, ARN, and role. For more information about instance profiles, - /// see About + /// see Using /// instance profiles in the IAM User Guide. /// [Cmdlet("Get", "IAMInstanceProfile")] diff --git a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMInstanceProfileForRole-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMInstanceProfileForRole-Cmdlet.cs index da409fe682..b2366d6597 100644 --- a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMInstanceProfileForRole-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMInstanceProfileForRole-Cmdlet.cs @@ -30,8 +30,8 @@ namespace Amazon.PowerShell.Cmdlets.IAM /// /// Lists the instance profiles that have the specified associated IAM role. If there /// are none, the operation returns an empty list. For more information about instance - /// profiles, go to About - /// instance profiles. + /// profiles, go to Using + /// instance profiles in the IAM User Guide. /// /// /// diff --git a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMInstanceProfileList-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMInstanceProfileList-Cmdlet.cs index 77cf373bff..df815bc6a3 100644 --- a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMInstanceProfileList-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMInstanceProfileList-Cmdlet.cs @@ -30,8 +30,8 @@ namespace Amazon.PowerShell.Cmdlets.IAM /// /// Lists the instance profiles that have the specified path prefix. If there are none, /// the operation returns an empty list. For more information about instance profiles, - /// see About - /// instance profiles. + /// see Using + /// instance profiles in the IAM User Guide. /// /// /// IAM resource-listing operations return a subset of the available attributes for the diff --git a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMRole-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMRole-Cmdlet.cs index 44776fda4d..404e20134c 100644 --- a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMRole-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMRole-Cmdlet.cs @@ -30,8 +30,8 @@ namespace Amazon.PowerShell.Cmdlets.IAM /// /// Retrieves information about the specified role, including the role's path, GUID, ARN, /// and the role's trust policy that grants permission to assume the role. For more information - /// about roles, see Working - /// with roles. + /// about roles, see IAM + /// roles in the IAM User Guide. /// /// /// Policies returned by this operation are URL-encoded compliant with RFC diff --git a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMRoleList-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMRoleList-Cmdlet.cs index 1244fce0d4..7f742ed26f 100644 --- a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMRoleList-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMRoleList-Cmdlet.cs @@ -29,8 +29,8 @@ namespace Amazon.PowerShell.Cmdlets.IAM { /// /// Lists the IAM roles that have the specified path prefix. If there are none, the operation - /// returns an empty list. For more information about roles, see Working - /// with roles. + /// returns an empty list. For more information about roles, see IAM + /// roles in the IAM User Guide. /// /// /// IAM resource-listing operations return a subset of the available attributes for the diff --git a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMRolePolicy-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMRolePolicy-Cmdlet.cs index fa79b65ee2..ba309bf53e 100644 --- a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMRolePolicy-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Get-IAMRolePolicy-Cmdlet.cs @@ -45,8 +45,8 @@ namespace Amazon.PowerShell.Cmdlets.IAM /// For more information about policies, see Managed /// policies and inline policies in the IAM User Guide. /// - /// For more information about roles, see Using - /// roles to delegate permissions and federate identities. + /// For more information about roles, see IAM + /// roles in the IAM User Guide. /// /// [Cmdlet("Get", "IAMRolePolicy")] diff --git a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/New-IAMOpenIDConnectProvider-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/New-IAMOpenIDConnectProvider-Cmdlet.cs index eef435a192..9e98686d54 100644 --- a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/New-IAMOpenIDConnectProvider-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/New-IAMOpenIDConnectProvider-Cmdlet.cs @@ -59,11 +59,11 @@ namespace Amazon.PowerShell.Cmdlets.IAM /// Web Services. /// /// Amazon Web Services secures communication with some OIDC identity providers (IdPs) - /// through our library of trusted certificate authorities (CAs) instead of using a certificate - /// thumbprint to verify your IdP server certificate. These OIDC IdPs include Google, - /// Auth0, and those that use an Amazon S3 bucket to host a JSON Web Key Set (JWKS) endpoint. - /// In these cases, your legacy thumbprint remains in your configuration, but is no longer - /// used for validation. + /// through our library of trusted root certificate authorities (CAs) instead of using + /// a certificate thumbprint to verify your IdP server certificate. These OIDC IdPs include + /// Auth0, GitHub, Google, and those that use an Amazon S3 bucket to host a JSON Web Key + /// Set (JWKS) endpoint. In these cases, your legacy thumbprint remains in your configuration, + /// but is no longer used for validation. /// /// The trust for the OIDC provider is derived from the IAM provider that this operation /// creates. Therefore, it is best to limit access to the CreateOpenIDConnectProvider diff --git a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/New-IAMRole-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/New-IAMRole-Cmdlet.cs index 0472294e68..361cad23a4 100644 --- a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/New-IAMRole-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/New-IAMRole-Cmdlet.cs @@ -28,11 +28,15 @@ namespace Amazon.PowerShell.Cmdlets.IAM { /// - /// Creates a new role for your Amazon Web Services account. For more information about - /// roles, see IAM - /// roles. For information about quotas for role names and the number of roles you - /// can create, see IAM + /// Creates a new role for your Amazon Web Services account. + /// + /// + /// + /// For more information about roles, see IAM + /// roles in the IAM User Guide. For information about quotas for role names + /// and the number of roles you can create, see IAM /// and STS quotas in the IAM User Guide. + /// /// [Cmdlet("New", "IAMRole", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] [OutputType("Amazon.IdentityManagement.Model.Role")] diff --git a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Remove-IAMInstanceProfile-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Remove-IAMInstanceProfile-Cmdlet.cs index 35487c2a25..724586582c 100644 --- a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Remove-IAMInstanceProfile-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Remove-IAMInstanceProfile-Cmdlet.cs @@ -36,8 +36,8 @@ namespace Amazon.PowerShell.Cmdlets.IAM /// profile you are about to delete. Deleting a role or instance profile that is associated /// with a running instance will break any applications running on the instance. /// - /// For more information about instance profiles, see About - /// instance profiles. + /// For more information about instance profiles, see Using + /// instance profiles in the IAM User Guide. /// /// [Cmdlet("Remove", "IAMInstanceProfile", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] diff --git a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Remove-IAMRoleFromInstanceProfile-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Remove-IAMRoleFromInstanceProfile-Cmdlet.cs index 7f0f644346..1bba2e7a9a 100644 --- a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Remove-IAMRoleFromInstanceProfile-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Remove-IAMRoleFromInstanceProfile-Cmdlet.cs @@ -36,9 +36,10 @@ namespace Amazon.PowerShell.Cmdlets.IAM /// that is associated with a running instance might break any applications running on /// the instance. /// - /// For more information about IAM roles, see Working - /// with roles. For more information about instance profiles, see About - /// instance profiles. + /// For more information about roles, see IAM + /// roles in the IAM User Guide. For more information about instance profiles, + /// see Using + /// instance profiles in the IAM User Guide. /// /// [Cmdlet("Remove", "IAMRoleFromInstanceProfile", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] diff --git a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Update-IAMOpenIDConnectProviderThumbprint-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Update-IAMOpenIDConnectProviderThumbprint-Cmdlet.cs index 68958e0e19..f9d5a17a78 100644 --- a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Update-IAMOpenIDConnectProviderThumbprint-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Update-IAMOpenIDConnectProviderThumbprint-Cmdlet.cs @@ -42,11 +42,11 @@ namespace Amazon.PowerShell.Cmdlets.IAM /// fails until the certificate thumbprint is updated. /// /// Amazon Web Services secures communication with some OIDC identity providers (IdPs) - /// through our library of trusted certificate authorities (CAs) instead of using a certificate - /// thumbprint to verify your IdP server certificate. These OIDC IdPs include Google, - /// Auth0, and those that use an Amazon S3 bucket to host a JSON Web Key Set (JWKS) endpoint. - /// In these cases, your legacy thumbprint remains in your configuration, but is no longer - /// used for validation. + /// through our library of trusted root certificate authorities (CAs) instead of using + /// a certificate thumbprint to verify your IdP server certificate. These OIDC IdPs include + /// Auth0, GitHub, Google, and those that use an Amazon S3 bucket to host a JSON Web Key + /// Set (JWKS) endpoint. In these cases, your legacy thumbprint remains in your configuration, + /// but is no longer used for validation. /// /// Trust for the OIDC provider is derived from the provider certificate and is validated /// by the thumbprint. Therefore, it is best to limit access to the UpdateOpenIDConnectProviderThumbprint diff --git a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Write-IAMGroupPolicy-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Write-IAMGroupPolicy-Cmdlet.cs index c75fbf6dee..acfa9fb2ef 100644 --- a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Write-IAMGroupPolicy-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Write-IAMGroupPolicy-Cmdlet.cs @@ -80,7 +80,7 @@ public partial class WriteIAMGroupPolicyCmdlet : AmazonIdentityManagementService /// /// The policy document.You must provide policies in JSON format in IAM. However, for CloudFormation templates /// formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation - /// always converts a YAML policy to JSON format before submitting it to = IAM.The regex pattern used to validate this + /// always converts a YAML policy to JSON format before submitting it to IAM.The regex pattern used to validate this /// parameter is a string of characters consisting of the following:
  • Any printable ASCII character ranging from the space character (\u0020) /// through the end of the ASCII character range
  • The printable characters in the Basic Latin and Latin-1 Supplement character set (through /// \u00FF)
  • The special characters tab (\u0009), line feed (\u000A), diff --git a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Write-IAMRolePolicy-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Write-IAMRolePolicy-Cmdlet.cs index f527255bb1..ac6ff042b1 100644 --- a/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Write-IAMRolePolicy-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/IdentityManagement/Basic/Write-IAMRolePolicy-Cmdlet.cs @@ -34,9 +34,8 @@ namespace Amazon.PowerShell.Cmdlets.IAM /// /// When you embed an inline policy in a role, the inline policy is used as part of the /// role's access (permissions) policy. The role's trust policy is created at the same - /// time as the role, using CreateRole. You can update a role's trust policy using UpdateAssumerolePolicy. For more information about IAM roles, see - /// Using - /// roles to delegate permissions and federate identities. + /// time as the role, using CreateRole. You can update a role's trust policy using UpdateAssumeRolePolicy. For more information about roles, see IAM roles + /// in the IAM User Guide. /// /// A role can also have a managed policy attached to it. To attach a managed policy to /// a role, use AttachRolePolicy. To create a new managed policy, use CreatePolicy. For information about policies, see Managed diff --git a/modules/AWSPowerShell/Cmdlets/Personalize/AWS.Tools.Personalize.Completers.psm1 b/modules/AWSPowerShell/Cmdlets/Personalize/AWS.Tools.Personalize.Completers.psm1 index 7114537de7..04ef8b9c72 100644 --- a/modules/AWSPowerShell/Cmdlets/Personalize/AWS.Tools.Personalize.Completers.psm1 +++ b/modules/AWSPowerShell/Cmdlets/Personalize/AWS.Tools.Personalize.Completers.psm1 @@ -257,6 +257,7 @@ $PERS_SelectMap = @{ "Add-PERSResourceTag", "Remove-PERSResourceTag", "Update-PERSCampaign", + "Update-PERSDataset", "Update-PERSMetricAttribution", "Update-PERSRecommender") } diff --git a/modules/AWSPowerShell/Cmdlets/Personalize/AWS.Tools.Personalize.psd1 b/modules/AWSPowerShell/Cmdlets/Personalize/AWS.Tools.Personalize.psd1 index deb0b646aa..b36000f1dc 100644 --- a/modules/AWSPowerShell/Cmdlets/Personalize/AWS.Tools.Personalize.psd1 +++ b/modules/AWSPowerShell/Cmdlets/Personalize/AWS.Tools.Personalize.psd1 @@ -150,6 +150,7 @@ This version of AWS Tools for PowerShell is compatible with Windows PowerShell 5 'Stop-PERSRecommender', 'Stop-PERSSolutionVersionCreation', 'Update-PERSCampaign', + 'Update-PERSDataset', 'Update-PERSMetricAttribution', 'Update-PERSRecommender') diff --git a/modules/AWSPowerShell/Cmdlets/Personalize/Basic/New-PERSSolution-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/Personalize/Basic/New-PERSSolution-Cmdlet.cs index 97e26ae306..3975fa5f80 100644 --- a/modules/AWSPowerShell/Cmdlets/Personalize/Basic/New-PERSSolution-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/Personalize/Basic/New-PERSSolution-Cmdlet.cs @@ -282,7 +282,7 @@ public partial class NewPERSSolutionCmdlet : AmazonPersonalizeClientCmdlet, IExe #region Parameter RecipeArn /// /// - /// The ARN of the recipe to use for model training. Only specified when performAutoML + /// The ARN of the recipe to use for model training. This is required when performAutoML /// is false. /// /// diff --git a/modules/AWSPowerShell/Cmdlets/Personalize/Basic/Update-PERSDataset-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/Personalize/Basic/Update-PERSDataset-Cmdlet.cs new file mode 100644 index 0000000000..e630751653 --- /dev/null +++ b/modules/AWSPowerShell/Cmdlets/Personalize/Basic/Update-PERSDataset-Cmdlet.cs @@ -0,0 +1,227 @@ +/******************************************************************************* + * Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"). You may not use + * this file except in compliance with the License. A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. + * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + * CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * ***************************************************************************** + * + * AWS Tools for Windows (TM) PowerShell (TM) + * + */ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using System.Text; +using Amazon.PowerShell.Common; +using Amazon.Runtime; +using Amazon.Personalize; +using Amazon.Personalize.Model; + +namespace Amazon.PowerShell.Cmdlets.PERS +{ + /// + /// Update a dataset to replace its schema with a new or existing one. For more information, + /// see Replacing + /// a dataset's schema. + /// + [Cmdlet("Update", "PERSDataset", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)] + [OutputType("System.String")] + [AWSCmdlet("Calls the AWS Personalize UpdateDataset API operation.", Operation = new[] {"UpdateDataset"}, SelectReturnType = typeof(Amazon.Personalize.Model.UpdateDatasetResponse))] + [AWSCmdletOutput("System.String or Amazon.Personalize.Model.UpdateDatasetResponse", + "This cmdlet returns a System.String object.", + "The service call response (type Amazon.Personalize.Model.UpdateDatasetResponse) can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack." + )] + public partial class UpdatePERSDatasetCmdlet : AmazonPersonalizeClientCmdlet, IExecutor + { + + #region Parameter DatasetArn + /// + /// + /// The Amazon Resource Name (ARN) of the dataset that you want to update. + /// + /// + #if !MODULAR + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + #else + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true)] + [System.Management.Automation.AllowEmptyString] + [System.Management.Automation.AllowNull] + #endif + [Amazon.PowerShell.Common.AWSRequiredParameter] + public System.String DatasetArn { get; set; } + #endregion + + #region Parameter SchemaArn + /// + /// + /// The Amazon Resource Name (ARN) of the new schema you want use. + /// + /// + #if !MODULAR + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + #else + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true)] + [System.Management.Automation.AllowEmptyString] + [System.Management.Automation.AllowNull] + #endif + [Amazon.PowerShell.Common.AWSRequiredParameter] + public System.String SchemaArn { get; set; } + #endregion + + #region Parameter Select + /// + /// Use the -Select parameter to control the cmdlet output. The default value is 'DatasetArn'. + /// Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.Personalize.Model.UpdateDatasetResponse). + /// Specifying the name of a property of type Amazon.Personalize.Model.UpdateDatasetResponse will result in that property being returned. + /// Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value. + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public string Select { get; set; } = "DatasetArn"; + #endregion + + #region Parameter Force + /// + /// This parameter overrides confirmation prompts to force + /// the cmdlet to continue its operation. This parameter should always + /// be used with caution. + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public SwitchParameter Force { get; set; } + #endregion + + protected override void ProcessRecord() + { + this._AWSSignerType = "v4"; + base.ProcessRecord(); + + var resourceIdentifiersText = FormatParameterValuesForConfirmationMsg(nameof(this.DatasetArn), MyInvocation.BoundParameters); + if (!ConfirmShouldProceed(this.Force.IsPresent, resourceIdentifiersText, "Update-PERSDataset (UpdateDataset)")) + { + return; + } + + var context = new CmdletContext(); + + // allow for manipulation of parameters prior to loading into context + PreExecutionContextLoad(context); + + if (ParameterWasBound(nameof(this.Select))) + { + context.Select = CreateSelectDelegate(Select) ?? + throw new System.ArgumentException("Invalid value for -Select parameter.", nameof(this.Select)); + } + context.DatasetArn = this.DatasetArn; + #if MODULAR + if (this.DatasetArn == null && ParameterWasBound(nameof(this.DatasetArn))) + { + WriteWarning("You are passing $null as a value for parameter DatasetArn which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues."); + } + #endif + context.SchemaArn = this.SchemaArn; + #if MODULAR + if (this.SchemaArn == null && ParameterWasBound(nameof(this.SchemaArn))) + { + WriteWarning("You are passing $null as a value for parameter SchemaArn which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues."); + } + #endif + + // allow further manipulation of loaded context prior to processing + PostExecutionContextLoad(context); + + var output = Execute(context) as CmdletOutput; + ProcessOutput(output); + } + + #region IExecutor Members + + public object Execute(ExecutorContext context) + { + var cmdletContext = context as CmdletContext; + // create request + var request = new Amazon.Personalize.Model.UpdateDatasetRequest(); + + if (cmdletContext.DatasetArn != null) + { + request.DatasetArn = cmdletContext.DatasetArn; + } + if (cmdletContext.SchemaArn != null) + { + request.SchemaArn = cmdletContext.SchemaArn; + } + + CmdletOutput output; + + // issue call + var client = Client ?? CreateClient(_CurrentCredentials, _RegionEndpoint); + try + { + var response = CallAWSServiceOperation(client, request); + object pipelineOutput = null; + pipelineOutput = cmdletContext.Select(response, this); + output = new CmdletOutput + { + PipelineOutput = pipelineOutput, + ServiceResponse = response + }; + } + catch (Exception e) + { + output = new CmdletOutput { ErrorResponse = e }; + } + + return output; + } + + public ExecutorContext CreateContext() + { + return new CmdletContext(); + } + + #endregion + + #region AWS Service Operation Call + + private Amazon.Personalize.Model.UpdateDatasetResponse CallAWSServiceOperation(IAmazonPersonalize client, Amazon.Personalize.Model.UpdateDatasetRequest request) + { + Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Personalize", "UpdateDataset"); + try + { + #if DESKTOP + return client.UpdateDataset(request); + #elif CORECLR + return client.UpdateDatasetAsync(request).GetAwaiter().GetResult(); + #else + #error "Unknown build edition" + #endif + } + catch (AmazonServiceException exc) + { + var webException = exc.InnerException as System.Net.WebException; + if (webException != null) + { + throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException); + } + throw; + } + } + + #endregion + + internal partial class CmdletContext : ExecutorContext + { + public System.String DatasetArn { get; set; } + public System.String SchemaArn { get; set; } + public System.Func Select { get; set; } = + (response, cmdlet) => response.DatasetArn; + } + + } +} diff --git a/modules/AWSPowerShell/Cmdlets/Proton/AWS.Tools.Proton.Completers.psm1 b/modules/AWSPowerShell/Cmdlets/Proton/AWS.Tools.Proton.Completers.psm1 index cc14acecfc..9c3533a99c 100644 --- a/modules/AWSPowerShell/Cmdlets/Proton/AWS.Tools.Proton.Completers.psm1 +++ b/modules/AWSPowerShell/Cmdlets/Proton/AWS.Tools.Proton.Completers.psm1 @@ -281,6 +281,7 @@ $PRO_SelectMap = @{ "New-PROServiceTemplateVersion", "New-PROTemplateSyncConfig", "Remove-PROComponent", + "Remove-PRODeployment", "Remove-PROEnvironment", "Remove-PROEnvironmentAccountConnection", "Remove-PROEnvironmentTemplate", @@ -293,6 +294,7 @@ $PRO_SelectMap = @{ "Remove-PROTemplateSyncConfig", "Get-PROAccountSetting", "Get-PROComponent", + "Get-PRODeployment", "Get-PROEnvironment", "Get-PROEnvironmentAccountConnection", "Get-PROEnvironmentTemplate", @@ -312,6 +314,7 @@ $PRO_SelectMap = @{ "Get-PROComponentOutputList", "Get-PROComponentProvisionedResourceList", "Get-PROComponentList", + "Get-PRODeploymentList", "Get-PROEnvironmentAccountConnectionList", "Get-PROEnvironmentOutputList", "Get-PROEnvironmentProvisionedResourceList", diff --git a/modules/AWSPowerShell/Cmdlets/Proton/AWS.Tools.Proton.psd1 b/modules/AWSPowerShell/Cmdlets/Proton/AWS.Tools.Proton.psd1 index c5ff2c24ad..898023cc7b 100644 --- a/modules/AWSPowerShell/Cmdlets/Proton/AWS.Tools.Proton.psd1 +++ b/modules/AWSPowerShell/Cmdlets/Proton/AWS.Tools.Proton.psd1 @@ -95,6 +95,8 @@ This version of AWS Tools for PowerShell is compatible with Windows PowerShell 5 'Get-PROComponentList', 'Get-PROComponentOutputList', 'Get-PROComponentProvisionedResourceList', + 'Get-PRODeployment', + 'Get-PRODeploymentList', 'Get-PROEnvironment', 'Get-PROEnvironmentAccountConnection', 'Get-PROEnvironmentAccountConnectionList', @@ -141,6 +143,7 @@ This version of AWS Tools for PowerShell is compatible with Windows PowerShell 5 'New-PROServiceTemplateVersion', 'New-PROTemplateSyncConfig', 'Remove-PROComponent', + 'Remove-PRODeployment', 'Remove-PROEnvironment', 'Remove-PROEnvironmentAccountConnection', 'Remove-PROEnvironmentTemplate', diff --git a/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PROComponentOutputList-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PROComponentOutputList-Cmdlet.cs index 18696078ee..53742ce4e2 100644 --- a/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PROComponentOutputList-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PROComponentOutputList-Cmdlet.cs @@ -63,6 +63,16 @@ public partial class GetPROComponentOutputListCmdlet : AmazonProtonClientCmdlet, public System.String ComponentName { get; set; } #endregion + #region Parameter DeploymentId + /// + /// + /// The ID of the deployment whose outputs you want. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public System.String DeploymentId { get; set; } + #endregion + #region Parameter NextToken /// /// @@ -127,6 +137,7 @@ protected override void ProcessRecord() WriteWarning("You are passing $null as a value for parameter ComponentName which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues."); } #endif + context.DeploymentId = this.DeploymentId; context.NextToken = this.NextToken; // allow further manipulation of loaded context prior to processing @@ -148,6 +159,10 @@ public object Execute(ExecutorContext context) { request.ComponentName = cmdletContext.ComponentName; } + if (cmdletContext.DeploymentId != null) + { + request.DeploymentId = cmdletContext.DeploymentId; + } if (cmdletContext.NextToken != null) { request.NextToken = cmdletContext.NextToken; @@ -214,6 +229,7 @@ private Amazon.Proton.Model.ListComponentOutputsResponse CallAWSServiceOperation internal partial class CmdletContext : ExecutorContext { public System.String ComponentName { get; set; } + public System.String DeploymentId { get; set; } public System.String NextToken { get; set; } public System.Func Select { get; set; } = (response, cmdlet) => response.Outputs; diff --git a/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PRODeployment-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PRODeployment-Cmdlet.cs new file mode 100644 index 0000000000..3b1af70024 --- /dev/null +++ b/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PRODeployment-Cmdlet.cs @@ -0,0 +1,267 @@ +/******************************************************************************* + * Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"). You may not use + * this file except in compliance with the License. A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. + * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + * CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * ***************************************************************************** + * + * AWS Tools for Windows (TM) PowerShell (TM) + * + */ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using System.Text; +using Amazon.PowerShell.Common; +using Amazon.Runtime; +using Amazon.Proton; +using Amazon.Proton.Model; + +namespace Amazon.PowerShell.Cmdlets.PRO +{ + /// + /// Get detailed data for a deployment. + /// + [Cmdlet("Get", "PRODeployment")] + [OutputType("Amazon.Proton.Model.Deployment")] + [AWSCmdlet("Calls the AWS Proton GetDeployment API operation.", Operation = new[] {"GetDeployment"}, SelectReturnType = typeof(Amazon.Proton.Model.GetDeploymentResponse))] + [AWSCmdletOutput("Amazon.Proton.Model.Deployment or Amazon.Proton.Model.GetDeploymentResponse", + "This cmdlet returns an Amazon.Proton.Model.Deployment object.", + "The service call response (type Amazon.Proton.Model.GetDeploymentResponse) can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack." + )] + public partial class GetPRODeploymentCmdlet : AmazonProtonClientCmdlet, IExecutor + { + + protected override bool IsSensitiveResponse { get; set; } = true; + + #region Parameter ComponentName + /// + /// + /// The name of a component that you want to get the detailed data for. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public System.String ComponentName { get; set; } + #endregion + + #region Parameter EnvironmentName + /// + /// + /// The name of a environment that you want to get the detailed data for. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public System.String EnvironmentName { get; set; } + #endregion + + #region Parameter Id + /// + /// + /// The ID of the deployment that you want to get the detailed data for. + /// + /// + #if !MODULAR + [System.Management.Automation.Parameter(Position = 0, ValueFromPipelineByPropertyName = true, ValueFromPipeline = true)] + #else + [System.Management.Automation.Parameter(Position = 0, ValueFromPipelineByPropertyName = true, ValueFromPipeline = true, Mandatory = true)] + [System.Management.Automation.AllowEmptyString] + [System.Management.Automation.AllowNull] + #endif + [Amazon.PowerShell.Common.AWSRequiredParameter] + public System.String Id { get; set; } + #endregion + + #region Parameter ServiceInstanceName + /// + /// + /// The name of the service instance associated with the given deployment ID. serviceName + /// must be specified to identify the service instance. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public System.String ServiceInstanceName { get; set; } + #endregion + + #region Parameter ServiceName + /// + /// + /// The name of the service associated with the given deployment ID. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public System.String ServiceName { get; set; } + #endregion + + #region Parameter Select + /// + /// Use the -Select parameter to control the cmdlet output. The default value is 'Deployment'. + /// Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.Proton.Model.GetDeploymentResponse). + /// Specifying the name of a property of type Amazon.Proton.Model.GetDeploymentResponse will result in that property being returned. + /// Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value. + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public string Select { get; set; } = "Deployment"; + #endregion + + #region Parameter PassThru + /// + /// Changes the cmdlet behavior to return the value passed to the Id parameter. + /// The -PassThru parameter is deprecated, use -Select '^Id' instead. This parameter will be removed in a future version. + /// + [System.Obsolete("The -PassThru parameter is deprecated, use -Select '^Id' instead. This parameter will be removed in a future version.")] + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public SwitchParameter PassThru { get; set; } + #endregion + + protected override void ProcessRecord() + { + this._AWSSignerType = "v4"; + base.ProcessRecord(); + + var context = new CmdletContext(); + + // allow for manipulation of parameters prior to loading into context + PreExecutionContextLoad(context); + + #pragma warning disable CS0618, CS0612 //A class member was marked with the Obsolete attribute + if (ParameterWasBound(nameof(this.Select))) + { + context.Select = CreateSelectDelegate(Select) ?? + throw new System.ArgumentException("Invalid value for -Select parameter.", nameof(this.Select)); + if (this.PassThru.IsPresent) + { + throw new System.ArgumentException("-PassThru cannot be used when -Select is specified.", nameof(this.Select)); + } + } + else if (this.PassThru.IsPresent) + { + context.Select = (response, cmdlet) => this.Id; + } + #pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute + context.ComponentName = this.ComponentName; + context.EnvironmentName = this.EnvironmentName; + context.Id = this.Id; + #if MODULAR + if (this.Id == null && ParameterWasBound(nameof(this.Id))) + { + WriteWarning("You are passing $null as a value for parameter Id which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues."); + } + #endif + context.ServiceInstanceName = this.ServiceInstanceName; + context.ServiceName = this.ServiceName; + + // allow further manipulation of loaded context prior to processing + PostExecutionContextLoad(context); + + var output = Execute(context) as CmdletOutput; + ProcessOutput(output); + } + + #region IExecutor Members + + public object Execute(ExecutorContext context) + { + var cmdletContext = context as CmdletContext; + // create request + var request = new Amazon.Proton.Model.GetDeploymentRequest(); + + if (cmdletContext.ComponentName != null) + { + request.ComponentName = cmdletContext.ComponentName; + } + if (cmdletContext.EnvironmentName != null) + { + request.EnvironmentName = cmdletContext.EnvironmentName; + } + if (cmdletContext.Id != null) + { + request.Id = cmdletContext.Id; + } + if (cmdletContext.ServiceInstanceName != null) + { + request.ServiceInstanceName = cmdletContext.ServiceInstanceName; + } + if (cmdletContext.ServiceName != null) + { + request.ServiceName = cmdletContext.ServiceName; + } + + CmdletOutput output; + + // issue call + var client = Client ?? CreateClient(_CurrentCredentials, _RegionEndpoint); + try + { + var response = CallAWSServiceOperation(client, request); + object pipelineOutput = null; + pipelineOutput = cmdletContext.Select(response, this); + output = new CmdletOutput + { + PipelineOutput = pipelineOutput, + ServiceResponse = response + }; + } + catch (Exception e) + { + output = new CmdletOutput { ErrorResponse = e }; + } + + return output; + } + + public ExecutorContext CreateContext() + { + return new CmdletContext(); + } + + #endregion + + #region AWS Service Operation Call + + private Amazon.Proton.Model.GetDeploymentResponse CallAWSServiceOperation(IAmazonProton client, Amazon.Proton.Model.GetDeploymentRequest request) + { + Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Proton", "GetDeployment"); + try + { + #if DESKTOP + return client.GetDeployment(request); + #elif CORECLR + return client.GetDeploymentAsync(request).GetAwaiter().GetResult(); + #else + #error "Unknown build edition" + #endif + } + catch (AmazonServiceException exc) + { + var webException = exc.InnerException as System.Net.WebException; + if (webException != null) + { + throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException); + } + throw; + } + } + + #endregion + + internal partial class CmdletContext : ExecutorContext + { + public System.String ComponentName { get; set; } + public System.String EnvironmentName { get; set; } + public System.String Id { get; set; } + public System.String ServiceInstanceName { get; set; } + public System.String ServiceName { get; set; } + public System.Func Select { get; set; } = + (response, cmdlet) => response.Deployment; + } + + } +} diff --git a/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PRODeploymentList-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PRODeploymentList-Cmdlet.cs new file mode 100644 index 0000000000..2e52a95c2f --- /dev/null +++ b/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PRODeploymentList-Cmdlet.cs @@ -0,0 +1,254 @@ +/******************************************************************************* + * Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"). You may not use + * this file except in compliance with the License. A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. + * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + * CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * ***************************************************************************** + * + * AWS Tools for Windows (TM) PowerShell (TM) + * + */ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using System.Text; +using Amazon.PowerShell.Common; +using Amazon.Runtime; +using Amazon.Proton; +using Amazon.Proton.Model; + +namespace Amazon.PowerShell.Cmdlets.PRO +{ + /// + /// List deployments. You can filter the result list by environment, service, or a single + /// service instance. + /// + [Cmdlet("Get", "PRODeploymentList")] + [OutputType("Amazon.Proton.Model.DeploymentSummary")] + [AWSCmdlet("Calls the AWS Proton ListDeployments API operation.", Operation = new[] {"ListDeployments"}, SelectReturnType = typeof(Amazon.Proton.Model.ListDeploymentsResponse))] + [AWSCmdletOutput("Amazon.Proton.Model.DeploymentSummary or Amazon.Proton.Model.ListDeploymentsResponse", + "This cmdlet returns a collection of Amazon.Proton.Model.DeploymentSummary objects.", + "The service call response (type Amazon.Proton.Model.ListDeploymentsResponse) can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack." + )] + public partial class GetPRODeploymentListCmdlet : AmazonProtonClientCmdlet, IExecutor + { + + #region Parameter ComponentName + /// + /// + /// The name of a component for result list filtering. Proton returns deployments associated + /// with that component. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public System.String ComponentName { get; set; } + #endregion + + #region Parameter EnvironmentName + /// + /// + /// The name of an environment for result list filtering. Proton returns deployments associated + /// with the environment. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public System.String EnvironmentName { get; set; } + #endregion + + #region Parameter ServiceInstanceName + /// + /// + /// The name of a service instance for result list filtering. Proton returns the deployments + /// associated with the service instance. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public System.String ServiceInstanceName { get; set; } + #endregion + + #region Parameter ServiceName + /// + /// + /// The name of a service for result list filtering. Proton returns deployments associated + /// with service instances of the service. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public System.String ServiceName { get; set; } + #endregion + + #region Parameter MaxResult + /// + /// + /// The maximum number of deployments to list. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + [Alias("MaxResults")] + public System.Int32? MaxResult { get; set; } + #endregion + + #region Parameter NextToken + /// + /// + /// A token that indicates the location of the next deployment in the array of deployment, + /// after the list of deployment that was previously requested. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public System.String NextToken { get; set; } + #endregion + + #region Parameter Select + /// + /// Use the -Select parameter to control the cmdlet output. The default value is 'Deployments'. + /// Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.Proton.Model.ListDeploymentsResponse). + /// Specifying the name of a property of type Amazon.Proton.Model.ListDeploymentsResponse will result in that property being returned. + /// Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value. + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public string Select { get; set; } = "Deployments"; + #endregion + + protected override void ProcessRecord() + { + this._AWSSignerType = "v4"; + base.ProcessRecord(); + + var context = new CmdletContext(); + + // allow for manipulation of parameters prior to loading into context + PreExecutionContextLoad(context); + + if (ParameterWasBound(nameof(this.Select))) + { + context.Select = CreateSelectDelegate(Select) ?? + throw new System.ArgumentException("Invalid value for -Select parameter.", nameof(this.Select)); + } + context.ComponentName = this.ComponentName; + context.EnvironmentName = this.EnvironmentName; + context.MaxResult = this.MaxResult; + context.NextToken = this.NextToken; + context.ServiceInstanceName = this.ServiceInstanceName; + context.ServiceName = this.ServiceName; + + // allow further manipulation of loaded context prior to processing + PostExecutionContextLoad(context); + + var output = Execute(context) as CmdletOutput; + ProcessOutput(output); + } + + #region IExecutor Members + + public object Execute(ExecutorContext context) + { + var cmdletContext = context as CmdletContext; + // create request + var request = new Amazon.Proton.Model.ListDeploymentsRequest(); + + if (cmdletContext.ComponentName != null) + { + request.ComponentName = cmdletContext.ComponentName; + } + if (cmdletContext.EnvironmentName != null) + { + request.EnvironmentName = cmdletContext.EnvironmentName; + } + if (cmdletContext.MaxResult != null) + { + request.MaxResults = cmdletContext.MaxResult.Value; + } + if (cmdletContext.NextToken != null) + { + request.NextToken = cmdletContext.NextToken; + } + if (cmdletContext.ServiceInstanceName != null) + { + request.ServiceInstanceName = cmdletContext.ServiceInstanceName; + } + if (cmdletContext.ServiceName != null) + { + request.ServiceName = cmdletContext.ServiceName; + } + + CmdletOutput output; + + // issue call + var client = Client ?? CreateClient(_CurrentCredentials, _RegionEndpoint); + try + { + var response = CallAWSServiceOperation(client, request); + object pipelineOutput = null; + pipelineOutput = cmdletContext.Select(response, this); + output = new CmdletOutput + { + PipelineOutput = pipelineOutput, + ServiceResponse = response + }; + } + catch (Exception e) + { + output = new CmdletOutput { ErrorResponse = e }; + } + + return output; + } + + public ExecutorContext CreateContext() + { + return new CmdletContext(); + } + + #endregion + + #region AWS Service Operation Call + + private Amazon.Proton.Model.ListDeploymentsResponse CallAWSServiceOperation(IAmazonProton client, Amazon.Proton.Model.ListDeploymentsRequest request) + { + Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Proton", "ListDeployments"); + try + { + #if DESKTOP + return client.ListDeployments(request); + #elif CORECLR + return client.ListDeploymentsAsync(request).GetAwaiter().GetResult(); + #else + #error "Unknown build edition" + #endif + } + catch (AmazonServiceException exc) + { + var webException = exc.InnerException as System.Net.WebException; + if (webException != null) + { + throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException); + } + throw; + } + } + + #endregion + + internal partial class CmdletContext : ExecutorContext + { + public System.String ComponentName { get; set; } + public System.String EnvironmentName { get; set; } + public System.Int32? MaxResult { get; set; } + public System.String NextToken { get; set; } + public System.String ServiceInstanceName { get; set; } + public System.String ServiceName { get; set; } + public System.Func Select { get; set; } = + (response, cmdlet) => response.Deployments; + } + + } +} diff --git a/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PROEnvironmentOutputList-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PROEnvironmentOutputList-Cmdlet.cs index 3f53173dcd..2290c65f43 100644 --- a/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PROEnvironmentOutputList-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PROEnvironmentOutputList-Cmdlet.cs @@ -40,6 +40,16 @@ namespace Amazon.PowerShell.Cmdlets.PRO public partial class GetPROEnvironmentOutputListCmdlet : AmazonProtonClientCmdlet, IExecutor { + #region Parameter DeploymentId + /// + /// + /// The ID of the deployment whose outputs you want. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public System.String DeploymentId { get; set; } + #endregion + #region Parameter EnvironmentName /// /// @@ -114,6 +124,7 @@ protected override void ProcessRecord() context.Select = (response, cmdlet) => this.EnvironmentName; } #pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute + context.DeploymentId = this.DeploymentId; context.EnvironmentName = this.EnvironmentName; #if MODULAR if (this.EnvironmentName == null && ParameterWasBound(nameof(this.EnvironmentName))) @@ -138,6 +149,10 @@ public object Execute(ExecutorContext context) // create request var request = new Amazon.Proton.Model.ListEnvironmentOutputsRequest(); + if (cmdletContext.DeploymentId != null) + { + request.DeploymentId = cmdletContext.DeploymentId; + } if (cmdletContext.EnvironmentName != null) { request.EnvironmentName = cmdletContext.EnvironmentName; @@ -207,6 +222,7 @@ private Amazon.Proton.Model.ListEnvironmentOutputsResponse CallAWSServiceOperati internal partial class CmdletContext : ExecutorContext { + public System.String DeploymentId { get; set; } public System.String EnvironmentName { get; set; } public System.String NextToken { get; set; } public System.Func Select { get; set; } = diff --git a/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PROServiceInstanceOutputList-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PROServiceInstanceOutputList-Cmdlet.cs index 16a5e3548f..ff7e860e39 100644 --- a/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PROServiceInstanceOutputList-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PROServiceInstanceOutputList-Cmdlet.cs @@ -40,6 +40,16 @@ namespace Amazon.PowerShell.Cmdlets.PRO public partial class GetPROServiceInstanceOutputListCmdlet : AmazonProtonClientCmdlet, IExecutor { + #region Parameter DeploymentId + /// + /// + /// The ID of the deployment whose outputs you want. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public System.String DeploymentId { get; set; } + #endregion + #region Parameter ServiceInstanceName /// /// @@ -111,6 +121,7 @@ protected override void ProcessRecord() context.Select = CreateSelectDelegate(Select) ?? throw new System.ArgumentException("Invalid value for -Select parameter.", nameof(this.Select)); } + context.DeploymentId = this.DeploymentId; context.NextToken = this.NextToken; context.ServiceInstanceName = this.ServiceInstanceName; #if MODULAR @@ -142,6 +153,10 @@ public object Execute(ExecutorContext context) // create request var request = new Amazon.Proton.Model.ListServiceInstanceOutputsRequest(); + if (cmdletContext.DeploymentId != null) + { + request.DeploymentId = cmdletContext.DeploymentId; + } if (cmdletContext.NextToken != null) { request.NextToken = cmdletContext.NextToken; @@ -215,6 +230,7 @@ private Amazon.Proton.Model.ListServiceInstanceOutputsResponse CallAWSServiceOpe internal partial class CmdletContext : ExecutorContext { + public System.String DeploymentId { get; set; } public System.String NextToken { get; set; } public System.String ServiceInstanceName { get; set; } public System.String ServiceName { get; set; } diff --git a/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PROServicePipelineOutputList-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PROServicePipelineOutputList-Cmdlet.cs index 9f0dea227c..4f7f208aec 100644 --- a/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PROServicePipelineOutputList-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/Proton/Basic/Get-PROServicePipelineOutputList-Cmdlet.cs @@ -40,6 +40,16 @@ namespace Amazon.PowerShell.Cmdlets.PRO public partial class GetPROServicePipelineOutputListCmdlet : AmazonProtonClientCmdlet, IExecutor { + #region Parameter DeploymentId + /// + /// + /// The ID of the deployment you want the outputs for. + /// + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public System.String DeploymentId { get; set; } + #endregion + #region Parameter ServiceName /// /// @@ -114,6 +124,7 @@ protected override void ProcessRecord() context.Select = (response, cmdlet) => this.ServiceName; } #pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute + context.DeploymentId = this.DeploymentId; context.NextToken = this.NextToken; context.ServiceName = this.ServiceName; #if MODULAR @@ -138,6 +149,10 @@ public object Execute(ExecutorContext context) // create request var request = new Amazon.Proton.Model.ListServicePipelineOutputsRequest(); + if (cmdletContext.DeploymentId != null) + { + request.DeploymentId = cmdletContext.DeploymentId; + } if (cmdletContext.NextToken != null) { request.NextToken = cmdletContext.NextToken; @@ -207,6 +222,7 @@ private Amazon.Proton.Model.ListServicePipelineOutputsResponse CallAWSServiceOpe internal partial class CmdletContext : ExecutorContext { + public System.String DeploymentId { get; set; } public System.String NextToken { get; set; } public System.String ServiceName { get; set; } public System.Func Select { get; set; } = diff --git a/modules/AWSPowerShell/Cmdlets/Proton/Basic/Remove-PRODeployment-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/Proton/Basic/Remove-PRODeployment-Cmdlet.cs new file mode 100644 index 0000000000..900cbc29e9 --- /dev/null +++ b/modules/AWSPowerShell/Cmdlets/Proton/Basic/Remove-PRODeployment-Cmdlet.cs @@ -0,0 +1,218 @@ +/******************************************************************************* + * Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"). You may not use + * this file except in compliance with the License. A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. + * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + * CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + * ***************************************************************************** + * + * AWS Tools for Windows (TM) PowerShell (TM) + * + */ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using System.Text; +using Amazon.PowerShell.Common; +using Amazon.Runtime; +using Amazon.Proton; +using Amazon.Proton.Model; + +namespace Amazon.PowerShell.Cmdlets.PRO +{ + /// + /// Delete the deployment. + /// + [Cmdlet("Remove", "PRODeployment", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.High)] + [OutputType("Amazon.Proton.Model.Deployment")] + [AWSCmdlet("Calls the AWS Proton DeleteDeployment API operation.", Operation = new[] {"DeleteDeployment"}, SelectReturnType = typeof(Amazon.Proton.Model.DeleteDeploymentResponse))] + [AWSCmdletOutput("Amazon.Proton.Model.Deployment or Amazon.Proton.Model.DeleteDeploymentResponse", + "This cmdlet returns an Amazon.Proton.Model.Deployment object.", + "The service call response (type Amazon.Proton.Model.DeleteDeploymentResponse) can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack." + )] + public partial class RemovePRODeploymentCmdlet : AmazonProtonClientCmdlet, IExecutor + { + + protected override bool IsSensitiveResponse { get; set; } = true; + + #region Parameter Id + /// + /// + /// The ID of the deployment to delete. + /// + /// + #if !MODULAR + [System.Management.Automation.Parameter(Position = 0, ValueFromPipelineByPropertyName = true, ValueFromPipeline = true)] + #else + [System.Management.Automation.Parameter(Position = 0, ValueFromPipelineByPropertyName = true, ValueFromPipeline = true, Mandatory = true)] + [System.Management.Automation.AllowEmptyString] + [System.Management.Automation.AllowNull] + #endif + [Amazon.PowerShell.Common.AWSRequiredParameter] + public System.String Id { get; set; } + #endregion + + #region Parameter Select + /// + /// Use the -Select parameter to control the cmdlet output. The default value is 'Deployment'. + /// Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.Proton.Model.DeleteDeploymentResponse). + /// Specifying the name of a property of type Amazon.Proton.Model.DeleteDeploymentResponse will result in that property being returned. + /// Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value. + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public string Select { get; set; } = "Deployment"; + #endregion + + #region Parameter PassThru + /// + /// Changes the cmdlet behavior to return the value passed to the Id parameter. + /// The -PassThru parameter is deprecated, use -Select '^Id' instead. This parameter will be removed in a future version. + /// + [System.Obsolete("The -PassThru parameter is deprecated, use -Select '^Id' instead. This parameter will be removed in a future version.")] + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public SwitchParameter PassThru { get; set; } + #endregion + + #region Parameter Force + /// + /// This parameter overrides confirmation prompts to force + /// the cmdlet to continue its operation. This parameter should always + /// be used with caution. + /// + [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] + public SwitchParameter Force { get; set; } + #endregion + + protected override void ProcessRecord() + { + this._AWSSignerType = "v4"; + base.ProcessRecord(); + + var resourceIdentifiersText = FormatParameterValuesForConfirmationMsg(nameof(this.Id), MyInvocation.BoundParameters); + if (!ConfirmShouldProceed(this.Force.IsPresent, resourceIdentifiersText, "Remove-PRODeployment (DeleteDeployment)")) + { + return; + } + + var context = new CmdletContext(); + + // allow for manipulation of parameters prior to loading into context + PreExecutionContextLoad(context); + + #pragma warning disable CS0618, CS0612 //A class member was marked with the Obsolete attribute + if (ParameterWasBound(nameof(this.Select))) + { + context.Select = CreateSelectDelegate(Select) ?? + throw new System.ArgumentException("Invalid value for -Select parameter.", nameof(this.Select)); + if (this.PassThru.IsPresent) + { + throw new System.ArgumentException("-PassThru cannot be used when -Select is specified.", nameof(this.Select)); + } + } + else if (this.PassThru.IsPresent) + { + context.Select = (response, cmdlet) => this.Id; + } + #pragma warning restore CS0618, CS0612 //A class member was marked with the Obsolete attribute + context.Id = this.Id; + #if MODULAR + if (this.Id == null && ParameterWasBound(nameof(this.Id))) + { + WriteWarning("You are passing $null as a value for parameter Id which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues."); + } + #endif + + // allow further manipulation of loaded context prior to processing + PostExecutionContextLoad(context); + + var output = Execute(context) as CmdletOutput; + ProcessOutput(output); + } + + #region IExecutor Members + + public object Execute(ExecutorContext context) + { + var cmdletContext = context as CmdletContext; + // create request + var request = new Amazon.Proton.Model.DeleteDeploymentRequest(); + + if (cmdletContext.Id != null) + { + request.Id = cmdletContext.Id; + } + + CmdletOutput output; + + // issue call + var client = Client ?? CreateClient(_CurrentCredentials, _RegionEndpoint); + try + { + var response = CallAWSServiceOperation(client, request); + object pipelineOutput = null; + pipelineOutput = cmdletContext.Select(response, this); + output = new CmdletOutput + { + PipelineOutput = pipelineOutput, + ServiceResponse = response + }; + } + catch (Exception e) + { + output = new CmdletOutput { ErrorResponse = e }; + } + + return output; + } + + public ExecutorContext CreateContext() + { + return new CmdletContext(); + } + + #endregion + + #region AWS Service Operation Call + + private Amazon.Proton.Model.DeleteDeploymentResponse CallAWSServiceOperation(IAmazonProton client, Amazon.Proton.Model.DeleteDeploymentRequest request) + { + Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Proton", "DeleteDeployment"); + try + { + #if DESKTOP + return client.DeleteDeployment(request); + #elif CORECLR + return client.DeleteDeploymentAsync(request).GetAwaiter().GetResult(); + #else + #error "Unknown build edition" + #endif + } + catch (AmazonServiceException exc) + { + var webException = exc.InnerException as System.Net.WebException; + if (webException != null) + { + throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException); + } + throw; + } + } + + #endregion + + internal partial class CmdletContext : ExecutorContext + { + public System.String Id { get; set; } + public System.Func Select { get; set; } = + (response, cmdlet) => response.Deployment; + } + + } +} diff --git a/modules/AWSPowerShell/Cmdlets/SageMaker/Basic/New-SMAutoMLJobV2-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/SageMaker/Basic/New-SMAutoMLJobV2-Cmdlet.cs index ac9cffd41c..a2a5fbea18 100644 --- a/modules/AWSPowerShell/Cmdlets/SageMaker/Basic/New-SMAutoMLJobV2-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/SageMaker/Basic/New-SMAutoMLJobV2-Cmdlet.cs @@ -205,13 +205,9 @@ public partial class NewSMAutoMLJobV2Cmdlet : AmazonSageMakerClientCmdlet, IExec /// When not provided, the AutoML job V2 includes all the columns from the original dataset /// that are not already declared in TimeSeriesConfig. If provided, the AutoML /// job V2 only considers these additional columns as a complement to the ones declared - /// in TimeSeriesConfig. You can input FeatureAttributeNames (optional) in JSON format as shown + /// in TimeSeriesConfig.You can input FeatureAttributeNames (optional) in JSON format as shown /// below: { "FeatureAttributeNames":["col1", "col2", ...] }.You can also specify the data type of the feature (optional) in the format shown below:{ "FeatureDataTypes":{"col1":"numeric", "col2":"categorical" ... } }Autopilot supports the following data types: numeric, categorical, - /// text, and datetime.These column keys must not include any column set in TimeSeriesConfig.When not provided, the AutoML job V2 includes all the columns from the original dataset - /// that are not already declared in TimeSeriesConfig. If provided, the AutoML - /// job V2 only considers these additional columns as a complement to the ones declared - /// in TimeSeriesConfig.Autopilot supports the following data types: numeric, categorical, - /// text, and datetime. + /// text, and datetime.These column keys must not include any column set in TimeSeriesConfig. /// /// [System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)] diff --git a/modules/AWSPowerShell/Cmdlets/SecretsManager/Basic/Update-SECSecret-Cmdlet.cs b/modules/AWSPowerShell/Cmdlets/SecretsManager/Basic/Update-SECSecret-Cmdlet.cs index 27fe69e89f..d2d6aca26b 100644 --- a/modules/AWSPowerShell/Cmdlets/SecretsManager/Basic/Update-SECSecret-Cmdlet.cs +++ b/modules/AWSPowerShell/Cmdlets/SecretsManager/Basic/Update-SECSecret-Cmdlet.cs @@ -66,8 +66,10 @@ namespace Amazon.PowerShell.Cmdlets.SEC /// information, see /// IAM policy actions for Secrets Manager and Authentication /// and access control in Secrets Manager. If you use a customer managed key, you - /// must also have kms:GenerateDataKey and kms:Decrypt permissions - /// on the key. For more information, see + /// must also have kms:GenerateDataKey, kms:Encrypt, and kms:Decrypt + /// permissions on the key. If you change the KMS key and you don't have kms:Encrypt + /// permission to the new key, Secrets Manager does not re-ecrypt existing secret versions + /// with the new key. For more information, see /// Secret encryption and decryption. /// /// @@ -114,8 +116,9 @@ public partial class UpdateSECSecretCmdlet : AmazonSecretsManagerClientCmdlet, I /// /// The ARN, key ID, or alias of the KMS key that Secrets Manager uses to encrypt new /// secret versions as well as any existing versions with the staging labels AWSCURRENT, - /// AWSPENDING, or AWSPREVIOUS. For more information about versions - /// and staging labels, see Concepts: + /// AWSPENDING, or AWSPREVIOUS. If you don't have kms:Encrypt + /// permission to the new key, Secrets Manager does not re-ecrypt existing secret versions + /// with the new key. For more information about versions and staging labels, see Concepts: /// Version.A key alias is always prefixed by alias/, for example alias/aws/secretsmanager. /// For more information, see About /// aliases.If you set this to an empty string, Secrets Manager uses the Amazon Web Services managed diff --git a/modules/AWSPowerShell/CmdletsList.dat b/modules/AWSPowerShell/CmdletsList.dat index ce245db6c2..e62ba7b96e 100644 Binary files a/modules/AWSPowerShell/CmdletsList.dat and b/modules/AWSPowerShell/CmdletsList.dat differ diff --git a/modules/ModularAWSPowerShell/CmdletsList.dat b/modules/ModularAWSPowerShell/CmdletsList.dat index 6fcd3ab897..5b38ee93d7 100644 Binary files a/modules/ModularAWSPowerShell/CmdletsList.dat and b/modules/ModularAWSPowerShell/CmdletsList.dat differ