File: //lib/python3.6/site-packages/awscli/customizations/emr/__pycache__/argumentschema.cpython-36.pyc
3
�U_�� � % @ s� d dl mZ d dlmZ dddd�ddd�dd �Zdd
d�Zddeed
�d�dd�Zddeeed�d�dd�Zddddd�dddddgdd�ddd�dddd�dddd�dddd d�dddd!dd"dd�dd#dd�dd$d�d%�d&�dd'd�d(�d�d)�d*�d&�dd+dd,dd-d�dd.d�d/�d&�dd0ddd1d�dd2d�dd3dd4d5d6gd7�dd8dd9d:d;d<gd7�dd=d�dd>d�d?�d&�d@�d&�ddAdBddCddDd�ddEd�ddFd�ddGd�ddHd�ddId�dJdKd�ddLd�ddMdddNd�ddOd�dP�d�dQ�dR� d&�id&�dS�d�dQ�dT�d&�edU�d�d)�ZddddVd�ddWdddgdd�ddXd�ddYd�ddddZdd�dd[d�dd\d�dJd]d�dd^dd d�dddd_dd"dd�dd#dd�dd$d�d%�d&�dd'd�d(�d�d)�d*�d&�ed`�d�d)�dddaddbdcgd7�id�ddddd�ddedfdggd7�ddhd�ddidjgd7�dk�d�dl�d�dm�d�d)�Z dddnd�ddod�ddpdqdidQ�ddrd�ddsdqdidQ�ddte du d�dej
d�dejd�dejd�dej
dqdidQ�dejdqdidQ�dv�d�Zddddwdxdydzd{d|d}d~dd�g dd�dd�dqdidQ�d��d�d)�Zdddd�d��dd�dd�dd�dqdidQ�d��d�d)�Zdddd�d�d�d�dzd{d}gd��dd�d�dd�dfd�d�gd�d��dd�d�dd�dqdidQ�dd�d�dd�d�d��d�d)�Zddejd�dejd�d��d�Zddd�d�dd�d�dd�d�dd�d�dd�dqdidQ�dd�d�d�gd7�dd�d�d�gd7�dd�d�dd�d�dd�d�d��
d�Zddqdid)�Zddd�d�dd�d�dd�d�dd�d�dd�d�d��d�Zdd�dd�dd�dd�dd�dd�dd�d�dd�d�d�d�gdd�dd�d�d��d&�id�Zdddd�dddgdd�dd�d�d�d�d�gd7�d��d�d)�Zd�S )�� )�helptext)�
EC2_ROLE_NAME�map�stringzConfiguration key)�type�descriptionzConfiguration valuez$Application configuration properties)r �key�valuer z-Application configuration classification nameZarray�object)�Classification�
Properties)r �
propertiesz*Instance group application configurations.)r �itemsr )r r �Configurationsz*Friendly name given to the instance group.z.The type of the instance group in the cluster.ZMASTERZCOREZTASKT)r r �enum�requiredzvBid price for each Amazon EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.zEThe Amazon EC2 instance type for all instances in the instance group.)r r r Zintegerz<Target number of Amazon EC2 instances for the instance groupzBEBS configuration that will be associated with the instance group.Zbooleanz1Boolean flag used to tag EBS-optimized instances.zhThe EBS volume specification that will be created and attached to every instance in this instance group.zyThe EBS volume type that is attached to all the instances in the instance group. Valid types are: gp2, io1, and standard.zXThe EBS volume size, in GB, that is attached to all the instances in the instance group.zWThe IOPS of the EBS volume that is attached to all the instances in the instance group.)Z
VolumeTypeZSizeInGBZIops)r r r
zcThe number of EBS volumes that will be created and attached to each instance in the instance group.)ZVolumeSpecificationZVolumesPerInstance)r r )ZEbsOptimizedZEbsBlockDeviceConfigszDAuto Scaling policy that will be associated with the instance group.zBThe Constraints that will be associated to an Auto Scaling policy.zUThe minimum value for the instances to scale in to in response to scaling activities.zUThe maximum value for the instances to scale out to in response to scaling activities)ZMinCapacityZMaxCapacityz/The Rules associated to an Auto Scaling policy.zName of the Auto Scaling rule.z%Description of the Auto Scaling rule.z.The Action associated to an Auto Scaling rule.z]Market type of the Amazon EC2 instances used to create a cluster node by Auto Scaling action.Z ON_DEMANDZSPOT)r r r zOThe Simple scaling configuration that will be associatedto Auto Scaling action.z=Specifies how the ScalingAdjustment parameter is interpreted.ZCHANGE_IN_CAPACITYZPERCENT_CHANGE_IN_CAPACITYZEXACT_CAPACITYzEThe amount by which to scale, based on the specified adjustment type.zrThe amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.)ZAdjustmentTypeZScalingAdjustmentZCoolDown)ZMarketZ SimpleScalingPolicyConfigurationz/The Trigger associated to an Auto Scaling rule.ZCloudWatchAlarmDefinitionzJThe Alarm to be registered with CloudWatch, to trigger scaling activities.zUThe arithmetic operation to use when comparing the specified Statistic and Threshold.zMThe number of periods over which data is compared to the specified threshold.z+The name for the alarm's associated metric.z0The namespace for the alarm's associated metric.zDThe period in seconds over which the specified statistic is applied.z8The statistic to apply to the alarm's associated metric.Zdoublez<The value against which the specified statistic is compared.z The statistic's unit of measure.z1The dimensions for the alarm's associated metric.zDimension Key.zDimension Value.)ZKeyZValue)r r r ) ZComparisonOperatorZEvaluationPeriodsZ
MetricNameZ NamespaceZPeriodZ StatisticZ ThresholdZUnitZ
Dimensions)�NameZDescriptionZActionZTrigger)ZConstraintsZRules)r ZInstanceGroupType�BidPrice�InstanceTypeZ
InstanceCount�EbsConfigurationZAutoScalingPolicyr z*Friendly name given to the instance fleet.z.The type of the instance fleet in the cluster.z1Target on-demand capacity for the instance fleet.z,Target spot capacity for the instance fleet.z4The Amazon EC2 instance type for the instance fleet.zcThe weight assigned to an instance type, which will impact the overall fulfillment of the capacity.zvBid price for each Amazon EC2 instance in the instance fleet when launching nodes as Spot Instances, expressed in USD.z+Bid price as percentage of on-demand price.z=EBS configuration that is associated with the instance group.zaThe EBS volume specification that is created and attached to each instance in the instance group.)r ZWeightedCapacityr Z#BidPriceAsPercentageOfOnDemandPricer r �AllocationStrategyz;The strategy to use in launching On-Demand instance fleets.zlowest-pricez�The time, in minutes, after which the action specified in TimeoutAction field will be performed if requested resources are unavailable.z:The action that is performed after TimeoutDurationMinutes.ZTERMINATE_CLUSTERZSWITCH_TO_ONDEMANDzBlock duration in minutes.z6The strategy to use in launching Spot instance fleets.zcapacity-optimized)ZTimeoutDurationMinutesZ
TimeoutActionZBlockDurationMinutesr )ZOnDemandSpecificationZSpotSpecification)r ZInstanceFleetTypeZTargetOnDemandCapacityZTargetSpotCapacityZInstanceTypeConfigsZLaunchSpecificationszdThe name of the Amazon EC2 key pair that can be used to ssh to the master node as the user 'hadoop'.a% To launch the cluster in Amazon Virtual Private Cloud (Amazon VPC), set this parameter to the identifier of the Amazon VPC subnet where you want the cluster to launch. If you do not specify this value, the cluster is launched in the normal Amazon Web Services cloud, outside of an Amazon VPC. zList of SubnetIds.r z.The Availability Zone the cluster will run in.zList of AvailabilityZones.zdAn IAM role for the cluster. The EC2 instances of the cluster assume this role. The default role is zz. In order to use the default role, you must have already created it using the <code>create-default-roles</code> command. )ZKeyNameZSubnetIdZ SubnetIdsZAvailabilityZoneZAvailabilityZonesZInstanceProfileZEmrManagedMasterSecurityGroupZEmrManagedSlaveSecurityGroupZServiceAccessSecurityGroupZAdditionalMasterSecurityGroupsZAdditionalSlaveSecurityGroupszApplication name.ZMapRZHUEZHIVEZPIGZHBASEZIMPALAZGANGLIAZHADOOPZSPARKz/A list of arguments to pass to the application.)r �ArgszBootstrap Action)r �defaultzyLocation of the script to run during a bootstrap action. Can be either a location in Amazon S3 or on a local file system.zGA list of command line arguments to pass to the bootstrap action script)r ZPathr z.The type of a step to be added to the cluster.Z
custom_jarZ
CUSTOM_JARZ STREAMING)r r r r zThe name of the step. z-The action to take if the cluster step fails.ZCANCEL_AND_WAITZCONTINUE)r r r r z)A path to a JAR file run during the step.z5A list of command line arguments to pass to the step.z�The name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file.z�A list of Java properties that are set when the step runs. You can use these properties to pass key value pairs to your main function.)ZTyper ZActionOnFailureZJarr Z MainClassr )ZDirZ
BackupVersionzEnable EMRFS consistent view.zHEnable Amazon S3 server-side encryption on files written to S3 by EMRFS.z;The maximum number of times to retry upon S3 inconsistency.zfThe amount of time (in seconds) until the first retry. Subsequent retries use an exponential back-off.z?A list of arguments to pass for additional EMRFS configuration.zEMRFS encryption type.Z
SERVERSIDEZ
CLIENTSIDEz+EMRFS client-side encryption provider type.ZKMSZCUSTOMz(AWS KMS's customer master key identifierz(Custom encryption provider JAR location.z+Custom encryption provider full class name.)
Z
ConsistentZSSEZ
RetryCountZRetryPeriodr Z
EncryptionZProviderTypeZKMSKeyIdZCustomProviderLocationZCustomProviderClasszThe name of Kerberos realm.z'The password of Kerberos administrator.z-The password to establish cross-realm trusts.zKThe name of the user with privileges to join instances to Active Directory.zOThe password of the user with privileges to join instances to Active Directory.)ZRealmZKdcAdminPasswordZ CrossRealmTrustPrincipalPasswordZADDomainJoinUserZADDomainJoinPasswordZ
ComputeLimitsz�The EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limits apply to CORE and TASK groups and exclude the capacity of the MASTER group.z�The lower boundary of EC2 units. It is measured through VCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary.z�The upper boundary of EC2 units. It is measured through VCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary.a The upper boundary of on-demand EC2 units. It is measured through VCPU cores or instances for instance groups and measured through units for instance fleets. The on-demand units are not allowed to scale beyond this boundary. This value must be lower than MaximumCapacityUnits.z;The unit type used for specifying a managed scaling policy.ZVCPUZ InstancesZInstanceFleetUnitsaA The upper boundary of EC2 units for core node type in a cluster. It is measured through VCPU cores or instances for instance groups and measured through units for instance fleets. The core units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between core and task nodes.)ZMinimumCapacityUnitsZMaximumCapacityUnitsZMaximumOnDemandCapacityUnitsZUnitTypeZMaximumCoreCapacityUnitsz$Role of the instance in the cluster.z;EC2 Placement Group strategy associated with instance role.ZSPREADZ PARTITIONZCLUSTERZNONE)ZInstanceRoleZPlacementStrategyN)Zawscli.customizations.emrr Z,awscli.customizations.emr.createdefaultrolesr Z CONFIGURATIONS_PROPERTIES_SCHEMAZ$CONFIGURATIONS_CLASSIFICATION_SCHEMAZINNER_CONFIGURATIONS_SCHEMAZOUTER_CONFIGURATIONS_SCHEMAZINSTANCE_GROUPS_SCHEMAZINSTANCE_FLEETS_SCHEMAZ!EMR_MANAGED_MASTER_SECURITY_GROUPZ EMR_MANAGED_SLAVE_SECURITY_GROUPZSERVICE_ACCESS_SECURITY_GROUPZ!ADDITIONAL_MASTER_SECURITY_GROUPSZ ADDITIONAL_SLAVE_SECURITY_GROUPSZEC2_ATTRIBUTES_SCHEMAZAPPLICATIONS_SCHEMAZBOOTSTRAP_ACTIONS_SCHEMAZSTEPS_SCHEMAZHBASE_BACKUP_DIRZHBASE_BACKUP_VERSIONZ HBASE_RESTORE_FROM_BACKUP_SCHEMAZ
EMR_FS_SCHEMAZTAGS_SCHEMAZKERBEROS_ATTRIBUTES_SCHEMAZMANAGED_SCALING_POLICY_SCHEMAZPLACEMENT_GROUP_CONFIGS_SCHEMA� r r �$/usr/lib/python3.6/argumentschema.py�<module> sl
4&