package
1.10.20
Repository: https://github.com/jadekler/aws-sdk-go.git
Documentation: pkg.go.dev

# Packages

Package emriface provides an interface to enable mocking the Amazon Elastic MapReduce service client for testing your code.

# Functions

New creates a new instance of the EMR client with a session.

# Constants

ActionOnFailureCancelAndWait is a ActionOnFailure enum value.
ActionOnFailureContinue is a ActionOnFailure enum value.
ActionOnFailureTerminateCluster is a ActionOnFailure enum value.
ActionOnFailureTerminateJobFlow is a ActionOnFailure enum value.
AdjustmentTypeChangeInCapacity is a AdjustmentType enum value.
AdjustmentTypeExactCapacity is a AdjustmentType enum value.
AdjustmentTypePercentChangeInCapacity is a AdjustmentType enum value.
AutoScalingPolicyStateAttached is a AutoScalingPolicyState enum value.
AutoScalingPolicyStateAttaching is a AutoScalingPolicyState enum value.
AutoScalingPolicyStateChangeReasonCodeCleanupFailure is a AutoScalingPolicyStateChangeReasonCode enum value.
AutoScalingPolicyStateChangeReasonCodeProvisionFailure is a AutoScalingPolicyStateChangeReasonCode enum value.
AutoScalingPolicyStateChangeReasonCodeUserRequest is a AutoScalingPolicyStateChangeReasonCode enum value.
AutoScalingPolicyStateDetached is a AutoScalingPolicyState enum value.
AutoScalingPolicyStateDetaching is a AutoScalingPolicyState enum value.
AutoScalingPolicyStateFailed is a AutoScalingPolicyState enum value.
AutoScalingPolicyStatePending is a AutoScalingPolicyState enum value.
CancelStepsRequestStatusFailed is a CancelStepsRequestStatus enum value.
CancelStepsRequestStatusSubmitted is a CancelStepsRequestStatus enum value.
ClusterStateBootstrapping is a ClusterState enum value.
ClusterStateChangeReasonCodeAllStepsCompleted is a ClusterStateChangeReasonCode enum value.
ClusterStateChangeReasonCodeBootstrapFailure is a ClusterStateChangeReasonCode enum value.
ClusterStateChangeReasonCodeInstanceFailure is a ClusterStateChangeReasonCode enum value.
ClusterStateChangeReasonCodeInstanceFleetTimeout is a ClusterStateChangeReasonCode enum value.
ClusterStateChangeReasonCodeInternalError is a ClusterStateChangeReasonCode enum value.
ClusterStateChangeReasonCodeStepFailure is a ClusterStateChangeReasonCode enum value.
ClusterStateChangeReasonCodeUserRequest is a ClusterStateChangeReasonCode enum value.
ClusterStateChangeReasonCodeValidationError is a ClusterStateChangeReasonCode enum value.
ClusterStateRunning is a ClusterState enum value.
ClusterStateStarting is a ClusterState enum value.
ClusterStateTerminated is a ClusterState enum value.
ClusterStateTerminatedWithErrors is a ClusterState enum value.
ClusterStateTerminating is a ClusterState enum value.
ClusterStateWaiting is a ClusterState enum value.
ComparisonOperatorGreaterThan is a ComparisonOperator enum value.
ComparisonOperatorGreaterThanOrEqual is a ComparisonOperator enum value.
ComparisonOperatorLessThan is a ComparisonOperator enum value.
ComparisonOperatorLessThanOrEqual is a ComparisonOperator enum value.
Service ID for Regions and Endpoints metadata.
ErrCodeInternalServerError for service response error code "InternalServerError".
ErrCodeInternalServerException for service response error code "InternalServerException".
ErrCodeInvalidRequestException for service response error code "InvalidRequestException".
InstanceCollectionTypeInstanceFleet is a InstanceCollectionType enum value.
InstanceCollectionTypeInstanceGroup is a InstanceCollectionType enum value.
InstanceFleetStateBootstrapping is a InstanceFleetState enum value.
InstanceFleetStateChangeReasonCodeClusterTerminated is a InstanceFleetStateChangeReasonCode enum value.
InstanceFleetStateChangeReasonCodeInstanceFailure is a InstanceFleetStateChangeReasonCode enum value.
InstanceFleetStateChangeReasonCodeInternalError is a InstanceFleetStateChangeReasonCode enum value.
InstanceFleetStateChangeReasonCodeValidationError is a InstanceFleetStateChangeReasonCode enum value.
InstanceFleetStateProvisioning is a InstanceFleetState enum value.
InstanceFleetStateResizing is a InstanceFleetState enum value.
InstanceFleetStateRunning is a InstanceFleetState enum value.
InstanceFleetStateSuspended is a InstanceFleetState enum value.
InstanceFleetStateTerminated is a InstanceFleetState enum value.
InstanceFleetStateTerminating is a InstanceFleetState enum value.
InstanceFleetTypeCore is a InstanceFleetType enum value.
InstanceFleetTypeMaster is a InstanceFleetType enum value.
InstanceFleetTypeTask is a InstanceFleetType enum value.
InstanceGroupStateArrested is a InstanceGroupState enum value.
InstanceGroupStateBootstrapping is a InstanceGroupState enum value.
InstanceGroupStateChangeReasonCodeClusterTerminated is a InstanceGroupStateChangeReasonCode enum value.
InstanceGroupStateChangeReasonCodeInstanceFailure is a InstanceGroupStateChangeReasonCode enum value.
InstanceGroupStateChangeReasonCodeInternalError is a InstanceGroupStateChangeReasonCode enum value.
InstanceGroupStateChangeReasonCodeValidationError is a InstanceGroupStateChangeReasonCode enum value.
InstanceGroupStateEnded is a InstanceGroupState enum value.
InstanceGroupStateProvisioning is a InstanceGroupState enum value.
InstanceGroupStateResizing is a InstanceGroupState enum value.
InstanceGroupStateRunning is a InstanceGroupState enum value.
InstanceGroupStateShuttingDown is a InstanceGroupState enum value.
InstanceGroupStateSuspended is a InstanceGroupState enum value.
InstanceGroupStateTerminated is a InstanceGroupState enum value.
InstanceGroupStateTerminating is a InstanceGroupState enum value.
InstanceGroupTypeCore is a InstanceGroupType enum value.
InstanceGroupTypeMaster is a InstanceGroupType enum value.
InstanceGroupTypeTask is a InstanceGroupType enum value.
InstanceRoleTypeCore is a InstanceRoleType enum value.
InstanceRoleTypeMaster is a InstanceRoleType enum value.
InstanceRoleTypeTask is a InstanceRoleType enum value.
InstanceStateAwaitingFulfillment is a InstanceState enum value.
InstanceStateBootstrapping is a InstanceState enum value.
InstanceStateChangeReasonCodeBootstrapFailure is a InstanceStateChangeReasonCode enum value.
InstanceStateChangeReasonCodeClusterTerminated is a InstanceStateChangeReasonCode enum value.
InstanceStateChangeReasonCodeInstanceFailure is a InstanceStateChangeReasonCode enum value.
InstanceStateChangeReasonCodeInternalError is a InstanceStateChangeReasonCode enum value.
InstanceStateChangeReasonCodeValidationError is a InstanceStateChangeReasonCode enum value.
InstanceStateProvisioning is a InstanceState enum value.
InstanceStateRunning is a InstanceState enum value.
InstanceStateTerminated is a InstanceState enum value.
JobFlowExecutionStateBootstrapping is a JobFlowExecutionState enum value.
JobFlowExecutionStateCompleted is a JobFlowExecutionState enum value.
JobFlowExecutionStateFailed is a JobFlowExecutionState enum value.
JobFlowExecutionStateRunning is a JobFlowExecutionState enum value.
JobFlowExecutionStateShuttingDown is a JobFlowExecutionState enum value.
JobFlowExecutionStateStarting is a JobFlowExecutionState enum value.
JobFlowExecutionStateTerminated is a JobFlowExecutionState enum value.
JobFlowExecutionStateWaiting is a JobFlowExecutionState enum value.
MarketTypeOnDemand is a MarketType enum value.
MarketTypeSpot is a MarketType enum value.
RepoUpgradeOnBootNone is a RepoUpgradeOnBoot enum value.
RepoUpgradeOnBootSecurity is a RepoUpgradeOnBoot enum value.
ScaleDownBehaviorTerminateAtInstanceHour is a ScaleDownBehavior enum value.
ScaleDownBehaviorTerminateAtTaskCompletion is a ScaleDownBehavior enum value.
Service endpoint prefix API calls made to.
SpotProvisioningTimeoutActionSwitchToOnDemand is a SpotProvisioningTimeoutAction enum value.
SpotProvisioningTimeoutActionTerminateCluster is a SpotProvisioningTimeoutAction enum value.
StatisticAverage is a Statistic enum value.
StatisticMaximum is a Statistic enum value.
StatisticMinimum is a Statistic enum value.
StatisticSampleCount is a Statistic enum value.
StatisticSum is a Statistic enum value.
StepExecutionStateCancelled is a StepExecutionState enum value.
StepExecutionStateCompleted is a StepExecutionState enum value.
StepExecutionStateContinue is a StepExecutionState enum value.
StepExecutionStateFailed is a StepExecutionState enum value.
StepExecutionStateInterrupted is a StepExecutionState enum value.
StepExecutionStatePending is a StepExecutionState enum value.
StepExecutionStateRunning is a StepExecutionState enum value.
StepStateCancelled is a StepState enum value.
StepStateCancelPending is a StepState enum value.
StepStateChangeReasonCodeNone is a StepStateChangeReasonCode enum value.
StepStateCompleted is a StepState enum value.
StepStateFailed is a StepState enum value.
StepStateInterrupted is a StepState enum value.
StepStatePending is a StepState enum value.
StepStateRunning is a StepState enum value.
UnitBits is a Unit enum value.
UnitBitsPerSecond is a Unit enum value.
UnitBytes is a Unit enum value.
UnitBytesPerSecond is a Unit enum value.
UnitCount is a Unit enum value.
UnitCountPerSecond is a Unit enum value.
UnitGigaBits is a Unit enum value.
UnitGigaBitsPerSecond is a Unit enum value.
UnitGigaBytes is a Unit enum value.
UnitGigaBytesPerSecond is a Unit enum value.
UnitKiloBits is a Unit enum value.
UnitKiloBitsPerSecond is a Unit enum value.
UnitKiloBytes is a Unit enum value.
UnitKiloBytesPerSecond is a Unit enum value.
UnitMegaBits is a Unit enum value.
UnitMegaBitsPerSecond is a Unit enum value.
UnitMegaBytes is a Unit enum value.
UnitMegaBytesPerSecond is a Unit enum value.
UnitMicroSeconds is a Unit enum value.
UnitMilliSeconds is a Unit enum value.
UnitNone is a Unit enum value.
UnitPercent is a Unit enum value.
UnitSeconds is a Unit enum value.
UnitTeraBits is a Unit enum value.
UnitTeraBitsPerSecond is a Unit enum value.
UnitTeraBytes is a Unit enum value.
UnitTeraBytesPerSecond is a Unit enum value.

# Structs

Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceFleetInput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceFleetOutput.
Input to an AddInstanceGroups call.
Output from an AddInstanceGroups call.
The input argument to the AddJobFlowSteps operation.
The output for the AddJobFlowSteps operation.
This input identifies a cluster and a list of tags to attach.
This output indicates the result of adding tags to a resource.
An application is any Amazon or third-party software that you can add to the cluster.
An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster.
An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster.
The reason for an AutoScalingPolicyStatus change.
The status of an automatic scaling policy.
Configuration of a bootstrap action.
Reports the configuration of a bootstrap action in a cluster (job flow).
Specification of the status of a CancelSteps request.
The input argument to the CancelSteps operation.
The output for the CancelSteps operation.
The definition of a CloudWatch metric alarm, which determines when an automatic scaling activity is triggered.
The detailed description of the cluster.
The reason that the cluster changed to its current state.
The detailed status of the cluster.
The summary description of the cluster.
Represents the timeline of the cluster's lifecycle.
An entity describing an executable that runs on a cluster.
Amazon EMR releases 4.x or later.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateSecurityConfigurationInput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateSecurityConfigurationOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteSecurityConfigurationInput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteSecurityConfigurationOutput.
This input determines which cluster to describe.
This output contains the description of the cluster.
The input for the DescribeJobFlows operation.
The output for the DescribeJobFlows operation.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeSecurityConfigurationInput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeSecurityConfigurationOutput.
This input determines which step to describe.
This output contains the description of the cluster step.
Configuration of requested EBS block device associated with the instance group.
Configuration of requested EBS block device associated with the instance group with count of volumes that will be associated to every instance.
The Amazon EBS configuration of a cluster instance.
EBS block device that's attached to an EC2 instance.
Provides information about the EC2 instances in a cluster grouped by category.
EMR provides the API operation methods for making requests to Amazon Elastic MapReduce.
The details of the step failure.
A job flow step consisting of a JAR file whose main function will be executed.
A cluster step consisting of a JAR file whose main function will be executed.
Represents an EC2 instance provisioned as part of cluster.
Describes an instance fleet, which is a group of EC2 instances that host a particular node type (master, core, or task) in an Amazon EMR cluster.
The configuration that defines an instance fleet.
Configuration parameters for an instance fleet modification request.
The launch specification for Spot instances in the fleet, which determines the defined duration and provisioning timeout behavior.
Provides status change reason details for the instance fleet.
The status of the instance fleet.
Provides historical timestamps for the instance fleet, including the time of creation, the time it became ready to run jobs, and the time of termination.
This entity represents an instance group, which is a group of instances that have common purpose.
Configuration defining a new instance group.
Detailed information about an instance group.
Modify an instance group size.
The status change reason details for the instance group.
The details of the instance group status.
The timeline of the instance group lifecycle.
Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.
The details of the status change reason for the instance.
The instance status details.
The timeline of the instance lifecycle.
An instance type configuration for each instance type in an instance fleet, which determines the EC2 instances Amazon EMR attempts to provision to fulfill On-Demand and Spot target capacities.
The configuration specification for each instance type in an instance fleet.
A description of a cluster (job flow).
Describes the status of the cluster (job flow).
A description of the Amazon EC2 instance on which the cluster (job flow) runs.
Specify the type of Amazon EC2 instances that the cluster (job flow) runs on.
A key value pair.
This input determines which bootstrap actions to retrieve.
This output contains the bootstrap actions detail.
This input determines how the ListClusters action filters the list of clusters that it returns.
This contains a ClusterSummaryList with the cluster details; for example, the cluster IDs, names, and status.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleetsInput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleetsOutput.
This input determines which instance groups to retrieve.
This input determines which instance groups to retrieve.
This input determines which instances to list.
This output contains the list of instances.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSecurityConfigurationsInput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSecurityConfigurationsOutput.
This input determines which steps to list.
This output contains the list of steps returned in reverse order.
A CloudWatch dimension, which is specified using a Key (known as a Name in CloudWatch), Value pair.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleetInput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleetOutput.
Change the size of some instance groups.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceGroupsOutput.
The Amazon EC2 Availability Zone configuration of the cluster (job flow).
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoScalingPolicyInput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoScalingPolicyOutput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveAutoScalingPolicyInput.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveAutoScalingPolicyOutput.
This input identifies a cluster and a list of tags to remove.
This output indicates the result of removing tags from a resource.
Input to the RunJobFlow operation.
The result of the RunJobFlow operation.
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
The upper and lower EC2 instance limits for an automatic scaling policy.
A scale-in or scale-out rule that defines scaling activity, including the CloudWatch metric alarm that triggers activity, how EC2 instances are added or removed, and the periodicity of adjustments.
The conditions that trigger an automatic scaling activity.
Configuration of the script to run during a bootstrap action.
The creation date and time, and name, of a security configuration.
The input argument to the TerminationProtection operation.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetTerminationProtectionOutput.
The input to the SetVisibleToAllUsers action.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetVisibleToAllUsersOutput.
Policy for customizing shrink operations.
An automatic scaling configuration, which describes how the policy adds or removes instances, the cooldown period, and the number of EC2 instances that will be added each time the CloudWatch metric alarm condition is satisfied.
The launch specification for Spot instances in the instance fleet, which determines the defined duration and provisioning timeout behavior.
This represents a step in a cluster.
Specification of a cluster (job flow) step.
Combines the execution state and configuration of a step.
The execution state of a step.
The details of the step state change reason.
The execution status details of the cluster step.
The summary of the cluster step.
The timeline of the cluster step lifecycle.
The list of supported product configurations which allow user-supplied arguments.
A key/value pair containing user-defined metadata that you can associate with an Amazon EMR resource.
Input to the TerminateJobFlows operation.
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/TerminateJobFlowsOutput.
EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.