o .&ag'@sGdddeZGdddeZGdddeZGdddeZGdd d eZGd d d eZGd d d eZGdddeZGdddeZ GdddeZ GdddeZ GdddeZ GdddeZ GdddeZGdddeZGdddeZGd d!d!eZGd"d#d#eZGd$d%d%eZGd&d'd'eZGd(d)d)eZGd*d+d+eZGd,d-d-eZGd.d/d/eZGd0d1d1eZGd2d3d3eZGd4d5d5eZGd6d7d7eZGd8d9d9eZGd:d;d;eZd A wrong key has been used with a compatible program. zKey file file format is incorrect. Putty expects a ppk file. Please refer to documentation at http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/EMR_SetUp_SSH.html. Nrrrrr r!rr!c@r)SSHNotFoundErrorz% SSH or Putty not available. zSSH or Putty not available. Please refer to the documentation at http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/EMR_SetUp_SSH.html.Nrrrrr r"rr"c@r)SCPNotFoundErrorz$ SCP or Pscp not available. zSCP or Pscp not available. Please refer to the documentation at http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/EMR_SetUp_SSH.html. Nrrrrr r#rr#c@r)SubnetAndAzValidationErrorzQ SubnetId and AvailabilityZone are mutual exclusive in --ec2-attributes. z|aws: error: You may not specify both a SubnetId and an AvailabilityZone (placement) because ec2SubnetId implies a placement.Nrrrrr r$rr$c@r)RequiredOptionsErrorz3 Either of option1 or option2 is required. z6aws: error: Either {option1} or {option2} is required.Nrrrrr r%rr%c@eZdZdZddZdS)MutualExclusiveOptionErrorz The provided option1 and option2 are mutually exclusive. :ivar option1 :ivar option2 :ivar message (optional) cKs@d|ddd|ddd|dd}t||dS)Nz$aws: error: You cannot specify both option1z and option2z options together.message)getrrrrrr rs   z#MutualExclusiveOptionError.__init__Nr r rrrrrrr r's r'c@r&)MissingApplicationsErrorzs The application required for a step is not installed when creating a cluster. :ivar applications cKs&dd|dd}t||dS)NzRaws: error: Some of the steps require the following applications to be installed: z, applicationsz7. Please install the applications using --applications.)joinrrrrrr rs  z!MissingApplicationsError.__init__Nr-rrrr r.s r.c@r)ClusterTerminatedErrorz? The cluster is terminating or has already terminated. z6aws: error: Cluster terminating or already terminated.Nrrrrr r1rr1c@r)"ClusterStatesFilterValidationErrorz In the list-clusters command, customers can specify only one of the following states filters: --cluster-states, --active, --terminated, --failed zvaws: error: You can specify only one of the cluster state filters: --cluster-states, --active, --terminated, --failed.Nrrrrr r2rr2c@r)MissingClusterAttributesErrorz In the modify-cluster-attributes command, customers need to provide at least one of the following cluster attributes: --visible-to-all-users, --no-visible-to-all-users, --termination-protected and --no-termination-protected zaws: error: Must specify one of the following boolean options: --visible-to-all-users|--no-visible-to-all-users, --termination-protected|--no-termination-protected.Nrrrrr r3rr3c@r)InvalidEmrFsArgumentsErrorz The provided EMRFS parameters are invalid as parent feature e.g., Consistent View, CSE, SSE is not configured :ivar invalid: Invalid parameters :ivar parent_object_name: Parent feature name zeaws: error: {parent_object_name} is not specified. Thus, following parameters are invalid: {invalid}Nrrrrr r4sr4c@eZdZdZdS) DuplicateEmrFsConfigurationErrorz[aws: error: EMRFS should be configured either using --configuration or --emrfs but not bothNr r rrrrrr r6r6c@r)UnknownCseProviderTypeErrorz The provided EMRFS client-side encryption provider type is not supported. :ivar provider_type: the provider_type provided. zuaws: error: The client side encryption type "{provider_type}" is not supported. You must specify either KMS or CustomNrrrrr r9"rr9c@r)UnknownEncryptionTypeErrorzn The provided encryption type is not supported. :ivar provider_type: the provider_type provided. zkaws: error: The encryption type "{encryption}" is invalid. You must specify either ServerSide or ClientSideNrrrrr r:-rr:c@r)#BothSseAndEncryptionConfiguredErrorz Only one of SSE or Encryption can be configured. :ivar sse: Value for SSE :ivar encryption: Value for encryption zxaws: error: Both SSE={sse} and Encryption={encryption} are configured for --emrfs. You must specify only one of the two.Nrrrrr r;8sr;c@r5)InvalidBooleanConfigErrorzaws: error: {config_value} for {config_key} in the config file is invalid. The value should be either 'True' or 'False'. Use 'aws configure set {profile_var_name}.emr.{config_key} ' command to set a valid value.Nr7rrrr r<Er8r<c@r5)"UnsupportedCommandWithReleaseErrorzFaws: error: {command} is not supported with '{release_label}' release.Nr7rrrr r=Mr8r=c@r5)MissingAutoScalingRoleErrorzjaws: error: Must specify --auto-scaling-role when configuring an AutoScaling policy for an instance group.Nr7rrrr r>Rr8r>N)rrrrrrrrrrrrr r!r"r#r$r%r'r.r1r2r3r4r6r9r:r;r<r=r>rrrr s<