chrisw-dev
def46b5130
adding list_create_account_status to organization #3691 ( #3692 )
...
* adding list_create_account_status to organization #3691
* removing todo comment
Co-authored-by: Chris Walters <chriskwalters@hotmail.com>
2021-02-15 11:39:23 +00:00
Bert Blommers
273ca63d59
Linting
2020-11-11 15:55:37 +00:00
Matěj Cepl
5697ff87a8
Back to Black
2020-11-10 14:12:38 +01:00
Matěj Cepl
ea489bce6c
Finish porting from nose to pytest.
2020-11-10 08:25:05 +01:00
Matěj Cepl
77dc60ea97
Port test suite from nose to pytest.
...
This just eliminates all errors on the tests collection. Elimination of
failures is left to the next commit.
2020-11-10 08:23:44 +01:00
Benjamin
82dbaadfc4
added organizations detach_policy response, model, and tests, issue #… ( #3278 )
...
* added organizations detach_policy response, model, and tests, issue #3239
Signed-off-by: Ben <ben.lipscomb@fmr.com>
* Created individual tests for detach_policy exceptions, updated regex statements for Root, OU, and Account Id
2020-09-25 16:55:29 +01:00
Anton Grübel
252d679b27
Organizations - implement Policy Type functionality ( #3207 )
...
* Add organizations.enable_policy_type
* Add organizations.disable_policy_type
* Add support for AISERVICES_OPT_OUT_POLICY
2020-08-02 10:56:19 +01:00
Anton Grübel
8162947ebb
Organizations - implement Delegated Administrator functionality ( #3200 )
...
* Add organizations.register_delegated_administrator
* Add organizations.list_delegated_administrators
* Add organizations.list_delegated_services_for_account
* Add organizations.deregister_delegated_administrator
* Fix Python2 incompatibility
2020-07-31 16:32:57 +01:00
Bert Blommers
03dd55d39d
Organisations - Put back assertions that got lost in a merge ( #3184 )
2020-07-27 12:36:31 +01:00
Hector Acosta
cdc4385e2a
Various changes to organizations endpoint ( #3175 )
...
* Raise DuplicatePolicyException when a policy with the same name exists
* Implement update_policy
* Implement delete_policy
2020-07-27 12:32:11 +01:00
Anton Grübel
f31f8e08c1
Organizations - implement AWS Service Access functionality ( #3122 )
...
* Add organizations.enable_aws_service_access
* Add organizations.list_aws_service_access_for_organization
* Add organizations.disable_aws_service_access
2020-07-14 10:27:39 +01:00
Paweł Tomak
fc9eab2591
Raise DuplicateOrganizationalUnitException
...
Calling UpdateOrganizationalUnit with name that already exists should
raise proper error.
2020-02-06 12:38:37 +01:00
Paweł Tomak
14ebf29a61
Add UpdateOrganizationalUnit endpoint to Organizations API
2020-02-06 11:49:41 +01:00
gruebel
158db1f5d6
Move exception to dedicated class
2019-11-21 22:03:25 +01:00
gruebel
d0ef72725c
Add organizations.untag_resource
2019-11-17 15:28:38 +01:00
gruebel
c10afa3ab5
Add organizations.list_tags_for_resource
2019-11-17 15:10:38 +01:00
gruebel
febec75364
Add organizations.tag_resource
2019-11-17 14:52:57 +01:00
Stephen Muss
a6255f9801
Added describe_create_account_status to organizations
2019-11-06 20:43:21 +11:00
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07:00
Ashley Gould
7d453fec9a
[ Resolves #2355 ] - create_organization(): add master account, default policy
...
Model: OrganizationsBackend
Method: create_organization
create_organization now creates master account, root ou, and a
default service control policy objects and adds them to the
OrganizationsBackend object. the policy is attached to both
the master account and the root ou. any subsiquently created
accounts or OU also have the default policy attached.
2019-08-06 16:52:31 -07:00
Ashley Gould
a3f6d2c110
[ Resolves #2196 ] - endpoints for querying organizations SC policies ( #2197 )
...
adding support for organizations service control policies
* [Resolves #2196 ] - endpoints for querying organizations SC policies
I have added the following mock endpoints to the Organizations service:
- create_policy
- list_policies
- describe_policy
- attach_policy
- list_policies_for_target
- list_targets_for_policy
2019-05-25 10:20:19 +01:00
Ashley Gould
7a88e634eb
organizations: add exception test for describe_organization endpoint
2018-10-08 15:27:19 -07:00
Ashley Gould
05928b1497
[issue #1720 ] Add support for AWS Organizations
...
added exception handling in class OrganizationsBackend
2018-09-28 08:34:19 -07:00
Ashley Gould
40e422b74d
[issue #1720 ] Add support for AWS Organizations
...
ready for pull request
did a little cleanup refactoring
local tests pass
2018-09-28 08:34:19 -07:00
Ashley Gould
01912bdca7
organizations: fix python 2.7 test errors
2018-09-28 08:34:19 -07:00
Ashley Gould
8f400b7110
organizations: add endpoint list_chilren
2018-09-28 08:34:19 -07:00
Ashley Gould
30a9aa33e5
organizations: endpoint list_parents now support account_id param
...
refactered classes: FakeRoot inherits from FakeOrganizationsUnit
add root_id attribute to class FakeOrganization
dropped 'roots' attribute from class OrganizationaBackend
2018-09-28 08:34:18 -07:00
Ashley Gould
009dcdb21a
organizations: and another 2 endpoints:
...
list_accounts_for_parent
move_account
2018-09-28 08:34:18 -07:00
Ashley Gould
fc2447c6a4
organiziaions: 2 new endpoints:
...
list_organizational_units_for_parents
list_parents
2018-09-28 08:34:18 -07:00
Ashley Gould
beebb9abc8
organizations: add 2 more endpoints
...
create_organizational_unit
describe_organizational_unit
2018-09-28 08:34:18 -07:00
Ashley Gould
6c0c6148f1
organizations: add endpoint list_roots
2018-09-28 08:34:18 -07:00
Ashley Gould
c40d2be646
organizations: clean up for flake8
2018-09-28 08:34:18 -07:00
Ashley Gould
edbc57e00d
add support for AWS Organizations
...
endpoints covers so far:
- create_organization
- describe_organization
- create_account
- describe_account
- list_accounts
all tests passing.
could use some advise from maintaners.
2018-09-28 08:34:18 -07:00