class Awspec::Type::SesIdentity
Public Instance Methods
Source
# File lib/awspec/type/ses_identity.rb, line 36 def has_dkim_tokens?(token) res = ses_client.get_identity_dkim_attributes({ identities: [id] }) res.dkim_attributes[id][:tokens].include?(token) end
Source
# File lib/awspec/type/ses_identity.rb, line 13 def has_identity_policy?(name) res = ses_client.list_identity_policies({ identity: id }) res.policy_names.find do |policy_name| policy_name == name end end
Source
# File lib/awspec/type/ses_identity.rb, line 9 def id @id ||= resource_via_client if resource_via_client end
Source
# File lib/awspec/type/ses_identity.rb, line 5 def resource_via_client @resource_via_client ||= find_ses_identity(@display_name) end