
from . import AWSObject
from .validators import boolean


class Graph(AWSObject):
    resource_type = "AWS::Detective::Graph"

    props = {}


class MemberInvitation(AWSObject):
    resource_type = "AWS::Detective::MemberInvitation"

    props = {
        "DisableEmailNotification": (boolean, False),
        "GraphArn": (str, True),
        "MemberEmailAddress": (str, True),
        "MemberId": (str, True),
        "Message": (str, False),
    }


from . import AWSObject, Tags
from .validators import boolean


class Graph(AWSObject):
    resource_type = "AWS::Detective::Graph"

    props = {
        "Tags": (Tags, False),
    }


class MemberInvitation(AWSObject):
    resource_type = "AWS::Detective::MemberInvitation"

    props = {
        "DisableEmailNotification": (boolean, False),
        "GraphArn": (str, True),
        "MemberEmailAddress": (str, True),
        "MemberId": (str, True),
        "Message": (str, False),
    }

Update Detective per 2021-04-29 changes
Update Detective per 2021-04-29 changes

  
- from . import AWSObject
+ from . import AWSObject, Tags
  from .validators import boolean
  
  
  class Graph(AWSObject):
      resource_type = "AWS::Detective::Graph"
  
-     props = {}
+     props = {
+         "Tags": (Tags, False),
+     }
  
  
  class MemberInvitation(AWSObject):
      resource_type = "AWS::Detective::MemberInvitation"
  
      props = {
          "DisableEmailNotification": (boolean, False),
          "GraphArn": (str, True),
          "MemberEmailAddress": (str, True),
          "MemberId": (str, True),
          "Message": (str, False),
      }
  
Update Detective per 2021-04-29 changes
## Code Before:

from . import AWSObject
from .validators import boolean


class Graph(AWSObject):
    resource_type = "AWS::Detective::Graph"

    props = {}


class MemberInvitation(AWSObject):
    resource_type = "AWS::Detective::MemberInvitation"

    props = {
        "DisableEmailNotification": (boolean, False),
        "GraphArn": (str, True),
        "MemberEmailAddress": (str, True),
        "MemberId": (str, True),
        "Message": (str, False),
    }

## Instruction:
Update Detective per 2021-04-29 changes
## Code After:

from . import AWSObject, Tags
from .validators import boolean


class Graph(AWSObject):
    resource_type = "AWS::Detective::Graph"

    props = {
        "Tags": (Tags, False),
    }


class MemberInvitation(AWSObject):
    resource_type = "AWS::Detective::MemberInvitation"

    props = {
        "DisableEmailNotification": (boolean, False),
        "GraphArn": (str, True),
        "MemberEmailAddress": (str, True),
        "MemberId": (str, True),
        "Message": (str, False),
    }
