Skip to content

Commit

Permalink
Merge branch 'release-1.35.5'
Browse files Browse the repository at this point in the history
* release-1.35.5:
  Bumping version to 1.35.5
  Update changelog based on model updates
  Merge customizations for EMR
  • Loading branch information
aws-sdk-python-automation committed Oct 11, 2024
2 parents 1ed7fc4 + d24bef5 commit c4f7837
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 8 deletions.
27 changes: 27 additions & 0 deletions .changes/1.35.5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
{
"category": "``appflow``",
"description": "Doc only updates for clarification around OAuth2GrantType for Salesforce.",
"type": "api-change"
},
{
"category": "``elbv2``",
"description": "Add zonal_shift.config.enabled attribute. Add new AdministrativeOverride construct in the describe-target-health API response to include information about the override status applied to a target.",
"type": "api-change"
},
{
"category": "``emr``",
"description": "This release provides new parameter \"Context\" in instance fleet clusters.",
"type": "api-change"
},
{
"category": "``guardduty``",
"description": "Added a new field for network connection details.",
"type": "api-change"
},
{
"category": "``robomaker``",
"description": "Documentation update: added support notices to each API action.",
"type": "api-change"
}
]
10 changes: 10 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
CHANGELOG
=========

1.35.5
======

* api-change:``appflow``: Doc only updates for clarification around OAuth2GrantType for Salesforce.
* api-change:``elbv2``: Add zonal_shift.config.enabled attribute. Add new AdministrativeOverride construct in the describe-target-health API response to include information about the override status applied to a target.
* api-change:``emr``: This release provides new parameter "Context" in instance fleet clusters.
* api-change:``guardduty``: Added a new field for network connection details.
* api-change:``robomaker``: Documentation update: added support notices to each API action.


1.35.4
======

Expand Down
2 changes: 1 addition & 1 deletion awscli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import os

__version__ = '1.35.4'
__version__ = '1.35.5'

#
# Get our data path to be added to botocore's search path
Expand Down
4 changes: 4 additions & 0 deletions awscli/customizations/emr/argumentschema.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,10 @@
}
}
}
},
"Context": {
"type": "string",
"description": "Reserved."
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions awscli/customizations/emr/instancefleetsutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ def validate_and_build_instance_fleets(parsed_instance_fleets):
if 'OnDemandResizeSpecification' in instanceFleetResizeSpecifications:
instance_fleet_config['ResizeSpecifications']['OnDemandResizeSpecification'] = \
instanceFleetResizeSpecifications['OnDemandResizeSpecification']

if 'Context' in keys:
instance_fleet_config['Context'] = instance_fleet['Context']

instance_fleets.append(instance_fleet_config)
return instance_fleets
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
# The short X.Y version.
version = '1.35'
# The full version, including alpha/beta/rc tags.
release = '1.35.4'
release = '1.35.5'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ universal = 0

[metadata]
requires_dist =
botocore==1.35.38
botocore==1.35.39
docutils>=0.10,<0.17
s3transfer>=0.10.0,<0.11.0
PyYAML>=3.10,<6.1
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def find_version(*file_paths):


install_requires = [
'botocore==1.35.38',
'botocore==1.35.39',
'docutils>=0.10,<0.17',
's3transfer>=0.10.0,<0.11.0',
'PyYAML>=3.10,<6.1',
Expand Down
11 changes: 7 additions & 4 deletions tests/unit/customizations/emr/test_constants_instance_fleets.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
'capacity-optimized-prioritized},OnDemandSpecification={AllocationStrategy=prioritized}}')

TASK_INSTANCE_FLEET_WITH_RESIZE_ALLOCATION_STRATEGY_SPOT_AND_OD = (
'InstanceFleetType=TASK,TargetSpotCapacity=100,InstanceTypeConfigs=[{InstanceType=d2.xlarge,'
'InstanceFleetType=TASK,TargetSpotCapacity=100,Context=testContext,InstanceTypeConfigs=[{InstanceType=d2.xlarge,'
'BidPrice=0.5,WeightedCapacity=1},{InstanceType=m3.2xlarge,BidPrice=0.2,WeightedCapacity=2},'
'{InstanceType=m3.4xlarge,BidPrice=0.4,WeightedCapacity=4}],LaunchSpecifications={'
'SpotSpecification={TimeoutDurationMinutes=77,TimeoutAction=TERMINATE_CLUSTER,'
Expand Down Expand Up @@ -119,7 +119,7 @@

MODIFY_INSTANCE_FLEET_WITH_INSTANCE_TYPE_CONFIGS = (
f'InstanceFleetId={DEFAULT_INSTANCE_FLEET_NAME},'
f'InstanceTypeConfigs=[{{InstanceType=d2.xlarge}}]')
f'InstanceTypeConfigs=[{{InstanceType=d2.xlarge}}],Context=testContext')

MODIFY_INSTANCE_FLEET_WITH_SPOT_AND_OD_RESIZE_SPECIFICATIONS = (
f'InstanceFleetId={DEFAULT_INSTANCE_FLEET_NAME},ResizeSpecifications={{SpotResizeSpecification='
Expand Down Expand Up @@ -512,6 +512,7 @@
},
"TargetSpotCapacity": 100,
"InstanceFleetType": "TASK",
"Context": "testContext",
"Name": "TASK"
}
]
Expand Down Expand Up @@ -558,7 +559,8 @@
}
},
"TargetSpotCapacity": 100,
"InstanceFleetType": "TASK"
"InstanceFleetType": "TASK",
"Context": "testContext"
}

RES_MODIFY_INSTANCE_FLEET_WITH_INSTANCE_TYPE_CONFIGS = \
Expand All @@ -568,7 +570,8 @@
"InstanceFleetId": DEFAULT_INSTANCE_FLEET_NAME,
"InstanceTypeConfigs": [
{"InstanceType": "d2.xlarge"}
]
],
"Context": "testContext"
}
}

Expand Down
2 changes: 2 additions & 0 deletions tests/unit/customizations/emr/test_describe_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@
"InstanceFleetType": "MASTER",
"InstanceType": "m1.large",
"Id": "if-ABCD",
"Context": "testContext"
}
]
}
Expand Down Expand Up @@ -359,6 +360,7 @@
"InstanceFleetType": "MASTER",
"InstanceType": "m1.large",
"Id": "if-ABCD",
"Context": "testContext"
}
],
"RequestedAmiVersion": "2.4.2",
Expand Down

0 comments on commit c4f7837

Please sign in to comment.